mshtml/tests: Run textarea tests in both quirks and IE9 compat mode.
[wine.git] / configure
blob6b7f7d881d0c8f909b2458452957bf17e1529a7c
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_power_base_l1_1_0
1059 enable_api_ms_win_power_setting_l1_1_0
1060 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1061 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1062 enable_api_ms_win_security_audit_l1_1_1
1063 enable_api_ms_win_security_base_l1_1_0
1064 enable_api_ms_win_security_base_l1_2_0
1065 enable_api_ms_win_security_base_private_l1_1_1
1066 enable_api_ms_win_security_credentials_l1_1_0
1067 enable_api_ms_win_security_grouppolicy_l1_1_0
1068 enable_api_ms_win_security_lsalookup_l1_1_0
1069 enable_api_ms_win_security_lsalookup_l1_1_1
1070 enable_api_ms_win_security_lsalookup_l2_1_0
1071 enable_api_ms_win_security_lsalookup_l2_1_1
1072 enable_api_ms_win_security_lsapolicy_l1_1_0
1073 enable_api_ms_win_security_provider_l1_1_0
1074 enable_api_ms_win_security_sddl_l1_1_0
1075 enable_api_ms_win_security_systemfunctions_l1_1_0
1076 enable_api_ms_win_service_core_l1_1_0
1077 enable_api_ms_win_service_core_l1_1_1
1078 enable_api_ms_win_service_management_l1_1_0
1079 enable_api_ms_win_service_management_l2_1_0
1080 enable_api_ms_win_service_private_l1_1_1
1081 enable_api_ms_win_service_winsvc_l1_1_0
1082 enable_api_ms_win_service_winsvc_l1_2_0
1083 enable_api_ms_win_shcore_scaling_l1_1_1
1084 enable_api_ms_win_shell_shellcom_l1_1_0
1085 enable_api_ms_win_shell_shellfolders_l1_1_0
1086 enable_apphelp
1087 enable_appwiz_cpl
1088 enable_atl
1089 enable_atl100
1090 enable_atl110
1091 enable_atl80
1092 enable_atl90
1093 enable_authz
1094 enable_avicap32
1095 enable_avifil32
1096 enable_avrt
1097 enable_bcrypt
1098 enable_bluetoothapis
1099 enable_browseui
1100 enable_bthprops_cpl
1101 enable_cabinet
1102 enable_capi2032
1103 enable_cards
1104 enable_cdosys
1105 enable_cfgmgr32
1106 enable_clusapi
1107 enable_combase
1108 enable_comcat
1109 enable_comctl32
1110 enable_comdlg32
1111 enable_compstui
1112 enable_comsvcs
1113 enable_concrt140
1114 enable_connect
1115 enable_credui
1116 enable_crtdll
1117 enable_crypt32
1118 enable_cryptdlg
1119 enable_cryptdll
1120 enable_cryptext
1121 enable_cryptnet
1122 enable_cryptui
1123 enable_ctapi32
1124 enable_ctl3d32
1125 enable_d2d1
1126 enable_d3d10
1127 enable_d3d10_1
1128 enable_d3d10core
1129 enable_d3d11
1130 enable_d3d8
1131 enable_d3d9
1132 enable_d3dcompiler_33
1133 enable_d3dcompiler_34
1134 enable_d3dcompiler_35
1135 enable_d3dcompiler_36
1136 enable_d3dcompiler_37
1137 enable_d3dcompiler_38
1138 enable_d3dcompiler_39
1139 enable_d3dcompiler_40
1140 enable_d3dcompiler_41
1141 enable_d3dcompiler_42
1142 enable_d3dcompiler_43
1143 enable_d3dcompiler_46
1144 enable_d3dcompiler_47
1145 enable_d3dim
1146 enable_d3drm
1147 enable_d3dx10_33
1148 enable_d3dx10_34
1149 enable_d3dx10_35
1150 enable_d3dx10_36
1151 enable_d3dx10_37
1152 enable_d3dx10_38
1153 enable_d3dx10_39
1154 enable_d3dx10_40
1155 enable_d3dx10_41
1156 enable_d3dx10_42
1157 enable_d3dx10_43
1158 enable_d3dx11_42
1159 enable_d3dx11_43
1160 enable_d3dx9_24
1161 enable_d3dx9_25
1162 enable_d3dx9_26
1163 enable_d3dx9_27
1164 enable_d3dx9_28
1165 enable_d3dx9_29
1166 enable_d3dx9_30
1167 enable_d3dx9_31
1168 enable_d3dx9_32
1169 enable_d3dx9_33
1170 enable_d3dx9_34
1171 enable_d3dx9_35
1172 enable_d3dx9_36
1173 enable_d3dx9_37
1174 enable_d3dx9_38
1175 enable_d3dx9_39
1176 enable_d3dx9_40
1177 enable_d3dx9_41
1178 enable_d3dx9_42
1179 enable_d3dx9_43
1180 enable_d3dxof
1181 enable_davclnt
1182 enable_dbgeng
1183 enable_dbghelp
1184 enable_dciman32
1185 enable_ddraw
1186 enable_ddrawex
1187 enable_devenum
1188 enable_dhcpcsvc
1189 enable_dhtmled_ocx
1190 enable_difxapi
1191 enable_dinput
1192 enable_dinput8
1193 enable_dispex
1194 enable_dmband
1195 enable_dmcompos
1196 enable_dmime
1197 enable_dmloader
1198 enable_dmscript
1199 enable_dmstyle
1200 enable_dmsynth
1201 enable_dmusic
1202 enable_dmusic32
1203 enable_dnsapi
1204 enable_dplay
1205 enable_dplayx
1206 enable_dpnaddr
1207 enable_dpnet
1208 enable_dpnhpast
1209 enable_dpnlobby
1210 enable_dpvoice
1211 enable_dpwsockx
1212 enable_drmclien
1213 enable_dsound
1214 enable_dsquery
1215 enable_dssenh
1216 enable_dswave
1217 enable_dwmapi
1218 enable_dwrite
1219 enable_dx8vb
1220 enable_dxdiagn
1221 enable_dxgi
1222 enable_dxva2
1223 enable_esent
1224 enable_evr
1225 enable_explorerframe
1226 enable_ext_ms_win_authz_context_l1_1_0
1227 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1228 enable_ext_ms_win_gdi_dc_create_l1_1_1
1229 enable_ext_ms_win_gdi_dc_l1_2_0
1230 enable_ext_ms_win_gdi_devcaps_l1_1_0
1231 enable_ext_ms_win_gdi_draw_l1_1_1
1232 enable_ext_ms_win_gdi_render_l1_1_0
1233 enable_ext_ms_win_kernel32_package_current_l1_1_0
1234 enable_ext_ms_win_kernel32_package_l1_1_1
1235 enable_ext_ms_win_ntuser_message_l1_1_1
1236 enable_ext_ms_win_ntuser_private_l1_1_1
1237 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1238 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1239 enable_ext_ms_win_ntuser_window_l1_1_1
1240 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1241 enable_ext_ms_win_ras_rasapi32_l1_1_0
1242 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1243 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1244 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1245 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1246 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1247 enable_ext_ms_win_security_credui_l1_1_0
1248 enable_ext_ms_win_security_cryptui_l1_1_0
1249 enable_faultrep
1250 enable_fltlib
1251 enable_fltmgr_sys
1252 enable_fntcache
1253 enable_fontsub
1254 enable_fusion
1255 enable_fwpuclnt
1256 enable_gameux
1257 enable_gdi32
1258 enable_gdiplus
1259 enable_glu32
1260 enable_gphoto2_ds
1261 enable_gpkcsp
1262 enable_hal
1263 enable_hhctrl_ocx
1264 enable_hid
1265 enable_hidclass_sys
1266 enable_hlink
1267 enable_hnetcfg
1268 enable_httpapi
1269 enable_iccvid
1270 enable_icmp
1271 enable_ieframe
1272 enable_ieproxy
1273 enable_imaadp32_acm
1274 enable_imagehlp
1275 enable_imm32
1276 enable_inetcomm
1277 enable_inetcpl_cpl
1278 enable_inetmib1
1279 enable_infosoft
1280 enable_initpki
1281 enable_inkobj
1282 enable_inseng
1283 enable_iphlpapi
1284 enable_iprop
1285 enable_irprops_cpl
1286 enable_itircl
1287 enable_itss
1288 enable_joy_cpl
1289 enable_jscript
1290 enable_jsproxy
1291 enable_kerberos
1292 enable_kernel32
1293 enable_kernelbase
1294 enable_ksuser
1295 enable_ktmw32
1296 enable_l3codeca_acm
1297 enable_loadperf
1298 enable_localspl
1299 enable_localui
1300 enable_lz32
1301 enable_mapi32
1302 enable_mapistub
1303 enable_mciavi32
1304 enable_mcicda
1305 enable_mciqtz32
1306 enable_mciseq
1307 enable_mciwave
1308 enable_mf
1309 enable_mf3216
1310 enable_mfplat
1311 enable_mfreadwrite
1312 enable_mgmtapi
1313 enable_midimap
1314 enable_mlang
1315 enable_mmcndmgr
1316 enable_mmdevapi
1317 enable_mountmgr_sys
1318 enable_mpr
1319 enable_mprapi
1320 enable_msacm32_drv
1321 enable_msacm32
1322 enable_msadp32_acm
1323 enable_msasn1
1324 enable_mscat32
1325 enable_mscms
1326 enable_mscoree
1327 enable_msctf
1328 enable_msctfp
1329 enable_msdaps
1330 enable_msdelta
1331 enable_msdmo
1332 enable_msdrm
1333 enable_msftedit
1334 enable_msg711_acm
1335 enable_msgsm32_acm
1336 enable_mshtml_tlb
1337 enable_mshtml
1338 enable_msi
1339 enable_msident
1340 enable_msimg32
1341 enable_msimsg
1342 enable_msimtf
1343 enable_msisip
1344 enable_msisys_ocx
1345 enable_msls31
1346 enable_msnet32
1347 enable_mspatcha
1348 enable_msports
1349 enable_msrle32
1350 enable_msscript_ocx
1351 enable_mssign32
1352 enable_mssip32
1353 enable_mstask
1354 enable_msvcirt
1355 enable_msvcm80
1356 enable_msvcm90
1357 enable_msvcp100
1358 enable_msvcp110
1359 enable_msvcp120
1360 enable_msvcp120_app
1361 enable_msvcp140
1362 enable_msvcp60
1363 enable_msvcp70
1364 enable_msvcp71
1365 enable_msvcp80
1366 enable_msvcp90
1367 enable_msvcr100
1368 enable_msvcr110
1369 enable_msvcr120
1370 enable_msvcr120_app
1371 enable_msvcr70
1372 enable_msvcr71
1373 enable_msvcr80
1374 enable_msvcr90
1375 enable_msvcrt
1376 enable_msvcrt20
1377 enable_msvcrt40
1378 enable_msvcrtd
1379 enable_msvfw32
1380 enable_msvidc32
1381 enable_mswsock
1382 enable_msxml
1383 enable_msxml2
1384 enable_msxml3
1385 enable_msxml4
1386 enable_msxml6
1387 enable_mtxdm
1388 enable_ncrypt
1389 enable_nddeapi
1390 enable_ndis_sys
1391 enable_netapi32
1392 enable_netcfgx
1393 enable_netprofm
1394 enable_newdev
1395 enable_normaliz
1396 enable_npmshtml
1397 enable_npptools
1398 enable_ntdll
1399 enable_ntdsapi
1400 enable_ntoskrnl_exe
1401 enable_ntprint
1402 enable_objsel
1403 enable_odbc32
1404 enable_odbccp32
1405 enable_odbccu32
1406 enable_ole32
1407 enable_oleacc
1408 enable_oleaut32
1409 enable_olecli32
1410 enable_oledb32
1411 enable_oledlg
1412 enable_olepro32
1413 enable_olesvr32
1414 enable_olethk32
1415 enable_openal32
1416 enable_opencl
1417 enable_opengl32
1418 enable_packager
1419 enable_pdh
1420 enable_photometadatahandler
1421 enable_pidgen
1422 enable_powrprof
1423 enable_printui
1424 enable_prntvpt
1425 enable_propsys
1426 enable_psapi
1427 enable_pstorec
1428 enable_qcap
1429 enable_qedit
1430 enable_qmgr
1431 enable_qmgrprxy
1432 enable_quartz
1433 enable_query
1434 enable_rasapi32
1435 enable_rasdlg
1436 enable_regapi
1437 enable_resutils
1438 enable_riched20
1439 enable_riched32
1440 enable_rpcrt4
1441 enable_rsabase
1442 enable_rsaenh
1443 enable_rstrtmgr
1444 enable_rtutils
1445 enable_samlib
1446 enable_sane_ds
1447 enable_sapi
1448 enable_scarddlg
1449 enable_sccbase
1450 enable_schannel
1451 enable_schedsvc
1452 enable_scrobj
1453 enable_scrrun
1454 enable_scsiport_sys
1455 enable_secur32
1456 enable_security
1457 enable_sensapi
1458 enable_serialui
1459 enable_setupapi
1460 enable_sfc
1461 enable_sfc_os
1462 enable_shcore
1463 enable_shdoclc
1464 enable_shdocvw
1465 enable_shell32
1466 enable_shfolder
1467 enable_shlwapi
1468 enable_slbcsp
1469 enable_slc
1470 enable_snmpapi
1471 enable_softpub
1472 enable_spoolss
1473 enable_sspicli
1474 enable_stdole2_tlb
1475 enable_stdole32_tlb
1476 enable_sti
1477 enable_svrapi
1478 enable_sxs
1479 enable_t2embed
1480 enable_tapi32
1481 enable_taskschd
1482 enable_tdh
1483 enable_tdi_sys
1484 enable_traffic
1485 enable_twain_32
1486 enable_ucrtbase
1487 enable_uiautomationcore
1488 enable_uiribbon
1489 enable_unicows
1490 enable_updspapi
1491 enable_url
1492 enable_urlmon
1493 enable_usbd_sys
1494 enable_user32
1495 enable_userenv
1496 enable_usp10
1497 enable_uxtheme
1498 enable_vbscript
1499 enable_vcomp
1500 enable_vcomp100
1501 enable_vcomp110
1502 enable_vcomp120
1503 enable_vcomp140
1504 enable_vcomp90
1505 enable_vcruntime140
1506 enable_vdmdbg
1507 enable_version
1508 enable_virtdisk
1509 enable_vssapi
1510 enable_wbemdisp
1511 enable_wbemprox
1512 enable_wdscore
1513 enable_webservices
1514 enable_wer
1515 enable_wevtapi
1516 enable_wiaservc
1517 enable_wimgapi
1518 enable_windowscodecs
1519 enable_windowscodecsext
1520 enable_winealsa_drv
1521 enable_wineandroid_drv
1522 enable_winebus_sys
1523 enable_winecoreaudio_drv
1524 enable_wined3d
1525 enable_winegstreamer
1526 enable_winehid_sys
1527 enable_winejoystick_drv
1528 enable_winemac_drv
1529 enable_winemapi
1530 enable_wineoss_drv
1531 enable_wineps_drv
1532 enable_winepulse_drv
1533 enable_wineqtdecoder
1534 enable_winex11_drv
1535 enable_wing32
1536 enable_winhttp
1537 enable_wininet
1538 enable_winmm
1539 enable_winnls32
1540 enable_winscard
1541 enable_winspool_drv
1542 enable_winsta
1543 enable_wintab32
1544 enable_wintrust
1545 enable_winusb
1546 enable_wlanapi
1547 enable_wldap32
1548 enable_wmasf
1549 enable_wmi
1550 enable_wmiutils
1551 enable_wmp
1552 enable_wmphoto
1553 enable_wmvcore
1554 enable_wnaspi32
1555 enable_wpc
1556 enable_wpcap
1557 enable_ws2_32
1558 enable_wsdapi
1559 enable_wshom_ocx
1560 enable_wsnmp32
1561 enable_wsock32
1562 enable_wtsapi32
1563 enable_wuapi
1564 enable_wuaueng
1565 enable_x3daudio1_0
1566 enable_x3daudio1_1
1567 enable_x3daudio1_2
1568 enable_x3daudio1_3
1569 enable_x3daudio1_4
1570 enable_x3daudio1_5
1571 enable_x3daudio1_6
1572 enable_x3daudio1_7
1573 enable_xapofx1_1
1574 enable_xapofx1_2
1575 enable_xapofx1_3
1576 enable_xapofx1_4
1577 enable_xapofx1_5
1578 enable_xaudio2_0
1579 enable_xaudio2_1
1580 enable_xaudio2_2
1581 enable_xaudio2_3
1582 enable_xaudio2_4
1583 enable_xaudio2_5
1584 enable_xaudio2_6
1585 enable_xaudio2_7
1586 enable_xaudio2_8
1587 enable_xaudio2_9
1588 enable_xinput1_1
1589 enable_xinput1_2
1590 enable_xinput1_3
1591 enable_xinput1_4
1592 enable_xinput9_1_0
1593 enable_xmllite
1594 enable_xolehlp
1595 enable_xpsprint
1596 enable_xpssvcs
1597 enable_fonts
1598 enable_include
1599 enable_libs_port
1600 enable_libs_wine
1601 enable_libs_wpp
1602 enable_loader
1603 enable_po
1604 enable_arp
1605 enable_aspnet_regiis
1606 enable_attrib
1607 enable_cabarc
1608 enable_cacls
1609 enable_clock
1610 enable_cmd
1611 enable_conhost
1612 enable_control
1613 enable_cscript
1614 enable_dpnsvr
1615 enable_dxdiag
1616 enable_eject
1617 enable_expand
1618 enable_explorer
1619 enable_extrac32
1620 enable_findstr
1621 enable_fsutil
1622 enable_hh
1623 enable_hostname
1624 enable_icacls
1625 enable_icinfo
1626 enable_iexplore
1627 enable_ipconfig
1628 enable_lodctr
1629 enable_mofcomp
1630 enable_mshta
1631 enable_msiexec
1632 enable_msinfo32
1633 enable_net
1634 enable_netsh
1635 enable_netstat
1636 enable_ngen
1637 enable_notepad
1638 enable_oleview
1639 enable_ping
1640 enable_plugplay
1641 enable_powershell
1642 enable_presentationfontcache
1643 enable_progman
1644 enable_reg
1645 enable_regasm
1646 enable_regedit
1647 enable_regsvcs
1648 enable_regsvr32
1649 enable_rpcss
1650 enable_rundll32
1651 enable_sc
1652 enable_schtasks
1653 enable_sdbinst
1654 enable_secedit
1655 enable_servicemodelreg
1656 enable_services
1657 enable_shutdown
1658 enable_spoolsv
1659 enable_start
1660 enable_subst
1661 enable_svchost
1662 enable_systeminfo
1663 enable_taskkill
1664 enable_tasklist
1665 enable_taskmgr
1666 enable_termsv
1667 enable_uninstaller
1668 enable_unlodctr
1669 enable_view
1670 enable_wevtutil
1671 enable_wineboot
1672 enable_winebrowser
1673 enable_winecfg
1674 enable_wineconsole
1675 enable_winedbg
1676 enable_winedevice
1677 enable_winefile
1678 enable_winemenubuilder
1679 enable_winemine
1680 enable_winemsibuilder
1681 enable_winepath
1682 enable_winetest
1683 enable_winhlp32
1684 enable_winver
1685 enable_wmic
1686 enable_wmplayer
1687 enable_wordpad
1688 enable_write
1689 enable_wscript
1690 enable_wusa
1691 enable_xcopy
1692 enable_server
1693 enable_tools
1695 ac_precious_vars='build_alias
1696 host_alias
1697 target_alias
1699 CFLAGS
1700 LDFLAGS
1701 LIBS
1702 CPPFLAGS
1704 CXXFLAGS
1707 XMKMF
1708 XML2_CFLAGS
1709 XML2_LIBS
1710 XSLT_CFLAGS
1711 XSLT_LIBS
1712 DBUS_CFLAGS
1713 DBUS_LIBS
1714 HAL_CFLAGS
1715 HAL_LIBS
1716 GNUTLS_CFLAGS
1717 GNUTLS_LIBS
1718 SANE_CFLAGS
1719 SANE_LIBS
1720 GPHOTO2_CFLAGS
1721 GPHOTO2_LIBS
1722 GPHOTO2_PORT_CFLAGS
1723 GPHOTO2_PORT_LIBS
1724 LCMS2_CFLAGS
1725 LCMS2_LIBS
1726 FREETYPE_CFLAGS
1727 FREETYPE_LIBS
1728 PULSE_CFLAGS
1729 PULSE_LIBS
1730 GSTREAMER_CFLAGS
1731 GSTREAMER_LIBS
1732 UDEV_CFLAGS
1733 UDEV_LIBS
1734 CAPI20_CFLAGS
1735 CAPI20_LIBS
1736 CUPS_CFLAGS
1737 CUPS_LIBS
1738 FONTCONFIG_CFLAGS
1739 FONTCONFIG_LIBS
1740 KRB5_CFLAGS
1741 KRB5_LIBS
1742 GSSAPI_CFLAGS
1743 GSSAPI_LIBS
1744 JPEG_CFLAGS
1745 JPEG_LIBS
1746 PNG_CFLAGS
1747 PNG_LIBS
1748 TIFF_CFLAGS
1749 TIFF_LIBS
1750 MPG123_CFLAGS
1751 MPG123_LIBS
1752 NETAPI_CFLAGS
1753 NETAPI_LIBS
1754 LDAP_CFLAGS
1755 LDAP_LIBS'
1758 # Initialize some variables set by options.
1759 ac_init_help=
1760 ac_init_version=false
1761 ac_unrecognized_opts=
1762 ac_unrecognized_sep=
1763 # The variables have the same names as the options, with
1764 # dashes changed to underlines.
1765 cache_file=/dev/null
1766 exec_prefix=NONE
1767 no_create=
1768 no_recursion=
1769 prefix=NONE
1770 program_prefix=NONE
1771 program_suffix=NONE
1772 program_transform_name=s,x,x,
1773 silent=
1774 site=
1775 srcdir=
1776 verbose=
1777 x_includes=NONE
1778 x_libraries=NONE
1780 # Installation directory options.
1781 # These are left unexpanded so users can "make install exec_prefix=/foo"
1782 # and all the variables that are supposed to be based on exec_prefix
1783 # by default will actually change.
1784 # Use braces instead of parens because sh, perl, etc. also accept them.
1785 # (The list follows the same order as the GNU Coding Standards.)
1786 bindir='${exec_prefix}/bin'
1787 sbindir='${exec_prefix}/sbin'
1788 libexecdir='${exec_prefix}/libexec'
1789 datarootdir='${prefix}/share'
1790 datadir='${datarootdir}'
1791 sysconfdir='${prefix}/etc'
1792 sharedstatedir='${prefix}/com'
1793 localstatedir='${prefix}/var'
1794 runstatedir='${localstatedir}/run'
1795 includedir='${prefix}/include'
1796 oldincludedir='/usr/include'
1797 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1798 infodir='${datarootdir}/info'
1799 htmldir='${docdir}'
1800 dvidir='${docdir}'
1801 pdfdir='${docdir}'
1802 psdir='${docdir}'
1803 libdir='${exec_prefix}/lib'
1804 localedir='${datarootdir}/locale'
1805 mandir='${datarootdir}/man'
1807 ac_prev=
1808 ac_dashdash=
1809 for ac_option
1811 # If the previous option needs an argument, assign it.
1812 if test -n "$ac_prev"; then
1813 eval $ac_prev=\$ac_option
1814 ac_prev=
1815 continue
1818 case $ac_option in
1819 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1820 *=) ac_optarg= ;;
1821 *) ac_optarg=yes ;;
1822 esac
1824 # Accept the important Cygnus configure options, so we can diagnose typos.
1826 case $ac_dashdash$ac_option in
1828 ac_dashdash=yes ;;
1830 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1831 ac_prev=bindir ;;
1832 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1833 bindir=$ac_optarg ;;
1835 -build | --build | --buil | --bui | --bu)
1836 ac_prev=build_alias ;;
1837 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1838 build_alias=$ac_optarg ;;
1840 -cache-file | --cache-file | --cache-fil | --cache-fi \
1841 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1842 ac_prev=cache_file ;;
1843 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1844 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1845 cache_file=$ac_optarg ;;
1847 --config-cache | -C)
1848 cache_file=config.cache ;;
1850 -datadir | --datadir | --datadi | --datad)
1851 ac_prev=datadir ;;
1852 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1853 datadir=$ac_optarg ;;
1855 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1856 | --dataroo | --dataro | --datar)
1857 ac_prev=datarootdir ;;
1858 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1859 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1860 datarootdir=$ac_optarg ;;
1862 -disable-* | --disable-*)
1863 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1864 # Reject names that are not valid shell variable names.
1865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1866 as_fn_error $? "invalid feature name: $ac_useropt"
1867 ac_useropt_orig=$ac_useropt
1868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1869 case $ac_user_opts in
1871 "enable_$ac_useropt"
1872 "*) ;;
1873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1874 ac_unrecognized_sep=', ';;
1875 esac
1876 eval enable_$ac_useropt=no ;;
1878 -docdir | --docdir | --docdi | --doc | --do)
1879 ac_prev=docdir ;;
1880 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1881 docdir=$ac_optarg ;;
1883 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1884 ac_prev=dvidir ;;
1885 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1886 dvidir=$ac_optarg ;;
1888 -enable-* | --enable-*)
1889 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1890 # Reject names that are not valid shell variable names.
1891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1892 as_fn_error $? "invalid feature name: $ac_useropt"
1893 ac_useropt_orig=$ac_useropt
1894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1895 case $ac_user_opts in
1897 "enable_$ac_useropt"
1898 "*) ;;
1899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1900 ac_unrecognized_sep=', ';;
1901 esac
1902 eval enable_$ac_useropt=\$ac_optarg ;;
1904 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1905 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1906 | --exec | --exe | --ex)
1907 ac_prev=exec_prefix ;;
1908 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1909 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1910 | --exec=* | --exe=* | --ex=*)
1911 exec_prefix=$ac_optarg ;;
1913 -gas | --gas | --ga | --g)
1914 # Obsolete; use --with-gas.
1915 with_gas=yes ;;
1917 -help | --help | --hel | --he | -h)
1918 ac_init_help=long ;;
1919 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1920 ac_init_help=recursive ;;
1921 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1922 ac_init_help=short ;;
1924 -host | --host | --hos | --ho)
1925 ac_prev=host_alias ;;
1926 -host=* | --host=* | --hos=* | --ho=*)
1927 host_alias=$ac_optarg ;;
1929 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1930 ac_prev=htmldir ;;
1931 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1932 | --ht=*)
1933 htmldir=$ac_optarg ;;
1935 -includedir | --includedir | --includedi | --included | --include \
1936 | --includ | --inclu | --incl | --inc)
1937 ac_prev=includedir ;;
1938 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1939 | --includ=* | --inclu=* | --incl=* | --inc=*)
1940 includedir=$ac_optarg ;;
1942 -infodir | --infodir | --infodi | --infod | --info | --inf)
1943 ac_prev=infodir ;;
1944 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1945 infodir=$ac_optarg ;;
1947 -libdir | --libdir | --libdi | --libd)
1948 ac_prev=libdir ;;
1949 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1950 libdir=$ac_optarg ;;
1952 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1953 | --libexe | --libex | --libe)
1954 ac_prev=libexecdir ;;
1955 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1956 | --libexe=* | --libex=* | --libe=*)
1957 libexecdir=$ac_optarg ;;
1959 -localedir | --localedir | --localedi | --localed | --locale)
1960 ac_prev=localedir ;;
1961 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1962 localedir=$ac_optarg ;;
1964 -localstatedir | --localstatedir | --localstatedi | --localstated \
1965 | --localstate | --localstat | --localsta | --localst | --locals)
1966 ac_prev=localstatedir ;;
1967 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1968 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1969 localstatedir=$ac_optarg ;;
1971 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1972 ac_prev=mandir ;;
1973 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1974 mandir=$ac_optarg ;;
1976 -nfp | --nfp | --nf)
1977 # Obsolete; use --without-fp.
1978 with_fp=no ;;
1980 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1981 | --no-cr | --no-c | -n)
1982 no_create=yes ;;
1984 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1985 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1986 no_recursion=yes ;;
1988 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1989 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1990 | --oldin | --oldi | --old | --ol | --o)
1991 ac_prev=oldincludedir ;;
1992 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1993 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1994 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1995 oldincludedir=$ac_optarg ;;
1997 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1998 ac_prev=prefix ;;
1999 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2000 prefix=$ac_optarg ;;
2002 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2003 | --program-pre | --program-pr | --program-p)
2004 ac_prev=program_prefix ;;
2005 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2006 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2007 program_prefix=$ac_optarg ;;
2009 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2010 | --program-suf | --program-su | --program-s)
2011 ac_prev=program_suffix ;;
2012 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2013 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2014 program_suffix=$ac_optarg ;;
2016 -program-transform-name | --program-transform-name \
2017 | --program-transform-nam | --program-transform-na \
2018 | --program-transform-n | --program-transform- \
2019 | --program-transform | --program-transfor \
2020 | --program-transfo | --program-transf \
2021 | --program-trans | --program-tran \
2022 | --progr-tra | --program-tr | --program-t)
2023 ac_prev=program_transform_name ;;
2024 -program-transform-name=* | --program-transform-name=* \
2025 | --program-transform-nam=* | --program-transform-na=* \
2026 | --program-transform-n=* | --program-transform-=* \
2027 | --program-transform=* | --program-transfor=* \
2028 | --program-transfo=* | --program-transf=* \
2029 | --program-trans=* | --program-tran=* \
2030 | --progr-tra=* | --program-tr=* | --program-t=*)
2031 program_transform_name=$ac_optarg ;;
2033 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2034 ac_prev=pdfdir ;;
2035 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2036 pdfdir=$ac_optarg ;;
2038 -psdir | --psdir | --psdi | --psd | --ps)
2039 ac_prev=psdir ;;
2040 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2041 psdir=$ac_optarg ;;
2043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2044 | -silent | --silent | --silen | --sile | --sil)
2045 silent=yes ;;
2047 -runstatedir | --runstatedir | --runstatedi | --runstated \
2048 | --runstate | --runstat | --runsta | --runst | --runs \
2049 | --run | --ru | --r)
2050 ac_prev=runstatedir ;;
2051 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2052 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2053 | --run=* | --ru=* | --r=*)
2054 runstatedir=$ac_optarg ;;
2056 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2057 ac_prev=sbindir ;;
2058 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2059 | --sbi=* | --sb=*)
2060 sbindir=$ac_optarg ;;
2062 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2063 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2064 | --sharedst | --shareds | --shared | --share | --shar \
2065 | --sha | --sh)
2066 ac_prev=sharedstatedir ;;
2067 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2068 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2069 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2070 | --sha=* | --sh=*)
2071 sharedstatedir=$ac_optarg ;;
2073 -site | --site | --sit)
2074 ac_prev=site ;;
2075 -site=* | --site=* | --sit=*)
2076 site=$ac_optarg ;;
2078 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2079 ac_prev=srcdir ;;
2080 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2081 srcdir=$ac_optarg ;;
2083 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2084 | --syscon | --sysco | --sysc | --sys | --sy)
2085 ac_prev=sysconfdir ;;
2086 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2087 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2088 sysconfdir=$ac_optarg ;;
2090 -target | --target | --targe | --targ | --tar | --ta | --t)
2091 ac_prev=target_alias ;;
2092 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2093 target_alias=$ac_optarg ;;
2095 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2096 verbose=yes ;;
2098 -version | --version | --versio | --versi | --vers | -V)
2099 ac_init_version=: ;;
2101 -with-* | --with-*)
2102 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2103 # Reject names that are not valid shell variable names.
2104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2105 as_fn_error $? "invalid package name: $ac_useropt"
2106 ac_useropt_orig=$ac_useropt
2107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2108 case $ac_user_opts in
2110 "with_$ac_useropt"
2111 "*) ;;
2112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2113 ac_unrecognized_sep=', ';;
2114 esac
2115 eval with_$ac_useropt=\$ac_optarg ;;
2117 -without-* | --without-*)
2118 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2119 # Reject names that are not valid shell variable names.
2120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2121 as_fn_error $? "invalid package name: $ac_useropt"
2122 ac_useropt_orig=$ac_useropt
2123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2124 case $ac_user_opts in
2126 "with_$ac_useropt"
2127 "*) ;;
2128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2129 ac_unrecognized_sep=', ';;
2130 esac
2131 eval with_$ac_useropt=no ;;
2133 --x)
2134 # Obsolete; use --with-x.
2135 with_x=yes ;;
2137 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2138 | --x-incl | --x-inc | --x-in | --x-i)
2139 ac_prev=x_includes ;;
2140 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2141 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2142 x_includes=$ac_optarg ;;
2144 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2145 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2146 ac_prev=x_libraries ;;
2147 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2148 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2149 x_libraries=$ac_optarg ;;
2151 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2152 Try \`$0 --help' for more information"
2155 *=*)
2156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2157 # Reject names that are not valid shell variable names.
2158 case $ac_envvar in #(
2159 '' | [0-9]* | *[!_$as_cr_alnum]* )
2160 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2161 esac
2162 eval $ac_envvar=\$ac_optarg
2163 export $ac_envvar ;;
2166 # FIXME: should be removed in autoconf 3.0.
2167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2170 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2173 esac
2174 done
2176 if test -n "$ac_prev"; then
2177 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2178 as_fn_error $? "missing argument to $ac_option"
2181 if test -n "$ac_unrecognized_opts"; then
2182 case $enable_option_checking in
2183 no) ;;
2184 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2186 esac
2189 # Check all directory arguments for consistency.
2190 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2191 datadir sysconfdir sharedstatedir localstatedir includedir \
2192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2193 libdir localedir mandir runstatedir
2195 eval ac_val=\$$ac_var
2196 # Remove trailing slashes.
2197 case $ac_val in
2198 */ )
2199 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2200 eval $ac_var=\$ac_val;;
2201 esac
2202 # Be sure to have absolute directory names.
2203 case $ac_val in
2204 [\\/$]* | ?:[\\/]* ) continue;;
2205 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2206 esac
2207 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2208 done
2210 # There might be people who depend on the old broken behavior: `$host'
2211 # used to hold the argument of --host etc.
2212 # FIXME: To remove some day.
2213 build=$build_alias
2214 host=$host_alias
2215 target=$target_alias
2217 # FIXME: To remove some day.
2218 if test "x$host_alias" != x; then
2219 if test "x$build_alias" = x; then
2220 cross_compiling=maybe
2221 elif test "x$build_alias" != "x$host_alias"; then
2222 cross_compiling=yes
2226 ac_tool_prefix=
2227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2229 test "$silent" = yes && exec 6>/dev/null
2232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2233 ac_ls_di=`ls -di .` &&
2234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2235 as_fn_error $? "working directory cannot be determined"
2236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2237 as_fn_error $? "pwd does not report name of working directory"
2240 # Find the source files, if location was not specified.
2241 if test -z "$srcdir"; then
2242 ac_srcdir_defaulted=yes
2243 # Try the directory containing this script, then the parent directory.
2244 ac_confdir=`$as_dirname -- "$as_myself" ||
2245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2246 X"$as_myself" : 'X\(//\)[^/]' \| \
2247 X"$as_myself" : 'X\(//\)$' \| \
2248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2249 $as_echo X"$as_myself" |
2250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2251 s//\1/
2254 /^X\(\/\/\)[^/].*/{
2255 s//\1/
2258 /^X\(\/\/\)$/{
2259 s//\1/
2262 /^X\(\/\).*/{
2263 s//\1/
2266 s/.*/./; q'`
2267 srcdir=$ac_confdir
2268 if test ! -r "$srcdir/$ac_unique_file"; then
2269 srcdir=..
2271 else
2272 ac_srcdir_defaulted=no
2274 if test ! -r "$srcdir/$ac_unique_file"; then
2275 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2276 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2279 ac_abs_confdir=`(
2280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2281 pwd)`
2282 # When building in place, set srcdir=.
2283 if test "$ac_abs_confdir" = "$ac_pwd"; then
2284 srcdir=.
2286 # Remove unnecessary trailing slashes from srcdir.
2287 # Double slashes in file names in object file debugging info
2288 # mess up M-x gdb in Emacs.
2289 case $srcdir in
2290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2291 esac
2292 for ac_var in $ac_precious_vars; do
2293 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2294 eval ac_env_${ac_var}_value=\$${ac_var}
2295 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2296 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2297 done
2300 # Report the --help message.
2302 if test "$ac_init_help" = "long"; then
2303 # Omit some internal or obsolete options to make the list less imposing.
2304 # This message is too long to be a string in the A/UX 3.1 sh.
2305 cat <<_ACEOF
2306 \`configure' configures Wine 3.1 to adapt to many kinds of systems.
2308 Usage: $0 [OPTION]... [VAR=VALUE]...
2310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2311 VAR=VALUE. See below for descriptions of some of the useful variables.
2313 Defaults for the options are specified in brackets.
2315 Configuration:
2316 -h, --help display this help and exit
2317 --help=short display options specific to this package
2318 --help=recursive display the short help of all the included packages
2319 -V, --version display version information and exit
2320 -q, --quiet, --silent do not print \`checking ...' messages
2321 --cache-file=FILE cache test results in FILE [disabled]
2322 -C, --config-cache alias for \`--cache-file=config.cache'
2323 -n, --no-create do not create output files
2324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2326 Installation directories:
2327 --prefix=PREFIX install architecture-independent files in PREFIX
2328 [$ac_default_prefix]
2329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2330 [PREFIX]
2332 By default, \`make install' will install all the files in
2333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2335 for instance \`--prefix=\$HOME'.
2337 For better control, use the options below.
2339 Fine tuning of the installation directories:
2340 --bindir=DIR user executables [EPREFIX/bin]
2341 --sbindir=DIR system admin executables [EPREFIX/sbin]
2342 --libexecdir=DIR program executables [EPREFIX/libexec]
2343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2346 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2347 --libdir=DIR object code libraries [EPREFIX/lib]
2348 --includedir=DIR C header files [PREFIX/include]
2349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2352 --infodir=DIR info documentation [DATAROOTDIR/info]
2353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2354 --mandir=DIR man documentation [DATAROOTDIR/man]
2355 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2356 --htmldir=DIR html documentation [DOCDIR]
2357 --dvidir=DIR dvi documentation [DOCDIR]
2358 --pdfdir=DIR pdf documentation [DOCDIR]
2359 --psdir=DIR ps documentation [DOCDIR]
2360 _ACEOF
2362 cat <<\_ACEOF
2364 X features:
2365 --x-includes=DIR X include files are in DIR
2366 --x-libraries=DIR X library files are in DIR
2368 System types:
2369 --build=BUILD configure for building on BUILD [guessed]
2370 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2371 _ACEOF
2374 if test -n "$ac_init_help"; then
2375 case $ac_init_help in
2376 short | recursive ) echo "Configuration of Wine 3.1:";;
2377 esac
2378 cat <<\_ACEOF
2380 Optional Features:
2381 --disable-option-checking ignore unrecognized --enable/--with options
2382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2384 --disable-win16 do not include Win16 support
2385 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2386 binaries)
2387 --disable-tests do not build the regression tests
2388 --enable-maintainer-mode
2389 enable maintainer-specific build rules
2390 --disable-largefile omit support for large files
2392 Optional Packages:
2393 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2394 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2395 --without-alsa do not use the Alsa sound support
2396 --without-capi do not use CAPI (ISDN support)
2397 --without-cms do not use CMS (color management support)
2398 --without-coreaudio do not use the CoreAudio sound support
2399 --without-cups do not use CUPS
2400 --without-curses do not use (n)curses
2401 --without-dbus do not use DBus (dynamic device support)
2402 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2403 --without-fontconfig do not use fontconfig
2404 --without-freetype do not use the FreeType library
2405 --without-gettext do not use gettext
2406 --with-gettextpo use the GetTextPO library to rebuild po files
2407 --without-gphoto do not use gphoto (Digital Camera support)
2408 --without-glu do not use the GLU library
2409 --without-gnutls do not use GnuTLS (schannel support)
2410 --without-gsm do not use libgsm (GSM 06.10 codec support)
2411 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2412 --without-gstreamer do not use GStreamer (codecs support)
2413 --without-hal do not use HAL (dynamic device support)
2414 --without-jpeg do not use JPEG
2415 --without-krb5 do not use krb5 (Kerberos)
2416 --without-ldap do not use LDAP
2417 --without-mpg123 do not use the mpg123 library
2418 --without-netapi do not use the Samba NetAPI library
2419 --without-openal do not use OpenAL
2420 --without-opencl do not use OpenCL
2421 --without-opengl do not use OpenGL
2422 --without-osmesa do not use the OSMesa library
2423 --without-oss do not use the OSS sound support
2424 --without-pcap do not use the Packet Capture library
2425 --without-png do not use PNG
2426 --without-pthread do not use the pthread library
2427 --without-pulse do not use PulseAudio sound support
2428 --without-sane do not use SANE (scanner support)
2429 --without-tiff do not use TIFF
2430 --without-udev do not use udev (plug and play support)
2431 --without-v4l do not use v4l1 (v4l support)
2432 --without-xcomposite do not use the Xcomposite extension
2433 --without-xcursor do not use the Xcursor extension
2434 --without-xfixes do not use Xfixes for clipboard change notifications
2435 --without-xinerama do not use Xinerama (multi-monitor support)
2436 --without-xinput do not use the Xinput extension
2437 --without-xinput2 do not use the Xinput 2 extension
2438 --without-xml do not use XML
2439 --without-xrandr do not use Xrandr (resolution changes)
2440 --without-xrender do not use the Xrender extension
2441 --without-xshape do not use the Xshape extension
2442 --without-xshm do not use XShm (shared memory extension)
2443 --without-xslt do not use XSLT
2444 --without-xxf86vm do not use XFree video mode extension
2445 --without-zlib do not use Zlib (data compression)
2446 --with-wine-tools=DIR use Wine tools from directory DIR
2447 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2448 --with-x use the X Window System
2450 Some influential environment variables:
2451 CC C compiler command
2452 CFLAGS C compiler flags
2453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2454 nonstandard directory <lib dir>
2455 LIBS libraries to pass to the linker, e.g. -l<library>
2456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2457 you have headers in a nonstandard directory <include dir>
2458 CXX C++ compiler command
2459 CXXFLAGS C++ compiler flags
2460 CPP C preprocessor
2461 XMKMF Path to xmkmf, Makefile generator for X Window System
2462 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2463 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2464 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2465 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2466 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2467 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2468 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2469 HAL_LIBS Linker flags for hal, overriding pkg-config
2470 GNUTLS_CFLAGS
2471 C compiler flags for gnutls, overriding pkg-config
2472 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2473 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2474 SANE_LIBS Linker flags for libsane, overriding pkg-config
2475 GPHOTO2_CFLAGS
2476 C compiler flags for libgphoto2, overriding pkg-config
2477 GPHOTO2_LIBS
2478 Linker flags for libgphoto2, overriding pkg-config
2479 GPHOTO2_PORT_CFLAGS
2480 C compiler flags for libgphoto2_port, overriding pkg-config
2481 GPHOTO2_PORT_LIBS
2482 Linker flags for libgphoto2_port, overriding pkg-config
2483 LCMS2_CFLAGS
2484 C compiler flags for lcms2, overriding pkg-config
2485 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2486 FREETYPE_CFLAGS
2487 C compiler flags for freetype2, overriding pkg-config
2488 FREETYPE_LIBS
2489 Linker flags for freetype2, overriding pkg-config
2490 PULSE_CFLAGS
2491 C compiler flags for libpulse, overriding pkg-config
2492 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2493 GSTREAMER_CFLAGS
2494 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2495 gstreamer-audio-1.0, overriding pkg-config
2496 GSTREAMER_LIBS
2497 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2498 gstreamer-audio-1.0, overriding pkg-config
2499 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2500 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2501 CAPI20_CFLAGS
2502 C compiler flags for capi20, overriding pkg-config
2503 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2504 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2505 CUPS_LIBS Linker flags for cups, overriding pkg-config
2506 FONTCONFIG_CFLAGS
2507 C compiler flags for fontconfig, overriding pkg-config
2508 FONTCONFIG_LIBS
2509 Linker flags for fontconfig, overriding pkg-config
2510 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2511 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2512 GSSAPI_CFLAGS
2513 C compiler flags for krb5-gssapi, overriding pkg-config
2514 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2515 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2516 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2517 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2518 PNG_LIBS Linker flags for libpng, overriding pkg-config
2519 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2520 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2521 MPG123_CFLAGS
2522 C compiler flags for libmpg123, overriding pkg-config
2523 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2524 NETAPI_CFLAGS
2525 C compiler flags for netapi, overriding pkg-config
2526 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2527 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2528 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2530 Use these variables to override the choices made by `configure' or to help
2531 it to find libraries and programs with nonstandard names/locations.
2533 Report bugs to <wine-devel@winehq.org>.
2534 Wine home page: <https://www.winehq.org>.
2535 _ACEOF
2536 ac_status=$?
2539 if test "$ac_init_help" = "recursive"; then
2540 # If there are subdirs, report their specific --help.
2541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2542 test -d "$ac_dir" ||
2543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2544 continue
2545 ac_builddir=.
2547 case "$ac_dir" in
2548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2551 # A ".." for each directory in $ac_dir_suffix.
2552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2553 case $ac_top_builddir_sub in
2554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2556 esac ;;
2557 esac
2558 ac_abs_top_builddir=$ac_pwd
2559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2560 # for backward compatibility:
2561 ac_top_builddir=$ac_top_build_prefix
2563 case $srcdir in
2564 .) # We are building in place.
2565 ac_srcdir=.
2566 ac_top_srcdir=$ac_top_builddir_sub
2567 ac_abs_top_srcdir=$ac_pwd ;;
2568 [\\/]* | ?:[\\/]* ) # Absolute name.
2569 ac_srcdir=$srcdir$ac_dir_suffix;
2570 ac_top_srcdir=$srcdir
2571 ac_abs_top_srcdir=$srcdir ;;
2572 *) # Relative name.
2573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2574 ac_top_srcdir=$ac_top_build_prefix$srcdir
2575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2576 esac
2577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2579 cd "$ac_dir" || { ac_status=$?; continue; }
2580 # Check for guested configure.
2581 if test -f "$ac_srcdir/configure.gnu"; then
2582 echo &&
2583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2584 elif test -f "$ac_srcdir/configure"; then
2585 echo &&
2586 $SHELL "$ac_srcdir/configure" --help=recursive
2587 else
2588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2589 fi || ac_status=$?
2590 cd "$ac_pwd" || { ac_status=$?; break; }
2591 done
2594 test -n "$ac_init_help" && exit $ac_status
2595 if $ac_init_version; then
2596 cat <<\_ACEOF
2597 Wine configure 3.1
2598 generated by GNU Autoconf 2.69
2600 Copyright (C) 2012 Free Software Foundation, Inc.
2601 This configure script is free software; the Free Software Foundation
2602 gives unlimited permission to copy, distribute and modify it.
2603 _ACEOF
2604 exit
2607 ## ------------------------ ##
2608 ## Autoconf initialization. ##
2609 ## ------------------------ ##
2611 # ac_fn_c_try_compile LINENO
2612 # --------------------------
2613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2614 ac_fn_c_try_compile ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 rm -f conftest.$ac_objext
2618 if { { ac_try="$ac_compile"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_compile") 2>conftest.err
2626 ac_status=$?
2627 if test -s conftest.err; then
2628 grep -v '^ *+' conftest.err >conftest.er1
2629 cat conftest.er1 >&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && {
2634 test -z "$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2636 } && test -s conftest.$ac_objext; then :
2637 ac_retval=0
2638 else
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2642 ac_retval=1
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 as_fn_set_status $ac_retval
2647 } # ac_fn_c_try_compile
2649 # ac_fn_cxx_try_compile LINENO
2650 # ----------------------------
2651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2652 ac_fn_cxx_try_compile ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 rm -f conftest.$ac_objext
2656 if { { ac_try="$ac_compile"
2657 case "(($ac_try" in
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2660 esac
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_compile") 2>conftest.err
2664 ac_status=$?
2665 if test -s conftest.err; then
2666 grep -v '^ *+' conftest.err >conftest.er1
2667 cat conftest.er1 >&5
2668 mv -f conftest.er1 conftest.err
2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2671 test $ac_status = 0; } && {
2672 test -z "$ac_cxx_werror_flag" ||
2673 test ! -s conftest.err
2674 } && test -s conftest.$ac_objext; then :
2675 ac_retval=0
2676 else
2677 $as_echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2680 ac_retval=1
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2683 as_fn_set_status $ac_retval
2685 } # ac_fn_cxx_try_compile
2687 # ac_fn_c_try_link LINENO
2688 # -----------------------
2689 # Try to link conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_c_try_link ()
2692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2693 rm -f conftest.$ac_objext conftest$ac_exeext
2694 if { { ac_try="$ac_link"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_link") 2>conftest.err
2702 ac_status=$?
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest$ac_exeext && {
2713 test "$cross_compiling" = yes ||
2714 test -x conftest$ac_exeext
2715 }; then :
2716 ac_retval=0
2717 else
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2721 ac_retval=1
2723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2725 # interfere with the next link command; also delete a directory that is
2726 # left behind by Apple's compiler. We do this before executing the actions.
2727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 as_fn_set_status $ac_retval
2731 } # ac_fn_c_try_link
2733 # ac_fn_c_try_cpp LINENO
2734 # ----------------------
2735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2736 ac_fn_c_try_cpp ()
2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2739 if { { ac_try="$ac_cpp conftest.$ac_ext"
2740 case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2747 ac_status=$?
2748 if test -s conftest.err; then
2749 grep -v '^ *+' conftest.err >conftest.er1
2750 cat conftest.er1 >&5
2751 mv -f conftest.er1 conftest.err
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } > conftest.i && {
2755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2756 test ! -s conftest.err
2757 }; then :
2758 ac_retval=0
2759 else
2760 $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_retval=1
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2768 } # ac_fn_c_try_cpp
2770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2773 # the include files in INCLUDES and setting the cache variable VAR
2774 # accordingly.
2775 ac_fn_c_check_header_mongrel ()
2777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778 if eval \${$3+:} false; then :
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2780 $as_echo_n "checking for $2... " >&6; }
2781 if eval \${$3+:} false; then :
2782 $as_echo_n "(cached) " >&6
2784 eval ac_res=\$$3
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 else
2788 # Is the header compilable?
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2790 $as_echo_n "checking $2 usability... " >&6; }
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2794 #include <$2>
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797 ac_header_compiler=yes
2798 else
2799 ac_header_compiler=no
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2803 $as_echo "$ac_header_compiler" >&6; }
2805 # Is the header present?
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2807 $as_echo_n "checking $2 presence... " >&6; }
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2810 #include <$2>
2811 _ACEOF
2812 if ac_fn_c_try_cpp "$LINENO"; then :
2813 ac_header_preproc=yes
2814 else
2815 ac_header_preproc=no
2817 rm -f conftest.err conftest.i conftest.$ac_ext
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2819 $as_echo "$ac_header_preproc" >&6; }
2821 # So? What about this header?
2822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2823 yes:no: )
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2825 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2827 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2829 no:yes:* )
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2831 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2833 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2835 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2837 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2840 ( $as_echo "## ------------------------------------ ##
2841 ## Report this to wine-devel@winehq.org ##
2842 ## ------------------------------------ ##"
2843 ) | sed "s/^/$as_me: WARNING: /" >&2
2845 esac
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \${$3+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 eval "$3=\$ac_header_compiler"
2853 eval ac_res=\$$3
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2855 $as_echo "$ac_res" >&6; }
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 } # ac_fn_c_check_header_mongrel
2861 # ac_fn_c_try_run LINENO
2862 # ----------------------
2863 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2864 # that executables *can* be run.
2865 ac_fn_c_try_run ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 if { { ac_try="$ac_link"
2869 case "(($ac_try" in
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2872 esac
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_link") 2>&5
2876 ac_status=$?
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2879 { { case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_try") 2>&5
2886 ac_status=$?
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }; }; then :
2889 ac_retval=0
2890 else
2891 $as_echo "$as_me: program exited with status $ac_status" >&5
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=$ac_status
2897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 as_fn_set_status $ac_retval
2901 } # ac_fn_c_try_run
2903 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2904 # -------------------------------------------------------
2905 # Tests whether HEADER exists and can be compiled using the include files in
2906 # INCLUDES, setting the cache variable VAR accordingly.
2907 ac_fn_c_check_header_compile ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2911 $as_echo_n "checking for $2... " >&6; }
2912 if eval \${$3+:} false; then :
2913 $as_echo_n "(cached) " >&6
2914 else
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2918 #include <$2>
2919 _ACEOF
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 eval "$3=yes"
2922 else
2923 eval "$3=no"
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 eval ac_res=\$$3
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 $as_echo "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_header_compile
2934 # ac_fn_c_check_func LINENO FUNC VAR
2935 # ----------------------------------
2936 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2937 ac_fn_c_check_func ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2941 $as_echo_n "checking for $2... " >&6; }
2942 if eval \${$3+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2947 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2949 #define $2 innocuous_$2
2951 /* System header to define __stub macros and hopefully few prototypes,
2952 which can conflict with char $2 (); below.
2953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2954 <limits.h> exists even on freestanding compilers. */
2956 #ifdef __STDC__
2957 # include <limits.h>
2958 #else
2959 # include <assert.h>
2960 #endif
2962 #undef $2
2964 /* Override any GCC internal prototype to avoid an error.
2965 Use char because int might match the return type of a GCC
2966 builtin and then its argument prototype would still apply. */
2967 #ifdef __cplusplus
2968 extern "C"
2969 #endif
2970 char $2 ();
2971 /* The GNU C library defines this for functions which it implements
2972 to always fail with ENOSYS. Some functions are actually named
2973 something starting with __ and the normal name is an alias. */
2974 #if defined __stub_$2 || defined __stub___$2
2975 choke me
2976 #endif
2979 main ()
2981 return $2 ();
2983 return 0;
2985 _ACEOF
2986 if ac_fn_c_try_link "$LINENO"; then :
2987 eval "$3=yes"
2988 else
2989 eval "$3=no"
2991 rm -f core conftest.err conftest.$ac_objext \
2992 conftest$ac_exeext conftest.$ac_ext
2994 eval ac_res=\$$3
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2996 $as_echo "$ac_res" >&6; }
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 } # ac_fn_c_check_func
3001 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3002 # ----------------------------------------------------
3003 # Tries to find if the field MEMBER exists in type AGGR, after including
3004 # INCLUDES, setting cache variable VAR accordingly.
3005 ac_fn_c_check_member ()
3007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3009 $as_echo_n "checking for $2.$3... " >&6; }
3010 if eval \${$4+:} false; then :
3011 $as_echo_n "(cached) " >&6
3012 else
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3019 static $2 ac_aggr;
3020 if (ac_aggr.$3)
3021 return 0;
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 eval "$4=yes"
3028 else
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3033 main ()
3035 static $2 ac_aggr;
3036 if (sizeof ac_aggr.$3)
3037 return 0;
3039 return 0;
3041 _ACEOF
3042 if ac_fn_c_try_compile "$LINENO"; then :
3043 eval "$4=yes"
3044 else
3045 eval "$4=no"
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 eval ac_res=\$$4
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 } # ac_fn_c_check_member
3058 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3059 # -------------------------------------------
3060 # Tests whether TYPE exists after having included INCLUDES, setting cache
3061 # variable VAR accordingly.
3062 ac_fn_c_check_type ()
3064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 $as_echo_n "checking for $2... " >&6; }
3067 if eval \${$3+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 eval "$3=no"
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 main ()
3077 if (sizeof ($2))
3078 return 0;
3080 return 0;
3082 _ACEOF
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3088 main ()
3090 if (sizeof (($2)))
3091 return 0;
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"; then :
3098 else
3099 eval "$3=yes"
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 eval ac_res=\$$3
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3107 $as_echo "$ac_res" >&6; }
3108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3110 } # ac_fn_c_check_type
3111 cat >config.log <<_ACEOF
3112 This file contains any messages produced by compilers while
3113 running configure, to aid debugging if configure makes a mistake.
3115 It was created by Wine $as_me 3.1, which was
3116 generated by GNU Autoconf 2.69. Invocation command line was
3118 $ $0 $@
3120 _ACEOF
3121 exec 5>>config.log
3123 cat <<_ASUNAME
3124 ## --------- ##
3125 ## Platform. ##
3126 ## --------- ##
3128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3145 _ASUNAME
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3150 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=.
3152 $as_echo "PATH: $as_dir"
3153 done
3154 IFS=$as_save_IFS
3156 } >&5
3158 cat >&5 <<_ACEOF
3161 ## ----------- ##
3162 ## Core tests. ##
3163 ## ----------- ##
3165 _ACEOF
3168 # Keep a trace of the command line.
3169 # Strip out --no-create and --no-recursion so they do not pile up.
3170 # Strip out --silent because we don't want to record it for future runs.
3171 # Also quote any args containing shell meta-characters.
3172 # Make two passes to allow for proper duplicate-argument suppression.
3173 ac_configure_args=
3174 ac_configure_args0=
3175 ac_configure_args1=
3176 ac_must_keep_next=false
3177 for ac_pass in 1 2
3179 for ac_arg
3181 case $ac_arg in
3182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3184 | -silent | --silent | --silen | --sile | --sil)
3185 continue ;;
3186 *\'*)
3187 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3188 esac
3189 case $ac_pass in
3190 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3192 as_fn_append ac_configure_args1 " '$ac_arg'"
3193 if test $ac_must_keep_next = true; then
3194 ac_must_keep_next=false # Got value, back to normal.
3195 else
3196 case $ac_arg in
3197 *=* | --config-cache | -C | -disable-* | --disable-* \
3198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3200 | -with-* | --with-* | -without-* | --without-* | --x)
3201 case "$ac_configure_args0 " in
3202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3203 esac
3205 -* ) ac_must_keep_next=true ;;
3206 esac
3208 as_fn_append ac_configure_args " '$ac_arg'"
3210 esac
3211 done
3212 done
3213 { ac_configure_args0=; unset ac_configure_args0;}
3214 { ac_configure_args1=; unset ac_configure_args1;}
3216 # When interrupted or exit'd, cleanup temporary files, and complete
3217 # config.log. We remove comments because anyway the quotes in there
3218 # would cause problems or look ugly.
3219 # WARNING: Use '\'' to represent an apostrophe within the trap.
3220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3221 trap 'exit_status=$?
3222 # Save into config.log some information that might help in debugging.
3224 echo
3226 $as_echo "## ---------------- ##
3227 ## Cache variables. ##
3228 ## ---------------- ##"
3229 echo
3230 # The following way of writing the cache mishandles newlines in values,
3232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3233 eval ac_val=\$$ac_var
3234 case $ac_val in #(
3235 *${as_nl}*)
3236 case $ac_var in #(
3237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3239 esac
3240 case $ac_var in #(
3241 _ | IFS | as_nl) ;; #(
3242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3243 *) { eval $ac_var=; unset $ac_var;} ;;
3244 esac ;;
3245 esac
3246 done
3247 (set) 2>&1 |
3248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3249 *${as_nl}ac_space=\ *)
3250 sed -n \
3251 "s/'\''/'\''\\\\'\'''\''/g;
3252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3253 ;; #(
3255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3257 esac |
3258 sort
3260 echo
3262 $as_echo "## ----------------- ##
3263 ## Output variables. ##
3264 ## ----------------- ##"
3265 echo
3266 for ac_var in $ac_subst_vars
3268 eval ac_val=\$$ac_var
3269 case $ac_val in
3270 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3271 esac
3272 $as_echo "$ac_var='\''$ac_val'\''"
3273 done | sort
3274 echo
3276 if test -n "$ac_subst_files"; then
3277 $as_echo "## ------------------- ##
3278 ## File substitutions. ##
3279 ## ------------------- ##"
3280 echo
3281 for ac_var in $ac_subst_files
3283 eval ac_val=\$$ac_var
3284 case $ac_val in
3285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3286 esac
3287 $as_echo "$ac_var='\''$ac_val'\''"
3288 done | sort
3289 echo
3292 if test -s confdefs.h; then
3293 $as_echo "## ----------- ##
3294 ## confdefs.h. ##
3295 ## ----------- ##"
3296 echo
3297 cat confdefs.h
3298 echo
3300 test "$ac_signal" != 0 &&
3301 $as_echo "$as_me: caught signal $ac_signal"
3302 $as_echo "$as_me: exit $exit_status"
3303 } >&5
3304 rm -f core *.core core.conftest.* &&
3305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3306 exit $exit_status
3308 for ac_signal in 1 2 13 15; do
3309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3310 done
3311 ac_signal=0
3313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3314 rm -f -r conftest* confdefs.h
3316 $as_echo "/* confdefs.h */" > confdefs.h
3318 # Predefined preprocessor variables.
3320 cat >>confdefs.h <<_ACEOF
3321 #define PACKAGE_NAME "$PACKAGE_NAME"
3322 _ACEOF
3324 cat >>confdefs.h <<_ACEOF
3325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3326 _ACEOF
3328 cat >>confdefs.h <<_ACEOF
3329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3330 _ACEOF
3332 cat >>confdefs.h <<_ACEOF
3333 #define PACKAGE_STRING "$PACKAGE_STRING"
3334 _ACEOF
3336 cat >>confdefs.h <<_ACEOF
3337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3338 _ACEOF
3340 cat >>confdefs.h <<_ACEOF
3341 #define PACKAGE_URL "$PACKAGE_URL"
3342 _ACEOF
3345 # Let the site file select an alternate cache file if it wants to.
3346 # Prefer an explicitly selected file to automatically selected ones.
3347 ac_site_file1=NONE
3348 ac_site_file2=NONE
3349 if test -n "$CONFIG_SITE"; then
3350 # We do not want a PATH search for config.site.
3351 case $CONFIG_SITE in #((
3352 -*) ac_site_file1=./$CONFIG_SITE;;
3353 */*) ac_site_file1=$CONFIG_SITE;;
3354 *) ac_site_file1=./$CONFIG_SITE;;
3355 esac
3356 elif test "x$prefix" != xNONE; then
3357 ac_site_file1=$prefix/share/config.site
3358 ac_site_file2=$prefix/etc/config.site
3359 else
3360 ac_site_file1=$ac_default_prefix/share/config.site
3361 ac_site_file2=$ac_default_prefix/etc/config.site
3363 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3365 test "x$ac_site_file" = xNONE && continue
3366 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3368 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3369 sed 's/^/| /' "$ac_site_file" >&5
3370 . "$ac_site_file" \
3371 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $? "failed to load site script $ac_site_file
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 done
3378 if test -r "$cache_file"; then
3379 # Some versions of bash will fail to source /dev/null (special files
3380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3383 $as_echo "$as_me: loading cache $cache_file" >&6;}
3384 case $cache_file in
3385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3386 *) . "./$cache_file";;
3387 esac
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3391 $as_echo "$as_me: creating cache $cache_file" >&6;}
3392 >$cache_file
3395 # Check that the precious variables saved in the cache have kept the same
3396 # value.
3397 ac_cache_corrupted=false
3398 for ac_var in $ac_precious_vars; do
3399 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3400 eval ac_new_set=\$ac_env_${ac_var}_set
3401 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3402 eval ac_new_val=\$ac_env_${ac_var}_value
3403 case $ac_old_set,$ac_new_set in
3404 set,)
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3407 ac_cache_corrupted=: ;;
3408 ,set)
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3411 ac_cache_corrupted=: ;;
3412 ,);;
3414 if test "x$ac_old_val" != "x$ac_new_val"; then
3415 # differences in whitespace do not lead to failure.
3416 ac_old_val_w=`echo x $ac_old_val`
3417 ac_new_val_w=`echo x $ac_new_val`
3418 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3421 ac_cache_corrupted=:
3422 else
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3425 eval $ac_var=\$ac_old_val
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3431 fi;;
3432 esac
3433 # Pass precious variables to config.status.
3434 if test "$ac_new_set" = set; then
3435 case $ac_new_val in
3436 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3437 *) ac_arg=$ac_var=$ac_new_val ;;
3438 esac
3439 case " $ac_configure_args " in
3440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3441 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3442 esac
3444 done
3445 if $ac_cache_corrupted; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3450 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3452 ## -------------------- ##
3453 ## Main body of script. ##
3454 ## -------------------- ##
3456 ac_ext=c
3457 ac_cpp='$CPP $CPPFLAGS'
3458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3464 ac_config_headers="$ac_config_headers include/config.h"
3466 ac_aux_dir=
3467 for ac_dir in tools "$srcdir"/tools; do
3468 if test -f "$ac_dir/install-sh"; then
3469 ac_aux_dir=$ac_dir
3470 ac_install_sh="$ac_aux_dir/install-sh -c"
3471 break
3472 elif test -f "$ac_dir/install.sh"; then
3473 ac_aux_dir=$ac_dir
3474 ac_install_sh="$ac_aux_dir/install.sh -c"
3475 break
3476 elif test -f "$ac_dir/shtool"; then
3477 ac_aux_dir=$ac_dir
3478 ac_install_sh="$ac_aux_dir/shtool install -c"
3479 break
3481 done
3482 if test -z "$ac_aux_dir"; then
3483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3486 # These three variables are undocumented and unsupported,
3487 # and are intended to be withdrawn in a future Autoconf release.
3488 # They can cause serious problems if a builder's source tree is in a directory
3489 # whose full name contains unusual characters.
3490 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3491 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3492 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3496 libwine_version="1.0"
3500 # Check whether --enable-win16 was given.
3501 if test "${enable_win16+set}" = set; then :
3502 enableval=$enable_win16;
3505 # Check whether --enable-win64 was given.
3506 if test "${enable_win64+set}" = set; then :
3507 enableval=$enable_win64;
3510 # Check whether --enable-tests was given.
3511 if test "${enable_tests+set}" = set; then :
3512 enableval=$enable_tests;
3515 # Check whether --enable-maintainer-mode was given.
3516 if test "${enable_maintainer_mode+set}" = set; then :
3517 enableval=$enable_maintainer_mode;
3522 # Check whether --with-alsa was given.
3523 if test "${with_alsa+set}" = set; then :
3524 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3528 # Check whether --with-capi was given.
3529 if test "${with_capi+set}" = set; then :
3530 withval=$with_capi;
3534 # Check whether --with-cms was given.
3535 if test "${with_cms+set}" = set; then :
3536 withval=$with_cms;
3540 # Check whether --with-coreaudio was given.
3541 if test "${with_coreaudio+set}" = set; then :
3542 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3546 # Check whether --with-cups was given.
3547 if test "${with_cups+set}" = set; then :
3548 withval=$with_cups;
3552 # Check whether --with-curses was given.
3553 if test "${with_curses+set}" = set; then :
3554 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3558 # Check whether --with-dbus was given.
3559 if test "${with_dbus+set}" = set; then :
3560 withval=$with_dbus;
3564 # Check whether --with-float-abi was given.
3565 if test "${with_float_abi+set}" = set; then :
3566 withval=$with_float_abi;
3570 # Check whether --with-fontconfig was given.
3571 if test "${with_fontconfig+set}" = set; then :
3572 withval=$with_fontconfig;
3576 # Check whether --with-freetype was given.
3577 if test "${with_freetype+set}" = set; then :
3578 withval=$with_freetype;
3582 # Check whether --with-gettext was given.
3583 if test "${with_gettext+set}" = set; then :
3584 withval=$with_gettext;
3588 # Check whether --with-gettextpo was given.
3589 if test "${with_gettextpo+set}" = set; then :
3590 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3594 # Check whether --with-gphoto was given.
3595 if test "${with_gphoto+set}" = set; then :
3596 withval=$with_gphoto;
3600 # Check whether --with-glu was given.
3601 if test "${with_glu+set}" = set; then :
3602 withval=$with_glu;
3606 # Check whether --with-gnutls was given.
3607 if test "${with_gnutls+set}" = set; then :
3608 withval=$with_gnutls;
3612 # Check whether --with-gsm was given.
3613 if test "${with_gsm+set}" = set; then :
3614 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3618 # Check whether --with-gssapi was given.
3619 if test "${with_gssapi+set}" = set; then :
3620 withval=$with_gssapi;
3624 # Check whether --with-gstreamer was given.
3625 if test "${with_gstreamer+set}" = set; then :
3626 withval=$with_gstreamer;
3630 # Check whether --with-hal was given.
3631 if test "${with_hal+set}" = set; then :
3632 withval=$with_hal;
3636 # Check whether --with-jpeg was given.
3637 if test "${with_jpeg+set}" = set; then :
3638 withval=$with_jpeg;
3642 # Check whether --with-krb5 was given.
3643 if test "${with_krb5+set}" = set; then :
3644 withval=$with_krb5;
3648 # Check whether --with-ldap was given.
3649 if test "${with_ldap+set}" = set; then :
3650 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3654 # Check whether --with-mpg123 was given.
3655 if test "${with_mpg123+set}" = set; then :
3656 withval=$with_mpg123;
3660 # Check whether --with-netapi was given.
3661 if test "${with_netapi+set}" = set; then :
3662 withval=$with_netapi;
3666 # Check whether --with-openal was given.
3667 if test "${with_openal+set}" = set; then :
3668 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3672 # Check whether --with-opencl was given.
3673 if test "${with_opencl+set}" = set; then :
3674 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3678 # Check whether --with-opengl was given.
3679 if test "${with_opengl+set}" = set; then :
3680 withval=$with_opengl;
3684 # Check whether --with-osmesa was given.
3685 if test "${with_osmesa+set}" = set; then :
3686 withval=$with_osmesa;
3690 # Check whether --with-oss was given.
3691 if test "${with_oss+set}" = set; then :
3692 withval=$with_oss;
3696 # Check whether --with-pcap was given.
3697 if test "${with_pcap+set}" = set; then :
3698 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3702 # Check whether --with-png was given.
3703 if test "${with_png+set}" = set; then :
3704 withval=$with_png;
3708 # Check whether --with-pthread was given.
3709 if test "${with_pthread+set}" = set; then :
3710 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3714 # Check whether --with-pulse was given.
3715 if test "${with_pulse+set}" = set; then :
3716 withval=$with_pulse;
3720 # Check whether --with-sane was given.
3721 if test "${with_sane+set}" = set; then :
3722 withval=$with_sane;
3726 # Check whether --with-tiff was given.
3727 if test "${with_tiff+set}" = set; then :
3728 withval=$with_tiff;
3732 # Check whether --with-udev was given.
3733 if test "${with_udev+set}" = set; then :
3734 withval=$with_udev;
3738 # Check whether --with-v4l was given.
3739 if test "${with_v4l+set}" = set; then :
3740 withval=$with_v4l;
3744 # Check whether --with-xcomposite was given.
3745 if test "${with_xcomposite+set}" = set; then :
3746 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3750 # Check whether --with-xcursor was given.
3751 if test "${with_xcursor+set}" = set; then :
3752 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3756 # Check whether --with-xfixes was given.
3757 if test "${with_xfixes+set}" = set; then :
3758 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3762 # Check whether --with-xinerama was given.
3763 if test "${with_xinerama+set}" = set; then :
3764 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3768 # Check whether --with-xinput was given.
3769 if test "${with_xinput+set}" = set; then :
3770 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3774 # Check whether --with-xinput2 was given.
3775 if test "${with_xinput2+set}" = set; then :
3776 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3780 # Check whether --with-xml was given.
3781 if test "${with_xml+set}" = set; then :
3782 withval=$with_xml;
3786 # Check whether --with-xrandr was given.
3787 if test "${with_xrandr+set}" = set; then :
3788 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3792 # Check whether --with-xrender was given.
3793 if test "${with_xrender+set}" = set; then :
3794 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3798 # Check whether --with-xshape was given.
3799 if test "${with_xshape+set}" = set; then :
3800 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3804 # Check whether --with-xshm was given.
3805 if test "${with_xshm+set}" = set; then :
3806 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3810 # Check whether --with-xslt was given.
3811 if test "${with_xslt+set}" = set; then :
3812 withval=$with_xslt;
3816 # Check whether --with-xxf86vm was given.
3817 if test "${with_xxf86vm+set}" = set; then :
3818 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
3822 # Check whether --with-zlib was given.
3823 if test "${with_zlib+set}" = set; then :
3824 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3829 # Check whether --with-wine-tools was given.
3830 if test "${with_wine_tools+set}" = set; then :
3831 withval=$with_wine_tools;
3835 # Check whether --with-wine64 was given.
3836 if test "${with_wine64+set}" = set; then :
3837 withval=$with_wine64;
3841 # Make sure we can run config.sub.
3842 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3843 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3846 $as_echo_n "checking build system type... " >&6; }
3847 if ${ac_cv_build+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 ac_build_alias=$build_alias
3851 test "x$ac_build_alias" = x &&
3852 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3853 test "x$ac_build_alias" = x &&
3854 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3855 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3856 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3860 $as_echo "$ac_cv_build" >&6; }
3861 case $ac_cv_build in
3862 *-*-*) ;;
3863 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3864 esac
3865 build=$ac_cv_build
3866 ac_save_IFS=$IFS; IFS='-'
3867 set x $ac_cv_build
3868 shift
3869 build_cpu=$1
3870 build_vendor=$2
3871 shift; shift
3872 # Remember, the first character of IFS is used to create $*,
3873 # except with old shells:
3874 build_os=$*
3875 IFS=$ac_save_IFS
3876 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3880 $as_echo_n "checking host system type... " >&6; }
3881 if ${ac_cv_host+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 if test "x$host_alias" = x; then
3885 ac_cv_host=$ac_cv_build
3886 else
3887 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3888 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3893 $as_echo "$ac_cv_host" >&6; }
3894 case $ac_cv_host in
3895 *-*-*) ;;
3896 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3897 esac
3898 host=$ac_cv_host
3899 ac_save_IFS=$IFS; IFS='-'
3900 set x $ac_cv_host
3901 shift
3902 host_cpu=$1
3903 host_vendor=$2
3904 shift; shift
3905 # Remember, the first character of IFS is used to create $*,
3906 # except with old shells:
3907 host_os=$*
3908 IFS=$ac_save_IFS
3909 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3913 case "$srcdir" in
3914 .) ;;
3915 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3916 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3917 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3918 fi ;;
3919 esac
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3923 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3924 set x ${MAKE-make}
3925 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3926 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 cat >conftest.make <<\_ACEOF
3930 SHELL = /bin/sh
3931 all:
3932 @echo '@@@%%%=$(MAKE)=@@@%%%'
3933 _ACEOF
3934 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3935 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3936 *@@@%%%=?*=@@@%%%*)
3937 eval ac_cv_prog_make_${ac_make}_set=yes;;
3939 eval ac_cv_prog_make_${ac_make}_set=no;;
3940 esac
3941 rm -f conftest.make
3943 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945 $as_echo "yes" >&6; }
3946 SET_MAKE=
3947 else
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3950 SET_MAKE="MAKE=${MAKE-make}"
3953 ac_ext=c
3954 ac_cpp='$CPP $CPPFLAGS'
3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$CC"; then
3967 ac_cv_prog_CC="$CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 CC=$ac_cv_prog_CC
3987 if test -n "$CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989 $as_echo "$CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3997 if test -z "$ac_cv_prog_CC"; then
3998 ac_ct_CC=$CC
3999 # Extract the first word of "gcc", so it can be a program name with args.
4000 set dummy gcc; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$ac_ct_CC"; then
4007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4008 else
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_CC="gcc"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 break 2
4020 done
4021 done
4022 IFS=$as_save_IFS
4026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4027 if test -n "$ac_ct_CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4029 $as_echo "$ac_ct_CC" >&6; }
4030 else
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4035 if test "x$ac_ct_CC" = x; then
4036 CC=""
4037 else
4038 case $cross_compiling:$ac_tool_warned in
4039 yes:)
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4042 ac_tool_warned=yes ;;
4043 esac
4044 CC=$ac_ct_CC
4046 else
4047 CC="$ac_cv_prog_CC"
4050 if test -z "$CC"; then
4051 if test -n "$ac_tool_prefix"; then
4052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4053 set dummy ${ac_tool_prefix}cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 for as_dir in $PATH
4065 IFS=$as_save_IFS
4066 test -z "$as_dir" && as_dir=.
4067 for ac_exec_ext in '' $ac_executable_extensions; do
4068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4069 ac_cv_prog_CC="${ac_tool_prefix}cc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 break 2
4073 done
4074 done
4075 IFS=$as_save_IFS
4079 CC=$ac_cv_prog_CC
4080 if test -n "$CC"; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4082 $as_echo "$CC" >&6; }
4083 else
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4091 if test -z "$CC"; then
4092 # Extract the first word of "cc", so it can be a program name with args.
4093 set dummy cc; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_prog_CC+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 if test -n "$CC"; then
4100 ac_cv_prog_CC="$CC" # Let the user override the test.
4101 else
4102 ac_prog_rejected=no
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4111 ac_prog_rejected=yes
4112 continue
4114 ac_cv_prog_CC="cc"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 break 2
4118 done
4119 done
4120 IFS=$as_save_IFS
4122 if test $ac_prog_rejected = yes; then
4123 # We found a bogon in the path, so make sure we never use it.
4124 set dummy $ac_cv_prog_CC
4125 shift
4126 if test $# != 0; then
4127 # We chose a different compiler from the bogus one.
4128 # However, it has the same basename, so the bogon will be chosen
4129 # first if we set CC to just the basename; use the full file name.
4130 shift
4131 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4136 CC=$ac_cv_prog_CC
4137 if test -n "$CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139 $as_echo "$CC" >&6; }
4140 else
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$CC"; then
4148 if test -n "$ac_tool_prefix"; then
4149 for ac_prog in cl.exe
4151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_CC+:} false; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 if test -n "$CC"; then
4159 ac_cv_prog_CC="$CC" # Let the user override the test.
4160 else
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH
4164 IFS=$as_save_IFS
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 break 2
4172 done
4173 done
4174 IFS=$as_save_IFS
4178 CC=$ac_cv_prog_CC
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4182 else
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4188 test -n "$CC" && break
4189 done
4191 if test -z "$CC"; then
4192 ac_ct_CC=$CC
4193 for ac_prog in cl.exe
4195 # Extract the first word of "$ac_prog", so it can be a program name with args.
4196 set dummy $ac_prog; ac_word=$2
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4198 $as_echo_n "checking for $ac_word... " >&6; }
4199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4200 $as_echo_n "(cached) " >&6
4201 else
4202 if test -n "$ac_ct_CC"; then
4203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4204 else
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH
4208 IFS=$as_save_IFS
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_CC="$ac_prog"
4213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 break 2
4216 done
4217 done
4218 IFS=$as_save_IFS
4222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4223 if test -n "$ac_ct_CC"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4225 $as_echo "$ac_ct_CC" >&6; }
4226 else
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4232 test -n "$ac_ct_CC" && break
4233 done
4235 if test "x$ac_ct_CC" = x; then
4236 CC=""
4237 else
4238 case $cross_compiling:$ac_tool_warned in
4239 yes:)
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4242 ac_tool_warned=yes ;;
4243 esac
4244 CC=$ac_ct_CC
4251 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "no acceptable C compiler found in \$PATH
4254 See \`config.log' for more details" "$LINENO" 5; }
4256 # Provide some information about the compiler.
4257 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4258 set X $ac_compile
4259 ac_compiler=$2
4260 for ac_option in --version -v -V -qversion; do
4261 { { ac_try="$ac_compiler $ac_option >&5"
4262 case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4265 esac
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4267 $as_echo "$ac_try_echo"; } >&5
4268 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4269 ac_status=$?
4270 if test -s conftest.err; then
4271 sed '10a\
4272 ... rest of stderr output deleted ...
4273 10q' conftest.err >conftest.er1
4274 cat conftest.er1 >&5
4276 rm -f conftest.er1 conftest.err
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }
4279 done
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4285 main ()
4289 return 0;
4291 _ACEOF
4292 ac_clean_files_save=$ac_clean_files
4293 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4294 # Try to create an executable without -o first, disregard a.out.
4295 # It will help us diagnose broken compilers, and finding out an intuition
4296 # of exeext.
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4298 $as_echo_n "checking whether the C compiler works... " >&6; }
4299 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4301 # The possible output files:
4302 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4304 ac_rmfiles=
4305 for ac_file in $ac_files
4307 case $ac_file in
4308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4309 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4310 esac
4311 done
4312 rm -f $ac_rmfiles
4314 if { { ac_try="$ac_link_default"
4315 case "(($ac_try" in
4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4318 esac
4319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4320 $as_echo "$ac_try_echo"; } >&5
4321 (eval "$ac_link_default") 2>&5
4322 ac_status=$?
4323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4324 test $ac_status = 0; }; then :
4325 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4326 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4327 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4328 # so that the user can short-circuit this test for compilers unknown to
4329 # Autoconf.
4330 for ac_file in $ac_files ''
4332 test -f "$ac_file" || continue
4333 case $ac_file in
4334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4336 [ab].out )
4337 # We found the default executable, but exeext='' is most
4338 # certainly right.
4339 break;;
4340 *.* )
4341 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4342 then :; else
4343 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4345 # We set ac_cv_exeext here because the later test for it is not
4346 # safe: cross compilers may not add the suffix if given an `-o'
4347 # argument, so we may need to know it at that point already.
4348 # Even if this section looks crufty: it has the advantage of
4349 # actually working.
4350 break;;
4352 break;;
4353 esac
4354 done
4355 test "$ac_cv_exeext" = no && ac_cv_exeext=
4357 else
4358 ac_file=''
4360 if test -z "$ac_file"; then :
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 $as_echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368 as_fn_error 77 "C compiler cannot create executables
4369 See \`config.log' for more details" "$LINENO" 5; }
4370 else
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4372 $as_echo "yes" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4375 $as_echo_n "checking for C compiler default output file name... " >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4377 $as_echo "$ac_file" >&6; }
4378 ac_exeext=$ac_cv_exeext
4380 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4381 ac_clean_files=$ac_clean_files_save
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4383 $as_echo_n "checking for suffix of executables... " >&6; }
4384 if { { ac_try="$ac_link"
4385 case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_link") 2>&5
4392 ac_status=$?
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }; then :
4395 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4396 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4397 # work properly (i.e., refer to `conftest.exe'), while it won't with
4398 # `rm'.
4399 for ac_file in conftest.exe conftest conftest.*; do
4400 test -f "$ac_file" || continue
4401 case $ac_file in
4402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4403 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4404 break;;
4405 * ) break;;
4406 esac
4407 done
4408 else
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4412 See \`config.log' for more details" "$LINENO" 5; }
4414 rm -f conftest conftest$ac_cv_exeext
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4416 $as_echo "$ac_cv_exeext" >&6; }
4418 rm -f conftest.$ac_ext
4419 EXEEXT=$ac_cv_exeext
4420 ac_exeext=$EXEEXT
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4423 #include <stdio.h>
4425 main ()
4427 FILE *f = fopen ("conftest.out", "w");
4428 return ferror (f) || fclose (f) != 0;
4431 return 0;
4433 _ACEOF
4434 ac_clean_files="$ac_clean_files conftest.out"
4435 # Check that the compiler produces executables we can run. If not, either
4436 # the compiler is broken, or we cross compile.
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4438 $as_echo_n "checking whether we are cross compiling... " >&6; }
4439 if test "$cross_compiling" != yes; then
4440 { { ac_try="$ac_link"
4441 case "(($ac_try" in
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4444 esac
4445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4446 $as_echo "$ac_try_echo"; } >&5
4447 (eval "$ac_link") 2>&5
4448 ac_status=$?
4449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4450 test $ac_status = 0; }
4451 if { ac_try='./conftest$ac_cv_exeext'
4452 { { case "(($ac_try" in
4453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4455 esac
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_try") 2>&5
4459 ac_status=$?
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; }; then
4462 cross_compiling=no
4463 else
4464 if test "$cross_compiling" = maybe; then
4465 cross_compiling=yes
4466 else
4467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4469 as_fn_error $? "cannot run C compiled programs.
4470 If you meant to cross compile, use \`--host'.
4471 See \`config.log' for more details" "$LINENO" 5; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4476 $as_echo "$cross_compiling" >&6; }
4478 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4479 ac_clean_files=$ac_clean_files_save
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4481 $as_echo_n "checking for suffix of object files... " >&6; }
4482 if ${ac_cv_objext+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4493 return 0;
4495 _ACEOF
4496 rm -f conftest.o conftest.obj
4497 if { { ac_try="$ac_compile"
4498 case "(($ac_try" in
4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500 *) ac_try_echo=$ac_try;;
4501 esac
4502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$ac_try_echo"; } >&5
4504 (eval "$ac_compile") 2>&5
4505 ac_status=$?
4506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4507 test $ac_status = 0; }; then :
4508 for ac_file in conftest.o conftest.obj conftest.*; do
4509 test -f "$ac_file" || continue;
4510 case $ac_file in
4511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4512 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4513 break;;
4514 esac
4515 done
4516 else
4517 $as_echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4522 as_fn_error $? "cannot compute suffix of object files: cannot compile
4523 See \`config.log' for more details" "$LINENO" 5; }
4525 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4528 $as_echo "$ac_cv_objext" >&6; }
4529 OBJEXT=$ac_cv_objext
4530 ac_objext=$OBJEXT
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4532 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4533 if ${ac_cv_c_compiler_gnu+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4540 main ()
4542 #ifndef __GNUC__
4543 choke me
4544 #endif
4547 return 0;
4549 _ACEOF
4550 if ac_fn_c_try_compile "$LINENO"; then :
4551 ac_compiler_gnu=yes
4552 else
4553 ac_compiler_gnu=no
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4560 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4561 if test $ac_compiler_gnu = yes; then
4562 GCC=yes
4563 else
4564 GCC=
4566 ac_test_CFLAGS=${CFLAGS+set}
4567 ac_save_CFLAGS=$CFLAGS
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4569 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4570 if ${ac_cv_prog_cc_g+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 ac_save_c_werror_flag=$ac_c_werror_flag
4574 ac_c_werror_flag=yes
4575 ac_cv_prog_cc_g=no
4576 CFLAGS="-g"
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 main ()
4585 return 0;
4587 _ACEOF
4588 if ac_fn_c_try_compile "$LINENO"; then :
4589 ac_cv_prog_cc_g=yes
4590 else
4591 CFLAGS=""
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 main ()
4600 return 0;
4602 _ACEOF
4603 if ac_fn_c_try_compile "$LINENO"; then :
4605 else
4606 ac_c_werror_flag=$ac_save_c_werror_flag
4607 CFLAGS="-g"
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4616 return 0;
4618 _ACEOF
4619 if ac_fn_c_try_compile "$LINENO"; then :
4620 ac_cv_prog_cc_g=yes
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 ac_c_werror_flag=$ac_save_c_werror_flag
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4630 $as_echo "$ac_cv_prog_cc_g" >&6; }
4631 if test "$ac_test_CFLAGS" = set; then
4632 CFLAGS=$ac_save_CFLAGS
4633 elif test $ac_cv_prog_cc_g = yes; then
4634 if test "$GCC" = yes; then
4635 CFLAGS="-g -O2"
4636 else
4637 CFLAGS="-g"
4639 else
4640 if test "$GCC" = yes; then
4641 CFLAGS="-O2"
4642 else
4643 CFLAGS=
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4647 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4648 if ${ac_cv_prog_cc_c89+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 ac_cv_prog_cc_c89=no
4652 ac_save_CC=$CC
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <stdarg.h>
4656 #include <stdio.h>
4657 struct stat;
4658 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4659 struct buf { int x; };
4660 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4661 static char *e (p, i)
4662 char **p;
4663 int i;
4665 return p[i];
4667 static char *f (char * (*g) (char **, int), char **p, ...)
4669 char *s;
4670 va_list v;
4671 va_start (v,p);
4672 s = g (p, va_arg (v,int));
4673 va_end (v);
4674 return s;
4677 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4678 function prototypes and stuff, but not '\xHH' hex character constants.
4679 These don't provoke an error unfortunately, instead are silently treated
4680 as 'x'. The following induces an error, until -std is added to get
4681 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4682 array size at least. It's necessary to write '\x00'==0 to get something
4683 that's true only with -std. */
4684 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4686 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4687 inside strings and character constants. */
4688 #define FOO(x) 'x'
4689 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4691 int test (int i, double x);
4692 struct s1 {int (*f) (int a);};
4693 struct s2 {int (*f) (double a);};
4694 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4695 int argc;
4696 char **argv;
4698 main ()
4700 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4702 return 0;
4704 _ACEOF
4705 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4706 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4708 CC="$ac_save_CC $ac_arg"
4709 if ac_fn_c_try_compile "$LINENO"; then :
4710 ac_cv_prog_cc_c89=$ac_arg
4712 rm -f core conftest.err conftest.$ac_objext
4713 test "x$ac_cv_prog_cc_c89" != "xno" && break
4714 done
4715 rm -f conftest.$ac_ext
4716 CC=$ac_save_CC
4719 # AC_CACHE_VAL
4720 case "x$ac_cv_prog_cc_c89" in
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4723 $as_echo "none needed" >&6; } ;;
4724 xno)
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4726 $as_echo "unsupported" >&6; } ;;
4728 CC="$CC $ac_cv_prog_cc_c89"
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4730 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4731 esac
4732 if test "x$ac_cv_prog_cc_c89" != xno; then :
4736 ac_ext=c
4737 ac_cpp='$CPP $CPPFLAGS'
4738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 ac_ext=cpp
4743 ac_cpp='$CXXCPP $CPPFLAGS'
4744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4747 if test -z "$CXX"; then
4748 if test -n "$CCC"; then
4749 CXX=$CCC
4750 else
4751 if test -n "$ac_tool_prefix"; then
4752 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_CXX+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 if test -n "$CXX"; then
4762 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4763 else
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4767 IFS=$as_save_IFS
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 break 2
4775 done
4776 done
4777 IFS=$as_save_IFS
4781 CXX=$ac_cv_prog_CXX
4782 if test -n "$CXX"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4784 $as_echo "$CXX" >&6; }
4785 else
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4791 test -n "$CXX" && break
4792 done
4794 if test -z "$CXX"; then
4795 ac_ct_CXX=$CXX
4796 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 if test -n "$ac_ct_CXX"; then
4806 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4807 else
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 for as_dir in $PATH
4811 IFS=$as_save_IFS
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_ac_ct_CXX="$ac_prog"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 break 2
4819 done
4820 done
4821 IFS=$as_save_IFS
4825 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4826 if test -n "$ac_ct_CXX"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4828 $as_echo "$ac_ct_CXX" >&6; }
4829 else
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4835 test -n "$ac_ct_CXX" && break
4836 done
4838 if test "x$ac_ct_CXX" = x; then
4839 CXX="g++"
4840 else
4841 case $cross_compiling:$ac_tool_warned in
4842 yes:)
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4845 ac_tool_warned=yes ;;
4846 esac
4847 CXX=$ac_ct_CXX
4853 # Provide some information about the compiler.
4854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4855 set X $ac_compile
4856 ac_compiler=$2
4857 for ac_option in --version -v -V -qversion; do
4858 { { ac_try="$ac_compiler $ac_option >&5"
4859 case "(($ac_try" in
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4862 esac
4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4866 ac_status=$?
4867 if test -s conftest.err; then
4868 sed '10a\
4869 ... rest of stderr output deleted ...
4870 10q' conftest.err >conftest.er1
4871 cat conftest.er1 >&5
4873 rm -f conftest.er1 conftest.err
4874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875 test $ac_status = 0; }
4876 done
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4879 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4880 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4887 main ()
4889 #ifndef __GNUC__
4890 choke me
4891 #endif
4894 return 0;
4896 _ACEOF
4897 if ac_fn_cxx_try_compile "$LINENO"; then :
4898 ac_compiler_gnu=yes
4899 else
4900 ac_compiler_gnu=no
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4907 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4908 if test $ac_compiler_gnu = yes; then
4909 GXX=yes
4910 else
4911 GXX=
4913 ac_test_CXXFLAGS=${CXXFLAGS+set}
4914 ac_save_CXXFLAGS=$CXXFLAGS
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4916 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4917 if ${ac_cv_prog_cxx_g+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4921 ac_cxx_werror_flag=yes
4922 ac_cv_prog_cxx_g=no
4923 CXXFLAGS="-g"
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 main ()
4932 return 0;
4934 _ACEOF
4935 if ac_fn_cxx_try_compile "$LINENO"; then :
4936 ac_cv_prog_cxx_g=yes
4937 else
4938 CXXFLAGS=""
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4943 main ()
4947 return 0;
4949 _ACEOF
4950 if ac_fn_cxx_try_compile "$LINENO"; then :
4952 else
4953 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4954 CXXFLAGS="-g"
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_cxx_try_compile "$LINENO"; then :
4967 ac_cv_prog_cxx_g=yes
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4977 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4978 if test "$ac_test_CXXFLAGS" = set; then
4979 CXXFLAGS=$ac_save_CXXFLAGS
4980 elif test $ac_cv_prog_cxx_g = yes; then
4981 if test "$GXX" = yes; then
4982 CXXFLAGS="-g -O2"
4983 else
4984 CXXFLAGS="-g"
4986 else
4987 if test "$GXX" = yes; then
4988 CXXFLAGS="-O2"
4989 else
4990 CXXFLAGS=
4993 ac_ext=c
4994 ac_cpp='$CPP $CPPFLAGS'
4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4999 if test -n "$ac_tool_prefix"; then
5000 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5001 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_CPPBIN+:} false; then :
5005 $as_echo_n "(cached) " >&6
5006 else
5007 if test -n "$CPPBIN"; then
5008 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5009 else
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $PATH
5013 IFS=$as_save_IFS
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 break 2
5021 done
5022 done
5023 IFS=$as_save_IFS
5027 CPPBIN=$ac_cv_prog_CPPBIN
5028 if test -n "$CPPBIN"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5030 $as_echo "$CPPBIN" >&6; }
5031 else
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5038 if test -z "$ac_cv_prog_CPPBIN"; then
5039 ac_ct_CPPBIN=$CPPBIN
5040 # Extract the first word of "cpp", so it can be a program name with args.
5041 set dummy cpp; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$ac_ct_CPPBIN"; then
5048 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_CPPBIN="cpp"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5068 if test -n "$ac_ct_CPPBIN"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5070 $as_echo "$ac_ct_CPPBIN" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5076 if test "x$ac_ct_CPPBIN" = x; then
5077 CPPBIN="cpp"
5078 else
5079 case $cross_compiling:$ac_tool_warned in
5080 yes:)
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned=yes ;;
5084 esac
5085 CPPBIN=$ac_ct_CPPBIN
5087 else
5088 CPPBIN="$ac_cv_prog_CPPBIN"
5092 cat >>confdefs.h <<_ACEOF
5093 #define EXEEXT "$ac_exeext"
5094 _ACEOF
5096 if test -n "$ac_tool_prefix"; then
5097 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5098 set dummy ${ac_tool_prefix}ld; ac_word=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_LD+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 if test -n "$LD"; then
5105 ac_cv_prog_LD="$LD" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_LD="${ac_tool_prefix}ld"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 LD=$ac_cv_prog_LD
5125 if test -n "$LD"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5127 $as_echo "$LD" >&6; }
5128 else
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5135 if test -z "$ac_cv_prog_LD"; then
5136 ac_ct_LD=$LD
5137 # Extract the first word of "ld", so it can be a program name with args.
5138 set dummy ld; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5142 $as_echo_n "(cached) " >&6
5143 else
5144 if test -n "$ac_ct_LD"; then
5145 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5146 else
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 for as_dir in $PATH
5150 IFS=$as_save_IFS
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_ac_ct_LD="ld"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 break 2
5158 done
5159 done
5160 IFS=$as_save_IFS
5164 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5165 if test -n "$ac_ct_LD"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5167 $as_echo "$ac_ct_LD" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5173 if test "x$ac_ct_LD" = x; then
5174 LD=""
5175 else
5176 case $cross_compiling:$ac_tool_warned in
5177 yes:)
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5180 ac_tool_warned=yes ;;
5181 esac
5182 LD=$ac_ct_LD
5184 else
5185 LD="$ac_cv_prog_LD"
5189 case $host in
5190 *-darwin*)
5191 with_fontconfig=${with_fontconfig:-no}
5193 *-mingw32*|*-cygwin*)
5194 enable_win16=${enable_win16:-no}
5195 CFLAGS="$CFLAGS -D_WIN32"
5197 esac
5199 case $host in
5200 x86_64*|amd64*)
5201 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5202 then
5203 CC="$CC -m32"
5204 CXX="$CXX -m32"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5206 $as_echo_n "checking whether $CC works... " >&6; }
5208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5209 /* end confdefs.h. */
5212 main ()
5216 return 0;
5218 _ACEOF
5219 if ac_fn_c_try_link "$LINENO"; then :
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 $as_echo "yes" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5225 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5227 rm -f core conftest.err conftest.$ac_objext \
5228 conftest$ac_exeext conftest.$ac_ext
5229 host_cpu="i386"
5230 notice_platform="32-bit "
5231 TARGETFLAGS="-m32"
5233 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5234 export PKG_CONFIG_PATH
5235 enable_win16=${enable_win16:-yes}
5236 else
5237 if test "x${GCC}" = "xyes"
5238 then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5240 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5242 /* end confdefs.h. */
5243 #include <stdarg.h>
5245 main ()
5247 void func(__builtin_ms_va_list *args);
5249 return 0;
5251 _ACEOF
5252 if ac_fn_c_try_compile "$LINENO"; then :
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5258 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5262 CC="$CC -m64"
5263 CXX="$CXX -m64"
5264 host_cpu="x86_64"
5265 notice_platform="64-bit "
5266 TARGETFLAGS="-m64"
5270 arm*)
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5272 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5275 int ac_test(int i) { return i; }
5277 main ()
5279 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5281 return 0;
5283 _ACEOF
5284 if ac_fn_c_try_link "$LINENO"; then :
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5286 $as_echo "yes" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5290 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5292 rm -f core conftest.err conftest.$ac_objext \
5293 conftest$ac_exeext conftest.$ac_ext
5294 case $with_float_abi in
5295 soft|softfp|hard)
5296 float_abi=$with_float_abi ;;
5298 case $host_os in
5299 *eabihf)
5300 float_abi=hard ;;
5302 float_abi=softfp
5303 saved_CFLAGS=$CFLAGS
5304 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5306 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 main ()
5313 asm("vmrs r2,fpscr");
5315 return 0;
5317 _ACEOF
5318 if ac_fn_c_try_link "$LINENO"; then :
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5320 $as_echo "yes" >&6; }
5321 else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5324 float_abi=soft
5325 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5327 rm -f core conftest.err conftest.$ac_objext \
5328 conftest$ac_exeext conftest.$ac_ext
5329 CFLAGS=$saved_CFLAGS
5330 esac
5332 esac
5333 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5334 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5337 i[3456789]86*)
5338 enable_win16=${enable_win16:-yes}
5340 esac
5342 enable_win16=${enable_win16:-no}
5343 enable_win64=${enable_win64:-no}
5345 enable_winetest=${enable_winetest:-$enable_tests}
5347 if test -n "$with_wine64"
5348 then
5349 if test "x$enable_win64" = "xyes"
5350 then
5351 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5352 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5354 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5355 You should create a separate build directory and run configure from there." "$LINENO" 5
5356 enable_fonts=${enable_fonts:-no}
5357 enable_server=${enable_server:-no}
5358 elif test "x$enable_win64" = "xyes"
5359 then
5360 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5364 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5365 if ${wine_cv_toolsdir+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 wine_cv_toolsdir="$with_wine_tools"
5369 if test -z "$with_wine_tools"; then
5370 if test "$cross_compiling" = "yes"; then
5371 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5372 elif test -n "$with_wine64"; then
5373 wine_cv_toolsdir="$with_wine64"
5376 if test -z "$wine_cv_toolsdir"; then
5377 wine_makedep=tools/makedep
5378 wine_cv_toolsdir="\$(top_builddir)"
5379 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5380 wine_makedep=$wine_cv_toolsdir/tools/makedep
5381 case "$wine_cv_toolsdir" in
5382 /*) ;;
5383 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5384 esac
5385 enable_tools=${enable_tools:-no}
5386 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5387 else
5388 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5392 $as_echo "$wine_cv_toolsdir" >&6; }
5393 TOOLSDIR=$wine_cv_toolsdir
5395 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5396 then
5397 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5401 for ac_prog in flex
5403 # Extract the first word of "$ac_prog", so it can be a program name with args.
5404 set dummy $ac_prog; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_prog_FLEX+:} false; then :
5408 $as_echo_n "(cached) " >&6
5409 else
5410 if test -n "$FLEX"; then
5411 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_FLEX="$ac_prog"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 break 2
5424 done
5425 done
5426 IFS=$as_save_IFS
5430 FLEX=$ac_cv_prog_FLEX
5431 if test -n "$FLEX"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5433 $as_echo "$FLEX" >&6; }
5434 else
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5440 test -n "$FLEX" && break
5441 done
5442 test -n "$FLEX" || FLEX="none"
5444 if test "$FLEX" = "none"
5445 then
5446 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5449 $as_echo_n "checking whether flex is recent enough... " >&6; }
5450 cat >conftest.l <<EOF
5451 %top{
5452 #include "prediluvian.h"
5456 if $FLEX -t conftest.l >/dev/null 2>&5
5457 then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5459 $as_echo "yes" >&6; }
5460 else
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5463 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5466 for ac_prog in bison
5468 # Extract the first word of "$ac_prog", so it can be a program name with args.
5469 set dummy $ac_prog; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_BISON+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$BISON"; then
5476 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_BISON="$ac_prog"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 BISON=$ac_cv_prog_BISON
5496 if test -n "$BISON"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5498 $as_echo "$BISON" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 test -n "$BISON" && break
5506 done
5507 test -n "$BISON" || BISON="none"
5509 if test "$BISON" = "none"
5510 then
5511 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5514 if test -n "$ac_tool_prefix"; then
5515 for ac_prog in ar gar
5517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_AR+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$AR"; then
5525 ac_cv_prog_AR="$AR" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 AR=$ac_cv_prog_AR
5545 if test -n "$AR"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5547 $as_echo "$AR" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5554 test -n "$AR" && break
5555 done
5557 if test -z "$AR"; then
5558 ac_ct_AR=$AR
5559 for ac_prog in ar gar
5561 # Extract the first word of "$ac_prog", so it can be a program name with args.
5562 set dummy $ac_prog; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$ac_ct_AR"; then
5569 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_AR="$ac_prog"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5589 if test -n "$ac_ct_AR"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5591 $as_echo "$ac_ct_AR" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 test -n "$ac_ct_AR" && break
5599 done
5601 if test "x$ac_ct_AR" = x; then
5602 AR="ar"
5603 else
5604 case $cross_compiling:$ac_tool_warned in
5605 yes:)
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5608 ac_tool_warned=yes ;;
5609 esac
5610 AR=$ac_ct_AR
5614 if test -n "$ac_tool_prefix"; then
5615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5616 set dummy ${ac_tool_prefix}strip; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_STRIP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$STRIP"; then
5623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 STRIP=$ac_cv_prog_STRIP
5643 if test -n "$STRIP"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5645 $as_echo "$STRIP" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5653 if test -z "$ac_cv_prog_STRIP"; then
5654 ac_ct_STRIP=$STRIP
5655 # Extract the first word of "strip", so it can be a program name with args.
5656 set dummy strip; ac_word=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5660 $as_echo_n "(cached) " >&6
5661 else
5662 if test -n "$ac_ct_STRIP"; then
5663 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_STRIP="strip"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5683 if test -n "$ac_ct_STRIP"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5685 $as_echo "$ac_ct_STRIP" >&6; }
5686 else
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5691 if test "x$ac_ct_STRIP" = x; then
5692 STRIP="strip"
5693 else
5694 case $cross_compiling:$ac_tool_warned in
5695 yes:)
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5698 ac_tool_warned=yes ;;
5699 esac
5700 STRIP=$ac_ct_STRIP
5702 else
5703 STRIP="$ac_cv_prog_STRIP"
5706 ARFLAGS=rc
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5710 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_RANLIB+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$RANLIB"; then
5717 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 RANLIB=$ac_cv_prog_RANLIB
5737 if test -n "$RANLIB"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5739 $as_echo "$RANLIB" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5747 if test -z "$ac_cv_prog_RANLIB"; then
5748 ac_ct_RANLIB=$RANLIB
5749 # Extract the first word of "ranlib", so it can be a program name with args.
5750 set dummy ranlib; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 if test -n "$ac_ct_RANLIB"; then
5757 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5758 else
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH
5762 IFS=$as_save_IFS
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_ac_ct_RANLIB="ranlib"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 break 2
5770 done
5771 done
5772 IFS=$as_save_IFS
5776 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5777 if test -n "$ac_ct_RANLIB"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5779 $as_echo "$ac_ct_RANLIB" >&6; }
5780 else
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5785 if test "x$ac_ct_RANLIB" = x; then
5786 RANLIB=":"
5787 else
5788 case $cross_compiling:$ac_tool_warned in
5789 yes:)
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5792 ac_tool_warned=yes ;;
5793 esac
5794 RANLIB=$ac_ct_RANLIB
5796 else
5797 RANLIB="$ac_cv_prog_RANLIB"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5801 $as_echo_n "checking whether ln -s works... " >&6; }
5802 LN_S=$as_ln_s
5803 if test "$LN_S" = "ln -s"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5805 $as_echo "yes" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5808 $as_echo "no, using $LN_S" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5812 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5813 if ${ac_cv_path_GREP+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -z "$GREP"; then
5817 ac_path_GREP_found=false
5818 # Loop through the user's path and test for each of PROGNAME-LIST
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_prog in grep ggrep; do
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5827 as_fn_executable_p "$ac_path_GREP" || continue
5828 # Check for GNU ac_path_GREP and select it if it is found.
5829 # Check for GNU $ac_path_GREP
5830 case `"$ac_path_GREP" --version 2>&1` in
5831 *GNU*)
5832 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5834 ac_count=0
5835 $as_echo_n 0123456789 >"conftest.in"
5836 while :
5838 cat "conftest.in" "conftest.in" >"conftest.tmp"
5839 mv "conftest.tmp" "conftest.in"
5840 cp "conftest.in" "conftest.nl"
5841 $as_echo 'GREP' >> "conftest.nl"
5842 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5844 as_fn_arith $ac_count + 1 && ac_count=$as_val
5845 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5846 # Best one so far, save it but keep looking for a better one
5847 ac_cv_path_GREP="$ac_path_GREP"
5848 ac_path_GREP_max=$ac_count
5850 # 10*(2^10) chars as input seems more than enough
5851 test $ac_count -gt 10 && break
5852 done
5853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5854 esac
5856 $ac_path_GREP_found && break 3
5857 done
5858 done
5859 done
5860 IFS=$as_save_IFS
5861 if test -z "$ac_cv_path_GREP"; then
5862 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5864 else
5865 ac_cv_path_GREP=$GREP
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5870 $as_echo "$ac_cv_path_GREP" >&6; }
5871 GREP="$ac_cv_path_GREP"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5875 $as_echo_n "checking for egrep... " >&6; }
5876 if ${ac_cv_path_EGREP+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5880 then ac_cv_path_EGREP="$GREP -E"
5881 else
5882 if test -z "$EGREP"; then
5883 ac_path_EGREP_found=false
5884 # Loop through the user's path and test for each of PROGNAME-LIST
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_prog in egrep; do
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5893 as_fn_executable_p "$ac_path_EGREP" || continue
5894 # Check for GNU ac_path_EGREP and select it if it is found.
5895 # Check for GNU $ac_path_EGREP
5896 case `"$ac_path_EGREP" --version 2>&1` in
5897 *GNU*)
5898 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5900 ac_count=0
5901 $as_echo_n 0123456789 >"conftest.in"
5902 while :
5904 cat "conftest.in" "conftest.in" >"conftest.tmp"
5905 mv "conftest.tmp" "conftest.in"
5906 cp "conftest.in" "conftest.nl"
5907 $as_echo 'EGREP' >> "conftest.nl"
5908 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5909 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5910 as_fn_arith $ac_count + 1 && ac_count=$as_val
5911 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5912 # Best one so far, save it but keep looking for a better one
5913 ac_cv_path_EGREP="$ac_path_EGREP"
5914 ac_path_EGREP_max=$ac_count
5916 # 10*(2^10) chars as input seems more than enough
5917 test $ac_count -gt 10 && break
5918 done
5919 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5920 esac
5922 $ac_path_EGREP_found && break 3
5923 done
5924 done
5925 done
5926 IFS=$as_save_IFS
5927 if test -z "$ac_cv_path_EGREP"; then
5928 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5930 else
5931 ac_cv_path_EGREP=$EGREP
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5937 $as_echo "$ac_cv_path_EGREP" >&6; }
5938 EGREP="$ac_cv_path_EGREP"
5941 # Extract the first word of "ldconfig", so it can be a program name with args.
5942 set dummy ldconfig; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_path_LDCONFIG+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 case $LDCONFIG in
5949 [\\/]* | ?:[\\/]*)
5950 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in /sbin /usr/sbin $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5968 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5970 esac
5972 LDCONFIG=$ac_cv_path_LDCONFIG
5973 if test -n "$LDCONFIG"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5975 $as_echo "$LDCONFIG" >&6; }
5976 else
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5982 for ac_prog in msgfmt
5984 # Extract the first word of "$ac_prog", so it can be a program name with args.
5985 set dummy $ac_prog; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_MSGFMT+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 if test -n "$MSGFMT"; then
5992 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5993 else
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 for as_dir in $PATH
5997 IFS=$as_save_IFS
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6001 ac_cv_prog_MSGFMT="$ac_prog"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 break 2
6005 done
6006 done
6007 IFS=$as_save_IFS
6011 MSGFMT=$ac_cv_prog_MSGFMT
6012 if test -n "$MSGFMT"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6014 $as_echo "$MSGFMT" >&6; }
6015 else
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6021 test -n "$MSGFMT" && break
6022 done
6023 test -n "$MSGFMT" || MSGFMT="false"
6025 if ${ac_tool_prefix+:} false; then :
6026 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6027 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 if test -n "$PKG_CONFIG"; then
6034 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6035 else
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6054 if test -n "$PKG_CONFIG"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6056 $as_echo "$PKG_CONFIG" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6064 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6065 if test "x$cross_compiling" = xyes; then :
6067 else
6068 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6069 # Extract the first word of "pkg-config", so it can be a program name with args.
6070 set dummy pkg-config; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 if test -n "$PKG_CONFIG"; then
6077 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_PKG_CONFIG="pkg-config"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6097 if test -n "$PKG_CONFIG"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6099 $as_echo "$PKG_CONFIG" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6107 else
6108 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6111 if test "x$enable_maintainer_mode" != "xyes"
6112 then
6113 FONTFORGE=""
6114 RSVG=""
6115 CONVERT=""
6116 ICOTOOL=""
6117 else
6118 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6119 for ac_prog in fontforge
6121 # Extract the first word of "$ac_prog", so it can be a program name with args.
6122 set dummy $ac_prog; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_FONTFORGE+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$FONTFORGE"; then
6129 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_FONTFORGE="$ac_prog"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 FONTFORGE=$ac_cv_prog_FONTFORGE
6149 if test -n "$FONTFORGE"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6151 $as_echo "$FONTFORGE" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6158 test -n "$FONTFORGE" && break
6159 done
6160 test -n "$FONTFORGE" || FONTFORGE="false"
6162 for ac_prog in rsvg-convert rsvg
6164 # Extract the first word of "$ac_prog", so it can be a program name with args.
6165 set dummy $ac_prog; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_RSVG+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$RSVG"; then
6172 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_RSVG="$ac_prog"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 RSVG=$ac_cv_prog_RSVG
6192 if test -n "$RSVG"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6194 $as_echo "$RSVG" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6201 test -n "$RSVG" && break
6202 done
6203 test -n "$RSVG" || RSVG="false"
6205 for ac_prog in convert
6207 # Extract the first word of "$ac_prog", so it can be a program name with args.
6208 set dummy $ac_prog; ac_word=$2
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210 $as_echo_n "checking for $ac_word... " >&6; }
6211 if ${ac_cv_prog_CONVERT+:} false; then :
6212 $as_echo_n "(cached) " >&6
6213 else
6214 if test -n "$CONVERT"; then
6215 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6216 else
6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218 for as_dir in $PATH
6220 IFS=$as_save_IFS
6221 test -z "$as_dir" && as_dir=.
6222 for ac_exec_ext in '' $ac_executable_extensions; do
6223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6224 ac_cv_prog_CONVERT="$ac_prog"
6225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 break 2
6228 done
6229 done
6230 IFS=$as_save_IFS
6234 CONVERT=$ac_cv_prog_CONVERT
6235 if test -n "$CONVERT"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6237 $as_echo "$CONVERT" >&6; }
6238 else
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 $as_echo "no" >&6; }
6244 test -n "$CONVERT" && break
6245 done
6246 test -n "$CONVERT" || CONVERT="false"
6248 for ac_prog in icotool
6250 # Extract the first word of "$ac_prog", so it can be a program name with args.
6251 set dummy $ac_prog; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if ${ac_cv_prog_ICOTOOL+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -n "$ICOTOOL"; then
6258 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6259 else
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6267 ac_cv_prog_ICOTOOL="$ac_prog"
6268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 break 2
6271 done
6272 done
6273 IFS=$as_save_IFS
6277 ICOTOOL=$ac_cv_prog_ICOTOOL
6278 if test -n "$ICOTOOL"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6280 $as_echo "$ICOTOOL" >&6; }
6281 else
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6287 test -n "$ICOTOOL" && break
6288 done
6289 test -n "$ICOTOOL" || ICOTOOL="false"
6291 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6292 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6294 if test "$CONVERT" = false
6295 then
6296 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6297 else
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6299 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6300 convert_version=`convert --version | head -n1`
6301 if test "x$convert_version" != "x"
6302 then
6303 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6304 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6305 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6306 then
6307 CONVERT=false
6310 if test "$CONVERT" = false
6311 then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6313 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6314 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6317 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6321 if test "$ICOTOOL" = false
6322 then
6323 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6324 else
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6326 $as_echo_n "checking for recent enough icotool... " >&6; }
6327 icotool_version=`icotool --version | head -n1`
6328 if test "x$icotool_version" != "x"
6329 then
6330 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6331 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6332 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6333 then
6334 ICOTOOL=false
6335 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6338 if test "$ICOTOOL" = false
6339 then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6341 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6342 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6345 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6349 with_gettext=yes
6350 with_gettextpo=yes
6351 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6354 test "x$with_gettext" != xno || MSGFMT=false
6355 if test "$MSGFMT" != "false"
6356 then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6358 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6359 cat >conftest.po <<EOF
6360 # comment
6361 msgctxt "ctxt"
6362 msgid "id"
6363 msgstr "str"
6365 if $MSGFMT -o /dev/null conftest.po 2>&5
6366 then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6368 $as_echo "yes" >&6; }
6369 else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6372 MSGFMT=false
6375 if test "$MSGFMT" = false; then :
6376 case "x$with_gettext" in
6377 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6378 xno) ;;
6379 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6380 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6381 esac
6382 enable_po=${enable_po:-no}
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6387 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6388 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 ac_check_lib_save_LIBS=$LIBS
6392 LIBS="-li386 $LIBS"
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 /* Override any GCC internal prototype to avoid an error.
6397 Use char because int might match the return type of a GCC
6398 builtin and then its argument prototype would still apply. */
6399 #ifdef __cplusplus
6400 extern "C"
6401 #endif
6402 char i386_set_ldt ();
6404 main ()
6406 return i386_set_ldt ();
6408 return 0;
6410 _ACEOF
6411 if ac_fn_c_try_link "$LINENO"; then :
6412 ac_cv_lib_i386_i386_set_ldt=yes
6413 else
6414 ac_cv_lib_i386_i386_set_ldt=no
6416 rm -f core conftest.err conftest.$ac_objext \
6417 conftest$ac_exeext conftest.$ac_ext
6418 LIBS=$ac_check_lib_save_LIBS
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6421 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6422 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6423 cat >>confdefs.h <<_ACEOF
6424 #define HAVE_LIBI386 1
6425 _ACEOF
6427 LIBS="-li386 $LIBS"
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6432 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6433 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 ac_check_lib_save_LIBS=$LIBS
6437 LIBS="-lossaudio $LIBS"
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6441 /* Override any GCC internal prototype to avoid an error.
6442 Use char because int might match the return type of a GCC
6443 builtin and then its argument prototype would still apply. */
6444 #ifdef __cplusplus
6445 extern "C"
6446 #endif
6447 char _oss_ioctl ();
6449 main ()
6451 return _oss_ioctl ();
6453 return 0;
6455 _ACEOF
6456 if ac_fn_c_try_link "$LINENO"; then :
6457 ac_cv_lib_ossaudio__oss_ioctl=yes
6458 else
6459 ac_cv_lib_ossaudio__oss_ioctl=no
6461 rm -f core conftest.err conftest.$ac_objext \
6462 conftest$ac_exeext conftest.$ac_ext
6463 LIBS=$ac_check_lib_save_LIBS
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6466 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6467 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6468 cat >>confdefs.h <<_ACEOF
6469 #define HAVE_LIBOSSAUDIO 1
6470 _ACEOF
6472 LIBS="-lossaudio $LIBS"
6477 OPENGL_LIBS=""
6481 # Check whether --enable-largefile was given.
6482 if test "${enable_largefile+set}" = set; then :
6483 enableval=$enable_largefile;
6486 if test "$enable_largefile" != no; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6489 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6490 if ${ac_cv_sys_largefile_CC+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 ac_cv_sys_largefile_CC=no
6494 if test "$GCC" != yes; then
6495 ac_save_CC=$CC
6496 while :; do
6497 # IRIX 6.2 and later do not support large files by default,
6498 # so use the C compiler's -n32 option if that helps.
6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6501 #include <sys/types.h>
6502 /* Check that off_t can represent 2**63 - 1 correctly.
6503 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6504 since some C++ compilers masquerading as C compilers
6505 incorrectly reject 9223372036854775807. */
6506 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6508 && LARGE_OFF_T % 2147483647 == 1)
6509 ? 1 : -1];
6511 main ()
6515 return 0;
6517 _ACEOF
6518 if ac_fn_c_try_compile "$LINENO"; then :
6519 break
6521 rm -f core conftest.err conftest.$ac_objext
6522 CC="$CC -n32"
6523 if ac_fn_c_try_compile "$LINENO"; then :
6524 ac_cv_sys_largefile_CC=' -n32'; break
6526 rm -f core conftest.err conftest.$ac_objext
6527 break
6528 done
6529 CC=$ac_save_CC
6530 rm -f conftest.$ac_ext
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6534 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6535 if test "$ac_cv_sys_largefile_CC" != no; then
6536 CC=$CC$ac_cv_sys_largefile_CC
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6540 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6541 if ${ac_cv_sys_file_offset_bits+:} false; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 while :; do
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #include <sys/types.h>
6548 /* Check that off_t can represent 2**63 - 1 correctly.
6549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6550 since some C++ compilers masquerading as C compilers
6551 incorrectly reject 9223372036854775807. */
6552 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6554 && LARGE_OFF_T % 2147483647 == 1)
6555 ? 1 : -1];
6557 main ()
6561 return 0;
6563 _ACEOF
6564 if ac_fn_c_try_compile "$LINENO"; then :
6565 ac_cv_sys_file_offset_bits=no; break
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #define _FILE_OFFSET_BITS 64
6571 #include <sys/types.h>
6572 /* Check that off_t can represent 2**63 - 1 correctly.
6573 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6574 since some C++ compilers masquerading as C compilers
6575 incorrectly reject 9223372036854775807. */
6576 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6577 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6578 && LARGE_OFF_T % 2147483647 == 1)
6579 ? 1 : -1];
6581 main ()
6585 return 0;
6587 _ACEOF
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589 ac_cv_sys_file_offset_bits=64; break
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 ac_cv_sys_file_offset_bits=unknown
6593 break
6594 done
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6597 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6598 case $ac_cv_sys_file_offset_bits in #(
6599 no | unknown) ;;
6601 cat >>confdefs.h <<_ACEOF
6602 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6603 _ACEOF
6605 esac
6606 rm -rf conftest*
6607 if test $ac_cv_sys_file_offset_bits = unknown; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6609 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6610 if ${ac_cv_sys_large_files+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 while :; do
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <sys/types.h>
6617 /* Check that off_t can represent 2**63 - 1 correctly.
6618 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6619 since some C++ compilers masquerading as C compilers
6620 incorrectly reject 9223372036854775807. */
6621 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6622 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6623 && LARGE_OFF_T % 2147483647 == 1)
6624 ? 1 : -1];
6626 main ()
6630 return 0;
6632 _ACEOF
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634 ac_cv_sys_large_files=no; break
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #define _LARGE_FILES 1
6640 #include <sys/types.h>
6641 /* Check that off_t can represent 2**63 - 1 correctly.
6642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6643 since some C++ compilers masquerading as C compilers
6644 incorrectly reject 9223372036854775807. */
6645 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6647 && LARGE_OFF_T % 2147483647 == 1)
6648 ? 1 : -1];
6650 main ()
6654 return 0;
6656 _ACEOF
6657 if ac_fn_c_try_compile "$LINENO"; then :
6658 ac_cv_sys_large_files=1; break
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661 ac_cv_sys_large_files=unknown
6662 break
6663 done
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6666 $as_echo "$ac_cv_sys_large_files" >&6; }
6667 case $ac_cv_sys_large_files in #(
6668 no | unknown) ;;
6670 cat >>confdefs.h <<_ACEOF
6671 #define _LARGE_FILES $ac_cv_sys_large_files
6672 _ACEOF
6674 esac
6675 rm -rf conftest*
6682 ac_ext=c
6683 ac_cpp='$CPP $CPPFLAGS'
6684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6689 # On Suns, sometimes $CPP names a directory.
6690 if test -n "$CPP" && test -d "$CPP"; then
6691 CPP=
6693 if test -z "$CPP"; then
6694 if ${ac_cv_prog_CPP+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 # Double quotes because CPP needs to be expanded
6698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6700 ac_preproc_ok=false
6701 for ac_c_preproc_warn_flag in '' yes
6703 # Use a header file that comes with gcc, so configuring glibc
6704 # with a fresh cross-compiler works.
6705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6706 # <limits.h> exists even on freestanding compilers.
6707 # On the NeXT, cc -E runs the code through the compiler's parser,
6708 # not just through cpp. "Syntax error" is here to catch this case.
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #ifdef __STDC__
6712 # include <limits.h>
6713 #else
6714 # include <assert.h>
6715 #endif
6716 Syntax error
6717 _ACEOF
6718 if ac_fn_c_try_cpp "$LINENO"; then :
6720 else
6721 # Broken: fails on valid input.
6722 continue
6724 rm -f conftest.err conftest.i conftest.$ac_ext
6726 # OK, works on sane cases. Now check whether nonexistent headers
6727 # can be detected and how.
6728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #include <ac_nonexistent.h>
6731 _ACEOF
6732 if ac_fn_c_try_cpp "$LINENO"; then :
6733 # Broken: success on invalid input.
6734 continue
6735 else
6736 # Passes both tests.
6737 ac_preproc_ok=:
6738 break
6740 rm -f conftest.err conftest.i conftest.$ac_ext
6742 done
6743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6744 rm -f conftest.i conftest.err conftest.$ac_ext
6745 if $ac_preproc_ok; then :
6746 break
6749 done
6750 ac_cv_prog_CPP=$CPP
6753 CPP=$ac_cv_prog_CPP
6754 else
6755 ac_cv_prog_CPP=$CPP
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6758 $as_echo "$CPP" >&6; }
6759 ac_preproc_ok=false
6760 for ac_c_preproc_warn_flag in '' yes
6762 # Use a header file that comes with gcc, so configuring glibc
6763 # with a fresh cross-compiler works.
6764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6765 # <limits.h> exists even on freestanding compilers.
6766 # On the NeXT, cc -E runs the code through the compiler's parser,
6767 # not just through cpp. "Syntax error" is here to catch this case.
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6770 #ifdef __STDC__
6771 # include <limits.h>
6772 #else
6773 # include <assert.h>
6774 #endif
6775 Syntax error
6776 _ACEOF
6777 if ac_fn_c_try_cpp "$LINENO"; then :
6779 else
6780 # Broken: fails on valid input.
6781 continue
6783 rm -f conftest.err conftest.i conftest.$ac_ext
6785 # OK, works on sane cases. Now check whether nonexistent headers
6786 # can be detected and how.
6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6789 #include <ac_nonexistent.h>
6790 _ACEOF
6791 if ac_fn_c_try_cpp "$LINENO"; then :
6792 # Broken: success on invalid input.
6793 continue
6794 else
6795 # Passes both tests.
6796 ac_preproc_ok=:
6797 break
6799 rm -f conftest.err conftest.i conftest.$ac_ext
6801 done
6802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6803 rm -f conftest.i conftest.err conftest.$ac_ext
6804 if $ac_preproc_ok; then :
6806 else
6807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6809 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6810 See \`config.log' for more details" "$LINENO" 5; }
6813 ac_ext=c
6814 ac_cpp='$CPP $CPPFLAGS'
6815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6821 $as_echo_n "checking for ANSI C header files... " >&6; }
6822 if ${ac_cv_header_stdc+:} false; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 #include <stdlib.h>
6828 #include <stdarg.h>
6829 #include <string.h>
6830 #include <float.h>
6833 main ()
6837 return 0;
6839 _ACEOF
6840 if ac_fn_c_try_compile "$LINENO"; then :
6841 ac_cv_header_stdc=yes
6842 else
6843 ac_cv_header_stdc=no
6845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6847 if test $ac_cv_header_stdc = yes; then
6848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 #include <string.h>
6853 _ACEOF
6854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6855 $EGREP "memchr" >/dev/null 2>&1; then :
6857 else
6858 ac_cv_header_stdc=no
6860 rm -f conftest*
6864 if test $ac_cv_header_stdc = yes; then
6865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6868 #include <stdlib.h>
6870 _ACEOF
6871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6872 $EGREP "free" >/dev/null 2>&1; then :
6874 else
6875 ac_cv_header_stdc=no
6877 rm -f conftest*
6881 if test $ac_cv_header_stdc = yes; then
6882 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6883 if test "$cross_compiling" = yes; then :
6885 else
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <ctype.h>
6889 #include <stdlib.h>
6890 #if ((' ' & 0x0FF) == 0x020)
6891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6893 #else
6894 # define ISLOWER(c) \
6895 (('a' <= (c) && (c) <= 'i') \
6896 || ('j' <= (c) && (c) <= 'r') \
6897 || ('s' <= (c) && (c) <= 'z'))
6898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6899 #endif
6901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6903 main ()
6905 int i;
6906 for (i = 0; i < 256; i++)
6907 if (XOR (islower (i), ISLOWER (i))
6908 || toupper (i) != TOUPPER (i))
6909 return 2;
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_run "$LINENO"; then :
6915 else
6916 ac_cv_header_stdc=no
6918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6919 conftest.$ac_objext conftest.beam conftest.$ac_ext
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6925 $as_echo "$ac_cv_header_stdc" >&6; }
6926 if test $ac_cv_header_stdc = yes; then
6928 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6933 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6934 inttypes.h stdint.h unistd.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6940 cat >>confdefs.h <<_ACEOF
6941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 _ACEOF
6946 done
6949 for ac_header in \
6950 AL/al.h \
6951 ApplicationServices/ApplicationServices.h \
6952 AudioToolbox/AudioConverter.h \
6953 AudioUnit/AudioUnit.h \
6954 AudioUnit/AudioComponent.h \
6955 CL/cl.h \
6956 Carbon/Carbon.h \
6957 CommonCrypto/CommonCryptor.h \
6958 CoreAudio/CoreAudio.h \
6959 CoreServices/CoreServices.h \
6960 DiskArbitration/DiskArbitration.h \
6961 EGL/egl.h \
6962 IOKit/IOKitLib.h \
6963 IOKit/hid/IOHIDLib.h \
6964 OpenAL/al.h \
6965 OpenCL/opencl.h \
6966 QuickTime/ImageCompression.h \
6967 Security/Security.h \
6968 alias.h \
6969 alsa/asoundlib.h \
6970 arpa/inet.h \
6971 arpa/nameser.h \
6972 asm/types.h \
6973 asm/user.h \
6974 curses.h \
6975 direct.h \
6976 dirent.h \
6977 dlfcn.h \
6978 elf.h \
6979 float.h \
6980 fnmatch.h \
6981 getopt.h \
6982 gettext-po.h \
6983 grp.h \
6984 gsm.h \
6985 gsm/gsm.h \
6986 ieeefp.h \
6987 inet/mib2.h \
6988 io.h \
6989 kstat.h \
6990 libproc.h \
6991 link.h \
6992 linux/cdrom.h \
6993 linux/compiler.h \
6994 linux/filter.h \
6995 linux/hdreg.h \
6996 linux/hidraw.h \
6997 linux/input.h \
6998 linux/ioctl.h \
6999 linux/joystick.h \
7000 linux/major.h \
7001 linux/param.h \
7002 linux/serial.h \
7003 linux/types.h \
7004 linux/ucdrom.h \
7005 lwp.h \
7006 mach-o/nlist.h \
7007 mach-o/loader.h \
7008 mach/mach.h \
7009 mach/machine.h \
7010 machine/cpu.h \
7011 machine/limits.h \
7012 machine/sysarch.h \
7013 mntent.h \
7014 ncurses.h \
7015 netdb.h \
7016 netinet/in.h \
7017 netinet/in_systm.h \
7018 netinet/tcp.h \
7019 netinet/tcp_fsm.h \
7020 pcap/pcap.h \
7021 poll.h \
7022 port.h \
7023 process.h \
7024 pthread.h \
7025 pwd.h \
7026 sched.h \
7027 scsi/scsi.h \
7028 scsi/scsi_ioctl.h \
7029 scsi/sg.h \
7030 stdbool.h \
7031 stdint.h \
7032 stropts.h \
7033 sys/asoundlib.h \
7034 sys/attr.h \
7035 sys/auxv.h \
7036 sys/cdio.h \
7037 sys/elf32.h \
7038 sys/epoll.h \
7039 sys/event.h \
7040 sys/exec_elf.h \
7041 sys/filio.h \
7042 sys/inotify.h \
7043 sys/ioctl.h \
7044 sys/ipc.h \
7045 sys/limits.h \
7046 sys/link.h \
7047 sys/mman.h \
7048 sys/modem.h \
7049 sys/msg.h \
7050 sys/mtio.h \
7051 sys/param.h \
7052 sys/poll.h \
7053 sys/prctl.h \
7054 sys/protosw.h \
7055 sys/ptrace.h \
7056 sys/queue.h \
7057 sys/resource.h \
7058 sys/scsiio.h \
7059 sys/shm.h \
7060 sys/signal.h \
7061 sys/socket.h \
7062 sys/socketvar.h \
7063 sys/sockio.h \
7064 sys/statvfs.h \
7065 sys/strtio.h \
7066 sys/syscall.h \
7067 sys/sysinfo.h \
7068 sys/tihdr.h \
7069 sys/time.h \
7070 sys/timeout.h \
7071 sys/times.h \
7072 sys/uio.h \
7073 sys/user.h \
7074 sys/utsname.h \
7075 sys/vnode.h \
7076 sys/wait.h \
7077 syscall.h \
7078 termios.h \
7079 unistd.h \
7080 utime.h \
7081 valgrind/memcheck.h \
7082 valgrind/valgrind.h \
7083 zlib.h
7085 do :
7086 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7087 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7091 _ACEOF
7095 done
7097 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7098 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7100 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7105 if test $ac_cv_header_sys_mkdev_h = no; then
7106 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7107 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7109 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7116 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7117 if ${ac_cv_header_stat_broken+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <sys/types.h>
7123 #include <sys/stat.h>
7125 #if defined S_ISBLK && defined S_IFDIR
7126 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7127 #endif
7129 #if defined S_ISBLK && defined S_IFCHR
7130 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7131 #endif
7133 #if defined S_ISLNK && defined S_IFREG
7134 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7135 #endif
7137 #if defined S_ISSOCK && defined S_IFREG
7138 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7139 #endif
7141 _ACEOF
7142 if ac_fn_c_try_compile "$LINENO"; then :
7143 ac_cv_header_stat_broken=no
7144 else
7145 ac_cv_header_stat_broken=yes
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7150 $as_echo "$ac_cv_header_stat_broken" >&6; }
7151 if test $ac_cv_header_stat_broken = yes; then
7153 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7159 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7160 do :
7161 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7162 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7163 #ifdef HAVE_SYS_PARAM_H
7164 # include <sys/param.h>
7165 #endif
7167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7168 cat >>confdefs.h <<_ACEOF
7169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 _ACEOF
7174 done
7177 for ac_header in \
7178 netinet/ip.h \
7179 net/if.h \
7180 net/if_arp.h \
7181 net/if_dl.h \
7182 net/if_types.h \
7183 net/route.h \
7184 netinet/if_ether.h \
7185 netinet/if_inarp.h \
7186 netinet/in_pcb.h \
7187 netinet/ip_icmp.h \
7188 netinet/ip_var.h \
7189 netinet/udp.h \
7190 netipx/ipx.h \
7191 sys/un.h \
7193 do :
7194 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7196 #ifdef HAVE_SYS_SOCKET_H
7197 # include <sys/socket.h>
7198 #endif
7199 #ifdef HAVE_SYS_SOCKETVAR_H
7200 # include <sys/socketvar.h>
7201 #endif
7202 #ifdef HAVE_NET_ROUTE_H
7203 # include <net/route.h>
7204 #endif
7205 #ifdef HAVE_NETINET_IN_H
7206 # include <netinet/in.h>
7207 #endif
7208 #ifdef HAVE_NETINET_IN_SYSTM_H
7209 # include <netinet/in_systm.h>
7210 #endif
7211 #ifdef HAVE_NET_IF_H
7212 # include <net/if.h>
7213 #endif
7214 #ifdef HAVE_NETINET_IP_H
7215 # include <netinet/ip.h>
7216 #endif
7218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 _ACEOF
7225 done
7228 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7229 do :
7230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7232 #ifdef HAVE_ALIAS_H
7233 # include <alias.h>
7234 #endif
7235 #ifdef HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7238 #ifdef HAVE_SYS_SOCKETVAR_H
7239 # include <sys/socketvar.h>
7240 #endif
7241 #ifdef HAVE_SYS_TIMEOUT_H
7242 # include <sys/timeout.h>
7243 #endif
7244 #ifdef HAVE_NETINET_IN_H
7245 # include <netinet/in.h>
7246 #endif
7247 #ifdef HAVE_NETINET_IN_SYSTM_H
7248 # include <netinet/in_systm.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IP_H
7251 # include <netinet/ip.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IP_VAR_H
7254 # include <netinet/ip_var.h>
7255 #endif
7256 #ifdef HAVE_NETINET_IP_ICMP_H
7257 # include <netinet/ip_icmp.h>
7258 #endif
7259 #ifdef HAVE_NETINET_UDP_H
7260 # include <netinet/udp.h>
7261 #endif
7262 #ifdef HAVE_NETINET_TCP_H
7263 # include <netinet/tcp.h>
7264 #endif
7265 #ifdef HAVE_NETINET_TCP_TIMER_H
7266 #include <netinet/tcp_timer.h>
7267 #endif
7269 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 _ACEOF
7276 done
7279 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7280 do :
7281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7282 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7283 #ifdef HAVE_ASM_TYPES_H
7284 # include <asm/types.h>
7285 #endif
7286 #ifdef HAVE_SYS_SOCKET_H
7287 # include <sys/socket.h>
7288 #endif
7289 #ifdef HAVE_LINUX_TYPES_H
7290 # include <linux/types.h>
7291 #endif
7293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7294 cat >>confdefs.h <<_ACEOF
7295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7296 _ACEOF
7300 done
7303 for ac_header in mach-o/dyld_images.h
7304 do :
7305 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7306 # include <stdbool.h>
7307 #endif
7308 #ifdef HAVE_STDINT_H
7309 # include <stdint.h>
7310 #endif
7312 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7315 _ACEOF
7319 done
7322 for ac_header in resolv.h
7323 do :
7324 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7325 #ifdef HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7327 #endif
7328 #ifdef HAVE_NETINET_IN_H
7329 # include <netinet/in.h>
7330 #endif
7331 #ifdef HAVE_ARPA_NAMESER_H
7332 # include <arpa/nameser.h>
7333 #endif
7335 if test "x$ac_cv_header_resolv_h" = xyes; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define HAVE_RESOLV_H 1
7338 _ACEOF
7342 done
7345 for ac_header in ifaddrs.h
7346 do :
7347 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7349 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7350 cat >>confdefs.h <<_ACEOF
7351 #define HAVE_IFADDRS_H 1
7352 _ACEOF
7356 done
7359 for ac_header in sys/ucontext.h
7360 do :
7361 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7363 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7364 cat >>confdefs.h <<_ACEOF
7365 #define HAVE_SYS_UCONTEXT_H 1
7366 _ACEOF
7370 done
7373 for ac_header in sys/thr.h
7374 do :
7375 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7376 #ifdef HAVE_SYS_UCONTEXT_H
7377 #include <sys/ucontext.h>
7378 #endif
7380 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_SYS_THR_H 1
7383 _ACEOF
7387 done
7390 for ac_header in pthread_np.h
7391 do :
7392 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7393 #include <pthread.h>
7394 #endif
7396 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7397 cat >>confdefs.h <<_ACEOF
7398 #define HAVE_PTHREAD_NP_H 1
7399 _ACEOF
7403 done
7406 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7407 do :
7408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7410 #include <sys/time.h>
7411 #endif
7412 #include <sys/types.h>
7413 #ifdef HAVE_ASM_TYPES_H
7414 #include <asm/types.h>
7415 #endif
7417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7420 _ACEOF
7424 done
7427 for ac_header in libprocstat.h
7428 do :
7429 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7430 #include <sys/param.h>
7431 #endif
7432 #ifdef HAVE_SYS_QUEUE_H
7433 #include <sys/queue.h>
7434 #endif
7435 #ifdef HAVE_SYS_SOCKET_H
7436 #include <sys/socket.h>
7437 #endif
7439 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7440 cat >>confdefs.h <<_ACEOF
7441 #define HAVE_LIBPROCSTAT_H 1
7442 _ACEOF
7446 done
7450 dlldir="\${libdir}/wine"
7452 DLLFLAGS="-D_REENTRANT"
7454 LDRPATH_INSTALL=""
7456 LDRPATH_LOCAL=""
7458 LDEXECFLAGS=""
7460 WINELOADER_LDFLAGS=""
7462 LIBEXT="so"
7463 DLLEXT=".so"
7464 IMPLIBEXT="def"
7465 # Extract the first word of "ldd", so it can be a program name with args.
7466 set dummy ldd; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_path_LDD+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 case $LDD in
7473 [\\/]* | ?:[\\/]*)
7474 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 as_dummy="/sbin:/usr/sbin:$PATH"
7479 for as_dir in $as_dummy
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7493 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7495 esac
7497 LDD=$ac_cv_path_LDD
7498 if test -n "$LDD"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7500 $as_echo "$LDD" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_OTOOL+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$OTOOL"; then
7516 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7529 done
7530 done
7531 IFS=$as_save_IFS
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7546 if test -z "$ac_cv_prog_OTOOL"; then
7547 ac_ct_OTOOL=$OTOOL
7548 # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$ac_ct_OTOOL"; then
7556 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_ac_ct_OTOOL="otool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7569 done
7570 done
7571 IFS=$as_save_IFS
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7584 if test "x$ac_ct_OTOOL" = x; then
7585 OTOOL="otool"
7586 else
7587 case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593 OTOOL=$ac_ct_OTOOL
7595 else
7596 OTOOL="$ac_cv_prog_OTOOL"
7599 if test -n "$ac_tool_prefix"; then
7600 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if ${ac_cv_prog_READELF+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$READELF"; then
7608 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 READELF=$ac_cv_prog_READELF
7628 if test -n "$READELF"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7630 $as_echo "$READELF" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7638 if test -z "$ac_cv_prog_READELF"; then
7639 ac_ct_READELF=$READELF
7640 # Extract the first word of "readelf", so it can be a program name with args.
7641 set dummy readelf; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$ac_ct_READELF"; then
7648 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_ac_ct_READELF="readelf"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7661 done
7662 done
7663 IFS=$as_save_IFS
7667 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7668 if test -n "$ac_ct_READELF"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7670 $as_echo "$ac_ct_READELF" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7676 if test "x$ac_ct_READELF" = x; then
7677 READELF="true"
7678 else
7679 case $cross_compiling:$ac_tool_warned in
7680 yes:)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7684 esac
7685 READELF=$ac_ct_READELF
7687 else
7688 READELF="$ac_cv_prog_READELF"
7691 wine_rules_file=conf$$rules.make
7692 rm -f $wine_rules_file
7693 SUBDIRS=""
7695 DISABLED_SUBDIRS=""
7697 CONFIGURE_TARGETS=""
7699 ALL_TEST_RESOURCES=""
7702 wine_fn_append_file ()
7704 as_fn_append $1 " \\$as_nl $2"
7707 wine_fn_append_rule ()
7709 $as_echo "$1" >>$wine_rules_file
7712 wine_fn_has_flag ()
7714 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7717 wine_fn_all_rules ()
7719 wine_fn_append_file SUBDIRS $ac_dir
7720 wine_fn_append_rule \
7721 "all: $ac_dir
7722 .PHONY: $ac_dir
7723 $ac_dir: dummy
7724 @cd $ac_dir && \$(MAKE)"
7727 wine_fn_install_rules ()
7729 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7731 wine_fn_append_rule \
7732 ".PHONY: $ac_dir/install $ac_dir/uninstall
7733 $ac_dir/install:: $ac_dir
7734 @cd $ac_dir && \$(MAKE) install
7735 $ac_dir/uninstall::
7736 @cd $ac_dir && \$(MAKE) uninstall
7737 install:: $ac_dir/install
7738 __uninstall__: $ac_dir/uninstall"
7740 if wine_fn_has_flag install-lib
7741 then
7742 wine_fn_append_rule \
7743 ".PHONY: $ac_dir/install-lib
7744 $ac_dir/install-lib:: $ac_dir
7745 @cd $ac_dir && \$(MAKE) install-lib
7746 install-lib:: $ac_dir/install-lib"
7749 if wine_fn_has_flag install-dev
7750 then
7751 wine_fn_append_rule \
7752 ".PHONY: $ac_dir/install-dev
7753 $ac_dir/install-dev:: $ac_dir
7754 @cd $ac_dir && \$(MAKE) install-dev
7755 install-dev:: $ac_dir/install-dev"
7759 wine_fn_clean_rules ()
7761 ac_clean=$@
7763 if wine_fn_has_flag clean
7764 then
7765 wine_fn_append_rule \
7766 "$ac_dir/clean: dummy
7767 @cd $ac_dir && \$(MAKE) clean"
7768 else
7769 wine_fn_append_rule \
7770 "$ac_dir/clean: dummy
7771 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7773 wine_fn_append_rule \
7774 "__clean__: $ac_dir/clean
7775 .PHONY: $ac_dir/clean"
7778 wine_fn_disabled_rules ()
7780 ac_clean=$@
7782 wine_fn_append_file SUBDIRS $ac_dir
7783 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7784 wine_fn_append_rule \
7785 "__clean__: $ac_dir/clean
7786 .PHONY: $ac_dir/clean
7787 $ac_dir/clean: dummy
7788 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7791 wine_fn_config_makefile ()
7793 ac_dir=$1
7794 ac_enable=$2
7795 ac_flags=$3
7797 case $ac_dir in
7798 fonts|server) test -z "$with_wine64" || return ;;
7799 esac
7800 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7801 wine_fn_disabled_rules; return
7803 wine_fn_all_rules
7804 wine_fn_install_rules
7805 wine_fn_clean_rules
7808 wine_fn_config_lib ()
7810 ac_name=$1
7811 ac_flags=$2
7812 ac_dir=dlls/$ac_name
7813 ac_deps="include"
7815 if test "x$enable_tools" = xno; then :
7817 else
7818 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7820 wine_fn_all_rules
7821 wine_fn_clean_rules
7823 wine_fn_append_rule \
7824 ".PHONY: $ac_dir/install $ac_dir/uninstall
7825 $ac_dir/install:: $ac_dir
7826 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7827 $ac_dir/uninstall::
7828 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7829 install install-dev:: $ac_dir/install
7830 __uninstall__: $ac_dir/uninstall
7831 __builddeps__: $ac_dir
7832 $ac_dir: $ac_deps"
7835 wine_fn_config_dll ()
7837 ac_name=$1
7838 ac_dir=dlls/$ac_name
7839 ac_enable=$2
7840 ac_flags=$3
7841 ac_implib=${4:-$ac_name}
7842 ac_file=$ac_dir/lib$ac_implib
7843 ac_dll=$ac_name
7844 ac_deps="include"
7845 ac_implibflags=""
7847 if test "x$enable_tools" = xno; then :
7849 else
7850 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7852 case $ac_name in
7853 *.*16) ac_implibflags=" -m16" ;;
7854 *.*) ;;
7855 *) ac_dll=$ac_dll.dll ;;
7856 esac
7858 ac_clean=
7859 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7860 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7862 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7863 if test "$ac_enable" != enable_win16
7864 then
7865 wine_fn_clean_rules $ac_clean
7866 wine_fn_append_file SUBDIRS $ac_dir
7867 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7868 else
7869 wine_fn_disabled_rules $ac_clean
7870 return
7872 else
7873 wine_fn_all_rules
7874 wine_fn_clean_rules $ac_clean
7875 wine_fn_append_rule \
7876 "$ac_dir: __builddeps__
7877 manpages htmlpages sgmlpages xmlpages::
7878 @cd $ac_dir && \$(MAKE) \$@
7879 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7880 install install-lib:: $ac_dir/install-lib
7881 __uninstall__: $ac_dir/uninstall"
7882 if test -n "$DLLEXT"
7883 then
7884 wine_fn_append_rule \
7885 "$ac_dir/install-lib:: $ac_dir
7886 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7887 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7888 $ac_dir/uninstall::
7889 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7890 else
7891 wine_fn_append_rule \
7892 "$ac_dir/install-lib:: $ac_dir
7893 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7894 $ac_dir/uninstall::
7895 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7899 if wine_fn_has_flag staticimplib
7900 then
7901 wine_fn_append_rule \
7902 "__builddeps__: $ac_file.a
7903 $ac_file.a $ac_file.cross.a: $ac_deps
7904 $ac_file.a: dummy
7905 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7906 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7907 $ac_dir/install-dev:: $ac_file.a
7908 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7909 $ac_dir/uninstall::
7910 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7911 install install-dev:: $ac_dir/install-dev
7912 __uninstall__: $ac_dir/uninstall"
7914 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7915 then
7916 wine_fn_append_rule \
7917 "__builddeps__: $ac_file.cross.a
7918 $ac_file.cross.a: dummy
7919 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7922 elif wine_fn_has_flag implib
7923 then
7924 wine_fn_append_rule \
7925 "__builddeps__: $ac_file.$IMPLIBEXT
7926 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7927 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7928 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7929 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7930 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7931 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7932 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7933 $ac_dir/uninstall::
7934 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7935 install install-dev:: $ac_dir/install-dev
7936 __uninstall__: $ac_dir/uninstall"
7937 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7938 then
7939 wine_fn_append_rule \
7940 "__builddeps__: $ac_file.cross.a
7941 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7942 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7947 wine_fn_config_program ()
7949 ac_name=$1
7950 ac_dir=programs/$ac_name
7951 ac_enable=$2
7952 ac_flags=$3
7953 ac_program=$ac_name
7955 case $ac_name in
7956 *.*) ;;
7957 *) ac_program=$ac_program.exe ;;
7958 esac
7960 ac_clean=
7961 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7962 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7964 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7965 wine_fn_disabled_rules $ac_clean; return
7968 wine_fn_all_rules
7969 wine_fn_clean_rules $ac_clean
7970 wine_fn_append_rule "$ac_dir: __builddeps__"
7972 wine_fn_has_flag install || return
7973 wine_fn_append_rule \
7974 ".PHONY: $ac_dir/install $ac_dir/uninstall
7975 install install-lib:: $ac_dir/install
7976 __uninstall__: $ac_dir/uninstall"
7978 if test -n "$DLLEXT"
7979 then
7980 wine_fn_append_rule \
7981 "$ac_dir/install:: $ac_dir
7982 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7983 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7984 $ac_dir/uninstall::
7985 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7987 if test -z "$with_wine64" && wine_fn_has_flag installbin
7988 then
7989 wine_fn_append_rule \
7990 "$ac_dir/install:: __tooldeps__
7991 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7992 $ac_dir/uninstall::
7993 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7995 else
7996 wine_fn_append_rule \
7997 "$ac_dir/install:: $ac_dir
7998 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7999 $ac_dir/uninstall::
8000 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8003 if test -z "$with_wine64" && wine_fn_has_flag manpage
8004 then
8005 wine_fn_append_rule \
8006 "$ac_dir/install:: $ac_dir
8007 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8008 $ac_dir/uninstall::
8009 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8013 wine_fn_config_test ()
8015 ac_dir=$1
8016 ac_name=$2
8017 ac_flags=$3
8019 ac_clean=
8020 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8021 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8023 if test "x$enable_tests" = xno; then :
8024 wine_fn_disabled_rules $ac_clean; return
8027 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8028 wine_fn_all_rules
8029 wine_fn_clean_rules $ac_clean
8031 wine_fn_append_rule \
8032 "$ac_dir: __builddeps__
8033 programs/winetest: $ac_dir
8034 check test: $ac_dir/test
8035 .PHONY: $ac_dir/test
8036 $ac_dir/test: dummy
8037 @cd $ac_dir && \$(MAKE) test
8038 testclean::
8039 \$(RM) $ac_dir/*.ok"
8041 if test -n "$CROSSTARGET"
8042 then
8043 wine_fn_append_rule \
8044 "crosstest: $ac_dir/crosstest
8045 .PHONY: $ac_dir/crosstest
8046 $ac_dir/crosstest: __builddeps__ dummy
8047 @cd $ac_dir && \$(MAKE) crosstest"
8051 wine_fn_config_tool ()
8053 ac_dir=$1
8054 ac_flags=$2
8055 if test "x$enable_tools" = xno; then :
8056 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8059 wine_fn_all_rules
8060 wine_fn_install_rules
8061 wine_fn_clean_rules
8063 wine_fn_append_rule "__tooldeps__: $ac_dir"
8064 wine_fn_append_rule "$ac_dir: libs/port"
8065 case $ac_dir in
8066 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8067 esac
8070 wine_fn_config_symlink ()
8072 ac_linkdir=
8073 if test "x$1" = "x-d"
8074 then
8075 ac_linkdir=$2
8076 shift; shift
8078 ac_links=$@
8079 wine_fn_append_rule \
8080 "$ac_links:
8081 @./config.status \$@"
8082 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8083 test -n "$ac_linkdir" || return
8084 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8087 wine_binary="wine"
8088 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8089 WINELOADER_PROGRAMS="$wine_binary"
8091 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8093 case $host_os in
8094 cygwin*|mingw32*)
8095 if test -n "$ac_tool_prefix"; then
8096 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8097 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if ${ac_cv_prog_DLLTOOL+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 if test -n "$DLLTOOL"; then
8104 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8105 else
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 for as_dir in $PATH
8109 IFS=$as_save_IFS
8110 test -z "$as_dir" && as_dir=.
8111 for ac_exec_ext in '' $ac_executable_extensions; do
8112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8113 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 break 2
8117 done
8118 done
8119 IFS=$as_save_IFS
8123 DLLTOOL=$ac_cv_prog_DLLTOOL
8124 if test -n "$DLLTOOL"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8126 $as_echo "$DLLTOOL" >&6; }
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8134 if test -z "$ac_cv_prog_DLLTOOL"; then
8135 ac_ct_DLLTOOL=$DLLTOOL
8136 # Extract the first word of "dlltool", so it can be a program name with args.
8137 set dummy dlltool; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 if test -n "$ac_ct_DLLTOOL"; then
8144 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8145 else
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 for as_dir in $PATH
8149 IFS=$as_save_IFS
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 break 2
8157 done
8158 done
8159 IFS=$as_save_IFS
8163 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8164 if test -n "$ac_ct_DLLTOOL"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8166 $as_echo "$ac_ct_DLLTOOL" >&6; }
8167 else
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8172 if test "x$ac_ct_DLLTOOL" = x; then
8173 DLLTOOL="false"
8174 else
8175 case $cross_compiling:$ac_tool_warned in
8176 yes:)
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8179 ac_tool_warned=yes ;;
8180 esac
8181 DLLTOOL=$ac_ct_DLLTOOL
8183 else
8184 DLLTOOL="$ac_cv_prog_DLLTOOL"
8187 LIBEXT="dll"
8188 DLLEXT=""
8189 IMPLIBEXT="a"
8190 enable_iphlpapi=${enable_iphlpapi:-no}
8191 enable_kernel32=${enable_kernel32:-no}
8192 enable_msvcrt=${enable_msvcrt:-no}
8193 enable_ntdll=${enable_ntdll:-no}
8194 enable_ws2_32=${enable_ws2_32:-no}
8195 enable_loader=${enable_loader:-no}
8196 enable_server=${enable_server:-no}
8197 with_x=${with_x:-no}
8198 with_pthread=${with_pthread:-no}
8200 crtlibs=""
8201 case $host_os in
8202 mingw32*)
8203 crtlibs="-lmsvcrt"
8204 SOCKET_LIBS="-lws2_32"
8206 esac
8208 LIBWINE_SHAREDLIB="libwine.dll"
8210 LIBWINE_IMPORTLIB="libwine.a"
8212 LIBWINE_INSTALL_LIB="libwine.dll"
8214 LIBWINE_INSTALL_DEV="libwine.a"
8216 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8218 LIBWINE_DEPENDS="wine.def"
8222 darwin*|macosx*)
8223 for ac_header in libunwind.h
8224 do :
8225 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8227 cat >>confdefs.h <<_ACEOF
8228 #define HAVE_LIBUNWIND_H 1
8229 _ACEOF
8233 done
8235 LIBEXT="dylib"
8236 DLLFLAGS="$DLLFLAGS -fPIC"
8237 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8238 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8239 COREFOUNDATION_LIBS="-framework CoreFoundation"
8241 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8243 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8245 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8247 CORESERVICES_LIBS="-framework CoreServices"
8249 APPKIT_LIBS="-framework AppKit"
8251 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8253 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8254 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -Wl,-no_pie"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_cflags__Wl__no_pie=yes
8265 else
8266 ac_cv_cflags__Wl__no_pie=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8273 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8274 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8275 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8277 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8278 then
8279 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8282 if test "$ac_cv_header_Security_Security_h" = "yes"
8283 then
8284 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8286 ac_save_LIBS="$LIBS"
8287 LIBS="$LIBS $SECURITY_LIBS"
8288 for ac_func in SSLCopyPeerCertificates
8289 do :
8290 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8291 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8292 cat >>confdefs.h <<_ACEOF
8293 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8294 _ACEOF
8297 done
8299 LIBS="$ac_save_LIBS"
8300 with_gnutls=${with_gnutls:-no}
8302 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8303 then
8304 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8305 then
8306 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8308 else
8309 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8312 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8313 ac_save_LIBS="$LIBS"
8314 LIBS="$LIBS $COREAUDIO_LIBS"
8315 for ac_func in AUGraphAddNode
8316 do :
8317 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8318 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8319 cat >>confdefs.h <<_ACEOF
8320 #define HAVE_AUGRAPHADDNODE 1
8321 _ACEOF
8324 done
8326 LIBS="$ac_save_LIBS"
8328 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8329 then
8330 OPENAL_LIBS="-framework OpenAL"
8333 cat >>confdefs.h <<_ACEOF
8334 #define HAVE_OPENAL 1
8335 _ACEOF
8337 ac_cv_lib_openal=yes
8339 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8340 then
8341 OPENCL_LIBS="-framework OpenCL"
8343 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8345 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8346 then
8347 ac_save_LIBS="$LIBS"
8348 LIBS="$LIBS $IOKIT_LIBS"
8349 for ac_func in IOHIDManagerCreate
8350 do :
8351 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8352 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8353 cat >>confdefs.h <<_ACEOF
8354 #define HAVE_IOHIDMANAGERCREATE 1
8355 _ACEOF
8358 done
8360 LIBS="$ac_save_LIBS"
8362 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8363 then
8364 ac_save_LIBS="$LIBS"
8365 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8367 $as_echo_n "checking for the QuickTime framework... " >&6; }
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 #include <QuickTime/ImageCompression.h>
8372 main ()
8374 CodecManagerVersion(NULL);
8376 return 0;
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8381 $as_echo "yes" >&6; }
8382 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8384 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8388 ac_cv_header_QuickTime_ImageCompression_h=no
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS="$ac_save_LIBS"
8394 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8395 then
8396 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8398 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8399 then
8400 CARBON_LIBS="-framework Carbon"
8404 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8405 then
8406 ac_save_LIBS="$LIBS"
8407 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8408 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8409 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8410 enable_winemac_drv=${enable_winemac_drv:-yes}
8413 LIBS="$ac_save_LIBS"
8416 if test "x$enable_win16" = "xyes"
8417 then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8419 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8420 if test "$cross_compiling" = yes; then :
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8422 $as_echo "cross-compiling, assuming yes" >&6; }
8423 else
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 asm(".text\n"
8427 "bad:\tnop;nop\n"
8428 "good:\tnop;nop\n\t"
8429 ".globl _testfunc\n"
8430 "_testfunc:\tcallw good");
8431 extern void testfunc();
8433 main ()
8435 unsigned short *p = (unsigned short *)testfunc;
8436 return p[0] != 0xe866 || p[1] != 0xfffa
8438 return 0;
8440 _ACEOF
8441 if ac_fn_c_try_run "$LINENO"; then :
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8443 $as_echo "yes" >&6; }
8444 else
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446 $as_echo "no" >&6; }
8447 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
8449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8450 conftest.$ac_objext conftest.beam conftest.$ac_ext
8455 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8457 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8459 LIBWINE_INSTALL_DEV="libwine.dylib"
8461 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8463 WINELOADER_DEPENDS="wine_info.plist"
8467 linux-android*)
8468 DLLFLAGS="$DLLFLAGS -fPIC"
8469 LDEXECFLAGS="-Wl,-pie"
8470 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8473 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8484 else
8485 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8494 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8496 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8499 if eval \${$as_ac_var+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 eval "$as_ac_var=yes"
8510 else
8511 eval "$as_ac_var=no"
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 eval ac_res=\$$as_ac_var
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8519 $as_echo "$ac_res" >&6; }
8520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8521 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8522 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8523 else
8524 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8526 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8527 if eval \${$as_ac_var+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 eval "$as_ac_var=yes"
8538 else
8539 eval "$as_ac_var=no"
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 eval ac_res=\$$as_ac_var
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8547 $as_echo "$ac_res" >&6; }
8548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8549 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8550 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8554 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8555 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 ac_cv_cflags__Wl___enable_new_dtags=yes
8566 else
8567 ac_cv_cflags__Wl___enable_new_dtags=no
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8574 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8575 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8576 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8579 LIBWINE_SHAREDLIB="libwine.so"
8581 LIBWINE_INSTALL_LIB="libwine.so"
8583 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8587 $as_echo_n "checking for -lEGL... " >&6; }
8588 if ${ac_cv_lib_soname_EGL+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_check_soname_save_LIBS=$LIBS
8592 LIBS="-lEGL $LIBS"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8596 /* Override any GCC internal prototype to avoid an error.
8597 Use char because int might match the return type of a GCC
8598 builtin and then its argument prototype would still apply. */
8599 #ifdef __cplusplus
8600 extern "C"
8601 #endif
8602 char eglGetProcAddress ();
8604 main ()
8606 return eglGetProcAddress ();
8608 return 0;
8610 _ACEOF
8611 if ac_fn_c_try_link "$LINENO"; then :
8612 case "$LIBEXT" in
8613 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8614 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'` ;;
8615 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8616 if ${ac_cv_lib_soname_EGL:+false} :; then :
8617 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8618 fi ;;
8619 esac
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 LIBS=$ac_check_soname_save_LIBS
8625 if ${ac_cv_lib_soname_EGL:+false} :; then :
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8627 $as_echo "not found" >&6; }
8629 else
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8631 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8633 cat >>confdefs.h <<_ACEOF
8634 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8635 _ACEOF
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8640 $as_echo_n "checking for -lGLESv2... " >&6; }
8641 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_check_soname_save_LIBS=$LIBS
8645 LIBS="-lGLESv2 $LIBS"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8649 /* Override any GCC internal prototype to avoid an error.
8650 Use char because int might match the return type of a GCC
8651 builtin and then its argument prototype would still apply. */
8652 #ifdef __cplusplus
8653 extern "C"
8654 #endif
8655 char glFlush ();
8657 main ()
8659 return glFlush ();
8661 return 0;
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 case "$LIBEXT" in
8666 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8667 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'` ;;
8668 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8669 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8670 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8671 fi ;;
8672 esac
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 LIBS=$ac_check_soname_save_LIBS
8678 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8680 $as_echo "not found" >&6; }
8682 else
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8684 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8686 cat >>confdefs.h <<_ACEOF
8687 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8688 _ACEOF
8693 if test "x$exec_prefix" = xNONE
8694 then
8695 case $host_cpu in
8696 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8697 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8698 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8699 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8700 esac
8705 DLLFLAGS="$DLLFLAGS -fPIC"
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8707 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8708 if ${ac_cv_c_dll_gnuelf+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 void myfunc() {}
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_c_dll_gnuelf="yes"
8719 else
8720 ac_cv_c_dll_gnuelf="no"
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8727 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8728 if test "$ac_cv_c_dll_gnuelf" = "yes"
8729 then
8730 LIBWINE_LDFLAGS="-shared"
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8732 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8733 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8744 else
8745 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8752 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8753 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8754 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8755 else
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8757 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8758 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8769 else
8770 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8777 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8778 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8779 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8783 echo '{ global: *; };' >conftest.map
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8785 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8786 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8797 else
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8805 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8806 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8807 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8809 rm -f conftest.map
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8812 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8813 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 ac_wine_try_cflags_saved=$CFLAGS
8817 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8820 int main(int argc, char **argv) { return 0; }
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8824 else
8825 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 CFLAGS=$ac_wine_try_cflags_saved
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8832 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8833 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8834 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8837 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8839 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8840 if eval \${$as_ac_var+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 eval "$as_ac_var=yes"
8851 else
8852 eval "$as_ac_var=no"
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 eval ac_res=\$$as_ac_var
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8860 $as_echo "$ac_res" >&6; }
8861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8862 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8863 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8864 else
8865 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8867 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8868 if eval \${$as_ac_var+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 eval "$as_ac_var=yes"
8879 else
8880 eval "$as_ac_var=no"
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 eval ac_res=\$$as_ac_var
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8888 $as_echo "$ac_res" >&6; }
8889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8890 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8891 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8896 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8897 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8898 $as_echo_n "(cached) " >&6
8899 else
8900 ac_wine_try_cflags_saved=$CFLAGS
8901 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 int main(int argc, char **argv) { return 0; }
8905 _ACEOF
8906 if ac_fn_c_try_link "$LINENO"; then :
8907 ac_cv_cflags__Wl___enable_new_dtags=yes
8908 else
8909 ac_cv_cflags__Wl___enable_new_dtags=no
8911 rm -f core conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 CFLAGS=$ac_wine_try_cflags_saved
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8916 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8917 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8918 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8921 case $host_cpu in
8922 *i[3456789]86* | x86_64 | *aarch64*)
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8924 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8925 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8926 $as_echo_n "(cached) " >&6
8927 else
8928 ac_wine_try_cflags_saved=$CFLAGS
8929 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8932 int main(int argc, char **argv) { return 0; }
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8935 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8936 else
8937 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 CFLAGS=$ac_wine_try_cflags_saved
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8944 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8945 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8946 case $host_os in
8947 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8948 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8949 esac
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8952 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8953 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8954 $as_echo_n "(cached) " >&6
8955 else
8956 ac_wine_try_cflags_saved=$CFLAGS
8957 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 int main(int argc, char **argv) { return 0; }
8961 _ACEOF
8962 if ac_fn_c_try_link "$LINENO"; then :
8963 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8964 else
8965 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8967 rm -f core conftest.err conftest.$ac_objext \
8968 conftest$ac_exeext conftest.$ac_ext
8969 CFLAGS=$ac_wine_try_cflags_saved
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8972 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8973 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8974 case $host_os in
8975 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8976 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8977 esac
8979 # Extract the first word of "prelink", so it can be a program name with args.
8980 set dummy prelink; ac_word=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8982 $as_echo_n "checking for $ac_word... " >&6; }
8983 if ${ac_cv_path_PRELINK+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 case $PRELINK in
8987 [\\/]* | ?:[\\/]*)
8988 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8992 for as_dir in /sbin /usr/sbin $PATH
8994 IFS=$as_save_IFS
8995 test -z "$as_dir" && as_dir=.
8996 for ac_exec_ext in '' $ac_executable_extensions; do
8997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8998 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9000 break 2
9002 done
9003 done
9004 IFS=$as_save_IFS
9006 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9008 esac
9010 PRELINK=$ac_cv_path_PRELINK
9011 if test -n "$PRELINK"; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9013 $as_echo "$PRELINK" >&6; }
9014 else
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9016 $as_echo "no" >&6; }
9020 if test "x$PRELINK" = xfalse
9021 then
9022 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9026 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9027 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9028 $as_echo_n "(cached) " >&6
9029 else
9030 ac_wine_try_cflags_saved=$CFLAGS
9031 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9033 /* end confdefs.h. */
9034 int main(int argc, char **argv) { return 0; }
9035 _ACEOF
9036 if ac_fn_c_try_link "$LINENO"; then :
9037 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9038 else
9039 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9041 rm -f core conftest.err conftest.$ac_objext \
9042 conftest$ac_exeext conftest.$ac_ext
9043 CFLAGS=$ac_wine_try_cflags_saved
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9046 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9047 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9048 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9051 esac
9053 else
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9055 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9056 if ${ac_cv_c_dll_unixware+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 ac_wine_try_cflags_saved=$CFLAGS
9060 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 void myfunc() {}
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_c_dll_unixware="yes"
9067 else
9068 ac_cv_c_dll_unixware="no"
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 CFLAGS=$ac_wine_try_cflags_saved
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9075 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9076 if test "$ac_cv_c_dll_unixware" = "yes"
9077 then
9078 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9081 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9083 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9085 LIBWINE_INSTALL_DEV="libwine.so"
9087 LIBWINE_DEPENDS="wine.map"
9090 esac
9092 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9093 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9094 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9095 enable_winemac_drv=${enable_winemac_drv:-no}
9096 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9098 CROSSTARGET=""
9100 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9101 then
9102 case "$host_cpu" in
9103 arm*)
9104 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9105 i[3456789]86*)
9106 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
9107 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9108 mingw32-gcc" ;;
9109 x86_64)
9110 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
9111 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9113 ac_prefix_list="" ;;
9114 esac
9115 for ac_prog in $ac_prefix_list
9117 # Extract the first word of "$ac_prog", so it can be a program name with args.
9118 set dummy $ac_prog; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9120 $as_echo_n "checking for $ac_word... " >&6; }
9121 if ${ac_cv_prog_CROSSCC+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 if test -n "$CROSSCC"; then
9125 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9126 else
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9128 for as_dir in $PATH
9130 IFS=$as_save_IFS
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_CROSSCC="$ac_prog"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9136 break 2
9138 done
9139 done
9140 IFS=$as_save_IFS
9144 CROSSCC=$ac_cv_prog_CROSSCC
9145 if test -n "$CROSSCC"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9147 $as_echo "$CROSSCC" >&6; }
9148 else
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9154 test -n "$CROSSCC" && break
9155 done
9156 test -n "$CROSSCC" || CROSSCC="false"
9158 if test "$CROSSCC" != "false"
9159 then
9160 ac_save_CC="$CC"
9161 CC="$CROSSCC"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9163 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9168 main ()
9172 return 0;
9174 _ACEOF
9175 if ac_fn_c_try_compile "$LINENO"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9177 $as_echo "yes" >&6; }
9178 set x $CROSSCC
9179 shift
9180 while test $# -ge 1
9182 case "$1" in
9183 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9184 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9185 esac
9186 shift
9187 done
9188 else
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 $as_echo "no" >&6; }
9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9193 CC="$ac_save_CC"
9194 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9200 if test "$ac_cv_header_pthread_h" = "yes"
9201 then
9202 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9203 if test "x$ac_cv_func_pthread_create" = xyes; then :
9205 else
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9207 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9208 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_lib_save_LIBS=$LIBS
9212 LIBS="-lpthread $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char pthread_create ();
9224 main ()
9226 return pthread_create ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 ac_cv_lib_pthread_pthread_create=yes
9233 else
9234 ac_cv_lib_pthread_pthread_create=no
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9241 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9242 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9243 PTHREAD_LIBS="-lpthread"
9250 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9251 case "x$with_pthread" in
9252 xno) ;;
9253 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9254 Wine cannot support threads without libpthread.
9255 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9256 esac
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9262 $as_echo_n "checking for X... " >&6; }
9265 # Check whether --with-x was given.
9266 if test "${with_x+set}" = set; then :
9267 withval=$with_x;
9270 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9271 if test "x$with_x" = xno; then
9272 # The user explicitly disabled X.
9273 have_x=disabled
9274 else
9275 case $x_includes,$x_libraries in #(
9276 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9277 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 # One or both of the vars are not set, and there is no cached value.
9281 ac_x_includes=no ac_x_libraries=no
9282 rm -f -r conftest.dir
9283 if mkdir conftest.dir; then
9284 cd conftest.dir
9285 cat >Imakefile <<'_ACEOF'
9286 incroot:
9287 @echo incroot='${INCROOT}'
9288 usrlibdir:
9289 @echo usrlibdir='${USRLIBDIR}'
9290 libdir:
9291 @echo libdir='${LIBDIR}'
9292 _ACEOF
9293 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9294 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9295 for ac_var in incroot usrlibdir libdir; do
9296 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9297 done
9298 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9299 for ac_extension in a so sl dylib la dll; do
9300 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9301 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9302 ac_im_usrlibdir=$ac_im_libdir; break
9304 done
9305 # Screen out bogus values from the imake configuration. They are
9306 # bogus both because they are the default anyway, and because
9307 # using them would break gcc on systems where it needs fixed includes.
9308 case $ac_im_incroot in
9309 /usr/include) ac_x_includes= ;;
9310 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9311 esac
9312 case $ac_im_usrlibdir in
9313 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9314 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9315 esac
9317 cd ..
9318 rm -f -r conftest.dir
9321 # Standard set of common directories for X headers.
9322 # Check X11 before X11Rn because it is often a symlink to the current release.
9323 ac_x_header_dirs='
9324 /usr/X11/include
9325 /usr/X11R7/include
9326 /usr/X11R6/include
9327 /usr/X11R5/include
9328 /usr/X11R4/include
9330 /usr/include/X11
9331 /usr/include/X11R7
9332 /usr/include/X11R6
9333 /usr/include/X11R5
9334 /usr/include/X11R4
9336 /usr/local/X11/include
9337 /usr/local/X11R7/include
9338 /usr/local/X11R6/include
9339 /usr/local/X11R5/include
9340 /usr/local/X11R4/include
9342 /usr/local/include/X11
9343 /usr/local/include/X11R7
9344 /usr/local/include/X11R6
9345 /usr/local/include/X11R5
9346 /usr/local/include/X11R4
9348 /usr/X386/include
9349 /usr/x386/include
9350 /usr/XFree86/include/X11
9352 /usr/include
9353 /usr/local/include
9354 /usr/unsupported/include
9355 /usr/athena/include
9356 /usr/local/x11r5/include
9357 /usr/lpp/Xamples/include
9359 /usr/openwin/include
9360 /usr/openwin/share/include'
9362 if test "$ac_x_includes" = no; then
9363 # Guess where to find include files, by looking for Xlib.h.
9364 # First, try using that file with no special directory specified.
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9367 #include <X11/Xlib.h>
9368 _ACEOF
9369 if ac_fn_c_try_cpp "$LINENO"; then :
9370 # We can compile using X headers with no special include directory.
9371 ac_x_includes=
9372 else
9373 for ac_dir in $ac_x_header_dirs; do
9374 if test -r "$ac_dir/X11/Xlib.h"; then
9375 ac_x_includes=$ac_dir
9376 break
9378 done
9380 rm -f conftest.err conftest.i conftest.$ac_ext
9381 fi # $ac_x_includes = no
9383 if test "$ac_x_libraries" = no; then
9384 # Check for the libraries.
9385 # See if we find them without any special options.
9386 # Don't add to $LIBS permanently.
9387 ac_save_LIBS=$LIBS
9388 LIBS="-lX11 $LIBS"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 #include <X11/Xlib.h>
9393 main ()
9395 XrmInitialize ()
9397 return 0;
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 LIBS=$ac_save_LIBS
9402 # We can link X programs with no special library path.
9403 ac_x_libraries=
9404 else
9405 LIBS=$ac_save_LIBS
9406 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9408 # Don't even attempt the hair of trying to link an X program!
9409 for ac_extension in a so sl dylib la dll; do
9410 if test -r "$ac_dir/libX11.$ac_extension"; then
9411 ac_x_libraries=$ac_dir
9412 break 2
9414 done
9415 done
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 fi # $ac_x_libraries = no
9421 case $ac_x_includes,$ac_x_libraries in #(
9422 no,* | *,no | *\'*)
9423 # Didn't find X, or a directory has "'" in its name.
9424 ac_cv_have_x="have_x=no";; #(
9426 # Record where we found X for the cache.
9427 ac_cv_have_x="have_x=yes\
9428 ac_x_includes='$ac_x_includes'\
9429 ac_x_libraries='$ac_x_libraries'"
9430 esac
9432 ;; #(
9433 *) have_x=yes;;
9434 esac
9435 eval "$ac_cv_have_x"
9436 fi # $with_x != no
9438 if test "$have_x" != yes; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9440 $as_echo "$have_x" >&6; }
9441 no_x=yes
9442 else
9443 # If each of the values was on the command line, it overrides each guess.
9444 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9445 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9446 # Update the cache value to reflect the command line values.
9447 ac_cv_have_x="have_x=yes\
9448 ac_x_includes='$x_includes'\
9449 ac_x_libraries='$x_libraries'"
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9451 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9454 if test "$no_x" = yes; then
9455 # Not all programs may use this symbol, but it does not hurt to define it.
9457 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9459 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9460 else
9461 if test -n "$x_includes"; then
9462 X_CFLAGS="$X_CFLAGS -I$x_includes"
9465 # It would also be nice to do this for all -L options, not just this one.
9466 if test -n "$x_libraries"; then
9467 X_LIBS="$X_LIBS -L$x_libraries"
9468 # For Solaris; some versions of Sun CC require a space after -R and
9469 # others require no space. Words are not sufficient . . . .
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9471 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9472 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9473 ac_xsave_c_werror_flag=$ac_c_werror_flag
9474 ac_c_werror_flag=yes
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9479 main ()
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 $as_echo "no" >&6; }
9489 X_LIBS="$X_LIBS -R$x_libraries"
9490 else
9491 LIBS="$ac_xsave_LIBS -R $x_libraries"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9496 main ()
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9505 $as_echo "yes" >&6; }
9506 X_LIBS="$X_LIBS -R $x_libraries"
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9509 $as_echo "neither works" >&6; }
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 ac_c_werror_flag=$ac_xsave_c_werror_flag
9517 LIBS=$ac_xsave_LIBS
9520 # Check for system-dependent libraries X programs must link with.
9521 # Do this before checking for the system-independent R6 libraries
9522 # (-lICE), since we may need -lsocket or whatever for X linking.
9524 if test "$ISC" = yes; then
9525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9526 else
9527 # Martyn Johnson says this is needed for Ultrix, if the X
9528 # libraries were built with DECnet support. And Karl Berry says
9529 # the Alpha needs dnet_stub (dnet does not exist).
9530 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9537 #ifdef __cplusplus
9538 extern "C"
9539 #endif
9540 char XOpenDisplay ();
9542 main ()
9544 return XOpenDisplay ();
9546 return 0;
9548 _ACEOF
9549 if ac_fn_c_try_link "$LINENO"; then :
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9553 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9554 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_check_lib_save_LIBS=$LIBS
9558 LIBS="-ldnet $LIBS"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9562 /* Override any GCC internal prototype to avoid an error.
9563 Use char because int might match the return type of a GCC
9564 builtin and then its argument prototype would still apply. */
9565 #ifdef __cplusplus
9566 extern "C"
9567 #endif
9568 char dnet_ntoa ();
9570 main ()
9572 return dnet_ntoa ();
9574 return 0;
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_lib_dnet_dnet_ntoa=yes
9579 else
9580 ac_cv_lib_dnet_dnet_ntoa=no
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_lib_save_LIBS
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9587 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9588 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9589 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9592 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9594 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9595 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-ldnet_stub $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char dnet_ntoa ();
9611 main ()
9613 return dnet_ntoa ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9620 else
9621 ac_cv_lib_dnet_stub_dnet_ntoa=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9628 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9629 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9630 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 LIBS="$ac_xsave_LIBS"
9639 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9640 # to get the SysV transport functions.
9641 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9642 # needs -lnsl.
9643 # The nsl library prevents programs from opening the X display
9644 # on Irix 5.2, according to T.E. Dickey.
9645 # The functions gethostbyname, getservbyname, and inet_addr are
9646 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9647 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9648 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9652 if test $ac_cv_func_gethostbyname = no; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9654 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9655 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 ac_check_lib_save_LIBS=$LIBS
9659 LIBS="-lnsl $LIBS"
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9661 /* end confdefs.h. */
9663 /* Override any GCC internal prototype to avoid an error.
9664 Use char because int might match the return type of a GCC
9665 builtin and then its argument prototype would still apply. */
9666 #ifdef __cplusplus
9667 extern "C"
9668 #endif
9669 char gethostbyname ();
9671 main ()
9673 return gethostbyname ();
9675 return 0;
9677 _ACEOF
9678 if ac_fn_c_try_link "$LINENO"; then :
9679 ac_cv_lib_nsl_gethostbyname=yes
9680 else
9681 ac_cv_lib_nsl_gethostbyname=no
9683 rm -f core conftest.err conftest.$ac_objext \
9684 conftest$ac_exeext conftest.$ac_ext
9685 LIBS=$ac_check_lib_save_LIBS
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9688 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9689 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9693 if test $ac_cv_lib_nsl_gethostbyname = no; then
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9695 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9696 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 ac_check_lib_save_LIBS=$LIBS
9700 LIBS="-lbsd $LIBS"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9707 #ifdef __cplusplus
9708 extern "C"
9709 #endif
9710 char gethostbyname ();
9712 main ()
9714 return gethostbyname ();
9716 return 0;
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 ac_cv_lib_bsd_gethostbyname=yes
9721 else
9722 ac_cv_lib_bsd_gethostbyname=no
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 LIBS=$ac_check_lib_save_LIBS
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9729 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9730 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9737 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9738 # socket/setsockopt and other routines are undefined under SCO ODT
9739 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9740 # on later versions), says Simon Leinen: it contains gethostby*
9741 # variants that don't use the name server (or something). -lsocket
9742 # must be given before -lnsl if both are needed. We assume that
9743 # if connect needs -lnsl, so does gethostbyname.
9744 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9745 if test "x$ac_cv_func_connect" = xyes; then :
9749 if test $ac_cv_func_connect = no; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9751 $as_echo_n "checking for connect in -lsocket... " >&6; }
9752 if ${ac_cv_lib_socket_connect+:} false; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 ac_check_lib_save_LIBS=$LIBS
9756 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char connect ();
9768 main ()
9770 return connect ();
9772 return 0;
9774 _ACEOF
9775 if ac_fn_c_try_link "$LINENO"; then :
9776 ac_cv_lib_socket_connect=yes
9777 else
9778 ac_cv_lib_socket_connect=no
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_lib_save_LIBS
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9785 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9786 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9787 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9792 # Guillermo Gomez says -lposix is necessary on A/UX.
9793 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9794 if test "x$ac_cv_func_remove" = xyes; then :
9798 if test $ac_cv_func_remove = no; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9800 $as_echo_n "checking for remove in -lposix... " >&6; }
9801 if ${ac_cv_lib_posix_remove+:} false; then :
9802 $as_echo_n "(cached) " >&6
9803 else
9804 ac_check_lib_save_LIBS=$LIBS
9805 LIBS="-lposix $LIBS"
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9809 /* Override any GCC internal prototype to avoid an error.
9810 Use char because int might match the return type of a GCC
9811 builtin and then its argument prototype would still apply. */
9812 #ifdef __cplusplus
9813 extern "C"
9814 #endif
9815 char remove ();
9817 main ()
9819 return remove ();
9821 return 0;
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 ac_cv_lib_posix_remove=yes
9826 else
9827 ac_cv_lib_posix_remove=no
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_lib_save_LIBS
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9834 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9835 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9841 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9842 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9843 if test "x$ac_cv_func_shmat" = xyes; then :
9847 if test $ac_cv_func_shmat = no; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9849 $as_echo_n "checking for shmat in -lipc... " >&6; }
9850 if ${ac_cv_lib_ipc_shmat+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_check_lib_save_LIBS=$LIBS
9854 LIBS="-lipc $LIBS"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9861 #ifdef __cplusplus
9862 extern "C"
9863 #endif
9864 char shmat ();
9866 main ()
9868 return shmat ();
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 ac_cv_lib_ipc_shmat=yes
9875 else
9876 ac_cv_lib_ipc_shmat=no
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9883 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9884 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9885 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9891 # Check for libraries that X11R6 Xt/Xaw programs need.
9892 ac_save_LDFLAGS=$LDFLAGS
9893 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9894 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9895 # check for ICE first), but we must link in the order -lSM -lICE or
9896 # we get undefined symbols. So assume we have SM if we have ICE.
9897 # These have to be linked with before -lX11, unlike the other
9898 # libraries we check for below, so use a different variable.
9899 # John Interrante, Karl Berry
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9901 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9902 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_check_lib_save_LIBS=$LIBS
9906 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char IceConnectionNumber ();
9918 main ()
9920 return IceConnectionNumber ();
9922 return 0;
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 ac_cv_lib_ICE_IceConnectionNumber=yes
9927 else
9928 ac_cv_lib_ICE_IceConnectionNumber=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9935 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9936 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9937 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9940 LDFLAGS=$ac_save_LDFLAGS
9945 if test "$have_x" = "yes"
9946 then
9947 ac_save_CPPFLAGS="$CPPFLAGS"
9948 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9951 $as_echo_n "checking for -lX11... " >&6; }
9952 if ${ac_cv_lib_soname_X11+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_check_soname_save_LIBS=$LIBS
9956 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 #ifdef __cplusplus
9964 extern "C"
9965 #endif
9966 char XCreateWindow ();
9968 main ()
9970 return XCreateWindow ();
9972 return 0;
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 case "$LIBEXT" in
9977 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9980 if ${ac_cv_lib_soname_X11:+false} :; then :
9981 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9982 fi ;;
9983 esac
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LIBS=$ac_check_soname_save_LIBS
9989 if ${ac_cv_lib_soname_X11:+false} :; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9993 else
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9995 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9997 cat >>confdefs.h <<_ACEOF
9998 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9999 _ACEOF
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10004 $as_echo_n "checking for -lXext... " >&6; }
10005 if ${ac_cv_lib_soname_Xext+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_check_soname_save_LIBS=$LIBS
10009 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XextCreateExtension ();
10021 main ()
10023 return XextCreateExtension ();
10025 return 0;
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 case "$LIBEXT" in
10030 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10031 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'` ;;
10032 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10033 if ${ac_cv_lib_soname_Xext:+false} :; then :
10034 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 fi ;;
10036 esac
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_soname_save_LIBS
10042 if ${ac_cv_lib_soname_Xext:+false} :; then :
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 $as_echo "not found" >&6; }
10046 else
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10048 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10050 cat >>confdefs.h <<_ACEOF
10051 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10052 _ACEOF
10054 X_LIBS="$X_LIBS -lXext"
10056 X_LIBS="$X_LIBS -lX11"
10058 for ac_header in X11/Xlib.h \
10059 X11/XKBlib.h \
10060 X11/Xutil.h \
10061 X11/Xcursor/Xcursor.h \
10062 X11/extensions/shape.h \
10063 X11/extensions/XInput.h \
10064 X11/extensions/XInput2.h \
10065 X11/extensions/XShm.h \
10066 X11/extensions/Xcomposite.h \
10067 X11/extensions/Xfixes.h \
10068 X11/extensions/Xinerama.h \
10069 X11/extensions/Xrandr.h \
10070 X11/extensions/Xrender.h \
10071 X11/extensions/xf86vmode.h \
10072 X11/extensions/xf86vmproto.h
10073 do :
10074 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10075 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10076 # include <X11/Xlib.h>
10077 #endif
10078 #ifdef HAVE_X11_XUTIL_H
10079 # include <X11/Xutil.h>
10080 #endif
10082 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10083 cat >>confdefs.h <<_ACEOF
10084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10085 _ACEOF
10089 done
10092 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10093 then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10095 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10096 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_check_lib_save_LIBS=$LIBS
10100 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 char XkbQueryExtension ();
10112 main ()
10114 return XkbQueryExtension ();
10116 return 0;
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"; then :
10120 ac_cv_lib_X11_XkbQueryExtension=yes
10121 else
10122 ac_cv_lib_X11_XkbQueryExtension=no
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_lib_save_LIBS
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10129 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10130 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10132 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10138 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10139 then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10141 $as_echo_n "checking for -lXcursor... " >&6; }
10142 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10153 #ifdef __cplusplus
10154 extern "C"
10155 #endif
10156 char XcursorImageLoadCursor ();
10158 main ()
10160 return XcursorImageLoadCursor ();
10162 return 0;
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 case "$LIBEXT" in
10167 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10171 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10172 fi ;;
10173 esac
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10183 else
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10185 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10189 _ACEOF
10194 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10195 case "x$with_xcursor" in
10196 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10197 xno) ;;
10198 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10199 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10200 esac
10204 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10205 then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10207 $as_echo_n "checking for -lXi... " >&6; }
10208 if ${ac_cv_lib_soname_Xi+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_check_soname_save_LIBS=$LIBS
10212 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10219 #ifdef __cplusplus
10220 extern "C"
10221 #endif
10222 char XOpenDevice ();
10224 main ()
10226 return XOpenDevice ();
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 case "$LIBEXT" in
10233 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10236 if ${ac_cv_lib_soname_Xi:+false} :; then :
10237 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10238 fi ;;
10239 esac
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 LIBS=$ac_check_soname_save_LIBS
10245 if ${ac_cv_lib_soname_Xi:+false} :; then :
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10247 $as_echo "not found" >&6; }
10249 else
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10251 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10253 cat >>confdefs.h <<_ACEOF
10254 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10255 _ACEOF
10260 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10261 case "x$with_xinput" in
10262 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10263 xno) ;;
10264 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10265 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10266 esac
10270 if test "x$ac_cv_lib_soname_Xi" != x
10271 then
10272 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10273 case "x$with_xinput2" in
10274 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10275 xno) ;;
10276 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10277 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10278 esac
10283 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10284 then
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10286 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10287 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_check_lib_save_LIBS=$LIBS
10291 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10295 /* Override any GCC internal prototype to avoid an error.
10296 Use char because int might match the return type of a GCC
10297 builtin and then its argument prototype would still apply. */
10298 #ifdef __cplusplus
10299 extern "C"
10300 #endif
10301 char XShmQueryExtension ();
10303 main ()
10305 return XShmQueryExtension ();
10307 return 0;
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 ac_cv_lib_Xext_XShmQueryExtension=yes
10312 else
10313 ac_cv_lib_Xext_XShmQueryExtension=no
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10320 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10321 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10323 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10328 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10329 case "x$with_xshm" in
10330 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10331 xno) ;;
10332 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10333 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10334 esac
10338 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10339 then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10341 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10342 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_check_lib_save_LIBS=$LIBS
10346 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10350 /* Override any GCC internal prototype to avoid an error.
10351 Use char because int might match the return type of a GCC
10352 builtin and then its argument prototype would still apply. */
10353 #ifdef __cplusplus
10354 extern "C"
10355 #endif
10356 char XShapeQueryExtension ();
10358 main ()
10360 return XShapeQueryExtension ();
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_lib_Xext_XShapeQueryExtension=yes
10367 else
10368 ac_cv_lib_Xext_XShapeQueryExtension=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_lib_save_LIBS
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10375 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10376 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10378 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10383 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10384 case "x$with_xshape" in
10385 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10386 xno) ;;
10387 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10388 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10389 esac
10393 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10394 then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10396 $as_echo_n "checking for -lXxf86vm... " >&6; }
10397 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_check_soname_save_LIBS=$LIBS
10401 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10408 #ifdef __cplusplus
10409 extern "C"
10410 #endif
10411 char XF86VidModeQueryExtension ();
10413 main ()
10415 return XF86VidModeQueryExtension ();
10417 return 0;
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 case "$LIBEXT" in
10422 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10425 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10426 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10427 fi ;;
10428 esac
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10436 $as_echo "not found" >&6; }
10438 else
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10440 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10444 _ACEOF
10449 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10450 case "x$with_xxf86vm" in
10451 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10452 xno) ;;
10453 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10454 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10455 esac
10459 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10460 then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10462 $as_echo_n "checking for -lXrender... " >&6; }
10463 if ${ac_cv_lib_soname_Xrender+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_soname_save_LIBS=$LIBS
10467 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XRenderQueryExtension ();
10479 main ()
10481 return XRenderQueryExtension ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 case "$LIBEXT" in
10488 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10489 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'` ;;
10490 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10491 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10492 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10493 fi ;;
10494 esac
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 $as_echo "not found" >&6; }
10504 else
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10506 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10508 cat >>confdefs.h <<_ACEOF
10509 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10510 _ACEOF
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10513 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10514 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_lib_save_LIBS=$LIBS
10518 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char XRenderSetPictureTransform ();
10530 main ()
10532 return XRenderSetPictureTransform ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10539 else
10540 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10547 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10548 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10550 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10555 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10556 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_lib_save_LIBS=$LIBS
10560 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char XRenderCreateLinearGradient ();
10572 main ()
10574 return XRenderCreateLinearGradient ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10581 else
10582 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10589 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10590 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10592 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10599 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10600 case "x$with_xrender" in
10601 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10602 xno) ;;
10603 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10604 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10605 esac
10609 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10610 then
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10613 #include <X11/Xlib.h>
10614 #include <X11/extensions/Xrandr.h>
10616 main ()
10618 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10620 return 0;
10622 _ACEOF
10623 if ac_fn_c_try_compile "$LINENO"; then :
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10625 $as_echo_n "checking for -lXrandr... " >&6; }
10626 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10627 $as_echo_n "(cached) " >&6
10628 else
10629 ac_check_soname_save_LIBS=$LIBS
10630 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10634 /* Override any GCC internal prototype to avoid an error.
10635 Use char because int might match the return type of a GCC
10636 builtin and then its argument prototype would still apply. */
10637 #ifdef __cplusplus
10638 extern "C"
10639 #endif
10640 char XRRQueryExtension ();
10642 main ()
10644 return XRRQueryExtension ();
10646 return 0;
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 case "$LIBEXT" in
10651 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10652 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'` ;;
10653 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10654 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10655 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10656 fi ;;
10657 esac
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 LIBS=$ac_check_soname_save_LIBS
10663 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10665 $as_echo "not found" >&6; }
10667 else
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10669 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10671 cat >>confdefs.h <<_ACEOF
10672 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10673 _ACEOF
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10677 #include <X11/Xlib.h>
10678 #include <X11/extensions/Xrandr.h>
10680 main ()
10682 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_compile "$LINENO"; then :
10689 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10697 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10698 case "x$with_xrandr" in
10699 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10700 xno) ;;
10701 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10702 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10703 esac
10707 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10708 then
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 #include <X11/Xlib.h>
10712 #include <X11/extensions/Xfixes.h>
10714 main ()
10716 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_compile "$LINENO"; then :
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10723 $as_echo_n "checking for -lXfixes... " >&6; }
10724 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10725 $as_echo_n "(cached) " >&6
10726 else
10727 ac_check_soname_save_LIBS=$LIBS
10728 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10735 #ifdef __cplusplus
10736 extern "C"
10737 #endif
10738 char XFixesQueryVersion ();
10740 main ()
10742 return XFixesQueryVersion ();
10744 return 0;
10746 _ACEOF
10747 if ac_fn_c_try_link "$LINENO"; then :
10748 case "$LIBEXT" in
10749 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10750 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'` ;;
10751 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10752 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10753 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10754 fi ;;
10755 esac
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_soname_save_LIBS
10761 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10763 $as_echo "not found" >&6; }
10765 else
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10767 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10771 _ACEOF
10776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10778 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10779 case "x$with_xfixes" in
10780 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10781 xno) ;;
10782 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10783 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10784 esac
10788 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10789 then
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10792 #include <X11/Xlib.h>
10793 #include <X11/extensions/Xinerama.h>
10795 main ()
10797 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_compile "$LINENO"; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10804 $as_echo_n "checking for -lXinerama... " >&6; }
10805 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_soname_save_LIBS=$LIBS
10809 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char XineramaQueryScreens ();
10821 main ()
10823 return XineramaQueryScreens ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 case "$LIBEXT" in
10830 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10831 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'` ;;
10832 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10833 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10834 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10835 fi ;;
10836 esac
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_soname_save_LIBS
10842 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10844 $as_echo "not found" >&6; }
10846 else
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10848 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10850 cat >>confdefs.h <<_ACEOF
10851 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10852 _ACEOF
10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10859 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10860 case "x$with_xinerama" in
10861 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10862 xno) ;;
10863 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10864 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10865 esac
10869 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10870 then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10872 $as_echo_n "checking for -lXcomposite... " >&6; }
10873 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_soname_save_LIBS=$LIBS
10877 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char XCompositeRedirectWindow ();
10889 main ()
10891 return XCompositeRedirectWindow ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 case "$LIBEXT" in
10898 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10899 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'` ;;
10900 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10901 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10902 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10903 fi ;;
10904 esac
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_soname_save_LIBS
10910 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10912 $as_echo "not found" >&6; }
10914 else
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10916 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10918 cat >>confdefs.h <<_ACEOF
10919 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10920 _ACEOF
10925 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10926 case "x$with_xcomposite" in
10927 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10928 xno) ;;
10929 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10930 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10931 esac
10935 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10936 #include <X11/Xlib.h>
10937 #endif
10939 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10941 cat >>confdefs.h <<_ACEOF
10942 #define HAVE_XICCALLBACK_CALLBACK 1
10943 _ACEOF
10947 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10948 #include <X11/Xlib.h>
10949 #endif
10951 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10953 cat >>confdefs.h <<_ACEOF
10954 #define HAVE_XEVENT_XCOOKIE 1
10955 _ACEOF
10962 opengl_msg=""
10963 if test "x$with_opengl" != "xno"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10966 $as_echo_n "checking for -lGL... " >&6; }
10967 if ${ac_cv_lib_soname_GL+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_soname_save_LIBS=$LIBS
10971 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char glXCreateContext ();
10983 main ()
10985 return glXCreateContext ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 case "$LIBEXT" in
10992 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10993 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'` ;;
10994 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10995 if ${ac_cv_lib_soname_GL:+false} :; then :
10996 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10997 fi ;;
10998 esac
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_soname_save_LIBS
11004 if ${ac_cv_lib_soname_GL:+false} :; then :
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11006 $as_echo "not found" >&6; }
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11008 $as_echo_n "checking for -lGL... " >&6; }
11009 if ${ac_cv_lib_soname_GL+:} false; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 ac_check_soname_save_LIBS=$LIBS
11013 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"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char glXCreateContext ();
11025 main ()
11027 return glXCreateContext ();
11029 return 0;
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11033 case "$LIBEXT" in
11034 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11035 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'` ;;
11036 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11037 if ${ac_cv_lib_soname_GL:+false} :; then :
11038 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11039 fi ;;
11040 esac
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_soname_save_LIBS
11046 if ${ac_cv_lib_soname_GL:+false} :; then :
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11048 $as_echo "not found" >&6; }
11049 if test -f /usr/X11R6/lib/libGL.a
11050 then
11051 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11052 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11053 else
11054 opengl_msg="No OpenGL library found on this system."
11056 else
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11058 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11060 cat >>confdefs.h <<_ACEOF
11061 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11062 _ACEOF
11064 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"
11066 else
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11068 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11070 cat >>confdefs.h <<_ACEOF
11071 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11072 _ACEOF
11074 OPENGL_LIBS="-lGL"
11076 if test "x$with_glu" != "xno"
11077 then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11079 $as_echo_n "checking for -lGLU... " >&6; }
11080 if ${ac_cv_lib_soname_GLU+:} false; then :
11081 $as_echo_n "(cached) " >&6
11082 else
11083 ac_check_soname_save_LIBS=$LIBS
11084 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 /* Override any GCC internal prototype to avoid an error.
11089 Use char because int might match the return type of a GCC
11090 builtin and then its argument prototype would still apply. */
11091 #ifdef __cplusplus
11092 extern "C"
11093 #endif
11094 char gluLookAt ();
11096 main ()
11098 return gluLookAt ();
11100 return 0;
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"; then :
11104 case "$LIBEXT" in
11105 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11106 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'` ;;
11107 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11108 if ${ac_cv_lib_soname_GLU:+false} :; then :
11109 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11110 fi ;;
11111 esac
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_soname_save_LIBS
11117 if ${ac_cv_lib_soname_GLU:+false} :; then :
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11119 $as_echo "not found" >&6; }
11121 else
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11123 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11125 cat >>confdefs.h <<_ACEOF
11126 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11127 _ACEOF
11131 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11132 case "x$with_glu" in
11133 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11134 xno) ;;
11135 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11136 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11137 esac
11142 if test "x$with_osmesa" != "xno"
11143 then
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11145 $as_echo_n "checking for -lOSMesa... " >&6; }
11146 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11147 $as_echo_n "(cached) " >&6
11148 else
11149 ac_check_soname_save_LIBS=$LIBS
11150 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11157 #ifdef __cplusplus
11158 extern "C"
11159 #endif
11160 char OSMesaGetProcAddress ();
11162 main ()
11164 return OSMesaGetProcAddress ();
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 case "$LIBEXT" in
11171 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11172 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'` ;;
11173 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11174 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11175 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11176 fi ;;
11177 esac
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_soname_save_LIBS
11183 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11185 $as_echo "not found" >&6; }
11187 else
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11189 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11191 cat >>confdefs.h <<_ACEOF
11192 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11193 _ACEOF
11197 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11198 case "x$with_osmesa" in
11199 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11200 xno) ;;
11201 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11202 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11203 esac
11208 if test -n "$opengl_msg"; then :
11209 case "x$with_opengl" in
11210 x) as_fn_append wine_warnings "|$opengl_msg
11211 OpenGL and Direct3D won't be supported." ;;
11212 xno) ;;
11213 *) as_fn_error $? "$opengl_msg
11214 OpenGL and Direct3D won't be supported.
11215 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11216 esac
11220 CPPFLAGS="$ac_save_CPPFLAGS"
11221 else
11222 X_CFLAGS=""
11223 X_LIBS=""
11226 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11227 then
11228 if test "x$X_LIBS" = "x"; then :
11229 case "x$with_x" in
11230 xno) ;;
11231 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11232 without X support, which probably isn't what you want. You will need
11233 to install ${notice_platform}development packages of Xlib at the very least.
11234 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11235 esac
11236 enable_winex11_drv=${enable_winex11_drv:-no}
11238 else
11239 if test "x$X_LIBS" = "x"; then :
11240 case "x$with_x" in
11241 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11242 xno) ;;
11243 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11244 This is an error since --with-x was requested." "$LINENO" 5 ;;
11245 esac
11246 enable_winex11_drv=${enable_winex11_drv:-no}
11250 if test "$ac_cv_header_CL_cl_h" = "yes"
11251 then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11253 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11254 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-lOpenCL $LIBS"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11265 #ifdef __cplusplus
11266 extern "C"
11267 #endif
11268 char clGetPlatformInfo ();
11270 main ()
11272 return clGetPlatformInfo ();
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11279 else
11280 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_lib_save_LIBS
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11287 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11288 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11289 OPENCL_LIBS="-lOpenCL"
11294 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11295 case "x$with_opencl" in
11296 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11297 xno) ;;
11298 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11299 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11300 esac
11301 enable_opencl=${enable_opencl:-no}
11304 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11305 then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11307 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11308 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_lib_save_LIBS=$LIBS
11312 LIBS="-lpcap $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char pcap_create ();
11324 main ()
11326 return pcap_create ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 ac_cv_lib_pcap_pcap_create=yes
11333 else
11334 ac_cv_lib_pcap_pcap_create=no
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11341 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11342 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11343 PCAP_LIBS="-lpcap"
11348 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11349 case "x$with_pcap" in
11350 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11351 xno) ;;
11352 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11353 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11354 esac
11355 enable_wpcap=${enable_wpcap:-no}
11359 if test "x$with_xml" != "xno"
11360 then
11361 if ${XML2_CFLAGS:+false} :; then :
11362 if ${PKG_CONFIG+:} false; then :
11363 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11366 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11367 if ${XML2_LIBS:+false} :; then :
11368 if ${PKG_CONFIG+:} false; then :
11369 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11372 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11373 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11375 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11376 ac_save_CPPFLAGS=$CPPFLAGS
11377 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11378 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11379 do :
11380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11383 cat >>confdefs.h <<_ACEOF
11384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11385 _ACEOF
11389 done
11391 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"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11394 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11395 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_lib_save_LIBS=$LIBS
11399 LIBS="-lxml2 $XML2_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char xmlParseMemory ();
11411 main ()
11413 return xmlParseMemory ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 ac_cv_lib_xml2_xmlParseMemory=yes
11420 else
11421 ac_cv_lib_xml2_xmlParseMemory=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11428 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11429 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11431 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11433 else
11434 XML2_LIBS=""
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11438 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11439 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-lxml2 $XML2_LIBS $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char xmlReadMemory ();
11455 main ()
11457 return xmlReadMemory ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_xml2_xmlReadMemory=yes
11464 else
11465 ac_cv_lib_xml2_xmlReadMemory=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11472 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11473 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11475 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11480 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11481 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lxml2 $XML2_LIBS $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char xmlNewDocPI ();
11497 main ()
11499 return xmlNewDocPI ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 ac_cv_lib_xml2_xmlNewDocPI=yes
11506 else
11507 ac_cv_lib_xml2_xmlNewDocPI=no
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11514 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11515 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11517 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11522 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11523 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-lxml2 $XML2_LIBS $LIBS"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11531 /* Override any GCC internal prototype to avoid an error.
11532 Use char because int might match the return type of a GCC
11533 builtin and then its argument prototype would still apply. */
11534 #ifdef __cplusplus
11535 extern "C"
11536 #endif
11537 char xmlSchemaSetParserStructuredErrors ();
11539 main ()
11541 return xmlSchemaSetParserStructuredErrors ();
11543 return 0;
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"; then :
11547 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11548 else
11549 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11551 rm -f core conftest.err conftest.$ac_objext \
11552 conftest$ac_exeext conftest.$ac_ext
11553 LIBS=$ac_check_lib_save_LIBS
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11556 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11557 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11559 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11564 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11565 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_lib_save_LIBS=$LIBS
11569 LIBS="-lxml2 $XML2_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char xmlSchemaSetValidStructuredErrors ();
11581 main ()
11583 return xmlSchemaSetValidStructuredErrors ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11590 else
11591 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11598 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11599 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11601 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11606 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11607 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 ac_check_lib_save_LIBS=$LIBS
11611 LIBS="-lxml2 $XML2_LIBS $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char xmlFirstElementChild ();
11623 main ()
11625 return xmlFirstElementChild ();
11627 return 0;
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 ac_cv_lib_xml2_xmlFirstElementChild=yes
11632 else
11633 ac_cv_lib_xml2_xmlFirstElementChild=no
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11640 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11641 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11643 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11647 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11649 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11651 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11655 else
11656 XML2_CFLAGS=""
11657 XML2_LIBS=""
11659 CPPFLAGS=$ac_save_CPPFLAGS
11660 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11665 case "x$with_xml" in
11666 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11669 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11670 esac
11674 if test "x$with_xslt" != "xno"
11675 then
11676 if ${XSLT_CFLAGS:+false} :; then :
11677 if ${PKG_CONFIG+:} false; then :
11678 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11681 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11682 if ${XSLT_LIBS:+false} :; then :
11683 if ${PKG_CONFIG+:} false; then :
11684 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11687 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11688 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11689 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11690 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11691 ac_save_CPPFLAGS=$CPPFLAGS
11692 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11693 for ac_header in libxslt/pattern.h libxslt/transform.h
11694 do :
11695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11696 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11697 # include <libxslt/pattern.h>
11698 #endif
11700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11701 cat >>confdefs.h <<_ACEOF
11702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11703 _ACEOF
11707 done
11709 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11710 then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11712 $as_echo_n "checking for -lxslt... " >&6; }
11713 if ${ac_cv_lib_soname_xslt+:} false; then :
11714 $as_echo_n "(cached) " >&6
11715 else
11716 ac_check_soname_save_LIBS=$LIBS
11717 LIBS="-lxslt $XSLT_LIBS $LIBS"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11724 #ifdef __cplusplus
11725 extern "C"
11726 #endif
11727 char xsltCompilePattern ();
11729 main ()
11731 return xsltCompilePattern ();
11733 return 0;
11735 _ACEOF
11736 if ac_fn_c_try_link "$LINENO"; then :
11737 case "$LIBEXT" in
11738 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11739 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'` ;;
11740 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11741 if ${ac_cv_lib_soname_xslt:+false} :; then :
11742 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11743 fi ;;
11744 esac
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_soname_save_LIBS
11750 if ${ac_cv_lib_soname_xslt:+false} :; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11752 $as_echo "not found" >&6; }
11754 else
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11756 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11758 cat >>confdefs.h <<_ACEOF
11759 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11760 _ACEOF
11764 else
11765 XSLT_CFLAGS=""
11767 CPPFLAGS=$ac_save_CPPFLAGS
11768 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11769 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11772 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11773 case "x$with_xslt" in
11774 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11777 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11778 esac
11782 if test "x$with_dbus" != "xno"
11783 then
11784 if ${DBUS_CFLAGS:+false} :; then :
11785 if ${PKG_CONFIG+:} false; then :
11786 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11790 if ${DBUS_LIBS:+false} :; then :
11791 if ${PKG_CONFIG+:} false; then :
11792 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11797 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11798 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11799 ac_save_CPPFLAGS=$CPPFLAGS
11800 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11801 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11802 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11804 $as_echo_n "checking for -ldbus-1... " >&6; }
11805 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char dbus_connection_close ();
11821 main ()
11823 return dbus_connection_close ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) 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'`
11833 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11834 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11845 DBUS_CFLAGS=""
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11848 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11852 _ACEOF
11856 else
11857 DBUS_CFLAGS=""
11861 CPPFLAGS=$ac_save_CPPFLAGS
11862 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11863 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11866 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11867 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11868 case "x$with_dbus" in
11869 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11870 xno) ;;
11871 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11872 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11873 esac
11877 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11878 then
11879 if ${HAL_CFLAGS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11885 if ${HAL_LIBS:+false} :; then :
11886 if ${PKG_CONFIG+:} false; then :
11887 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11891 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11892 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11893 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11894 ac_save_CPPFLAGS=$CPPFLAGS
11895 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11896 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11897 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11899 $as_echo_n "checking for -lhal... " >&6; }
11900 if ${ac_cv_lib_soname_hal+:} false; then :
11901 $as_echo_n "(cached) " >&6
11902 else
11903 ac_check_soname_save_LIBS=$LIBS
11904 LIBS="-lhal $HAL_LIBS $LIBS"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11911 #ifdef __cplusplus
11912 extern "C"
11913 #endif
11914 char libhal_ctx_new ();
11916 main ()
11918 return libhal_ctx_new ();
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 case "$LIBEXT" in
11925 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11926 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'` ;;
11927 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11928 if ${ac_cv_lib_soname_hal:+false} :; then :
11929 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11930 fi ;;
11931 esac
11933 rm -f core conftest.err conftest.$ac_objext \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_soname_save_LIBS
11937 if ${ac_cv_lib_soname_hal:+false} :; then :
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11939 $as_echo "not found" >&6; }
11940 HAL_CFLAGS=""
11941 else
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11943 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11945 cat >>confdefs.h <<_ACEOF
11946 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11947 _ACEOF
11951 else
11952 HAL_CFLAGS=""
11956 CPPFLAGS=$ac_save_CPPFLAGS
11957 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11958 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11960 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11961 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11962 case "x$with_hal" in
11963 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11966 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11967 esac
11972 if test "x$with_gnutls" != "xno"
11973 then
11974 if ${GNUTLS_CFLAGS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11980 if ${GNUTLS_LIBS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11987 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11988 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11989 ac_save_CPPFLAGS=$CPPFLAGS
11990 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11991 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11992 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11995 #include <gnutls/gnutls.h>
11996 #include <gnutls/crypto.h>
11998 main ()
12000 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_compile "$LINENO"; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12007 $as_echo_n "checking for -lgnutls... " >&6; }
12008 if ${ac_cv_lib_soname_gnutls+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_soname_save_LIBS=$LIBS
12012 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 char gnutls_global_init ();
12024 main ()
12026 return gnutls_global_init ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 case "$LIBEXT" in
12033 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12034 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'` ;;
12035 *) 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'`
12036 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12037 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'`
12038 fi ;;
12039 esac
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_soname_save_LIBS
12045 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12047 $as_echo "not found" >&6; }
12048 GNUTLS_CFLAGS=""
12049 else
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12051 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12053 cat >>confdefs.h <<_ACEOF
12054 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12055 _ACEOF
12059 ac_wine_check_funcs_save_LIBS="$LIBS"
12060 LIBS="$LIBS $GNUTLS_LIBS"
12061 for ac_func in gnutls_cipher_init
12062 do :
12063 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12064 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12065 cat >>confdefs.h <<_ACEOF
12066 #define HAVE_GNUTLS_CIPHER_INIT 1
12067 _ACEOF
12069 else
12070 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12072 done
12074 LIBS="$ac_wine_check_funcs_save_LIBS"
12076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12077 else
12078 GNUTLS_CFLAGS=""
12082 CPPFLAGS=$ac_save_CPPFLAGS
12083 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12084 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12087 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12088 case "x$with_gnutls" in
12089 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12090 xno) ;;
12091 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12092 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12093 esac
12097 CURSES_LIBS=""
12098 if test "$ac_cv_header_ncurses_h" = "yes"
12099 then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12101 $as_echo_n "checking for -lncurses... " >&6; }
12102 if ${ac_cv_lib_soname_ncurses+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_soname_save_LIBS=$LIBS
12106 LIBS="-lncurses $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char waddch ();
12118 main ()
12120 return waddch ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 case "$LIBEXT" in
12127 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12128 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'` ;;
12129 *) 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'`
12130 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12131 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12132 fi ;;
12133 esac
12135 rm -f core conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LIBS=$ac_check_soname_save_LIBS
12139 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12141 $as_echo "not found" >&6; }
12143 else
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12145 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12147 cat >>confdefs.h <<_ACEOF
12148 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12149 _ACEOF
12151 CURSES_LIBS="-lncurses"
12153 elif test "$ac_cv_header_curses_h" = "yes"
12154 then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12156 $as_echo_n "checking for -lcurses... " >&6; }
12157 if ${ac_cv_lib_soname_curses+:} false; then :
12158 $as_echo_n "(cached) " >&6
12159 else
12160 ac_check_soname_save_LIBS=$LIBS
12161 LIBS="-lcurses $LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12168 #ifdef __cplusplus
12169 extern "C"
12170 #endif
12171 char waddch ();
12173 main ()
12175 return waddch ();
12177 return 0;
12179 _ACEOF
12180 if ac_fn_c_try_link "$LINENO"; then :
12181 case "$LIBEXT" in
12182 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12183 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'` ;;
12184 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12185 if ${ac_cv_lib_soname_curses:+false} :; then :
12186 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12187 fi ;;
12188 esac
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_soname_save_LIBS
12194 if ${ac_cv_lib_soname_curses:+false} :; then :
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12196 $as_echo "not found" >&6; }
12198 else
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12200 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12202 cat >>confdefs.h <<_ACEOF
12203 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12204 _ACEOF
12206 CURSES_LIBS="-lcurses"
12209 ac_save_LIBS="$LIBS"
12210 LIBS="$LIBS $CURSES_LIBS"
12211 for ac_func in mousemask
12212 do :
12213 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12214 if test "x$ac_cv_func_mousemask" = xyes; then :
12215 cat >>confdefs.h <<_ACEOF
12216 #define HAVE_MOUSEMASK 1
12217 _ACEOF
12220 done
12222 LIBS="$ac_save_LIBS"
12223 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12224 case "x$with_curses" in
12225 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12226 xno) ;;
12227 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12228 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12229 esac
12233 if test "x$with_sane" != "xno"
12234 then
12235 if ${SANE_CFLAGS:+false} :; then :
12236 if ${PKG_CONFIG+:} false; then :
12237 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12240 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12241 if ${SANE_LIBS:+false} :; then :
12242 if ${PKG_CONFIG+:} false; then :
12243 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12246 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12248 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12249 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12250 ac_save_CPPFLAGS=$CPPFLAGS
12251 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12252 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12255 $as_echo_n "checking for -lsane... " >&6; }
12256 if ${ac_cv_lib_soname_sane+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_soname_save_LIBS=$LIBS
12260 LIBS="-lsane $SANE_LIBS $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char sane_init ();
12272 main ()
12274 return sane_init ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 case "$LIBEXT" in
12281 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if ${ac_cv_lib_soname_sane:+false} :; then :
12285 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12286 fi ;;
12287 esac
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if ${ac_cv_lib_soname_sane:+false} :; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12296 SANE_CFLAGS=""
12297 else
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12299 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12303 _ACEOF
12307 else
12308 SANE_CFLAGS=""
12312 CPPFLAGS=$ac_save_CPPFLAGS
12313 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12314 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12317 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12318 case "x$with_sane" in
12319 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12320 xno) ;;
12321 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12322 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12323 esac
12327 if test "x$with_v4l" != "xno"
12328 then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12330 $as_echo_n "checking for -lv4l1... " >&6; }
12331 if ${ac_cv_lib_soname_v4l1+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_soname_save_LIBS=$LIBS
12335 LIBS="-lv4l1 $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char v4l1_open ();
12347 main ()
12349 return v4l1_open ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 case "$LIBEXT" in
12356 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12357 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'` ;;
12358 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12359 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12360 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12361 fi ;;
12362 esac
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_soname_save_LIBS
12368 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12370 $as_echo "not found" >&6; }
12372 else
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12374 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12376 cat >>confdefs.h <<_ACEOF
12377 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12378 _ACEOF
12383 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12384 case "x$with_v4l" in
12385 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12386 xno) ;;
12387 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12388 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12389 esac
12393 if test "x$with_gphoto" != "xno"
12394 then
12395 if ${GPHOTO2_CFLAGS:+false} :; then :
12396 if ${PKG_CONFIG+:} false; then :
12397 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12400 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12401 if ${GPHOTO2_LIBS:+false} :; then :
12402 if ${PKG_CONFIG+:} false; then :
12403 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12406 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12407 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12408 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12409 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12410 ac_save_CPPFLAGS=$CPPFLAGS
12411 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12412 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12413 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12415 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12416 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_lib_save_LIBS=$LIBS
12420 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char gp_camera_new ();
12432 main ()
12434 return gp_camera_new ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 ac_cv_lib_gphoto2_gp_camera_new=yes
12441 else
12442 ac_cv_lib_gphoto2_gp_camera_new=no
12444 rm -f core conftest.err conftest.$ac_objext \
12445 conftest$ac_exeext conftest.$ac_ext
12446 LIBS=$ac_check_lib_save_LIBS
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12449 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12450 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12452 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12454 else
12455 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12458 else
12459 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12463 CPPFLAGS=$ac_save_CPPFLAGS
12464 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12465 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12467 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12468 if ${PKG_CONFIG+:} false; then :
12469 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12472 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12473 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12474 if ${PKG_CONFIG+:} false; then :
12475 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12478 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12479 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12480 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12481 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12482 ac_save_CPPFLAGS=$CPPFLAGS
12483 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12484 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12485 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12487 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12488 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_check_lib_save_LIBS=$LIBS
12492 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 #ifdef __cplusplus
12500 extern "C"
12501 #endif
12502 char gp_port_info_list_new ();
12504 main ()
12506 return gp_port_info_list_new ();
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12513 else
12514 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 LIBS=$ac_check_lib_save_LIBS
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12521 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12522 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12524 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12526 else
12527 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12530 else
12531 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12535 CPPFLAGS=$ac_save_CPPFLAGS
12536 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12537 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12540 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12541 case "x$with_gphoto" in
12542 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12543 xno) ;;
12544 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12545 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12546 esac
12549 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12550 case "x$with_gphoto" in
12551 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12552 xno) ;;
12553 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12554 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12555 esac
12560 if test "$ac_cv_header_resolv_h" = "yes"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12563 $as_echo_n "checking for resolver library... " >&6; }
12564 if ${ac_cv_have_resolv+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_save_LIBS="$LIBS"
12568 for lib in '' -lresolv
12570 LIBS="$lib $ac_save_LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 #ifdef HAVE_NETINET_IN_H
12574 #include <netinet/in.h>
12575 #endif
12576 #include <resolv.h>
12578 main ()
12580 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 ac_cv_have_resolv=${lib:-"none required"}
12587 else
12588 ac_cv_have_resolv="not found"
12590 rm -f core conftest.err conftest.$ac_objext \
12591 conftest$ac_exeext conftest.$ac_ext
12592 test "x$ac_cv_have_resolv" = "xnot found" || break
12593 done
12594 LIBS="$ac_save_LIBS"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12597 $as_echo "$ac_cv_have_resolv" >&6; }
12599 case "$ac_cv_have_resolv" in
12600 "not found") ;;
12601 "none required")
12603 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12606 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12608 RESOLV_LIBS=$ac_cv_have_resolv
12610 esac
12613 if test "x$with_cms" != "xno"
12614 then
12615 if ${LCMS2_CFLAGS:+false} :; then :
12616 if ${PKG_CONFIG+:} false; then :
12617 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12621 if ${LCMS2_LIBS:+false} :; then :
12622 if ${PKG_CONFIG+:} false; then :
12623 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12627 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12628 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12629 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12630 ac_save_CPPFLAGS=$CPPFLAGS
12631 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12632 for ac_header in lcms2.h
12633 do :
12634 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12635 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12636 cat >>confdefs.h <<_ACEOF
12637 #define HAVE_LCMS2_H 1
12638 _ACEOF
12642 done
12644 if test "$ac_cv_header_lcms2_h" = "yes"
12645 then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12647 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12648 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12649 $as_echo_n "(cached) " >&6
12650 else
12651 ac_check_lib_save_LIBS=$LIBS
12652 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 char cmsOpenProfileFromFile ();
12664 main ()
12666 return cmsOpenProfileFromFile ();
12668 return 0;
12670 _ACEOF
12671 if ac_fn_c_try_link "$LINENO"; then :
12672 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12673 else
12674 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12676 rm -f core conftest.err conftest.$ac_objext \
12677 conftest$ac_exeext conftest.$ac_ext
12678 LIBS=$ac_check_lib_save_LIBS
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12681 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12682 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12684 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12686 else
12687 LCMS2_LIBS=""
12690 else
12691 LCMS2_CFLAGS=""
12692 LCMS2_LIBS=""
12694 CPPFLAGS=$ac_save_CPPFLAGS
12695 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12696 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12699 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12700 case "x$with_cms" in
12701 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12702 xno) ;;
12703 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12704 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12705 esac
12709 if test "x$with_freetype" != "xno"
12710 then
12711 if ${FREETYPE_CFLAGS:+false} :; then :
12712 if ${PKG_CONFIG+:} false; then :
12713 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12716 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12717 if ${FREETYPE_LIBS:+false} :; then :
12718 if ${PKG_CONFIG+:} false; then :
12719 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12722 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12723 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12724 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12725 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12726 ac_save_CPPFLAGS=$CPPFLAGS
12727 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12728 for ac_header in ft2build.h
12729 do :
12730 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12731 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12732 cat >>confdefs.h <<_ACEOF
12733 #define HAVE_FT2BUILD_H 1
12734 _ACEOF
12738 done
12740 if test "$ac_cv_header_ft2build_h" = "yes"
12741 then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12743 $as_echo_n "checking for -lfreetype... " >&6; }
12744 if ${ac_cv_lib_soname_freetype+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_soname_save_LIBS=$LIBS
12748 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char FT_Init_FreeType ();
12760 main ()
12762 return FT_Init_FreeType ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 case "$LIBEXT" in
12769 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12770 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'` ;;
12771 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12772 if ${ac_cv_lib_soname_freetype:+false} :; then :
12773 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12774 fi ;;
12775 esac
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_soname_save_LIBS
12781 if ${ac_cv_lib_soname_freetype:+false} :; then :
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12783 $as_echo "not found" >&6; }
12784 FREETYPE_LIBS=""
12785 else
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12787 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12789 cat >>confdefs.h <<_ACEOF
12790 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12791 _ACEOF
12794 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12796 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12797 #include FT_MODULE_H
12799 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12801 cat >>confdefs.h <<_ACEOF
12802 #define HAVE_FT_TRUETYPEENGINETYPE 1
12803 _ACEOF
12809 else
12810 FREETYPE_CFLAGS=""
12811 FREETYPE_LIBS=""
12813 CPPFLAGS=$ac_save_CPPFLAGS
12814 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12815 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12818 if test "x$ac_cv_lib_soname_freetype" = x; then :
12819 case "x$with_freetype" in
12820 xno) ;;
12821 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12822 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12823 esac
12824 enable_fonts=${enable_fonts:-no}
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12828 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12829 if ${ac_cv_c_ppdev+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12834 #ifdef HAVE_SYS_IOCTL_H
12835 # include <sys/ioctl.h>
12836 #endif
12837 #include <linux/ppdev.h>
12839 main ()
12841 ioctl (1,PPCLAIM,0)
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_compile "$LINENO"; then :
12847 ac_cv_c_ppdev="yes"
12848 else
12849 ac_cv_c_ppdev="no"
12851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12854 $as_echo "$ac_cv_c_ppdev" >&6; }
12855 if test "$ac_cv_c_ppdev" = "yes"
12856 then
12858 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12862 ac_wine_check_funcs_save_LIBS="$LIBS"
12863 LIBS="$LIBS $PTHREAD_LIBS"
12864 for ac_func in \
12865 pthread_attr_get_np \
12866 pthread_getattr_np \
12867 pthread_getthreadid_np \
12868 pthread_get_stackaddr_np \
12869 pthread_get_stacksize_np
12870 do :
12871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12874 cat >>confdefs.h <<_ACEOF
12875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12876 _ACEOF
12879 done
12881 LIBS="$ac_wine_check_funcs_save_LIBS"
12883 if test "$ac_cv_header_zlib_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12886 $as_echo_n "checking for inflate in -lz... " >&6; }
12887 if ${ac_cv_lib_z_inflate+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lz $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char inflate ();
12903 main ()
12905 return inflate ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_z_inflate=yes
12912 else
12913 ac_cv_lib_z_inflate=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12920 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12921 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12923 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12925 Z_LIBS="-lz"
12930 if test "x$Z_LIBS" = "x"; then :
12931 case "x$with_zlib" in
12932 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12933 xno) ;;
12934 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12935 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12936 esac
12940 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12941 then
12942 if test "$ac_cv_header_gettext_po_h" = "yes"
12943 then
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12945 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12946 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12947 $as_echo_n "(cached) " >&6
12948 else
12949 ac_check_lib_save_LIBS=$LIBS
12950 LIBS="-lgettextpo $LIBS"
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h. */
12954 /* Override any GCC internal prototype to avoid an error.
12955 Use char because int might match the return type of a GCC
12956 builtin and then its argument prototype would still apply. */
12957 #ifdef __cplusplus
12958 extern "C"
12959 #endif
12960 char po_message_msgctxt ();
12962 main ()
12964 return po_message_msgctxt ();
12966 return 0;
12968 _ACEOF
12969 if ac_fn_c_try_link "$LINENO"; then :
12970 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12971 else
12972 ac_cv_lib_gettextpo_po_message_msgctxt=no
12974 rm -f core conftest.err conftest.$ac_objext \
12975 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_lib_save_LIBS
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12979 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12980 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12982 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12984 GETTEXTPO_LIBS="-lgettextpo"
12989 if test "x$GETTEXTPO_LIBS" = "x"; then :
12990 case "x$with_gettextpo" in
12991 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12992 xno) ;;
12993 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12994 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12995 esac
12998 if test "$srcdir" != .; then :
12999 case "x$with_gettextpo" in
13000 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13001 xno) ;;
13002 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13003 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13004 esac
13009 if test "x$with_pulse" != "xno";
13010 then
13011 if ${PULSE_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13017 if ${PULSE_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13026 ac_save_CPPFLAGS=$CPPFLAGS
13027 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13028 for ac_header in pulse/pulseaudio.h
13029 do :
13030 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_PULSE_PULSEAUDIO_H 1
13034 _ACEOF
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13036 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13037 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-lpulse $PULSE_LIBS $LIBS"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13048 #ifdef __cplusplus
13049 extern "C"
13050 #endif
13051 char pa_stream_is_corked ();
13053 main ()
13055 return pa_stream_is_corked ();
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_lib_pulse_pa_stream_is_corked=yes
13062 else
13063 ac_cv_lib_pulse_pa_stream_is_corked=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_lib_save_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13070 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13071 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13073 else
13074 PULSE_LIBS=""
13077 else
13078 PULSE_LIBS=""
13081 done
13083 CPPFLAGS=$ac_save_CPPFLAGS
13084 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13085 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13088 if test -z "$PULSE_LIBS"; then :
13089 case "x$with_pulse" in
13090 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13091 xno) ;;
13092 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13093 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13094 esac
13095 enable_winepulse_drv=${enable_winepulse_drv:-no}
13098 if test "x$with_gstreamer" != "xno"
13099 then
13100 if ${GSTREAMER_CFLAGS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13106 if ${GSTREAMER_LIBS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13113 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13115 ac_save_CPPFLAGS=$CPPFLAGS
13116 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13117 ac_gst_incl=""
13118 for i in $GSTREAMER_CFLAGS
13120 case "$i" in
13121 -I*) ac_gst_incl="$ac_gst_incl $i";;
13122 esac
13123 done
13124 GSTREAMER_CFLAGS=$ac_gst_incl
13125 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13126 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13127 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13129 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13132 #include <gst/gst.h>
13134 main ()
13136 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_compile "$LINENO"; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143 $as_echo "yes" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13145 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13146 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_lib_save_LIBS=$LIBS
13150 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char gst_pad_new ();
13162 main ()
13164 return gst_pad_new ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13171 else
13172 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_lib_save_LIBS
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13179 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13180 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13184 else
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13186 $as_echo "no" >&6; }
13187 ac_glib2_broken=yes
13188 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194 CPPFLAGS=$ac_save_CPPFLAGS
13195 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13196 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13199 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 :
13200 case "x$with_gstreamer" in
13201 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13202 xno) ;;
13203 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13204 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13205 esac
13208 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13210 ALSA_LIBS=""
13212 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13213 then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13215 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13216 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13217 $as_echo_n "(cached) " >&6
13218 else
13219 ac_check_lib_save_LIBS=$LIBS
13220 LIBS="-lasound $LIBS"
13221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13224 /* Override any GCC internal prototype to avoid an error.
13225 Use char because int might match the return type of a GCC
13226 builtin and then its argument prototype would still apply. */
13227 #ifdef __cplusplus
13228 extern "C"
13229 #endif
13230 char snd_pcm_hw_params_get_access_mask ();
13232 main ()
13234 return snd_pcm_hw_params_get_access_mask ();
13236 return 0;
13238 _ACEOF
13239 if ac_fn_c_try_link "$LINENO"; then :
13240 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13241 else
13242 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13244 rm -f core conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13246 LIBS=$ac_check_lib_save_LIBS
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13249 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13250 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13253 #ifdef HAVE_ALSA_ASOUNDLIB_H
13254 #include <alsa/asoundlib.h>
13255 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13256 #include <sys/asoundlib.h>
13257 #endif
13259 main ()
13261 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13263 return 0;
13265 _ACEOF
13266 if ac_fn_c_try_compile "$LINENO"; then :
13267 ALSA_LIBS="-lasound"
13269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13273 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13275 if test "x$with_oss" != xno
13276 then
13277 ac_save_CPPFLAGS="$CPPFLAGS"
13278 if test -f /etc/oss.conf
13279 then
13280 . /etc/oss.conf
13282 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13283 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13284 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13285 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13286 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13288 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13290 cat >>confdefs.h <<_ACEOF
13291 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13292 _ACEOF
13294 OSS4_CFLAGS="$ac_oss_incl"
13301 CPPFLAGS="$ac_save_CPPFLAGS"
13303 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13304 case "x$with_oss" in
13305 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13306 xno) ;;
13307 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13308 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13309 esac
13310 enable_wineoss_drv=${enable_wineoss_drv:-no}
13313 if test "x$with_udev" != "xno"
13314 then
13315 if ${UDEV_CFLAGS:+false} :; then :
13316 if ${PKG_CONFIG+:} false; then :
13317 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13321 if ${UDEV_LIBS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13327 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13328 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13329 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13330 ac_save_CPPFLAGS=$CPPFLAGS
13331 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13332 for ac_header in libudev.h
13333 do :
13334 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13335 if test "x$ac_cv_header_libudev_h" = xyes; then :
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_LIBUDEV_H 1
13338 _ACEOF
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13340 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13341 if ${ac_cv_lib_udev_udev_new+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_lib_save_LIBS=$LIBS
13345 LIBS="-ludev $UDEV_LIBS $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char udev_new ();
13357 main ()
13359 return udev_new ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_lib_udev_udev_new=yes
13366 else
13367 ac_cv_lib_udev_udev_new=no
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13374 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13375 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13377 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13379 else
13380 UDEV_LIBS=""
13383 else
13384 UDEV_LIBS=""
13387 done
13389 CPPFLAGS=$ac_save_CPPFLAGS
13390 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13391 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13394 if test "x$UDEV_LIBS" = "x"; then :
13395 case "x$with_udev" in
13396 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13399 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "x$with_capi" != "xno"
13405 then
13406 if ${CAPI20_CFLAGS:+false} :; then :
13407 if ${PKG_CONFIG+:} false; then :
13408 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13412 if ${CAPI20_LIBS:+false} :; then :
13413 if ${PKG_CONFIG+:} false; then :
13414 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13419 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13423 for ac_header in capi20.h linux/capi.h
13424 do :
13425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13426 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13428 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13429 cat >>confdefs.h <<_ACEOF
13430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13431 _ACEOF
13435 done
13437 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13438 then
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13440 $as_echo_n "checking for -lcapi20... " >&6; }
13441 if ${ac_cv_lib_soname_capi20+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_soname_save_LIBS=$LIBS
13445 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char capi20_register ();
13457 main ()
13459 return capi20_register ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 case "$LIBEXT" in
13466 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13467 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'` ;;
13468 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13469 if ${ac_cv_lib_soname_capi20:+false} :; then :
13470 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13471 fi ;;
13472 esac
13474 rm -f core conftest.err conftest.$ac_objext \
13475 conftest$ac_exeext conftest.$ac_ext
13476 LIBS=$ac_check_soname_save_LIBS
13478 if ${ac_cv_lib_soname_capi20:+false} :; then :
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13480 $as_echo "not found" >&6; }
13482 else
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13484 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13486 cat >>confdefs.h <<_ACEOF
13487 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13488 _ACEOF
13493 CPPFLAGS=$ac_save_CPPFLAGS
13494 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13495 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13498 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13499 case "x$with_capi" in
13500 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13501 xno) ;;
13502 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13503 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13504 esac
13508 if test "x$with_cups" != "xno"
13509 then
13510 if ${CUPS_CFLAGS:+false} :; then :
13511 if ${PKG_CONFIG+:} false; then :
13512 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13515 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13516 if ${CUPS_LIBS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13521 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13522 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13523 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13524 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13525 ac_save_CPPFLAGS=$CPPFLAGS
13526 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13527 for ac_header in cups/cups.h cups/ppd.h
13528 do :
13529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13530 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13532 cat >>confdefs.h <<_ACEOF
13533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13534 _ACEOF
13538 done
13540 if test "$ac_cv_header_cups_cups_h" = "yes"
13541 then
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13543 $as_echo_n "checking for -lcups... " >&6; }
13544 if ${ac_cv_lib_soname_cups+:} false; then :
13545 $as_echo_n "(cached) " >&6
13546 else
13547 ac_check_soname_save_LIBS=$LIBS
13548 LIBS="-lcups $CUPS_LIBS $LIBS"
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13552 /* Override any GCC internal prototype to avoid an error.
13553 Use char because int might match the return type of a GCC
13554 builtin and then its argument prototype would still apply. */
13555 #ifdef __cplusplus
13556 extern "C"
13557 #endif
13558 char cupsGetDefault ();
13560 main ()
13562 return cupsGetDefault ();
13564 return 0;
13566 _ACEOF
13567 if ac_fn_c_try_link "$LINENO"; then :
13568 case "$LIBEXT" in
13569 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13570 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'` ;;
13571 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13572 if ${ac_cv_lib_soname_cups:+false} :; then :
13573 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13574 fi ;;
13575 esac
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_soname_save_LIBS
13581 if ${ac_cv_lib_soname_cups:+false} :; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13583 $as_echo "not found" >&6; }
13584 CUPS_LIBS=""
13585 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13587 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13589 cat >>confdefs.h <<_ACEOF
13590 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13591 _ACEOF
13595 else
13596 CUPS_CFLAGS=""
13597 CUPS_LIBS=""
13599 CPPFLAGS=$ac_save_CPPFLAGS
13600 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13601 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13604 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13605 case "x$with_cups" in
13606 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13607 xno) ;;
13608 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13609 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13610 esac
13614 if test "x$with_fontconfig" != "xno"
13615 then
13616 if ${FONTCONFIG_CFLAGS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13621 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13622 if ${FONTCONFIG_LIBS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13627 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13629 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13630 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13631 ac_save_CPPFLAGS=$CPPFLAGS
13632 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13633 for ac_header in fontconfig/fontconfig.h
13634 do :
13635 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13636 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13637 cat >>confdefs.h <<_ACEOF
13638 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13639 _ACEOF
13643 done
13645 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13646 then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13648 $as_echo_n "checking for -lfontconfig... " >&6; }
13649 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_soname_save_LIBS=$LIBS
13653 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char FcInit ();
13665 main ()
13667 return FcInit ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 case "$LIBEXT" in
13674 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13675 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'` ;;
13676 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13677 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13678 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13679 fi ;;
13680 esac
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 LIBS=$ac_check_soname_save_LIBS
13686 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13688 $as_echo "not found" >&6; }
13689 FONTCONFIG_CFLAGS=""
13690 else
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13692 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13694 cat >>confdefs.h <<_ACEOF
13695 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13696 _ACEOF
13700 else
13701 FONTCONFIG_CFLAGS=""
13703 CPPFLAGS=$ac_save_CPPFLAGS
13704 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13705 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13708 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13709 case "x$with_fontconfig" in
13710 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13711 xno) ;;
13712 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13713 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13714 esac
13718 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13719 then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13721 $as_echo_n "checking for -lgsm... " >&6; }
13722 if ${ac_cv_lib_soname_gsm+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 ac_check_soname_save_LIBS=$LIBS
13726 LIBS="-lgsm $LIBS"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13733 #ifdef __cplusplus
13734 extern "C"
13735 #endif
13736 char gsm_create ();
13738 main ()
13740 return gsm_create ();
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 case "$LIBEXT" in
13747 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13748 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'` ;;
13749 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13750 if ${ac_cv_lib_soname_gsm:+false} :; then :
13751 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13752 fi ;;
13753 esac
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_soname_save_LIBS
13759 if ${ac_cv_lib_soname_gsm:+false} :; then :
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13761 $as_echo "not found" >&6; }
13763 else
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13765 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13767 cat >>confdefs.h <<_ACEOF
13768 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13769 _ACEOF
13774 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13775 case "x$with_gsm" in
13776 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13777 xno) ;;
13778 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13779 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13780 esac
13784 if test "x$with_krb5" != "xno"
13785 then
13786 if ${KRB5_CFLAGS:+false} :; then :
13787 if ${PKG_CONFIG+:} false; then :
13788 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13791 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13792 if ${KRB5_LIBS:+false} :; then :
13793 if ${PKG_CONFIG+:} false; then :
13794 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13797 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13799 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13800 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13801 ac_save_CPPFLAGS=$CPPFLAGS
13802 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13803 for ac_header in krb5/krb5.h
13804 do :
13805 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13806 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13807 cat >>confdefs.h <<_ACEOF
13808 #define HAVE_KRB5_KRB5_H 1
13809 _ACEOF
13813 done
13815 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13816 then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13818 $as_echo_n "checking for -lkrb5... " >&6; }
13819 if ${ac_cv_lib_soname_krb5+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_soname_save_LIBS=$LIBS
13823 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 #ifdef __cplusplus
13831 extern "C"
13832 #endif
13833 char krb5_init_context ();
13835 main ()
13837 return krb5_init_context ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 case "$LIBEXT" in
13844 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13845 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'` ;;
13846 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13847 if ${ac_cv_lib_soname_krb5:+false} :; then :
13848 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13849 fi ;;
13850 esac
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_krb5:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13859 KRB5_CFLAGS=""
13860 else
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13862 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13866 _ACEOF
13870 else
13871 KRB5_CFLAGS=""
13873 CPPFLAGS=$ac_save_CPPFLAGS
13874 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13875 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13878 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13879 case "x$with_krb5" in
13880 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13881 xno) ;;
13882 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13883 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13884 esac
13888 if test "x$with_gssapi" != "xno"
13889 then
13890 if ${GSSAPI_CFLAGS:+false} :; then :
13891 if ${PKG_CONFIG+:} false; then :
13892 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13895 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13896 if ${GSSAPI_LIBS:+false} :; then :
13897 if ${PKG_CONFIG+:} false; then :
13898 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13901 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13903 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13904 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13905 ac_save_CPPFLAGS=$CPPFLAGS
13906 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13907 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13908 do :
13909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13910 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13912 cat >>confdefs.h <<_ACEOF
13913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13914 _ACEOF
13918 done
13920 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13921 then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13923 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13924 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char gss_init_sec_context ();
13940 main ()
13942 return gss_init_sec_context ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) 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'`
13952 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13953 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_soname_save_LIBS
13961 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13963 $as_echo "not found" >&6; }
13964 GSSAPI_CFLAGS=""
13965 else
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13967 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13969 cat >>confdefs.h <<_ACEOF
13970 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13971 _ACEOF
13975 else
13976 GSSAPI_CFLAGS=""
13978 CPPFLAGS=$ac_save_CPPFLAGS
13979 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13980 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13983 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13984 case "x$with_gssapi" in
13985 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13986 xno) ;;
13987 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13988 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13989 esac
13993 if test "x$with_jpeg" != "xno"
13994 then
13995 if ${JPEG_CFLAGS:+false} :; then :
13996 if ${PKG_CONFIG+:} false; then :
13997 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14001 if ${JPEG_LIBS:+false} :; then :
14002 if ${PKG_CONFIG+:} false; then :
14003 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14008 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14009 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14010 ac_save_CPPFLAGS=$CPPFLAGS
14011 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14012 for ac_header in jpeglib.h
14013 do :
14014 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14015 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_JPEGLIB_H 1
14018 _ACEOF
14022 done
14024 if test "$ac_cv_header_jpeglib_h" = "yes"
14025 then
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14027 $as_echo_n "checking for -ljpeg... " >&6; }
14028 if ${ac_cv_lib_soname_jpeg+:} false; then :
14029 $as_echo_n "(cached) " >&6
14030 else
14031 ac_check_soname_save_LIBS=$LIBS
14032 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 #ifdef __cplusplus
14040 extern "C"
14041 #endif
14042 char jpeg_start_decompress ();
14044 main ()
14046 return jpeg_start_decompress ();
14048 return 0;
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"; then :
14052 case "$LIBEXT" in
14053 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14054 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'` ;;
14055 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14056 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14057 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14058 fi ;;
14059 esac
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 LIBS=$ac_check_soname_save_LIBS
14065 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14067 $as_echo "not found" >&6; }
14068 JPEG_CFLAGS=""
14069 else
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14071 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14073 cat >>confdefs.h <<_ACEOF
14074 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14075 _ACEOF
14079 else
14080 JPEG_CFLAGS=""
14082 CPPFLAGS=$ac_save_CPPFLAGS
14083 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14084 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14087 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14088 case "x$with_jpeg" in
14089 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14090 xno) ;;
14091 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14092 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14093 esac
14097 if test "x$with_png" != "xno"
14098 then
14099 if ${PNG_CFLAGS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14104 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14105 if ${PNG_LIBS:+false} :; then :
14106 if ${PKG_CONFIG+:} false; then :
14107 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14110 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14112 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14113 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14114 ac_save_CPPFLAGS=$CPPFLAGS
14115 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14116 for ac_header in png.h
14117 do :
14118 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14119 if test "x$ac_cv_header_png_h" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_PNG_H 1
14122 _ACEOF
14126 done
14128 if test "$ac_cv_header_png_h" = "yes"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14131 $as_echo_n "checking for -lpng... " >&6; }
14132 if ${ac_cv_lib_soname_png+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_check_soname_save_LIBS=$LIBS
14136 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 /* Override any GCC internal prototype to avoid an error.
14141 Use char because int might match the return type of a GCC
14142 builtin and then its argument prototype would still apply. */
14143 #ifdef __cplusplus
14144 extern "C"
14145 #endif
14146 char png_create_read_struct ();
14148 main ()
14150 return png_create_read_struct ();
14152 return 0;
14154 _ACEOF
14155 if ac_fn_c_try_link "$LINENO"; then :
14156 case "$LIBEXT" in
14157 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14158 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'` ;;
14159 *) 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'`
14160 if ${ac_cv_lib_soname_png:+false} :; then :
14161 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14162 fi ;;
14163 esac
14165 rm -f core conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_soname_save_LIBS
14169 if ${ac_cv_lib_soname_png:+false} :; then :
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14171 $as_echo "not found" >&6; }
14172 PNG_CFLAGS=""
14173 else
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14175 $as_echo "$ac_cv_lib_soname_png" >&6; }
14177 cat >>confdefs.h <<_ACEOF
14178 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14179 _ACEOF
14183 else
14184 PNG_CFLAGS=""
14186 CPPFLAGS=$ac_save_CPPFLAGS
14187 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14188 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14191 if test "x$ac_cv_lib_soname_png" = "x"; then :
14192 case "x$with_png" in
14193 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14194 xno) ;;
14195 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14196 This is an error since --with-png was requested." "$LINENO" 5 ;;
14197 esac
14201 if test "x$with_tiff" != "xno"
14202 then
14203 if ${TIFF_CFLAGS:+false} :; then :
14204 if ${PKG_CONFIG+:} false; then :
14205 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14209 if ${TIFF_LIBS:+false} :; then :
14210 if ${PKG_CONFIG+:} false; then :
14211 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14216 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14217 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14218 ac_save_CPPFLAGS=$CPPFLAGS
14219 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14220 for ac_header in tiffio.h
14221 do :
14222 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14223 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14224 cat >>confdefs.h <<_ACEOF
14225 #define HAVE_TIFFIO_H 1
14226 _ACEOF
14230 done
14232 if test "$ac_cv_header_tiffio_h" = "yes"
14233 then
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14235 $as_echo_n "checking for -ltiff... " >&6; }
14236 if ${ac_cv_lib_soname_tiff+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_check_soname_save_LIBS=$LIBS
14240 LIBS="-ltiff $TIFF_LIBS $LIBS"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 #ifdef __cplusplus
14248 extern "C"
14249 #endif
14250 char TIFFClientOpen ();
14252 main ()
14254 return TIFFClientOpen ();
14256 return 0;
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 case "$LIBEXT" in
14261 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14262 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'` ;;
14263 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14264 if ${ac_cv_lib_soname_tiff:+false} :; then :
14265 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14266 fi ;;
14267 esac
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 LIBS=$ac_check_soname_save_LIBS
14273 if ${ac_cv_lib_soname_tiff:+false} :; then :
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14275 $as_echo "not found" >&6; }
14277 else
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14279 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14281 cat >>confdefs.h <<_ACEOF
14282 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14283 _ACEOF
14288 CPPFLAGS=$ac_save_CPPFLAGS
14289 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14290 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14293 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14294 case "x$with_tiff" in
14295 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14296 xno) ;;
14297 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14298 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14299 esac
14303 if test "x$with_mpg123" != "xno"
14304 then
14305 if ${MPG123_CFLAGS:+false} :; then :
14306 if ${PKG_CONFIG+:} false; then :
14307 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14311 if ${MPG123_LIBS:+false} :; then :
14312 if ${PKG_CONFIG+:} false; then :
14313 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14317 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14318 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14319 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14320 ac_save_CPPFLAGS=$CPPFLAGS
14321 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14322 for ac_header in mpg123.h
14323 do :
14324 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14325 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14326 cat >>confdefs.h <<_ACEOF
14327 #define HAVE_MPG123_H 1
14328 _ACEOF
14332 done
14334 if test "$ac_cv_header_mpg123_h" = "yes"
14335 then
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14337 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14338 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_check_lib_save_LIBS=$LIBS
14342 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14349 #ifdef __cplusplus
14350 extern "C"
14351 #endif
14352 char mpg123_feed ();
14354 main ()
14356 return mpg123_feed ();
14358 return 0;
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_lib_mpg123_mpg123_feed=yes
14363 else
14364 ac_cv_lib_mpg123_mpg123_feed=no
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_lib_save_LIBS
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14371 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14372 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14374 else
14375 MPG123_LIBS=""
14378 else
14379 MPG123_CFLAGS=""
14380 MPG123_LIBS=""
14382 CPPFLAGS=$ac_save_CPPFLAGS
14383 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14384 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14387 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14388 case "x$with_mpg123" in
14389 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14390 xno) ;;
14391 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14392 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14393 esac
14394 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14397 if test "$ac_cv_header_AL_al_h" = "yes"
14398 then
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14400 $as_echo_n "checking for -lopenal... " >&6; }
14401 if ${ac_cv_lib_soname_openal+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 ac_check_soname_save_LIBS=$LIBS
14405 LIBS="-lopenal $LIBS"
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14409 /* Override any GCC internal prototype to avoid an error.
14410 Use char because int might match the return type of a GCC
14411 builtin and then its argument prototype would still apply. */
14412 #ifdef __cplusplus
14413 extern "C"
14414 #endif
14415 char alGetSource3i ();
14417 main ()
14419 return alGetSource3i ();
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 case "$LIBEXT" in
14426 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14427 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'` ;;
14428 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14429 if ${ac_cv_lib_soname_openal:+false} :; then :
14430 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14431 fi ;;
14432 esac
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_soname_save_LIBS
14438 if ${ac_cv_lib_soname_openal:+false} :; then :
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14440 $as_echo "not found" >&6; }
14442 else
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14444 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14446 cat >>confdefs.h <<_ACEOF
14447 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14448 _ACEOF
14450 OPENAL_LIBS="-lopenal"
14452 ac_cv_lib_openal=yes
14454 cat >>confdefs.h <<_ACEOF
14455 #define HAVE_OPENAL 1
14456 _ACEOF
14460 if test "x$ac_cv_lib_openal" != xyes; then :
14461 case "x$with_openal" in
14462 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14463 xno) ;;
14464 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14465 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14466 esac
14467 enable_openal32=${enable_openal32:-no}
14470 if test "x$ac_cv_lib_openal" = xyes
14471 then
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14473 $as_echo_n "checking for openal-soft... " >&6; }
14474 if ${ac_cv_have_openalsoft+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 #include <AL/al.h>
14480 #include <AL/alc.h>
14481 #include <AL/alext.h>
14482 LPALCRENDERSAMPLESSOFT x;
14484 main ()
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_compile "$LINENO"; then :
14492 ac_cv_have_openalsoft=yes
14493 else
14494 ac_cv_have_openalsoft=no
14496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14499 $as_echo "$ac_cv_have_openalsoft" >&6; }
14501 if test "x$ac_cv_have_openalsoft" != xyes
14502 then
14503 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14504 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14505 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14506 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14507 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14508 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14509 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14510 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14511 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14512 enable_xapofx1_1=${enable_xapofx1_1:-no}
14513 enable_xapofx1_2=${enable_xapofx1_2:-no}
14514 enable_xapofx1_3=${enable_xapofx1_3:-no}
14515 enable_xapofx1_4=${enable_xapofx1_4:-no}
14516 enable_xapofx1_5=${enable_xapofx1_5:-no}
14517 enable_xaudio2_0=${enable_xaudio2_0:-no}
14518 enable_xaudio2_1=${enable_xaudio2_1:-no}
14519 enable_xaudio2_2=${enable_xaudio2_2:-no}
14520 enable_xaudio2_3=${enable_xaudio2_3:-no}
14521 enable_xaudio2_4=${enable_xaudio2_4:-no}
14522 enable_xaudio2_5=${enable_xaudio2_5:-no}
14523 enable_xaudio2_6=${enable_xaudio2_6:-no}
14524 enable_xaudio2_7=${enable_xaudio2_7:-no}
14525 enable_xaudio2_8=${enable_xaudio2_8:-no}
14526 enable_xaudio2_9=${enable_xaudio2_9:-no}
14529 if test "$ac_cv_header_kstat_h" = "yes"
14530 then
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14532 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14533 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_check_lib_save_LIBS=$LIBS
14537 LIBS="-lkstat $LIBS"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 #ifdef __cplusplus
14545 extern "C"
14546 #endif
14547 char kstat_open ();
14549 main ()
14551 return kstat_open ();
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"; then :
14557 ac_cv_lib_kstat_kstat_open=yes
14558 else
14559 ac_cv_lib_kstat_kstat_open=no
14561 rm -f core conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_check_lib_save_LIBS
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14566 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14567 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14569 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14571 KSTAT_LIBS="-lkstat"
14577 if test "$ac_cv_header_libprocstat_h" = "yes"
14578 then
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14580 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14581 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_check_lib_save_LIBS=$LIBS
14585 LIBS="-lprocstat $LIBS"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14592 #ifdef __cplusplus
14593 extern "C"
14594 #endif
14595 char procstat_open_sysctl ();
14597 main ()
14599 return procstat_open_sysctl ();
14601 return 0;
14603 _ACEOF
14604 if ac_fn_c_try_link "$LINENO"; then :
14605 ac_cv_lib_procstat_procstat_open_sysctl=yes
14606 else
14607 ac_cv_lib_procstat_procstat_open_sysctl=no
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_lib_save_LIBS
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14614 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14615 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14617 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14619 PROCSTAT_LIBS="-lprocstat"
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14626 $as_echo_n "checking for -lodbc... " >&6; }
14627 if ${ac_cv_lib_soname_odbc+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 ac_check_soname_save_LIBS=$LIBS
14631 LIBS="-lodbc $LIBS"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14638 #ifdef __cplusplus
14639 extern "C"
14640 #endif
14641 char SQLConnect ();
14643 main ()
14645 return SQLConnect ();
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 case "$LIBEXT" in
14652 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14653 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'` ;;
14654 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14655 if ${ac_cv_lib_soname_odbc:+false} :; then :
14656 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14657 fi ;;
14658 esac
14660 rm -f core conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 LIBS=$ac_check_soname_save_LIBS
14664 if ${ac_cv_lib_soname_odbc:+false} :; then :
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14666 $as_echo "not found" >&6; }
14667 cat >>confdefs.h <<_ACEOF
14668 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14669 _ACEOF
14671 else
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14673 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14675 cat >>confdefs.h <<_ACEOF
14676 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14677 _ACEOF
14682 if test "x$with_netapi" != "xno"
14683 then
14684 if ${NETAPI_CFLAGS:+false} :; then :
14685 if ${PKG_CONFIG+:} false; then :
14686 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14690 if ${NETAPI_LIBS:+false} :; then :
14691 if ${PKG_CONFIG+:} false; then :
14692 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14697 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14698 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14699 ac_save_CPPFLAGS=$CPPFLAGS
14700 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14702 $as_echo_n "checking for -lnetapi... " >&6; }
14703 if ${ac_cv_lib_soname_netapi+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_soname_save_LIBS=$LIBS
14707 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char libnetapi_init ();
14719 main ()
14721 return libnetapi_init ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 case "$LIBEXT" in
14728 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14729 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'` ;;
14730 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14731 if ${ac_cv_lib_soname_netapi:+false} :; then :
14732 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14733 fi ;;
14734 esac
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_soname_save_LIBS
14740 if ${ac_cv_lib_soname_netapi:+false} :; then :
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14742 $as_echo "not found" >&6; }
14743 cat >>confdefs.h <<_ACEOF
14744 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14745 _ACEOF
14747 else
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14749 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14751 cat >>confdefs.h <<_ACEOF
14752 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14753 _ACEOF
14757 CPPFLAGS=$ac_save_CPPFLAGS
14758 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14759 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14763 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14764 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14765 then
14766 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14770 EXTRACFLAGS=""
14772 if test "x${GCC}" = "xyes"
14773 then
14774 EXTRACFLAGS="-Wall -pipe"
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14777 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14778 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 if test "$cross_compiling" = yes; then :
14782 ac_cv_c_gcc_strength_bug="no"
14783 else
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int L[4] = {0,1,2,3};
14788 main ()
14790 static int Array[3];
14791 unsigned int B = 3;
14792 int i;
14793 for(i=0; i<B; i++) Array[i] = i - 3;
14794 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14795 L[i] = 4;
14796 return (Array[1] != -2 || L[2] != 3)
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_run "$LINENO"; then :
14802 ac_cv_c_gcc_strength_bug="no"
14803 else
14804 ac_cv_c_gcc_strength_bug="yes"
14806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14807 conftest.$ac_objext conftest.beam conftest.$ac_ext
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14812 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14813 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14814 then
14815 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14819 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14820 if ${ac_cv_cflags__fno_builtin+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_wine_try_cflags_saved=$CFLAGS
14824 CFLAGS="$CFLAGS -fno-builtin"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int main(int argc, char **argv) { return 0; }
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_cflags__fno_builtin=yes
14831 else
14832 ac_cv_cflags__fno_builtin=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 CFLAGS=$ac_wine_try_cflags_saved
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14839 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14840 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14841 BUILTINFLAG="-fno-builtin"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14845 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14846 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_wine_try_cflags_saved=$CFLAGS
14850 CFLAGS="$CFLAGS -fno-strict-aliasing"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 int main(int argc, char **argv) { return 0; }
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_cflags__fno_strict_aliasing=yes
14857 else
14858 ac_cv_cflags__fno_strict_aliasing=no
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14862 CFLAGS=$ac_wine_try_cflags_saved
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14865 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14866 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14867 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14870 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14871 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 ac_wine_try_cflags_saved=$CFLAGS
14875 CFLAGS="$CFLAGS -fexcess-precision=standard"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int main(int argc, char **argv) { return 0; }
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_cflags__fexcess_precision_standard=yes
14882 else
14883 ac_cv_cflags__fexcess_precision_standard=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 CFLAGS=$ac_wine_try_cflags_saved
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14890 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14891 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14892 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14895 saved_CFLAGS=$CFLAGS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14897 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14898 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 ac_wine_try_cflags_saved=$CFLAGS
14902 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 int main(int argc, char **argv) { return 0; }
14906 _ACEOF
14907 if ac_fn_c_try_link "$LINENO"; then :
14908 ac_cv_cflags__Werror_unknown_warning_option=yes
14909 else
14910 ac_cv_cflags__Werror_unknown_warning_option=no
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext conftest.$ac_ext
14914 CFLAGS=$ac_wine_try_cflags_saved
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14917 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14918 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14919 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14922 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14923 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 ac_wine_try_cflags_saved=$CFLAGS
14927 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14930 int main(int argc, char **argv) { return 0; }
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 ac_cv_cflags__Wdeclaration_after_statement=yes
14934 else
14935 ac_cv_cflags__Wdeclaration_after_statement=no
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext conftest.$ac_ext
14939 CFLAGS=$ac_wine_try_cflags_saved
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14942 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14943 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14944 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14947 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14948 if ${ac_cv_cflags__Wempty_body+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 ac_wine_try_cflags_saved=$CFLAGS
14952 CFLAGS="$CFLAGS -Wempty-body"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 int main(int argc, char **argv) { return 0; }
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_cflags__Wempty_body=yes
14959 else
14960 ac_cv_cflags__Wempty_body=no
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 CFLAGS=$ac_wine_try_cflags_saved
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14967 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14968 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14969 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14972 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14973 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_wine_try_cflags_saved=$CFLAGS
14977 CFLAGS="$CFLAGS -Wignored-qualifiers"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 int main(int argc, char **argv) { return 0; }
14981 _ACEOF
14982 if ac_fn_c_try_link "$LINENO"; then :
14983 ac_cv_cflags__Wignored_qualifiers=yes
14984 else
14985 ac_cv_cflags__Wignored_qualifiers=no
14987 rm -f core conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext conftest.$ac_ext
14989 CFLAGS=$ac_wine_try_cflags_saved
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14992 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14993 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14994 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14997 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14998 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 ac_wine_try_cflags_saved=$CFLAGS
15002 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 int main(int argc, char **argv) { return 0; }
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 ac_cv_cflags__Wpacked_not_aligned=yes
15009 else
15010 ac_cv_cflags__Wpacked_not_aligned=no
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15014 CFLAGS=$ac_wine_try_cflags_saved
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15017 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15018 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15019 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15022 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15023 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 ac_wine_try_cflags_saved=$CFLAGS
15027 CFLAGS="$CFLAGS -Wpragma-pack"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15030 int main(int argc, char **argv) { return 0; }
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"; then :
15033 ac_cv_cflags__Wpragma_pack=yes
15034 else
15035 ac_cv_cflags__Wpragma_pack=no
15037 rm -f core conftest.err conftest.$ac_objext \
15038 conftest$ac_exeext conftest.$ac_ext
15039 CFLAGS=$ac_wine_try_cflags_saved
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15042 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15043 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15044 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15047 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15048 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_wine_try_cflags_saved=$CFLAGS
15052 CFLAGS="$CFLAGS -Wshift-overflow=2"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 int main(int argc, char **argv) { return 0; }
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 ac_cv_cflags__Wshift_overflow_2=yes
15059 else
15060 ac_cv_cflags__Wshift_overflow_2=no
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15067 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15068 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15069 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15072 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15073 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 ac_wine_try_cflags_saved=$CFLAGS
15077 CFLAGS="$CFLAGS -Wstrict-prototypes"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 int main(int argc, char **argv) { return 0; }
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 ac_cv_cflags__Wstrict_prototypes=yes
15084 else
15085 ac_cv_cflags__Wstrict_prototypes=no
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15089 CFLAGS=$ac_wine_try_cflags_saved
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15092 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15093 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15094 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15097 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15098 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_wine_try_cflags_saved=$CFLAGS
15102 CFLAGS="$CFLAGS -Wtype-limits"
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 int main(int argc, char **argv) { return 0; }
15106 _ACEOF
15107 if ac_fn_c_try_link "$LINENO"; then :
15108 ac_cv_cflags__Wtype_limits=yes
15109 else
15110 ac_cv_cflags__Wtype_limits=no
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15114 CFLAGS=$ac_wine_try_cflags_saved
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15117 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15118 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15119 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15122 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15123 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_wine_try_cflags_saved=$CFLAGS
15127 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 int main(int argc, char **argv) { return 0; }
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 ac_cv_cflags__Wunused_but_set_parameter=yes
15134 else
15135 ac_cv_cflags__Wunused_but_set_parameter=no
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15139 CFLAGS=$ac_wine_try_cflags_saved
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15142 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15143 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15144 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15147 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15148 if ${ac_cv_cflags__Wvla+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 ac_wine_try_cflags_saved=$CFLAGS
15152 CFLAGS="$CFLAGS -Wvla"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 int main(int argc, char **argv) { return 0; }
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_cflags__Wvla=yes
15159 else
15160 ac_cv_cflags__Wvla=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15164 CFLAGS=$ac_wine_try_cflags_saved
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15167 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15168 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15169 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15172 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15173 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_wine_try_cflags_saved=$CFLAGS
15177 CFLAGS="$CFLAGS -Wwrite-strings"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 int main(int argc, char **argv) { return 0; }
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 ac_cv_cflags__Wwrite_strings=yes
15184 else
15185 ac_cv_cflags__Wwrite_strings=no
15187 rm -f core conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext conftest.$ac_ext
15189 CFLAGS=$ac_wine_try_cflags_saved
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15192 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15193 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15194 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15198 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15199 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15200 $as_echo_n "(cached) " >&6
15201 else
15202 ac_wine_try_cflags_saved=$CFLAGS
15203 CFLAGS="$CFLAGS -Wpointer-arith"
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15206 int main(int argc, char **argv) { return 0; }
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_cflags__Wpointer_arith=yes
15210 else
15211 ac_cv_cflags__Wpointer_arith=no
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 CFLAGS=$ac_wine_try_cflags_saved
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15218 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15219 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15220 saved_string_h_CFLAGS=$CFLAGS
15221 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15223 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15224 if ${ac_cv_c_string_h_warnings+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #include <string.h>
15231 main ()
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_compile "$LINENO"; then :
15239 ac_cv_c_string_h_warnings=no
15240 else
15241 ac_cv_c_string_h_warnings=yes
15243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15246 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15247 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15248 CFLAGS=$saved_string_h_CFLAGS
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15252 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15253 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 ac_wine_try_cflags_saved=$CFLAGS
15257 CFLAGS="$CFLAGS -Wlogical-op"
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15260 int main(int argc, char **argv) { return 0; }
15261 _ACEOF
15262 if ac_fn_c_try_link "$LINENO"; then :
15263 ac_cv_cflags__Wlogical_op=yes
15264 else
15265 ac_cv_cflags__Wlogical_op=no
15267 rm -f core conftest.err conftest.$ac_objext \
15268 conftest$ac_exeext conftest.$ac_ext
15269 CFLAGS=$ac_wine_try_cflags_saved
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15272 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15273 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15274 saved_string_h_CFLAGS=$CFLAGS
15275 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15277 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15278 if ${ac_cv_c_logicalop_noisy+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15283 #include <string.h>
15284 char*f(const char *h,char n) {return strchr(h,n);}
15286 main ()
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_compile "$LINENO"; then :
15294 ac_cv_c_logicalop_noisy=no
15295 else
15296 ac_cv_c_logicalop_noisy=yes
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15301 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15302 CFLAGS=$saved_string_h_CFLAGS
15303 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15306 CFLAGS=$saved_CFLAGS
15308 for ac_flag in $CFLAGS; do
15309 case $ac_flag in
15310 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15311 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15312 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15313 $as_echo_n "(cached) " >&6
15314 else
15315 ac_wine_try_cflags_saved=$CFLAGS
15316 CFLAGS="$CFLAGS -gdwarf-2"
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15319 int main(int argc, char **argv) { return 0; }
15320 _ACEOF
15321 if ac_fn_c_try_link "$LINENO"; then :
15322 ac_cv_cflags__gdwarf_2=yes
15323 else
15324 ac_cv_cflags__gdwarf_2=no
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 CFLAGS=$ac_wine_try_cflags_saved
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15331 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15332 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15333 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15336 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15337 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15338 $as_echo_n "(cached) " >&6
15339 else
15340 ac_wine_try_cflags_saved=$CFLAGS
15341 CFLAGS="$CFLAGS -gstrict-dwarf"
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 int main(int argc, char **argv) { return 0; }
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 ac_cv_cflags__gstrict_dwarf=yes
15348 else
15349 ac_cv_cflags__gstrict_dwarf=no
15351 rm -f core conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15353 CFLAGS=$ac_wine_try_cflags_saved
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15356 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15357 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15358 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15359 fi ;;
15360 esac
15361 done
15363 case $host_cpu in
15364 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15365 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15366 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_wine_try_cflags_saved=$CFLAGS
15370 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 int main(int argc, char **argv) { return 0; }
15374 _ACEOF
15375 if ac_fn_c_try_link "$LINENO"; then :
15376 ac_cv_cflags__fno_omit_frame_pointer=yes
15377 else
15378 ac_cv_cflags__fno_omit_frame_pointer=no
15380 rm -f core conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext conftest.$ac_ext
15382 CFLAGS=$ac_wine_try_cflags_saved
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15385 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15386 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15387 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15388 fi ;;
15389 esac
15391 case $host in
15392 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15393 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15394 if ${ac_cv_cflags__Wno_format+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 ac_wine_try_cflags_saved=$CFLAGS
15398 CFLAGS="$CFLAGS -Wno-format"
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15401 int main(int argc, char **argv) { return 0; }
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"; then :
15404 ac_cv_cflags__Wno_format=yes
15405 else
15406 ac_cv_cflags__Wno_format=no
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 CFLAGS=$ac_wine_try_cflags_saved
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15413 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15414 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15415 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15416 fi ;;
15417 esac
15419 if test "x$enable_maintainer_mode" = "xyes"
15420 then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15422 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15423 if ${ac_cv_cflags__Werror+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 ac_wine_try_cflags_saved=$CFLAGS
15427 CFLAGS="$CFLAGS -Werror"
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15430 int main(int argc, char **argv) { return 0; }
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"; then :
15433 ac_cv_cflags__Werror=yes
15434 else
15435 ac_cv_cflags__Werror=no
15437 rm -f core conftest.err conftest.$ac_objext \
15438 conftest$ac_exeext conftest.$ac_ext
15439 CFLAGS=$ac_wine_try_cflags_saved
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15442 $as_echo "$ac_cv_cflags__Werror" >&6; }
15443 if test "x$ac_cv_cflags__Werror" = xyes; then :
15444 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15448 saved_CFLAGS="$CFLAGS"
15449 CFLAGS="$CFLAGS -Werror"
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15451 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15452 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15453 $as_echo_n "(cached) " >&6
15454 else
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15457 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15459 main ()
15463 return 0;
15465 _ACEOF
15466 if ac_fn_c_try_compile "$LINENO"; then :
15467 ac_cv_have_ms_hook_prologue="yes"
15468 else
15469 ac_cv_have_ms_hook_prologue="no"
15471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15474 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15475 CFLAGS="$saved_CFLAGS"
15476 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15477 then
15479 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15481 else
15482 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15489 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15490 if ${ac_cv_c_fortify_enabled+:} false; then :
15491 $as_echo_n "(cached) " >&6
15492 else
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495 #include <string.h>
15497 main ()
15499 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15500 #error Fortify enabled
15501 #endif
15503 return 0;
15505 _ACEOF
15506 if ac_fn_c_try_compile "$LINENO"; then :
15507 ac_cv_c_fortify_enabled=no
15508 else
15509 ac_cv_c_fortify_enabled=yes
15511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15514 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15515 if test "$ac_cv_c_fortify_enabled" = yes
15516 then
15517 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15522 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15523 if ${ac_cv_c_extern_prefix+:} false; then :
15524 $as_echo_n "(cached) " >&6
15525 else
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15528 extern int ac_test;
15530 main ()
15532 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15534 return 0;
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_c_extern_prefix="yes"
15539 else
15540 ac_cv_c_extern_prefix="no"
15542 rm -f core conftest.err conftest.$ac_objext \
15543 conftest$ac_exeext conftest.$ac_ext
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15546 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15548 case $host_cpu in
15549 *i[3456789]86*)
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15551 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15552 if ${ac_cv_c_stdcall_suffix+:} false; then :
15553 $as_echo_n "(cached) " >&6
15554 else
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557 #ifndef _MSC_VER
15558 #define __stdcall __attribute__((__stdcall__))
15559 #endif
15560 int __stdcall ac_test(int i) { return i; }
15562 main ()
15564 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15566 return 0;
15568 _ACEOF
15569 if ac_fn_c_try_link "$LINENO"; then :
15570 ac_cv_c_stdcall_suffix="yes"
15571 else
15572 ac_cv_c_stdcall_suffix="no"
15574 rm -f core conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15578 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15579 *) ac_cv_c_stdcall_suffix="no" ;;
15580 esac
15583 if test "$ac_cv_c_extern_prefix" = "yes"
15584 then
15585 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15587 asm_name_prefix="_"
15588 else
15589 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15591 asm_name_prefix=""
15595 if test "$ac_cv_c_stdcall_suffix" = "yes"
15596 then
15597 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15599 else
15600 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15606 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15607 if ${ac_cv_asm_func_def+:} false; then :
15608 $as_echo_n "(cached) " >&6
15609 else
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15614 main ()
15616 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 ac_cv_asm_func_def=".def"
15623 else
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15628 main ()
15630 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15632 return 0;
15634 _ACEOF
15635 if ac_fn_c_try_link "$LINENO"; then :
15636 ac_cv_asm_func_def=".type @function"
15637 else
15638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15639 /* end confdefs.h. */
15642 main ()
15644 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15646 return 0;
15648 _ACEOF
15649 if ac_fn_c_try_link "$LINENO"; then :
15650 ac_cv_asm_func_def=".type 2"
15651 else
15652 ac_cv_asm_func_def="unknown"
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15664 $as_echo "$ac_cv_asm_func_def" >&6; }
15667 case "$ac_cv_asm_func_def" in
15668 ".def")
15669 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15671 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15672 ".type @function")
15673 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15675 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15676 ".type 2")
15677 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15679 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15681 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15683 asm_func_header="" ;;
15684 esac
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15687 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15688 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15693 asm(".text\n\t.long 0");
15695 main ()
15699 return 0;
15701 _ACEOF
15702 if ac_fn_c_try_compile "$LINENO"; then :
15703 ac_cv_c_asm_outside_funcs="yes"
15704 else
15705 ac_cv_c_asm_outside_funcs="no"
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15710 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15713 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15714 if ${ac_cv_c_dot_previous+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15721 main ()
15723 asm(".text\nac_test:\t.long 0\n\t.previous");
15725 return 0;
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 ac_cv_c_dot_previous="yes"
15730 else
15731 ac_cv_c_dot_previous="no"
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15737 $as_echo "$ac_cv_c_dot_previous" >&6; }
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15740 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15741 if ${ac_cv_c_cfi_support+:} false; then :
15742 $as_echo_n "(cached) " >&6
15743 else
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15746 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15748 main ()
15752 return 0;
15754 _ACEOF
15755 if ac_fn_c_try_compile "$LINENO"; then :
15756 ac_cv_c_cfi_support="yes"
15757 else
15758 ac_cv_c_cfi_support="no"
15760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15763 $as_echo "$ac_cv_c_cfi_support" >&6; }
15765 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15766 asm_func_trailer=""
15767 if test "$ac_cv_c_dot_previous" = "yes"
15768 then
15769 asm_func_trailer="\\n\\t.previous"
15771 if test "$ac_cv_c_cfi_support" = "yes"
15772 then
15773 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15774 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15776 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15778 UNWINDFLAGS=-fasynchronous-unwind-tables
15780 else
15781 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15783 if test "x$enable_win64" = "xyes"
15784 then
15785 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15789 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15792 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15793 then
15794 cat >>confdefs.h <<_ACEOF
15795 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15796 _ACEOF
15798 else
15799 cat >>confdefs.h <<_ACEOF
15800 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15801 _ACEOF
15805 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15808 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15812 case $build_os in
15813 cygwin*|mingw32*) TOOLSEXT=".exe"
15815 esac
15817 case $host_os in
15818 linux*)
15819 case $host_cpu in
15820 *i[3456789]86*|x86_64*|*aarch64*)
15821 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15822 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15824 esac
15826 esac
15829 ac_save_CFLAGS="$CFLAGS"
15830 CFLAGS="$CFLAGS $BUILTINFLAG"
15831 for ac_func in \
15832 __res_get_state \
15833 __res_getservers \
15834 _finite \
15835 _isnan \
15836 _pclose \
15837 _popen \
15838 _snprintf \
15839 _spawnvp \
15840 _strdup \
15841 _stricmp \
15842 _strnicmp \
15843 _strtoi64 \
15844 _strtoui64 \
15845 _vsnprintf \
15846 asctime_r \
15847 chsize \
15848 dlopen \
15849 epoll_create \
15850 ffs \
15851 finitef \
15852 fnmatch \
15853 fork \
15854 fpclass \
15855 fstatfs \
15856 fstatvfs \
15857 ftruncate \
15858 futimens \
15859 futimes \
15860 futimesat \
15861 getattrlist \
15862 getauxval \
15863 getifaddrs \
15864 getopt_long_only \
15865 getpwuid \
15866 gettimeofday \
15867 getuid \
15868 isnanf \
15869 kqueue \
15870 lstat \
15871 memmove \
15872 mmap \
15873 pclose \
15874 pipe2 \
15875 poll \
15876 popen \
15877 port_create \
15878 prctl \
15879 pread \
15880 proc_pidinfo \
15881 pwrite \
15882 readdir \
15883 readlink \
15884 sched_yield \
15885 select \
15886 setproctitle \
15887 setprogname \
15888 setrlimit \
15889 settimeofday \
15890 sigaltstack \
15891 sigprocmask \
15892 snprintf \
15893 statfs \
15894 statvfs \
15895 strcasecmp \
15896 strdup \
15897 strerror \
15898 strncasecmp \
15899 strnlen \
15900 strtold \
15901 strtoll \
15902 strtoull \
15903 symlink \
15904 sysinfo \
15905 tcdrain \
15906 thr_kill2 \
15907 timegm \
15908 usleep \
15909 vsnprintf
15911 do :
15912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15917 _ACEOF
15920 done
15922 CFLAGS="$ac_save_CFLAGS"
15924 if test "$ac_cv_func_dlopen" = no
15925 then
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15927 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15928 if ${ac_cv_lib_dl_dlopen+:} false; then :
15929 $as_echo_n "(cached) " >&6
15930 else
15931 ac_check_lib_save_LIBS=$LIBS
15932 LIBS="-ldl $LIBS"
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 #ifdef __cplusplus
15940 extern "C"
15941 #endif
15942 char dlopen ();
15944 main ()
15946 return dlopen ();
15948 return 0;
15950 _ACEOF
15951 if ac_fn_c_try_link "$LINENO"; then :
15952 ac_cv_lib_dl_dlopen=yes
15953 else
15954 ac_cv_lib_dl_dlopen=no
15956 rm -f core conftest.err conftest.$ac_objext \
15957 conftest$ac_exeext conftest.$ac_ext
15958 LIBS=$ac_check_lib_save_LIBS
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15961 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15962 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15963 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15964 DL_LIBS="-ldl"
15969 ac_wine_check_funcs_save_LIBS="$LIBS"
15970 LIBS="$LIBS $DL_LIBS"
15971 for ac_func in dladdr
15972 do :
15973 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15974 if test "x$ac_cv_func_dladdr" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_DLADDR 1
15977 _ACEOF
15980 done
15982 LIBS="$ac_wine_check_funcs_save_LIBS"
15984 if test "$ac_cv_func_poll" = no
15985 then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15987 $as_echo_n "checking for poll in -lpoll... " >&6; }
15988 if ${ac_cv_lib_poll_poll+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_check_lib_save_LIBS=$LIBS
15992 LIBS="-lpoll $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 #ifdef __cplusplus
16000 extern "C"
16001 #endif
16002 char poll ();
16004 main ()
16006 return poll ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_lib_poll_poll=yes
16013 else
16014 ac_cv_lib_poll_poll=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16018 LIBS=$ac_check_lib_save_LIBS
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16021 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16022 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16023 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16024 POLL_LIBS="-lpoll"
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16031 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16032 if ${ac_cv_search_gethostbyname+:} false; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 ac_func_search_save_LIBS=$LIBS
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16039 /* Override any GCC internal prototype to avoid an error.
16040 Use char because int might match the return type of a GCC
16041 builtin and then its argument prototype would still apply. */
16042 #ifdef __cplusplus
16043 extern "C"
16044 #endif
16045 char gethostbyname ();
16047 main ()
16049 return gethostbyname ();
16051 return 0;
16053 _ACEOF
16054 for ac_lib in '' nsl; do
16055 if test -z "$ac_lib"; then
16056 ac_res="none required"
16057 else
16058 ac_res=-l$ac_lib
16059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16061 if ac_fn_c_try_link "$LINENO"; then :
16062 ac_cv_search_gethostbyname=$ac_res
16064 rm -f core conftest.err conftest.$ac_objext \
16065 conftest$ac_exeext
16066 if ${ac_cv_search_gethostbyname+:} false; then :
16067 break
16069 done
16070 if ${ac_cv_search_gethostbyname+:} false; then :
16072 else
16073 ac_cv_search_gethostbyname=no
16075 rm conftest.$ac_ext
16076 LIBS=$ac_func_search_save_LIBS
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16079 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16080 ac_res=$ac_cv_search_gethostbyname
16081 if test "$ac_res" != no; then :
16082 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16088 $as_echo_n "checking for library containing connect... " >&6; }
16089 if ${ac_cv_search_connect+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 ac_func_search_save_LIBS=$LIBS
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 char connect ();
16104 main ()
16106 return connect ();
16108 return 0;
16110 _ACEOF
16111 for ac_lib in '' socket; do
16112 if test -z "$ac_lib"; then
16113 ac_res="none required"
16114 else
16115 ac_res=-l$ac_lib
16116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16118 if ac_fn_c_try_link "$LINENO"; then :
16119 ac_cv_search_connect=$ac_res
16121 rm -f core conftest.err conftest.$ac_objext \
16122 conftest$ac_exeext
16123 if ${ac_cv_search_connect+:} false; then :
16124 break
16126 done
16127 if ${ac_cv_search_connect+:} false; then :
16129 else
16130 ac_cv_search_connect=no
16132 rm conftest.$ac_ext
16133 LIBS=$ac_func_search_save_LIBS
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16136 $as_echo "$ac_cv_search_connect" >&6; }
16137 ac_res=$ac_cv_search_connect
16138 if test "$ac_res" != no; then :
16139 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16145 $as_echo_n "checking for library containing inet_aton... " >&6; }
16146 if ${ac_cv_search_inet_aton+:} false; then :
16147 $as_echo_n "(cached) " >&6
16148 else
16149 ac_func_search_save_LIBS=$LIBS
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16153 /* Override any GCC internal prototype to avoid an error.
16154 Use char because int might match the return type of a GCC
16155 builtin and then its argument prototype would still apply. */
16156 #ifdef __cplusplus
16157 extern "C"
16158 #endif
16159 char inet_aton ();
16161 main ()
16163 return inet_aton ();
16165 return 0;
16167 _ACEOF
16168 for ac_lib in '' resolv; do
16169 if test -z "$ac_lib"; then
16170 ac_res="none required"
16171 else
16172 ac_res=-l$ac_lib
16173 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16175 if ac_fn_c_try_link "$LINENO"; then :
16176 ac_cv_search_inet_aton=$ac_res
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext
16180 if ${ac_cv_search_inet_aton+:} false; then :
16181 break
16183 done
16184 if ${ac_cv_search_inet_aton+:} false; then :
16186 else
16187 ac_cv_search_inet_aton=no
16189 rm conftest.$ac_ext
16190 LIBS=$ac_func_search_save_LIBS
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16193 $as_echo "$ac_cv_search_inet_aton" >&6; }
16194 ac_res=$ac_cv_search_inet_aton
16195 if test "$ac_res" != no; then :
16196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16201 for ac_func in \
16202 getaddrinfo \
16203 getnameinfo \
16204 getnetbyname \
16205 getprotobyname \
16206 getprotobynumber \
16207 getservbyport \
16208 inet_addr \
16209 inet_network \
16210 inet_ntop \
16211 inet_pton \
16212 sendmsg \
16213 socketpair \
16215 do :
16216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16221 _ACEOF
16224 done
16227 ac_save_LIBS=$LIBS
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16229 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16230 if ${ac_cv_search_clock_gettime+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 ac_func_search_save_LIBS=$LIBS
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16237 /* Override any GCC internal prototype to avoid an error.
16238 Use char because int might match the return type of a GCC
16239 builtin and then its argument prototype would still apply. */
16240 #ifdef __cplusplus
16241 extern "C"
16242 #endif
16243 char clock_gettime ();
16245 main ()
16247 return clock_gettime ();
16249 return 0;
16251 _ACEOF
16252 for ac_lib in '' rt; do
16253 if test -z "$ac_lib"; then
16254 ac_res="none required"
16255 else
16256 ac_res=-l$ac_lib
16257 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16259 if ac_fn_c_try_link "$LINENO"; then :
16260 ac_cv_search_clock_gettime=$ac_res
16262 rm -f core conftest.err conftest.$ac_objext \
16263 conftest$ac_exeext
16264 if ${ac_cv_search_clock_gettime+:} false; then :
16265 break
16267 done
16268 if ${ac_cv_search_clock_gettime+:} false; then :
16270 else
16271 ac_cv_search_clock_gettime=no
16273 rm conftest.$ac_ext
16274 LIBS=$ac_func_search_save_LIBS
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16277 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16278 ac_res=$ac_cv_search_clock_gettime
16279 if test "$ac_res" != no; then :
16280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16282 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16284 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16288 LIBS=$ac_save_LIBS
16290 if test "x$with_ldap" != "xno"
16291 then
16292 if ${LDAP_CFLAGS:+false} :; then :
16293 if ${PKG_CONFIG+:} false; then :
16294 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16298 if ${LDAP_LIBS:+false} :; then :
16299 if ${PKG_CONFIG+:} false; then :
16300 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16304 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16305 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16306 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16307 ac_save_CPPFLAGS=$CPPFLAGS
16308 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16309 for ac_header in ldap.h lber.h
16310 do :
16311 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16312 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16316 _ACEOF
16320 done
16322 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16323 then
16324 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16326 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16328 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16329 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 ac_check_lib_save_LIBS=$LIBS
16333 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 #ifdef __cplusplus
16341 extern "C"
16342 #endif
16343 char ldap_initialize ();
16345 main ()
16347 return ldap_initialize ();
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_link "$LINENO"; then :
16353 ac_cv_lib_ldap_r_ldap_initialize=yes
16354 else
16355 ac_cv_lib_ldap_r_ldap_initialize=no
16357 rm -f core conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16359 LIBS=$ac_check_lib_save_LIBS
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16362 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16363 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16365 $as_echo_n "checking for ber_init in -llber... " >&6; }
16366 if ${ac_cv_lib_lber_ber_init+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 ac_check_lib_save_LIBS=$LIBS
16370 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char ber_init ();
16382 main ()
16384 return ber_init ();
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 ac_cv_lib_lber_ber_init=yes
16391 else
16392 ac_cv_lib_lber_ber_init=no
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16399 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16400 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16402 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16404 else
16405 LDAP_LIBS=""
16408 else
16409 LDAP_LIBS=""
16412 else
16413 LDAP_LIBS=""
16416 ac_wine_check_funcs_save_LIBS="$LIBS"
16417 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16418 for ac_func in \
16419 ldap_count_references \
16420 ldap_first_reference \
16421 ldap_next_reference \
16422 ldap_parse_reference \
16423 ldap_parse_sort_control \
16424 ldap_parse_sortresponse_control \
16425 ldap_parse_vlv_control \
16426 ldap_parse_vlvresponse_control
16427 do :
16428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16433 _ACEOF
16436 done
16438 LIBS="$ac_wine_check_funcs_save_LIBS"
16439 else
16440 LDAP_LIBS=""
16442 CPPFLAGS=$ac_save_CPPFLAGS
16443 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16444 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16447 if test "x$LDAP_LIBS" = "x"; then :
16448 case "x$with_ldap" in
16449 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16450 xno) ;;
16451 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16452 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16453 esac
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16458 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16459 if ${wine_cv_one_arg_mkdir+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #include <sys/stat.h>
16466 main ()
16468 mkdir("foo");
16470 return 0;
16472 _ACEOF
16473 if ac_fn_c_try_compile "$LINENO"; then :
16474 wine_cv_one_arg_mkdir=yes
16475 else
16476 wine_cv_one_arg_mkdir=no
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16481 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16482 if test "$wine_cv_one_arg_mkdir" = "yes"
16483 then
16485 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16490 $as_echo_n "checking for sched_setaffinity... " >&6; }
16491 if ${wine_cv_have_sched_setaffinity+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 #define _GNU_SOURCE
16497 #include <sched.h>
16499 main ()
16501 sched_setaffinity(0, 0, 0);
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 wine_cv_have_sched_setaffinity=yes
16508 else
16509 wine_cv_have_sched_setaffinity=no
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16515 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16516 if test "$wine_cv_have_sched_setaffinity" = "yes"
16517 then
16519 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16524 $as_echo_n "checking for fallocate... " >&6; }
16525 if ${wine_cv_have_fallocate+:} false; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #define _GNU_SOURCE
16531 #include <fcntl.h>
16533 main ()
16535 fallocate(-1, 0, 0, 0);
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 wine_cv_have_fallocate=yes
16542 else
16543 wine_cv_have_fallocate=no
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16549 $as_echo "$wine_cv_have_fallocate" >&6; }
16550 if test "$wine_cv_have_fallocate" = "yes"
16551 then
16553 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16559 $as_echo_n "checking for inline... " >&6; }
16560 if ${ac_cv_c_inline+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 ac_cv_c_inline=no
16564 for ac_kw in inline __inline__ __inline; do
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16567 #ifndef __cplusplus
16568 typedef int foo_t;
16569 static $ac_kw foo_t static_foo () {return 0; }
16570 $ac_kw foo_t foo () {return 0; }
16571 #endif
16573 _ACEOF
16574 if ac_fn_c_try_compile "$LINENO"; then :
16575 ac_cv_c_inline=$ac_kw
16577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16578 test "$ac_cv_c_inline" != no && break
16579 done
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16583 $as_echo "$ac_cv_c_inline" >&6; }
16585 case $ac_cv_c_inline in
16586 inline | yes) ;;
16588 case $ac_cv_c_inline in
16589 no) ac_val=;;
16590 *) ac_val=$ac_cv_c_inline;;
16591 esac
16592 cat >>confdefs.h <<_ACEOF
16593 #ifndef __cplusplus
16594 #define inline $ac_val
16595 #endif
16596 _ACEOF
16598 esac
16600 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16601 if test "x$ac_cv_type_mode_t" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_MODE_T 1
16605 _ACEOF
16609 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16610 if test "x$ac_cv_type_off_t" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_OFF_T 1
16614 _ACEOF
16618 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16619 if test "x$ac_cv_type_pid_t" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_PID_T 1
16623 _ACEOF
16627 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16628 if test "x$ac_cv_type_size_t" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_SIZE_T 1
16632 _ACEOF
16636 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16637 if test "x$ac_cv_type_ssize_t" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_SSIZE_T 1
16641 _ACEOF
16645 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16646 if test "x$ac_cv_type_long_long" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_LONG_LONG 1
16650 _ACEOF
16654 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16655 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_FSBLKCNT_T 1
16659 _ACEOF
16663 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16664 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_FSFILCNT_T 1
16668 _ACEOF
16673 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16674 #include <signal.h>
16676 if test "x$ac_cv_type_sigset_t" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_SIGSET_T 1
16680 _ACEOF
16685 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16687 if test "x$ac_cv_type_request_sense" = xyes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_REQUEST_SENSE 1
16691 _ACEOF
16697 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16698 #ifdef HAVE_SYS_SOCKET_H
16699 #include <sys/socket.h>
16700 #endif
16701 #ifdef HAVE_SYS_SOCKETVAR_H
16702 #include <sys/socketvar.h>
16703 #endif
16704 #ifdef HAVE_NET_ROUTE_H
16705 #include <net/route.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IN_H
16708 #include <netinet/in.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IN_SYSTM_H
16711 #include <netinet/in_systm.h>
16712 #endif
16713 #ifdef HAVE_NETINET_IP_H
16714 #include <netinet/ip.h>
16715 #endif
16716 #ifdef HAVE_NETINET_IN_PCB_H
16717 #include <netinet/in_pcb.h>
16718 #endif
16720 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_STRUCT_XINPGEN 1
16724 _ACEOF
16730 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16731 #include <link.h>
16732 #endif
16733 #ifdef HAVE_SYS_LINK_H
16734 #include <sys/link.h>
16735 #endif
16737 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_R_DEBUG 1
16741 _ACEOF
16745 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16746 #include <link.h>
16747 #endif
16748 #ifdef HAVE_SYS_LINK_H
16749 #include <sys/link.h>
16750 #endif
16752 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_STRUCT_LINK_MAP 1
16756 _ACEOF
16762 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16763 #include <linux/input.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16770 _ACEOF
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16777 $as_echo_n "checking for if_nameindex... " >&6; }
16778 if ${wine_cv_have_if_nameindex+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #ifdef HAVE_SYS_TYPES_H
16784 #include <sys/types.h>
16785 #endif
16786 #ifdef HAVE_SYS_SOCKET_H
16787 #include <sys/socket.h>
16788 #endif
16789 #ifdef HAVE_NET_IF_H
16790 # include <net/if.h>
16791 #endif
16793 main ()
16795 struct if_nameindex *p = if_nameindex(); return p->if_index;
16797 return 0;
16799 _ACEOF
16800 if ac_fn_c_try_link "$LINENO"; then :
16801 wine_cv_have_if_nameindex=yes
16802 else
16803 wine_cv_have_if_nameindex=no
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16809 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16810 if test "$wine_cv_have_if_nameindex" = "yes"
16811 then
16813 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16818 $as_echo_n "checking for sigaddset... " >&6; }
16819 if ${wine_cv_have_sigaddset+:} false; then :
16820 $as_echo_n "(cached) " >&6
16821 else
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 #include <signal.h>
16826 main ()
16828 sigset_t set; sigaddset(&set,SIGTERM);
16830 return 0;
16832 _ACEOF
16833 if ac_fn_c_try_link "$LINENO"; then :
16834 wine_cv_have_sigaddset=yes
16835 else
16836 wine_cv_have_sigaddset=no
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16842 $as_echo "$wine_cv_have_sigaddset" >&6; }
16843 if test "$wine_cv_have_sigaddset" = "yes"
16844 then
16846 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16852 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16853 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16858 #include <netdb.h>
16860 main ()
16863 char *name=0;
16864 struct hostent he;
16865 struct hostent *result;
16866 char *buf=0;
16867 int bufsize=0;
16868 int errnr;
16869 char *addr=0;
16870 int addrlen=0;
16871 int addrtype=0;
16872 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16873 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16876 return 0;
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 wine_cv_linux_gethostbyname_r_6=yes
16881 else
16882 wine_cv_linux_gethostbyname_r_6=no
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16890 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16891 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16892 then
16894 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16898 if test "$ac_cv_header_linux_joystick_h" = "yes"
16899 then
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16901 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16902 if ${wine_cv_linux_joystick_22_api+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16908 #include <sys/ioctl.h>
16909 #include <sys/types.h>
16910 #include <linux/joystick.h>
16912 struct js_event blub;
16913 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16914 #error "no 2.2 header"
16915 #endif
16918 main ()
16920 /*empty*/
16922 return 0;
16924 _ACEOF
16925 if ac_fn_c_try_compile "$LINENO"; then :
16926 wine_cv_linux_joystick_22_api=yes
16927 else
16928 wine_cv_linux_joystick_22_api=no
16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16934 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16935 if test "$wine_cv_linux_joystick_22_api" = "yes"
16936 then
16938 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16944 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16945 #ifdef HAVE_SYS_PARAM_H
16946 # include <sys/param.h>
16947 #endif
16948 #ifdef HAVE_SYS_MOUNT_H
16949 # include <sys/mount.h>
16950 #endif
16951 #ifdef HAVE_SYS_VFS_H
16952 # include <sys/vfs.h>
16953 #endif
16954 #ifdef HAVE_SYS_STATFS_H
16955 # include <sys/statfs.h>
16956 #endif
16958 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STATFS_F_BFREE 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16967 #ifdef HAVE_SYS_PARAM_H
16968 # include <sys/param.h>
16969 #endif
16970 #ifdef HAVE_SYS_MOUNT_H
16971 # include <sys/mount.h>
16972 #endif
16973 #ifdef HAVE_SYS_VFS_H
16974 # include <sys/vfs.h>
16975 #endif
16976 #ifdef HAVE_SYS_STATFS_H
16977 # include <sys/statfs.h>
16978 #endif
16980 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16982 cat >>confdefs.h <<_ACEOF
16983 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16984 _ACEOF
16988 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16989 #ifdef HAVE_SYS_PARAM_H
16990 # include <sys/param.h>
16991 #endif
16992 #ifdef HAVE_SYS_MOUNT_H
16993 # include <sys/mount.h>
16994 #endif
16995 #ifdef HAVE_SYS_VFS_H
16996 # include <sys/vfs.h>
16997 #endif
16998 #ifdef HAVE_SYS_STATFS_H
16999 # include <sys/statfs.h>
17000 #endif
17002 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17004 cat >>confdefs.h <<_ACEOF
17005 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17006 _ACEOF
17010 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17011 #ifdef HAVE_SYS_PARAM_H
17012 # include <sys/param.h>
17013 #endif
17014 #ifdef HAVE_SYS_MOUNT_H
17015 # include <sys/mount.h>
17016 #endif
17017 #ifdef HAVE_SYS_VFS_H
17018 # include <sys/vfs.h>
17019 #endif
17020 #ifdef HAVE_SYS_STATFS_H
17021 # include <sys/statfs.h>
17022 #endif
17024 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_STRUCT_STATFS_F_FFREE 1
17028 _ACEOF
17032 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17033 #ifdef HAVE_SYS_PARAM_H
17034 # include <sys/param.h>
17035 #endif
17036 #ifdef HAVE_SYS_MOUNT_H
17037 # include <sys/mount.h>
17038 #endif
17039 #ifdef HAVE_SYS_VFS_H
17040 # include <sys/vfs.h>
17041 #endif
17042 #ifdef HAVE_SYS_STATFS_H
17043 # include <sys/statfs.h>
17044 #endif
17046 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17048 cat >>confdefs.h <<_ACEOF
17049 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17050 _ACEOF
17054 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17055 #ifdef HAVE_SYS_PARAM_H
17056 # include <sys/param.h>
17057 #endif
17058 #ifdef HAVE_SYS_MOUNT_H
17059 # include <sys/mount.h>
17060 #endif
17061 #ifdef HAVE_SYS_VFS_H
17062 # include <sys/vfs.h>
17063 #endif
17064 #ifdef HAVE_SYS_STATFS_H
17065 # include <sys/statfs.h>
17066 #endif
17068 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17070 cat >>confdefs.h <<_ACEOF
17071 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17072 _ACEOF
17078 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17079 #include <sys/statvfs.h>
17080 #endif
17082 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17084 cat >>confdefs.h <<_ACEOF
17085 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17086 _ACEOF
17092 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17093 #include <dirent.h>
17094 #endif
17096 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17098 cat >>confdefs.h <<_ACEOF
17099 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17100 _ACEOF
17106 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17107 #ifdef HAVE_SYS_SOCKET_H
17108 # include <sys/socket.h>
17109 #endif
17110 #ifdef HAVE_SYS_UN_H
17111 # include <sys/un.h>
17112 #endif
17114 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17118 _ACEOF
17122 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17123 #ifdef HAVE_SYS_SOCKET_H
17124 # include <sys/socket.h>
17125 #endif
17126 #ifdef HAVE_SYS_UN_H
17127 # include <sys/un.h>
17128 #endif
17130 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17132 cat >>confdefs.h <<_ACEOF
17133 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17134 _ACEOF
17138 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17139 #ifdef HAVE_SYS_SOCKET_H
17140 # include <sys/socket.h>
17141 #endif
17142 #ifdef HAVE_SYS_UN_H
17143 # include <sys/un.h>
17144 #endif
17146 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17150 _ACEOF
17156 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17157 #ifdef HAVE_SCSI_SG_H
17158 #include <scsi/sg.h>
17159 #endif
17161 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_SCSIREQ_T_CMD 1
17165 _ACEOF
17169 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>
17170 #ifdef HAVE_SCSI_SG_H
17171 #include <scsi/sg.h>
17172 #endif
17174 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17176 cat >>confdefs.h <<_ACEOF
17177 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17178 _ACEOF
17184 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17186 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17188 cat >>confdefs.h <<_ACEOF
17189 #define HAVE_SIGINFO_T_SI_FD 1
17190 _ACEOF
17196 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17197 #ifdef HAVE_SYS_MTIO_H
17198 #include <sys/mtio.h>
17199 #endif
17201 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17205 _ACEOF
17209 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17210 #ifdef HAVE_SYS_MTIO_H
17211 #include <sys/mtio.h>
17212 #endif
17214 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17218 _ACEOF
17222 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17223 #ifdef HAVE_SYS_MTIO_H
17224 #include <sys/mtio.h>
17225 #endif
17227 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17231 _ACEOF
17237 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17238 #include <getopt.h>
17239 #endif
17241 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17243 cat >>confdefs.h <<_ACEOF
17244 #define HAVE_STRUCT_OPTION_NAME 1
17245 _ACEOF
17251 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17252 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17254 cat >>confdefs.h <<_ACEOF
17255 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17256 _ACEOF
17260 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17261 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17263 cat >>confdefs.h <<_ACEOF
17264 #define HAVE_STRUCT_STAT_ST_MTIM 1
17265 _ACEOF
17269 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17270 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17272 cat >>confdefs.h <<_ACEOF
17273 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17274 _ACEOF
17278 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17279 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_STRUCT_STAT_ST_CTIM 1
17283 _ACEOF
17287 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17288 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17290 cat >>confdefs.h <<_ACEOF
17291 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17292 _ACEOF
17296 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17297 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_STRUCT_STAT_ST_ATIM 1
17301 _ACEOF
17305 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17306 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17310 _ACEOF
17314 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17315 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17319 _ACEOF
17323 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17324 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17328 _ACEOF
17332 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17333 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17337 _ACEOF
17341 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17342 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17346 _ACEOF
17350 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17351 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17353 cat >>confdefs.h <<_ACEOF
17354 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17355 _ACEOF
17361 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
17362 #include <sys/types.h>
17363 #endif
17364 #ifdef HAVE_NETINET_IN_H
17365 #include <netinet/in.h>
17366 #endif
17368 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17370 cat >>confdefs.h <<_ACEOF
17371 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17372 _ACEOF
17378 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17379 #include <sys/types.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IN_H
17382 #include <netinet/in.h>
17383 #endif
17384 #ifdef HAVE_RESOLV_H
17385 #include <resolv.h>
17386 #endif
17388 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17390 cat >>confdefs.h <<_ACEOF
17391 #define HAVE_STRUCT___RES_STATE 1
17392 _ACEOF
17398 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
17399 #include <resolv.h>
17400 #endif
17402 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17404 cat >>confdefs.h <<_ACEOF
17405 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17406 _ACEOF
17412 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17413 #include <sys/types.h>
17414 #endif
17415 #ifdef HAVE_NETINET_IN_H
17416 # include <netinet/in.h>
17417 #endif
17418 #ifdef HAVE_ARPA_NAMESER_H
17419 # include <arpa/nameser.h>
17420 #endif
17422 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17424 cat >>confdefs.h <<_ACEOF
17425 #define HAVE_NS_MSG__MSG_PTR 1
17426 _ACEOF
17432 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17433 #include <sys/types.h>
17434 #endif
17435 #ifdef HAVE_NETINET_IN_H
17436 #include <netinet/in.h>
17437 #endif
17438 #ifdef HAVE_NETINET_IP_H
17439 #include <netinet/ip.h>
17440 #endif
17441 #ifdef HAVE_NETINET_IP_ICMP_H
17442 #include <netinet/ip_icmp.h>
17443 #endif
17444 #ifdef HAVE_NETINET_ICMP_VAR_H
17445 #include <netinet/icmp_var.h>
17446 #endif
17448 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17452 _ACEOF
17458 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17459 #include <sys/types.h>
17460 #endif
17461 #ifdef HAVE_ALIAS_H
17462 #include <alias.h>
17463 #endif
17464 #ifdef HAVE_SYS_SOCKET_H
17465 #include <sys/socket.h>
17466 #endif
17467 #ifdef HAVE_SYS_SOCKETVAR_H
17468 #include <sys/socketvar.h>
17469 #endif
17470 #ifdef HAVE_SYS_TIMEOUT_H
17471 #include <sys/timeout.h>
17472 #endif
17473 #ifdef HAVE_NETINET_IN_H
17474 #include <netinet/in.h>
17475 #endif
17476 #ifdef HAVE_NETINET_IN_SYSTM_H
17477 #include <netinet/in_systm.h>
17478 #endif
17479 #ifdef HAVE_NETINET_IP_H
17480 #include <netinet/ip.h>
17481 #endif
17482 #ifdef HAVE_NETINET_IP_VAR_H
17483 #include <netinet/ip_var.h>
17484 #endif
17485 #ifdef HAVE_NETINET_IP_ICMP_H
17486 #include <netinet/ip_icmp.h>
17487 #endif
17488 #ifdef HAVE_NETINET_ICMP_VAR_H
17489 #include <netinet/icmp_var.h>
17490 #endif
17492 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17494 cat >>confdefs.h <<_ACEOF
17495 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17496 _ACEOF
17502 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17503 #include <sys/types.h>
17504 #endif
17505 #ifdef HAVE_SYS_SOCKETVAR_H
17506 #include <sys/socketvar.h>
17507 #endif
17508 #ifdef HAVE_NETINET_IN_H
17509 #include <netinet/in.h>
17510 #endif
17511 #ifdef HAVE_NETINET_IP_VAR_H
17512 #include <netinet/ip_var.h>
17513 #endif
17515 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17517 cat >>confdefs.h <<_ACEOF
17518 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17519 _ACEOF
17525 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
17526 #include <netinet/ip_var.h>
17527 #endif
17529 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17531 cat >>confdefs.h <<_ACEOF
17532 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17533 _ACEOF
17539 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17540 #include <sys/types.h>
17541 #endif
17542 #ifdef HAVE_SYS_SOCKETVAR_H
17543 #include <sys/socketvar.h>
17544 #endif
17545 #ifdef HAVE_NETINET_IN_H
17546 #include <netinet/in.h>
17547 #endif
17548 #ifdef HAVE_NETINET_TCP_H
17549 #include <netinet/tcp.h>
17550 #endif
17551 #ifdef HAVE_NETINET_TCP_VAR_H
17552 #include <netinet/tcp_var.h>
17553 #endif
17555 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17557 cat >>confdefs.h <<_ACEOF
17558 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17559 _ACEOF
17565 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
17566 #include <netinet/tcp_var.h>
17567 #endif
17569 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17571 cat >>confdefs.h <<_ACEOF
17572 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17573 _ACEOF
17579 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17580 #include <sys/types.h>
17581 #endif
17582 #ifdef HAVE_NETINET_IN_H
17583 #include <netinet/in.h>
17584 #endif
17585 #ifdef HAVE_NETINET_IP_VAR_H
17586 #include <netinet/ip_var.h>
17587 #endif
17588 #ifdef HAVE_NETINET_UDP_H
17589 #include <netinet/udp.h>
17590 #endif
17591 #ifdef HAVE_NETINET_UDP_VAR_H
17592 #include <netinet/udp_var.h>
17593 #endif
17595 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17597 cat >>confdefs.h <<_ACEOF
17598 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17599 _ACEOF
17605 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17606 #include <sys/types.h>
17607 #endif
17608 #ifdef HAVE_NET_IF_H
17609 # include <net/if.h>
17610 #endif
17612 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17614 cat >>confdefs.h <<_ACEOF
17615 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17616 _ACEOF
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17623 $as_echo_n "checking for timezone variable... " >&6; }
17624 if ${ac_cv_have_timezone+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <time.h>
17631 main ()
17633 timezone = 1
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_link "$LINENO"; then :
17639 ac_cv_have_timezone="yes"
17640 else
17641 ac_cv_have_timezone="no"
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17647 $as_echo "$ac_cv_have_timezone" >&6; }
17648 if test "$ac_cv_have_timezone" = "yes"
17649 then
17651 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17655 $as_echo_n "checking for daylight variable... " >&6; }
17656 if ${ac_cv_have_daylight+:} false; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17661 #include <time.h>
17663 main ()
17665 daylight = 1
17667 return 0;
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_have_daylight="yes"
17672 else
17673 ac_cv_have_daylight="no"
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17679 $as_echo "$ac_cv_have_daylight" >&6; }
17680 if test "$ac_cv_have_daylight" = "yes"
17681 then
17683 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17687 ac_save_LIBS="$LIBS"
17688 LIBS="$LIBS -lm"
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17690 $as_echo_n "checking for isfinite... " >&6; }
17691 if ${ac_cv_have_isfinite+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #define _GNU_SOURCE
17697 #include <math.h>
17699 main ()
17701 float f = 0.0; return isfinite(f)
17703 return 0;
17705 _ACEOF
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 ac_cv_have_isfinite="yes"
17708 else
17709 ac_cv_have_isfinite="no"
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17715 $as_echo "$ac_cv_have_isfinite" >&6; }
17716 if test "$ac_cv_have_isfinite" = "yes"
17717 then
17719 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17724 $as_echo_n "checking for isinf... " >&6; }
17725 if ${ac_cv_have_isinf+:} false; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17730 #include <math.h>
17732 main ()
17734 float f = 0.0; return isinf(f)
17736 return 0;
17738 _ACEOF
17739 if ac_fn_c_try_link "$LINENO"; then :
17740 ac_cv_have_isinf="yes"
17741 else
17742 ac_cv_have_isinf="no"
17744 rm -f core conftest.err conftest.$ac_objext \
17745 conftest$ac_exeext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17748 $as_echo "$ac_cv_have_isinf" >&6; }
17749 if test "$ac_cv_have_isinf" = "yes"
17750 then
17752 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17757 $as_echo_n "checking for isnan... " >&6; }
17758 if ${ac_cv_have_isnan+:} false; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 #include <math.h>
17765 main ()
17767 float f = 0.0; return isnan(f)
17769 return 0;
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_have_isnan="yes"
17774 else
17775 ac_cv_have_isnan="no"
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17781 $as_echo "$ac_cv_have_isnan" >&6; }
17782 if test "$ac_cv_have_isnan" = "yes"
17783 then
17785 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17789 for ac_func in \
17790 acosh \
17791 acoshf \
17792 asinh \
17793 asinhf \
17794 atanh \
17795 atanhf \
17796 cbrt \
17797 cbrtf \
17798 erf \
17799 erfc \
17800 erfcf \
17801 erff \
17802 exp2 \
17803 exp2f \
17804 expm1 \
17805 expm1f \
17806 lgamma \
17807 lgammaf \
17808 llrint \
17809 llrintf \
17810 llround \
17811 llroundf \
17812 log1p \
17813 log1pf \
17814 log2 \
17815 log2f \
17816 lrint \
17817 lrintf \
17818 lround \
17819 lroundf \
17820 nearbyint \
17821 nearbyintf \
17822 powl \
17823 remainder \
17824 remainderf \
17825 rint \
17826 rintf \
17827 round \
17828 roundf \
17829 trunc \
17830 truncf
17832 do :
17833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17835 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17836 cat >>confdefs.h <<_ACEOF
17837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17838 _ACEOF
17841 done
17843 LIBS="$ac_save_LIBS"
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17846 $as_echo_n "checking for __builtin_clz... " >&6; }
17847 if ${ac_cv_have___builtin_clz+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17854 main ()
17856 return __builtin_clz(1)
17858 return 0;
17860 _ACEOF
17861 if ac_fn_c_try_link "$LINENO"; then :
17862 ac_cv_have___builtin_clz="yes"
17863 else
17864 ac_cv_have___builtin_clz="no"
17866 rm -f core conftest.err conftest.$ac_objext \
17867 conftest$ac_exeext conftest.$ac_ext
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17870 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17871 if test "$ac_cv_have___builtin_clz" = "yes"
17872 then
17874 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17879 $as_echo_n "checking for __builtin_popcount... " >&6; }
17880 if ${ac_cv_have___builtin_popcount+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17887 main ()
17889 return __builtin_popcount(1)
17891 return 0;
17893 _ACEOF
17894 if ac_fn_c_try_link "$LINENO"; then :
17895 ac_cv_have___builtin_popcount="yes"
17896 else
17897 ac_cv_have___builtin_popcount="no"
17899 rm -f core conftest.err conftest.$ac_objext \
17900 conftest$ac_exeext conftest.$ac_ext
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17903 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17904 if test "$ac_cv_have___builtin_popcount" = "yes"
17905 then
17907 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17912 $as_echo_n "checking for __clear_cache... " >&6; }
17913 if ${ac_cv_have___clear_cache+:} false; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17920 main ()
17922 __clear_cache((void*)0, (void*)0); return 0;
17924 return 0;
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"; then :
17928 ac_cv_have___clear_cache="yes"
17929 else
17930 ac_cv_have___clear_cache="no"
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17936 $as_echo "$ac_cv_have___clear_cache" >&6; }
17937 if test "$ac_cv_have___clear_cache" = "yes"
17938 then
17940 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17945 case $host_cpu in
17946 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17947 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17948 if ${ac_cv_cpp_def___i386__+:} false; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 #ifndef __i386__
17955 #endif
17956 _ACEOF
17957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17958 $EGREP "yes" >/dev/null 2>&1; then :
17959 ac_cv_cpp_def___i386__=yes
17960 else
17961 ac_cv_cpp_def___i386__=no
17963 rm -f conftest*
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17967 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17968 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17969 CFLAGS="$CFLAGS -D__i386__"
17970 LINTFLAGS="$LINTFLAGS -D__i386__"
17971 fi ;;
17972 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17973 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17974 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17975 $as_echo_n "(cached) " >&6
17976 else
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17979 #ifndef __x86_64__
17981 #endif
17982 _ACEOF
17983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17984 $EGREP "yes" >/dev/null 2>&1; then :
17985 ac_cv_cpp_def___x86_64__=yes
17986 else
17987 ac_cv_cpp_def___x86_64__=no
17989 rm -f conftest*
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17993 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17994 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17995 CFLAGS="$CFLAGS -D__x86_64__"
17996 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17997 fi ;;
17998 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17999 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18000 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18001 $as_echo_n "(cached) " >&6
18002 else
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h. */
18005 #ifndef __sparc64__
18007 #endif
18008 _ACEOF
18009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18010 $EGREP "yes" >/dev/null 2>&1; then :
18011 ac_cv_cpp_def___sparc64__=yes
18012 else
18013 ac_cv_cpp_def___sparc64__=no
18015 rm -f conftest*
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18019 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18020 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18021 CFLAGS="$CFLAGS -D__sparc64__"
18022 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18023 fi ;;
18024 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18025 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18026 if ${ac_cv_cpp_def___sparc__+:} false; then :
18027 $as_echo_n "(cached) " >&6
18028 else
18029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18031 #ifndef __sparc__
18033 #endif
18034 _ACEOF
18035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18036 $EGREP "yes" >/dev/null 2>&1; then :
18037 ac_cv_cpp_def___sparc__=yes
18038 else
18039 ac_cv_cpp_def___sparc__=no
18041 rm -f conftest*
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18045 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18046 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18047 CFLAGS="$CFLAGS -D__sparc__"
18048 LINTFLAGS="$LINTFLAGS -D__sparc__"
18049 fi ;;
18050 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18051 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18052 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18057 #ifndef __powerpc64__
18059 #endif
18060 _ACEOF
18061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18062 $EGREP "yes" >/dev/null 2>&1; then :
18063 ac_cv_cpp_def___powerpc64__=yes
18064 else
18065 ac_cv_cpp_def___powerpc64__=no
18067 rm -f conftest*
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18071 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18072 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18073 CFLAGS="$CFLAGS -D__powerpc64__"
18074 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18075 fi ;;
18076 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18077 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18078 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18083 #ifndef __powerpc__
18085 #endif
18086 _ACEOF
18087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18088 $EGREP "yes" >/dev/null 2>&1; then :
18089 ac_cv_cpp_def___powerpc__=yes
18090 else
18091 ac_cv_cpp_def___powerpc__=no
18093 rm -f conftest*
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18097 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18098 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18099 CFLAGS="$CFLAGS -D__powerpc__"
18100 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18101 fi ;;
18102 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18103 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18104 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18105 $as_echo_n "(cached) " >&6
18106 else
18107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18109 #ifndef __aarch64__
18111 #endif
18112 _ACEOF
18113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18114 $EGREP "yes" >/dev/null 2>&1; then :
18115 ac_cv_cpp_def___aarch64__=yes
18116 else
18117 ac_cv_cpp_def___aarch64__=no
18119 rm -f conftest*
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18123 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18124 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18125 CFLAGS="$CFLAGS -D__aarch64__"
18126 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18127 fi ;;
18128 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18129 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18130 if ${ac_cv_cpp_def___arm__+:} false; then :
18131 $as_echo_n "(cached) " >&6
18132 else
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18135 #ifndef __arm__
18137 #endif
18138 _ACEOF
18139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18140 $EGREP "yes" >/dev/null 2>&1; then :
18141 ac_cv_cpp_def___arm__=yes
18142 else
18143 ac_cv_cpp_def___arm__=no
18145 rm -f conftest*
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18149 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18150 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18151 CFLAGS="$CFLAGS -D__arm__"
18152 LINTFLAGS="$LINTFLAGS -D__arm__"
18153 fi ;;
18154 esac
18156 case $host_vendor in
18157 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18158 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18159 if ${ac_cv_cpp_def___sun__+:} false; then :
18160 $as_echo_n "(cached) " >&6
18161 else
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18164 #ifndef __sun__
18166 #endif
18167 _ACEOF
18168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18169 $EGREP "yes" >/dev/null 2>&1; then :
18170 ac_cv_cpp_def___sun__=yes
18171 else
18172 ac_cv_cpp_def___sun__=no
18174 rm -f conftest*
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18178 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18179 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18180 CFLAGS="$CFLAGS -D__sun__"
18181 LINTFLAGS="$LINTFLAGS -D__sun__"
18182 fi ;;
18183 esac
18189 ac_config_commands="$ac_config_commands include/stamp-h"
18191 $as_echo_n "creating Makefile rules..." >&6
18193 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18194 SOCKET_LIBS = $SOCKET_LIBS
18195 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18196 IOKIT_LIBS = $IOKIT_LIBS
18197 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18198 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18199 CORESERVICES_LIBS = $CORESERVICES_LIBS
18200 APPKIT_LIBS = $APPKIT_LIBS
18201 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18202 SECURITY_LIBS = $SECURITY_LIBS
18203 COREAUDIO_LIBS = $COREAUDIO_LIBS
18204 OPENAL_LIBS = $OPENAL_LIBS
18205 OPENCL_LIBS = $OPENCL_LIBS
18206 QUICKTIME_LIBS = $QUICKTIME_LIBS
18207 CARBON_LIBS = $CARBON_LIBS
18208 PTHREAD_LIBS = $PTHREAD_LIBS
18209 X_CFLAGS = $X_CFLAGS
18210 X_PRE_LIBS = $X_PRE_LIBS
18211 X_LIBS = $X_LIBS
18212 X_EXTRA_LIBS = $X_EXTRA_LIBS
18213 PCAP_LIBS = $PCAP_LIBS
18214 XML2_CFLAGS = $XML2_CFLAGS
18215 XML2_LIBS = $XML2_LIBS
18216 XSLT_CFLAGS = $XSLT_CFLAGS
18217 XSLT_LIBS = $XSLT_LIBS
18218 DBUS_CFLAGS = $DBUS_CFLAGS
18219 DBUS_LIBS = $DBUS_LIBS
18220 HAL_CFLAGS = $HAL_CFLAGS
18221 HAL_LIBS = $HAL_LIBS
18222 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18223 GNUTLS_LIBS = $GNUTLS_LIBS
18224 SANE_CFLAGS = $SANE_CFLAGS
18225 SANE_LIBS = $SANE_LIBS
18226 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18227 GPHOTO2_LIBS = $GPHOTO2_LIBS
18228 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18229 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18230 RESOLV_LIBS = $RESOLV_LIBS
18231 LCMS2_CFLAGS = $LCMS2_CFLAGS
18232 LCMS2_LIBS = $LCMS2_LIBS
18233 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18234 FREETYPE_LIBS = $FREETYPE_LIBS
18235 Z_LIBS = $Z_LIBS
18236 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18237 PULSE_CFLAGS = $PULSE_CFLAGS
18238 PULSE_LIBS = $PULSE_LIBS
18239 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18240 GSTREAMER_LIBS = $GSTREAMER_LIBS
18241 ALSA_LIBS = $ALSA_LIBS
18242 OSS4_CFLAGS = $OSS4_CFLAGS
18243 UDEV_CFLAGS = $UDEV_CFLAGS
18244 UDEV_LIBS = $UDEV_LIBS
18245 CAPI20_CFLAGS = $CAPI20_CFLAGS
18246 CAPI20_LIBS = $CAPI20_LIBS
18247 CUPS_CFLAGS = $CUPS_CFLAGS
18248 CUPS_LIBS = $CUPS_LIBS
18249 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18250 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18251 KRB5_CFLAGS = $KRB5_CFLAGS
18252 KRB5_LIBS = $KRB5_LIBS
18253 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18254 GSSAPI_LIBS = $GSSAPI_LIBS
18255 JPEG_CFLAGS = $JPEG_CFLAGS
18256 JPEG_LIBS = $JPEG_LIBS
18257 PNG_CFLAGS = $PNG_CFLAGS
18258 PNG_LIBS = $PNG_LIBS
18259 TIFF_CFLAGS = $TIFF_CFLAGS
18260 TIFF_LIBS = $TIFF_LIBS
18261 MPG123_CFLAGS = $MPG123_CFLAGS
18262 MPG123_LIBS = $MPG123_LIBS
18263 KSTAT_LIBS = $KSTAT_LIBS
18264 PROCSTAT_LIBS = $PROCSTAT_LIBS
18265 NETAPI_CFLAGS = $NETAPI_CFLAGS
18266 NETAPI_LIBS = $NETAPI_LIBS
18267 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18268 DL_LIBS = $DL_LIBS
18269 POLL_LIBS = $POLL_LIBS
18270 RT_LIBS = $RT_LIBS
18271 LDAP_CFLAGS = $LDAP_CFLAGS
18272 LDAP_LIBS = $LDAP_LIBS
18277 wine_fn_append_rule "
18278 # Rules automatically generated by configure
18280 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18282 .INIT: Makefile
18283 .MAKEFILEDEPS:
18284 all: Makefile
18285 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18286 @./config.status Make.tmp Makefile
18287 depend: \$(MAKEDEP) dummy
18288 \$(MAKEDEP)"
18290 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18291 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18293 if test "x$enable_fonts" != xno; then
18294 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18295 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18296 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18297 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18298 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18299 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18301 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18302 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18303 ac_config_links="$ac_config_links wine:tools/winewrapper"
18304 wine_fn_config_symlink wine
18305 if test "x$enable_win64" != xno; then
18306 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18307 wine_fn_config_symlink wine64
18310 wine_fn_config_dll acledit enable_acledit
18311 wine_fn_config_dll aclui enable_aclui implib
18312 wine_fn_config_dll activeds enable_activeds implib
18313 wine_fn_config_dll actxprxy enable_actxprxy clean
18314 wine_fn_config_lib adsiid
18315 wine_fn_config_dll adsldpc enable_adsldpc
18316 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18317 wine_fn_config_test dlls/advapi32/tests advapi32_test
18318 wine_fn_config_dll advpack enable_advpack implib
18319 wine_fn_config_test dlls/advpack/tests advpack_test
18320 wine_fn_config_dll amstream enable_amstream clean
18321 wine_fn_config_test dlls/amstream/tests amstream_test
18322 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18323 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18324 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18325 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18327 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18332 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18335 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18337 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18339 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18341 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18343 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18345 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18346 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18347 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18349 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18350 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18351 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18352 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18353 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18354 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18355 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18356 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18359 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18360 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18363 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18364 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18365 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18367 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18369 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18370 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18371 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18372 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18373 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18374 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18375 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18376 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18377 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18378 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18379 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18380 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18381 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18382 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18383 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18384 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18386 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18387 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18390 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18394 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18396 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18397 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18398 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18399 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18408 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18410 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18411 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18412 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18413 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18414 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18415 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18418 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18419 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18420 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18422 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18423 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18424 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18425 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18426 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18427 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18428 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18429 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18431 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18437 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18439 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18442 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18443 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18448 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18449 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18450 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18451 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18452 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18453 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18463 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18464 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18465 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18466 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18467 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18468 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18469 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18470 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18474 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18475 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18476 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18477 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18478 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18479 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18480 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18481 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18482 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18483 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18484 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18485 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18486 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18487 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18488 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18489 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18490 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18491 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18492 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18493 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18494 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18495 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18496 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18497 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18498 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18499 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18500 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18501 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18502 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18503 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18504 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18505 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18506 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18507 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18508 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18509 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18510 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18511 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18512 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18513 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18514 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18515 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18516 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18517 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18518 wine_fn_config_dll apphelp enable_apphelp
18519 wine_fn_config_test dlls/apphelp/tests apphelp_test
18520 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18521 wine_fn_config_dll atl enable_atl clean,implib
18522 wine_fn_config_test dlls/atl/tests atl_test
18523 wine_fn_config_dll atl100 enable_atl100 clean,implib
18524 wine_fn_config_test dlls/atl100/tests atl100_test
18525 wine_fn_config_dll atl110 enable_atl110 clean
18526 wine_fn_config_dll atl80 enable_atl80 clean,implib
18527 wine_fn_config_test dlls/atl80/tests atl80_test
18528 wine_fn_config_dll atl90 enable_atl90 clean
18529 wine_fn_config_dll authz enable_authz
18530 wine_fn_config_dll avicap32 enable_avicap32 implib
18531 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18532 wine_fn_config_test dlls/avifil32/tests avifil32_test
18533 wine_fn_config_dll avifile.dll16 enable_win16
18534 wine_fn_config_dll avrt enable_avrt implib
18535 wine_fn_config_dll bcrypt enable_bcrypt implib
18536 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18537 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18538 wine_fn_config_dll browseui enable_browseui clean
18539 wine_fn_config_test dlls/browseui/tests browseui_test
18540 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18541 wine_fn_config_dll cabinet enable_cabinet implib
18542 wine_fn_config_test dlls/cabinet/tests cabinet_test
18543 wine_fn_config_dll capi2032 enable_capi2032 implib
18544 wine_fn_config_dll cards enable_cards implib
18545 wine_fn_config_dll cdosys enable_cdosys
18546 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18547 wine_fn_config_dll clusapi enable_clusapi implib
18548 wine_fn_config_dll combase enable_combase
18549 wine_fn_config_test dlls/combase/tests combase_test
18550 wine_fn_config_dll comcat enable_comcat
18551 wine_fn_config_test dlls/comcat/tests comcat_test
18552 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18553 wine_fn_config_test dlls/comctl32/tests comctl32_test
18554 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18555 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18556 wine_fn_config_dll comm.drv16 enable_win16
18557 wine_fn_config_dll commdlg.dll16 enable_win16
18558 wine_fn_config_dll compobj.dll16 enable_win16
18559 wine_fn_config_dll compstui enable_compstui implib
18560 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18561 wine_fn_config_dll concrt140 enable_concrt140
18562 wine_fn_config_dll connect enable_connect
18563 wine_fn_config_dll credui enable_credui clean,implib
18564 wine_fn_config_test dlls/credui/tests credui_test
18565 wine_fn_config_dll crtdll enable_crtdll
18566 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18567 wine_fn_config_test dlls/crypt32/tests crypt32_test
18568 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18569 wine_fn_config_dll cryptdll enable_cryptdll implib
18570 wine_fn_config_dll cryptext enable_cryptext
18571 wine_fn_config_dll cryptnet enable_cryptnet implib
18572 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18573 wine_fn_config_dll cryptui enable_cryptui clean,implib
18574 wine_fn_config_test dlls/cryptui/tests cryptui_test
18575 wine_fn_config_dll ctapi32 enable_ctapi32
18576 wine_fn_config_dll ctl3d.dll16 enable_win16
18577 wine_fn_config_dll ctl3d32 enable_ctl3d32
18578 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18579 wine_fn_config_dll d2d1 enable_d2d1 implib
18580 wine_fn_config_test dlls/d2d1/tests d2d1_test
18581 wine_fn_config_dll d3d10 enable_d3d10 implib
18582 wine_fn_config_test dlls/d3d10/tests d3d10_test
18583 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18584 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18585 wine_fn_config_dll d3d10core enable_d3d10core implib
18586 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18587 wine_fn_config_dll d3d11 enable_d3d11 implib
18588 wine_fn_config_test dlls/d3d11/tests d3d11_test
18589 wine_fn_config_dll d3d8 enable_d3d8 implib
18590 wine_fn_config_test dlls/d3d8/tests d3d8_test
18591 wine_fn_config_dll d3d9 enable_d3d9 implib
18592 wine_fn_config_test dlls/d3d9/tests d3d9_test
18593 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18594 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18595 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18596 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18597 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18598 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18599 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18600 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18601 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18602 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18603 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18604 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18605 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18606 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18607 wine_fn_config_dll d3dim enable_d3dim
18608 wine_fn_config_dll d3drm enable_d3drm implib
18609 wine_fn_config_test dlls/d3drm/tests d3drm_test
18610 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18611 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18612 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18613 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18614 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18615 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18616 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18617 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18618 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18619 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18620 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18621 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18622 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18623 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18624 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18625 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18626 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18627 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18628 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18629 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18630 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18631 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18632 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18633 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18634 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18635 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18636 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18637 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18638 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18639 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18640 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18641 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18642 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18643 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18644 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18645 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18646 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18647 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18648 wine_fn_config_dll davclnt enable_davclnt
18649 wine_fn_config_dll dbgeng enable_dbgeng implib
18650 wine_fn_config_dll dbghelp enable_dbghelp implib
18651 wine_fn_config_dll dciman32 enable_dciman32 implib
18652 wine_fn_config_dll ddeml.dll16 enable_win16
18653 wine_fn_config_dll ddraw enable_ddraw clean,implib
18654 wine_fn_config_test dlls/ddraw/tests ddraw_test
18655 wine_fn_config_dll ddrawex enable_ddrawex clean
18656 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18657 wine_fn_config_dll devenum enable_devenum clean
18658 wine_fn_config_test dlls/devenum/tests devenum_test
18659 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18660 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18661 wine_fn_config_dll difxapi enable_difxapi
18662 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18663 wine_fn_config_test dlls/dinput/tests dinput_test
18664 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18665 wine_fn_config_test dlls/dinput8/tests dinput8_test
18666 wine_fn_config_dll dispdib.dll16 enable_win16
18667 wine_fn_config_dll dispex enable_dispex clean
18668 wine_fn_config_test dlls/dispex/tests dispex_test
18669 wine_fn_config_dll display.drv16 enable_win16
18670 wine_fn_config_dll dmband enable_dmband clean
18671 wine_fn_config_test dlls/dmband/tests dmband_test
18672 wine_fn_config_dll dmcompos enable_dmcompos clean
18673 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18674 wine_fn_config_dll dmime enable_dmime clean
18675 wine_fn_config_test dlls/dmime/tests dmime_test
18676 wine_fn_config_dll dmloader enable_dmloader clean
18677 wine_fn_config_test dlls/dmloader/tests dmloader_test
18678 wine_fn_config_dll dmscript enable_dmscript clean
18679 wine_fn_config_test dlls/dmscript/tests dmscript_test
18680 wine_fn_config_dll dmstyle enable_dmstyle clean
18681 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18682 wine_fn_config_dll dmsynth enable_dmsynth clean
18683 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18684 wine_fn_config_dll dmusic enable_dmusic clean
18685 wine_fn_config_test dlls/dmusic/tests dmusic_test
18686 wine_fn_config_dll dmusic32 enable_dmusic32
18687 wine_fn_config_dll dnsapi enable_dnsapi implib
18688 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18689 wine_fn_config_dll dplay enable_dplay
18690 wine_fn_config_dll dplayx enable_dplayx clean,implib
18691 wine_fn_config_test dlls/dplayx/tests dplayx_test
18692 wine_fn_config_dll dpnaddr enable_dpnaddr
18693 wine_fn_config_dll dpnet enable_dpnet clean,implib
18694 wine_fn_config_test dlls/dpnet/tests dpnet_test
18695 wine_fn_config_dll dpnhpast enable_dpnhpast
18696 wine_fn_config_dll dpnlobby enable_dpnlobby
18697 wine_fn_config_dll dpvoice enable_dpvoice clean
18698 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18699 wine_fn_config_dll dpwsockx enable_dpwsockx
18700 wine_fn_config_dll drmclien enable_drmclien
18701 wine_fn_config_dll dsound enable_dsound clean,implib
18702 wine_fn_config_test dlls/dsound/tests dsound_test
18703 wine_fn_config_dll dsquery enable_dsquery clean
18704 wine_fn_config_dll dssenh enable_dssenh
18705 wine_fn_config_test dlls/dssenh/tests dssenh_test
18706 wine_fn_config_dll dswave enable_dswave clean
18707 wine_fn_config_test dlls/dswave/tests dswave_test
18708 wine_fn_config_dll dwmapi enable_dwmapi implib
18709 wine_fn_config_dll dwrite enable_dwrite implib
18710 wine_fn_config_test dlls/dwrite/tests dwrite_test
18711 wine_fn_config_dll dx8vb enable_dx8vb clean
18712 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18713 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18714 wine_fn_config_lib dxerr8
18715 wine_fn_config_lib dxerr9
18716 wine_fn_config_dll dxgi enable_dxgi implib
18717 wine_fn_config_test dlls/dxgi/tests dxgi_test
18718 wine_fn_config_lib dxguid
18719 wine_fn_config_dll dxva2 enable_dxva2
18720 wine_fn_config_dll esent enable_esent
18721 wine_fn_config_dll evr enable_evr clean
18722 wine_fn_config_test dlls/evr/tests evr_test
18723 wine_fn_config_dll explorerframe enable_explorerframe clean
18724 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18725 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18726 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18727 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18728 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18729 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18730 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18731 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18732 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18733 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18734 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18735 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18736 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18737 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18738 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18739 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18740 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18741 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18742 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18743 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
18744 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18745 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18746 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18747 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18748 wine_fn_config_dll faultrep enable_faultrep implib
18749 wine_fn_config_test dlls/faultrep/tests faultrep_test
18750 wine_fn_config_dll fltlib enable_fltlib
18751 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18752 wine_fn_config_dll fntcache enable_fntcache
18753 wine_fn_config_dll fontsub enable_fontsub
18754 wine_fn_config_dll fusion enable_fusion
18755 wine_fn_config_test dlls/fusion/tests fusion_test
18756 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18757 wine_fn_config_dll gameux enable_gameux clean
18758 wine_fn_config_test dlls/gameux/tests gameux_test
18759 wine_fn_config_dll gdi.exe16 enable_win16
18760 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18761 wine_fn_config_test dlls/gdi32/tests gdi32_test
18762 wine_fn_config_dll gdiplus enable_gdiplus implib
18763 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18764 wine_fn_config_dll glu32 enable_glu32 implib
18765 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18766 wine_fn_config_dll gpkcsp enable_gpkcsp
18767 wine_fn_config_dll hal enable_hal
18768 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18769 wine_fn_config_dll hid enable_hid implib
18770 wine_fn_config_test dlls/hid/tests hid_test
18771 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18772 wine_fn_config_dll hlink enable_hlink clean,implib
18773 wine_fn_config_test dlls/hlink/tests hlink_test
18774 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18775 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18776 wine_fn_config_dll httpapi enable_httpapi implib
18777 wine_fn_config_test dlls/httpapi/tests httpapi_test
18778 wine_fn_config_dll iccvid enable_iccvid clean
18779 wine_fn_config_dll icmp enable_icmp
18780 wine_fn_config_dll ieframe enable_ieframe clean,implib
18781 wine_fn_config_test dlls/ieframe/tests ieframe_test
18782 wine_fn_config_dll ieproxy enable_ieproxy clean
18783 wine_fn_config_dll ifsmgr.vxd enable_win16
18784 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18785 wine_fn_config_dll imagehlp enable_imagehlp implib
18786 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18787 wine_fn_config_dll imm.dll16 enable_win16
18788 wine_fn_config_dll imm32 enable_imm32 implib
18789 wine_fn_config_test dlls/imm32/tests imm32_test
18790 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18791 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18792 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18793 wine_fn_config_dll inetmib1 enable_inetmib1
18794 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18795 wine_fn_config_dll infosoft enable_infosoft clean
18796 wine_fn_config_test dlls/infosoft/tests infosoft_test
18797 wine_fn_config_dll initpki enable_initpki
18798 wine_fn_config_dll inkobj enable_inkobj
18799 wine_fn_config_dll inseng enable_inseng clean
18800 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18801 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18802 wine_fn_config_dll iprop enable_iprop
18803 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18804 wine_fn_config_dll itircl enable_itircl
18805 wine_fn_config_dll itss enable_itss clean
18806 wine_fn_config_test dlls/itss/tests itss_test
18807 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18808 wine_fn_config_dll jscript enable_jscript clean
18809 wine_fn_config_test dlls/jscript/tests jscript_test
18810 wine_fn_config_dll jsproxy enable_jsproxy implib
18811 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18812 wine_fn_config_dll kerberos enable_kerberos
18813 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18814 wine_fn_config_test dlls/kernel32/tests kernel32_test
18815 wine_fn_config_dll kernelbase enable_kernelbase
18816 wine_fn_config_dll keyboard.drv16 enable_win16
18817 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18818 wine_fn_config_dll ksuser enable_ksuser
18819 wine_fn_config_dll ktmw32 enable_ktmw32
18820 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18821 wine_fn_config_dll loadperf enable_loadperf implib
18822 wine_fn_config_dll localspl enable_localspl clean
18823 wine_fn_config_test dlls/localspl/tests localspl_test
18824 wine_fn_config_dll localui enable_localui clean
18825 wine_fn_config_test dlls/localui/tests localui_test
18826 wine_fn_config_dll lz32 enable_lz32 implib
18827 wine_fn_config_test dlls/lz32/tests lz32_test
18828 wine_fn_config_dll lzexpand.dll16 enable_win16
18829 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18830 wine_fn_config_test dlls/mapi32/tests mapi32_test
18831 wine_fn_config_dll mapistub enable_mapistub
18832 wine_fn_config_dll mciavi32 enable_mciavi32
18833 wine_fn_config_dll mcicda enable_mcicda
18834 wine_fn_config_dll mciqtz32 enable_mciqtz32
18835 wine_fn_config_dll mciseq enable_mciseq
18836 wine_fn_config_dll mciwave enable_mciwave
18837 wine_fn_config_dll mf enable_mf implib
18838 wine_fn_config_test dlls/mf/tests mf_test
18839 wine_fn_config_dll mf3216 enable_mf3216
18840 wine_fn_config_dll mfplat enable_mfplat implib
18841 wine_fn_config_test dlls/mfplat/tests mfplat_test
18842 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18843 wine_fn_config_lib mfuuid
18844 wine_fn_config_dll mgmtapi enable_mgmtapi
18845 wine_fn_config_dll midimap enable_midimap
18846 wine_fn_config_dll mlang enable_mlang clean,implib
18847 wine_fn_config_test dlls/mlang/tests mlang_test
18848 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18849 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18850 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18851 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18852 wine_fn_config_dll mmdevldr.vxd enable_win16
18853 wine_fn_config_dll mmsystem.dll16 enable_win16
18854 wine_fn_config_dll monodebg.vxd enable_win16
18855 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18856 wine_fn_config_dll mouse.drv16 enable_win16
18857 wine_fn_config_dll mpr enable_mpr clean,implib
18858 wine_fn_config_test dlls/mpr/tests mpr_test
18859 wine_fn_config_dll mprapi enable_mprapi implib
18860 wine_fn_config_dll msacm.dll16 enable_win16
18861 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18862 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18863 wine_fn_config_test dlls/msacm32/tests msacm32_test
18864 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18865 wine_fn_config_dll msasn1 enable_msasn1 implib
18866 wine_fn_config_dll mscat32 enable_mscat32
18867 wine_fn_config_dll mscms enable_mscms implib
18868 wine_fn_config_test dlls/mscms/tests mscms_test
18869 wine_fn_config_dll mscoree enable_mscoree clean
18870 wine_fn_config_test dlls/mscoree/tests mscoree_test
18871 wine_fn_config_dll msctf enable_msctf clean
18872 wine_fn_config_test dlls/msctf/tests msctf_test
18873 wine_fn_config_dll msctfp enable_msctfp clean
18874 wine_fn_config_dll msdaps enable_msdaps clean
18875 wine_fn_config_dll msdelta enable_msdelta
18876 wine_fn_config_dll msdmo enable_msdmo implib
18877 wine_fn_config_test dlls/msdmo/tests msdmo_test
18878 wine_fn_config_dll msdrm enable_msdrm
18879 wine_fn_config_dll msftedit enable_msftedit
18880 wine_fn_config_dll msg711.acm enable_msg711_acm
18881 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18882 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18883 wine_fn_config_dll mshtml enable_mshtml clean,implib
18884 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18885 wine_fn_config_dll msi enable_msi clean,implib
18886 wine_fn_config_test dlls/msi/tests msi_test
18887 wine_fn_config_dll msident enable_msident clean
18888 wine_fn_config_dll msimg32 enable_msimg32 implib
18889 wine_fn_config_dll msimsg enable_msimsg
18890 wine_fn_config_dll msimtf enable_msimtf clean
18891 wine_fn_config_dll msisip enable_msisip
18892 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18893 wine_fn_config_dll msls31 enable_msls31
18894 wine_fn_config_dll msnet32 enable_msnet32
18895 wine_fn_config_dll mspatcha enable_mspatcha implib
18896 wine_fn_config_dll msports enable_msports
18897 wine_fn_config_dll msrle32 enable_msrle32 clean
18898 wine_fn_config_test dlls/msrle32/tests msrle32_test
18899 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18900 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18901 wine_fn_config_dll mssign32 enable_mssign32
18902 wine_fn_config_dll mssip32 enable_mssip32
18903 wine_fn_config_dll mstask enable_mstask clean
18904 wine_fn_config_test dlls/mstask/tests mstask_test
18905 wine_fn_config_dll msvcirt enable_msvcirt
18906 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18907 wine_fn_config_dll msvcm80 enable_msvcm80
18908 wine_fn_config_dll msvcm90 enable_msvcm90
18909 wine_fn_config_dll msvcp100 enable_msvcp100
18910 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18911 wine_fn_config_dll msvcp110 enable_msvcp110
18912 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18913 wine_fn_config_dll msvcp120 enable_msvcp120
18914 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18915 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18916 wine_fn_config_dll msvcp140 enable_msvcp140
18917 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18918 wine_fn_config_dll msvcp60 enable_msvcp60
18919 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18920 wine_fn_config_dll msvcp70 enable_msvcp70
18921 wine_fn_config_dll msvcp71 enable_msvcp71
18922 wine_fn_config_dll msvcp80 enable_msvcp80
18923 wine_fn_config_dll msvcp90 enable_msvcp90
18924 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18925 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18926 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18927 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18928 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18929 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18930 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18931 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18932 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18933 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18934 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18935 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18936 wine_fn_config_dll msvcrt enable_msvcrt implib
18937 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18938 wine_fn_config_dll msvcrt20 enable_msvcrt20
18939 wine_fn_config_dll msvcrt40 enable_msvcrt40
18940 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18941 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18942 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18943 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18944 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18945 wine_fn_config_dll msvideo.dll16 enable_win16
18946 wine_fn_config_dll mswsock enable_mswsock implib
18947 wine_fn_config_dll msxml enable_msxml clean
18948 wine_fn_config_dll msxml2 enable_msxml2 clean
18949 wine_fn_config_dll msxml3 enable_msxml3 clean
18950 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18951 wine_fn_config_dll msxml4 enable_msxml4 clean
18952 wine_fn_config_dll msxml6 enable_msxml6 clean
18953 wine_fn_config_dll mtxdm enable_mtxdm
18954 wine_fn_config_dll ncrypt enable_ncrypt
18955 wine_fn_config_dll nddeapi enable_nddeapi implib
18956 wine_fn_config_dll ndis.sys enable_ndis_sys
18957 wine_fn_config_dll netapi32 enable_netapi32 implib
18958 wine_fn_config_test dlls/netapi32/tests netapi32_test
18959 wine_fn_config_dll netcfgx enable_netcfgx clean
18960 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18961 wine_fn_config_dll netprofm enable_netprofm clean
18962 wine_fn_config_test dlls/netprofm/tests netprofm_test
18963 wine_fn_config_dll newdev enable_newdev implib
18964 wine_fn_config_dll normaliz enable_normaliz implib
18965 wine_fn_config_dll npmshtml enable_npmshtml
18966 wine_fn_config_dll npptools enable_npptools
18967 wine_fn_config_dll ntdll enable_ntdll implib
18968 wine_fn_config_test dlls/ntdll/tests ntdll_test
18969 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18970 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18971 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18972 wine_fn_config_dll ntprint enable_ntprint
18973 wine_fn_config_test dlls/ntprint/tests ntprint_test
18974 wine_fn_config_dll objsel enable_objsel clean
18975 wine_fn_config_dll odbc32 enable_odbc32 implib
18976 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18977 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18978 wine_fn_config_dll odbccu32 enable_odbccu32
18979 wine_fn_config_dll ole2.dll16 enable_win16
18980 wine_fn_config_dll ole2conv.dll16 enable_win16
18981 wine_fn_config_dll ole2disp.dll16 enable_win16
18982 wine_fn_config_dll ole2nls.dll16 enable_win16
18983 wine_fn_config_dll ole2prox.dll16 enable_win16
18984 wine_fn_config_dll ole2thk.dll16 enable_win16
18985 wine_fn_config_dll ole32 enable_ole32 clean,implib
18986 wine_fn_config_test dlls/ole32/tests ole32_test
18987 wine_fn_config_dll oleacc enable_oleacc clean,implib
18988 wine_fn_config_test dlls/oleacc/tests oleacc_test
18989 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18990 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18991 wine_fn_config_dll olecli.dll16 enable_win16
18992 wine_fn_config_dll olecli32 enable_olecli32 implib
18993 wine_fn_config_dll oledb32 enable_oledb32 clean
18994 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18995 wine_fn_config_dll oledlg enable_oledlg clean,implib
18996 wine_fn_config_test dlls/oledlg/tests oledlg_test
18997 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18998 wine_fn_config_dll olesvr.dll16 enable_win16
18999 wine_fn_config_dll olesvr32 enable_olesvr32 implib
19000 wine_fn_config_dll olethk32 enable_olethk32
19001 wine_fn_config_dll openal32 enable_openal32
19002 wine_fn_config_dll opencl enable_opencl
19003 wine_fn_config_dll opengl32 enable_opengl32 implib
19004 wine_fn_config_test dlls/opengl32/tests opengl32_test
19005 wine_fn_config_dll packager enable_packager clean
19006 wine_fn_config_test dlls/packager/tests packager_test
19007 wine_fn_config_dll pdh enable_pdh implib
19008 wine_fn_config_test dlls/pdh/tests pdh_test
19009 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19010 wine_fn_config_dll pidgen enable_pidgen
19011 wine_fn_config_dll powrprof enable_powrprof implib
19012 wine_fn_config_dll printui enable_printui
19013 wine_fn_config_dll prntvpt enable_prntvpt
19014 wine_fn_config_dll propsys enable_propsys clean,implib
19015 wine_fn_config_test dlls/propsys/tests propsys_test
19016 wine_fn_config_dll psapi enable_psapi implib
19017 wine_fn_config_test dlls/psapi/tests psapi_test
19018 wine_fn_config_dll pstorec enable_pstorec clean
19019 wine_fn_config_test dlls/pstorec/tests pstorec_test
19020 wine_fn_config_dll qcap enable_qcap
19021 wine_fn_config_test dlls/qcap/tests qcap_test
19022 wine_fn_config_dll qedit enable_qedit clean
19023 wine_fn_config_test dlls/qedit/tests qedit_test
19024 wine_fn_config_dll qmgr enable_qmgr clean
19025 wine_fn_config_test dlls/qmgr/tests qmgr_test
19026 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19027 wine_fn_config_dll quartz enable_quartz clean,implib
19028 wine_fn_config_test dlls/quartz/tests quartz_test clean
19029 wine_fn_config_dll query enable_query
19030 wine_fn_config_dll rasapi16.dll16 enable_win16
19031 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19032 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19033 wine_fn_config_dll rasdlg enable_rasdlg implib
19034 wine_fn_config_dll regapi enable_regapi
19035 wine_fn_config_dll resutils enable_resutils implib
19036 wine_fn_config_dll riched20 enable_riched20 clean,implib
19037 wine_fn_config_test dlls/riched20/tests riched20_test
19038 wine_fn_config_dll riched32 enable_riched32
19039 wine_fn_config_test dlls/riched32/tests riched32_test
19040 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19041 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19042 wine_fn_config_dll rsabase enable_rsabase
19043 wine_fn_config_dll rsaenh enable_rsaenh implib
19044 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19045 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19046 wine_fn_config_dll rtutils enable_rtutils implib
19047 wine_fn_config_dll samlib enable_samlib
19048 wine_fn_config_dll sane.ds enable_sane_ds clean
19049 wine_fn_config_dll sapi enable_sapi clean
19050 wine_fn_config_test dlls/sapi/tests sapi_test
19051 wine_fn_config_dll scarddlg enable_scarddlg
19052 wine_fn_config_dll sccbase enable_sccbase
19053 wine_fn_config_dll schannel enable_schannel
19054 wine_fn_config_test dlls/schannel/tests schannel_test
19055 wine_fn_config_dll schedsvc enable_schedsvc clean
19056 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19057 wine_fn_config_dll scrobj enable_scrobj clean
19058 wine_fn_config_dll scrrun enable_scrrun clean
19059 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19060 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19061 wine_fn_config_dll secur32 enable_secur32 implib
19062 wine_fn_config_test dlls/secur32/tests secur32_test
19063 wine_fn_config_dll security enable_security
19064 wine_fn_config_dll sensapi enable_sensapi implib
19065 wine_fn_config_dll serialui enable_serialui clean
19066 wine_fn_config_test dlls/serialui/tests serialui_test
19067 wine_fn_config_dll setupapi enable_setupapi clean,implib
19068 wine_fn_config_test dlls/setupapi/tests setupapi_test
19069 wine_fn_config_dll setupx.dll16 enable_win16
19070 wine_fn_config_dll sfc enable_sfc implib
19071 wine_fn_config_dll sfc_os enable_sfc_os implib
19072 wine_fn_config_dll shcore enable_shcore
19073 wine_fn_config_dll shdoclc enable_shdoclc clean
19074 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19075 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19076 wine_fn_config_dll shell.dll16 enable_win16
19077 wine_fn_config_dll shell32 enable_shell32 clean,implib
19078 wine_fn_config_test dlls/shell32/tests shell32_test
19079 wine_fn_config_dll shfolder enable_shfolder implib
19080 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19081 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19082 wine_fn_config_dll slbcsp enable_slbcsp
19083 wine_fn_config_dll slc enable_slc implib
19084 wine_fn_config_test dlls/slc/tests slc_test
19085 wine_fn_config_dll snmpapi enable_snmpapi implib
19086 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19087 wine_fn_config_dll softpub enable_softpub
19088 wine_fn_config_dll sound.drv16 enable_win16
19089 wine_fn_config_dll spoolss enable_spoolss implib
19090 wine_fn_config_test dlls/spoolss/tests spoolss_test
19091 wine_fn_config_dll sspicli enable_sspicli
19092 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19093 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19094 wine_fn_config_dll sti enable_sti clean,implib
19095 wine_fn_config_test dlls/sti/tests sti_test
19096 wine_fn_config_dll storage.dll16 enable_win16
19097 wine_fn_config_dll stress.dll16 enable_win16
19098 wine_fn_config_lib strmbase
19099 wine_fn_config_lib strmiids
19100 wine_fn_config_dll svrapi enable_svrapi
19101 wine_fn_config_dll sxs enable_sxs implib
19102 wine_fn_config_test dlls/sxs/tests sxs_test
19103 wine_fn_config_dll system.drv16 enable_win16
19104 wine_fn_config_dll t2embed enable_t2embed implib
19105 wine_fn_config_test dlls/t2embed/tests t2embed_test
19106 wine_fn_config_dll tapi32 enable_tapi32 implib
19107 wine_fn_config_dll taskschd enable_taskschd clean
19108 wine_fn_config_test dlls/taskschd/tests taskschd_test
19109 wine_fn_config_dll tdh enable_tdh
19110 wine_fn_config_dll tdi.sys enable_tdi_sys
19111 wine_fn_config_dll toolhelp.dll16 enable_win16
19112 wine_fn_config_dll traffic enable_traffic
19113 wine_fn_config_dll twain.dll16 enable_win16
19114 wine_fn_config_dll twain_32 enable_twain_32 clean
19115 wine_fn_config_test dlls/twain_32/tests twain_32_test
19116 wine_fn_config_dll typelib.dll16 enable_win16
19117 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19118 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19119 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19120 wine_fn_config_dll uiribbon enable_uiribbon clean
19121 wine_fn_config_dll unicows enable_unicows implib
19122 wine_fn_config_dll updspapi enable_updspapi
19123 wine_fn_config_dll url enable_url implib
19124 wine_fn_config_dll urlmon enable_urlmon clean,implib
19125 wine_fn_config_test dlls/urlmon/tests urlmon_test
19126 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19127 wine_fn_config_dll user.exe16 enable_win16
19128 wine_fn_config_dll user32 enable_user32 clean,implib
19129 wine_fn_config_test dlls/user32/tests user32_test
19130 wine_fn_config_dll userenv enable_userenv implib
19131 wine_fn_config_test dlls/userenv/tests userenv_test
19132 wine_fn_config_dll usp10 enable_usp10 implib
19133 wine_fn_config_test dlls/usp10/tests usp10_test
19134 wine_fn_config_lib uuid
19135 wine_fn_config_dll uxtheme enable_uxtheme implib
19136 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19137 wine_fn_config_dll vbscript enable_vbscript clean
19138 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19139 wine_fn_config_dll vcomp enable_vcomp
19140 wine_fn_config_test dlls/vcomp/tests vcomp_test
19141 wine_fn_config_dll vcomp100 enable_vcomp100
19142 wine_fn_config_dll vcomp110 enable_vcomp110
19143 wine_fn_config_dll vcomp120 enable_vcomp120
19144 wine_fn_config_dll vcomp140 enable_vcomp140
19145 wine_fn_config_dll vcomp90 enable_vcomp90
19146 wine_fn_config_dll vcruntime140 enable_vcruntime140
19147 wine_fn_config_dll vdhcp.vxd enable_win16
19148 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19149 wine_fn_config_dll ver.dll16 enable_win16
19150 wine_fn_config_dll version enable_version implib
19151 wine_fn_config_test dlls/version/tests version_test
19152 wine_fn_config_dll virtdisk enable_virtdisk
19153 wine_fn_config_dll vmm.vxd enable_win16
19154 wine_fn_config_dll vnbt.vxd enable_win16
19155 wine_fn_config_dll vnetbios.vxd enable_win16
19156 wine_fn_config_dll vssapi enable_vssapi
19157 wine_fn_config_dll vtdapi.vxd enable_win16
19158 wine_fn_config_dll vwin32.vxd enable_win16
19159 wine_fn_config_dll w32skrnl enable_win16
19160 wine_fn_config_dll w32sys.dll16 enable_win16
19161 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19162 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19163 wine_fn_config_dll wbemprox enable_wbemprox clean
19164 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19165 wine_fn_config_dll wdscore enable_wdscore
19166 wine_fn_config_dll webservices enable_webservices implib
19167 wine_fn_config_test dlls/webservices/tests webservices_test
19168 wine_fn_config_dll wer enable_wer implib
19169 wine_fn_config_test dlls/wer/tests wer_test
19170 wine_fn_config_dll wevtapi enable_wevtapi
19171 wine_fn_config_dll wiaservc enable_wiaservc clean
19172 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19173 wine_fn_config_dll wimgapi enable_wimgapi
19174 wine_fn_config_dll win32s16.dll16 enable_win16
19175 wine_fn_config_dll win87em.dll16 enable_win16
19176 wine_fn_config_dll winaspi.dll16 enable_win16
19177 wine_fn_config_dll windebug.dll16 enable_win16
19178 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19179 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19180 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19181 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19182 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19183 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19184 wine_fn_config_dll winebus.sys enable_winebus_sys
19185 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19186 wine_fn_config_lib winecrt0
19187 wine_fn_config_dll wined3d enable_wined3d implib
19188 wine_fn_config_dll winegstreamer enable_winegstreamer
19189 wine_fn_config_dll winehid.sys enable_winehid_sys
19190 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19191 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19192 wine_fn_config_dll winemapi enable_winemapi
19193 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19194 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19195 wine_fn_config_dll wineps16.drv16 enable_win16
19196 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19197 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19198 wine_fn_config_dll winex11.drv enable_winex11_drv
19199 wine_fn_config_dll wing.dll16 enable_win16
19200 wine_fn_config_dll wing32 enable_wing32
19201 wine_fn_config_dll winhttp enable_winhttp clean,implib
19202 wine_fn_config_test dlls/winhttp/tests winhttp_test
19203 wine_fn_config_dll wininet enable_wininet clean,implib
19204 wine_fn_config_test dlls/wininet/tests wininet_test
19205 wine_fn_config_dll winmm enable_winmm clean,implib
19206 wine_fn_config_test dlls/winmm/tests winmm_test
19207 wine_fn_config_dll winnls.dll16 enable_win16
19208 wine_fn_config_dll winnls32 enable_winnls32 implib
19209 wine_fn_config_dll winscard enable_winscard implib
19210 wine_fn_config_dll winsock.dll16 enable_win16
19211 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19212 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19213 wine_fn_config_dll winsta enable_winsta
19214 wine_fn_config_dll wintab.dll16 enable_win16
19215 wine_fn_config_dll wintab32 enable_wintab32 implib
19216 wine_fn_config_test dlls/wintab32/tests wintab32_test
19217 wine_fn_config_dll wintrust enable_wintrust implib
19218 wine_fn_config_test dlls/wintrust/tests wintrust_test
19219 wine_fn_config_dll winusb enable_winusb
19220 wine_fn_config_dll wlanapi enable_wlanapi implib
19221 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19222 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19223 wine_fn_config_test dlls/wldap32/tests wldap32_test
19224 wine_fn_config_dll wmasf enable_wmasf
19225 wine_fn_config_dll wmi enable_wmi
19226 wine_fn_config_dll wmiutils enable_wmiutils clean
19227 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19228 wine_fn_config_dll wmp enable_wmp clean
19229 wine_fn_config_test dlls/wmp/tests wmp_test
19230 wine_fn_config_dll wmphoto enable_wmphoto clean
19231 wine_fn_config_dll wmvcore enable_wmvcore implib
19232 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19233 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19234 wine_fn_config_dll wow32 enable_win16 implib
19235 wine_fn_config_dll wpc enable_wpc clean
19236 wine_fn_config_test dlls/wpc/tests wpc_test
19237 wine_fn_config_dll wpcap enable_wpcap
19238 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19239 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19240 wine_fn_config_dll wsdapi enable_wsdapi implib
19241 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19242 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19243 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19244 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19245 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19246 wine_fn_config_dll wsock32 enable_wsock32 implib
19247 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19248 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19249 wine_fn_config_dll wuapi enable_wuapi clean
19250 wine_fn_config_dll wuaueng enable_wuaueng
19251 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19252 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19253 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19254 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19255 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19256 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19257 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19258 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19259 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19260 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19261 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19262 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19263 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19264 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19265 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19266 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19267 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19268 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19269 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19270 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19271 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19272 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19273 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19274 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19275 wine_fn_config_dll xinput1_1 enable_xinput1_1
19276 wine_fn_config_dll xinput1_2 enable_xinput1_2
19277 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19278 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19279 wine_fn_config_dll xinput1_4 enable_xinput1_4
19280 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19281 wine_fn_config_dll xmllite enable_xmllite implib
19282 wine_fn_config_test dlls/xmllite/tests xmllite_test
19283 wine_fn_config_dll xolehlp enable_xolehlp
19284 wine_fn_config_dll xpsprint enable_xpsprint
19285 wine_fn_config_dll xpssvcs enable_xpssvcs
19286 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19287 wine_fn_config_makefile include enable_include clean,install-dev
19288 wine_fn_config_makefile libs/port enable_libs_port
19289 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19290 wine_fn_config_makefile libs/wpp enable_libs_wpp
19291 wine_fn_config_makefile loader enable_loader clean,install-lib
19292 wine_fn_config_makefile po enable_po clean
19293 wine_fn_config_program arp enable_arp install
19294 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19295 wine_fn_config_program attrib enable_attrib clean,install
19296 wine_fn_config_program cabarc enable_cabarc install
19297 wine_fn_config_program cacls enable_cacls install
19298 wine_fn_config_program clock enable_clock clean,install
19299 wine_fn_config_program cmd enable_cmd clean,install
19300 wine_fn_config_test programs/cmd/tests cmd.exe_test
19301 wine_fn_config_program conhost enable_conhost install
19302 wine_fn_config_program control enable_control install
19303 wine_fn_config_program cscript enable_cscript clean,install
19304 wine_fn_config_program dpnsvr enable_dpnsvr install
19305 wine_fn_config_program dxdiag enable_dxdiag clean,install
19306 wine_fn_config_program eject enable_eject install
19307 wine_fn_config_program expand enable_expand install
19308 wine_fn_config_program explorer enable_explorer clean,install
19309 wine_fn_config_program extrac32 enable_extrac32 install
19310 wine_fn_config_program findstr enable_findstr install
19311 wine_fn_config_program fsutil enable_fsutil install
19312 wine_fn_config_program hh enable_hh install
19313 wine_fn_config_program hostname enable_hostname clean,install
19314 wine_fn_config_program icacls enable_icacls install
19315 wine_fn_config_program icinfo enable_icinfo install
19316 wine_fn_config_program iexplore enable_iexplore install
19317 wine_fn_config_program ipconfig enable_ipconfig clean,install
19318 wine_fn_config_program lodctr enable_lodctr install
19319 wine_fn_config_program mofcomp enable_mofcomp install
19320 wine_fn_config_program mshta enable_mshta install
19321 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19322 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19323 wine_fn_config_program net enable_net clean,install
19324 wine_fn_config_program netsh enable_netsh install
19325 wine_fn_config_program netstat enable_netstat clean,install
19326 wine_fn_config_program ngen enable_ngen install
19327 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19328 wine_fn_config_program oleview enable_oleview clean,install
19329 wine_fn_config_program ping enable_ping install
19330 wine_fn_config_program plugplay enable_plugplay install
19331 wine_fn_config_program powershell enable_powershell install
19332 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19333 wine_fn_config_program progman enable_progman clean,install
19334 wine_fn_config_program reg enable_reg clean,install
19335 wine_fn_config_test programs/reg/tests reg.exe_test
19336 wine_fn_config_program regasm enable_regasm install
19337 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19338 wine_fn_config_test programs/regedit/tests regedit.exe_test
19339 wine_fn_config_program regsvcs enable_regsvcs install
19340 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19341 wine_fn_config_program rpcss enable_rpcss clean,install
19342 wine_fn_config_program rundll.exe16 enable_win16 install
19343 wine_fn_config_program rundll32 enable_rundll32 install
19344 wine_fn_config_program sc enable_sc install
19345 wine_fn_config_program schtasks enable_schtasks install
19346 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19347 wine_fn_config_program sdbinst enable_sdbinst install
19348 wine_fn_config_program secedit enable_secedit install
19349 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19350 wine_fn_config_program services enable_services clean,install
19351 wine_fn_config_test programs/services/tests services.exe_test
19352 wine_fn_config_program shutdown enable_shutdown install
19353 wine_fn_config_program spoolsv enable_spoolsv install
19354 wine_fn_config_program start enable_start clean,install
19355 wine_fn_config_program subst enable_subst install
19356 wine_fn_config_program svchost enable_svchost install
19357 wine_fn_config_program systeminfo enable_systeminfo install
19358 wine_fn_config_program taskkill enable_taskkill clean,install
19359 wine_fn_config_program tasklist enable_tasklist install
19360 wine_fn_config_program taskmgr enable_taskmgr clean,install
19361 wine_fn_config_program termsv enable_termsv install
19362 wine_fn_config_program uninstaller enable_uninstaller clean,install
19363 wine_fn_config_program unlodctr enable_unlodctr install
19364 wine_fn_config_program view enable_view clean,install
19365 wine_fn_config_program wevtutil enable_wevtutil install
19366 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19367 wine_fn_config_program winebrowser enable_winebrowser install
19368 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19369 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19370 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19371 wine_fn_config_program winedevice enable_winedevice install
19372 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19373 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19374 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19375 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19376 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19377 wine_fn_config_program winetest enable_winetest clean
19378 wine_fn_config_program winevdm enable_win16 install
19379 wine_fn_config_program winhelp.exe16 enable_win16 install
19380 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19381 wine_fn_config_program winoldap.mod16 enable_win16 install
19382 wine_fn_config_program winver enable_winver install
19383 wine_fn_config_program wmic enable_wmic clean,install
19384 wine_fn_config_program wmplayer enable_wmplayer install
19385 wine_fn_config_program wordpad enable_wordpad clean,install
19386 wine_fn_config_program write enable_write clean,install
19387 wine_fn_config_program wscript enable_wscript clean,install
19388 wine_fn_config_test programs/wscript/tests wscript.exe_test
19389 wine_fn_config_program wusa enable_wusa install
19390 wine_fn_config_program xcopy enable_xcopy clean,install
19391 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19392 wine_fn_config_makefile server enable_server clean,install-lib
19393 wine_fn_config_tool tools clean
19394 wine_fn_config_tool tools/sfnt2fon clean
19395 wine_fn_config_tool tools/widl clean,install-dev
19396 wine_fn_config_tool tools/winebuild clean,install-dev
19397 wine_fn_config_tool tools/winedump clean,install-dev
19398 wine_fn_config_tool tools/winegcc clean,install-dev
19399 wine_fn_config_tool tools/winemaker clean,install-dev
19400 wine_fn_config_tool tools/wmc clean,install-dev
19401 wine_fn_config_tool tools/wrc clean,install-dev
19404 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19405 wine_fn_append_file CONFIGURE_TARGETS "tags"
19406 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19407 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19408 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19409 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19410 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19411 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19413 if test "x$enable_tools" != xno
19414 then
19415 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19416 ac_config_commands="$ac_config_commands tools/makedep"
19420 ac_config_commands="$ac_config_commands Makefile"
19423 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19427 if test "x$enable_maintainer_mode" = xyes
19428 then
19429 wine_fn_append_rule "configure: configure.ac aclocal.m4
19430 autoconf --warnings=all
19431 include/config.h.in: include/stamp-h.in
19432 include/stamp-h.in: configure.ac aclocal.m4
19433 autoheader --warnings=all
19434 @echo timestamp > \$@"
19437 if test "x$enable_tools" != xno
19438 then
19439 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19440 @./config.status tools/makedep
19441 Makefile: tools/makedep$ac_exeext"
19442 else
19443 wine_fn_append_rule "\$(MAKEDEP):
19444 @echo \"You need to run make in $TOOLSDIR first\" && false"
19447 if test -n "$with_wine64"
19448 then
19449 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19450 fonts server:
19451 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19452 $with_wine64/loader/wine:
19453 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19454 $with_wine64/loader/wine-preloader:
19455 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19456 clean::
19457 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19458 else
19459 WINELOADER_INSTALL="wine.inf"
19461 wine_fn_append_rule "install install-lib::
19462 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19463 .PHONY: l_intl.nls/uninstall
19464 l_intl.nls/uninstall::
19465 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19466 __uninstall__: l_intl.nls/uninstall"
19467 case $host_os in
19468 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19469 *) wine_fn_append_rule "install install-lib::
19470 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19471 uninstall::
19472 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19473 esac
19476 $as_echo " done" >&6
19477 cat >confcache <<\_ACEOF
19478 # This file is a shell script that caches the results of configure
19479 # tests run on this system so they can be shared between configure
19480 # scripts and configure runs, see configure's option --config-cache.
19481 # It is not useful on other systems. If it contains results you don't
19482 # want to keep, you may remove or edit it.
19484 # config.status only pays attention to the cache file if you give it
19485 # the --recheck option to rerun configure.
19487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19489 # following values.
19491 _ACEOF
19493 # The following way of writing the cache mishandles newlines in values,
19494 # but we know of no workaround that is simple, portable, and efficient.
19495 # So, we kill variables containing newlines.
19496 # Ultrix sh set writes to stderr and can't be redirected directly,
19497 # and sets the high bit in the cache file unless we assign to the vars.
19499 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19500 eval ac_val=\$$ac_var
19501 case $ac_val in #(
19502 *${as_nl}*)
19503 case $ac_var in #(
19504 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19505 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19506 esac
19507 case $ac_var in #(
19508 _ | IFS | as_nl) ;; #(
19509 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19510 *) { eval $ac_var=; unset $ac_var;} ;;
19511 esac ;;
19512 esac
19513 done
19515 (set) 2>&1 |
19516 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19517 *${as_nl}ac_space=\ *)
19518 # `set' does not quote correctly, so add quotes: double-quote
19519 # substitution turns \\\\ into \\, and sed turns \\ into \.
19520 sed -n \
19521 "s/'/'\\\\''/g;
19522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19523 ;; #(
19525 # `set' quotes correctly as required by POSIX, so do not add quotes.
19526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19528 esac |
19529 sort
19531 sed '
19532 /^ac_cv_env_/b end
19533 t clear
19534 :clear
19535 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19536 t end
19537 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19538 :end' >>confcache
19539 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19540 if test -w "$cache_file"; then
19541 if test "x$cache_file" != "x/dev/null"; then
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19543 $as_echo "$as_me: updating cache $cache_file" >&6;}
19544 if test ! -f "$cache_file" || test -h "$cache_file"; then
19545 cat confcache >"$cache_file"
19546 else
19547 case $cache_file in #(
19548 */* | ?:*)
19549 mv -f confcache "$cache_file"$$ &&
19550 mv -f "$cache_file"$$ "$cache_file" ;; #(
19552 mv -f confcache "$cache_file" ;;
19553 esac
19556 else
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19558 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19561 rm -f confcache
19563 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19564 # Let make expand exec_prefix.
19565 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19567 DEFS=-DHAVE_CONFIG_H
19569 ac_libobjs=
19570 ac_ltlibobjs=
19572 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19573 # 1. Remove the extension, and $U if already installed.
19574 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19575 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19576 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19577 # will be set to the directory where LIBOBJS objects are built.
19578 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19579 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19580 done
19581 LIBOBJS=$ac_libobjs
19583 LTLIBOBJS=$ac_ltlibobjs
19587 : "${CONFIG_STATUS=./config.status}"
19588 ac_write_fail=0
19589 ac_clean_files_save=$ac_clean_files
19590 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19592 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19593 as_write_fail=0
19594 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19595 #! $SHELL
19596 # Generated by $as_me.
19597 # Run this file to recreate the current configuration.
19598 # Compiler output produced by configure, useful for debugging
19599 # configure, is in config.log if it exists.
19601 debug=false
19602 ac_cs_recheck=false
19603 ac_cs_silent=false
19605 SHELL=\${CONFIG_SHELL-$SHELL}
19606 export SHELL
19607 _ASEOF
19608 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19609 ## -------------------- ##
19610 ## M4sh Initialization. ##
19611 ## -------------------- ##
19613 # Be more Bourne compatible
19614 DUALCASE=1; export DUALCASE # for MKS sh
19615 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19616 emulate sh
19617 NULLCMD=:
19618 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19619 # is contrary to our usage. Disable this feature.
19620 alias -g '${1+"$@"}'='"$@"'
19621 setopt NO_GLOB_SUBST
19622 else
19623 case `(set -o) 2>/dev/null` in #(
19624 *posix*) :
19625 set -o posix ;; #(
19626 *) :
19628 esac
19632 as_nl='
19634 export as_nl
19635 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19636 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19639 # Prefer a ksh shell builtin over an external printf program on Solaris,
19640 # but without wasting forks for bash or zsh.
19641 if test -z "$BASH_VERSION$ZSH_VERSION" \
19642 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19643 as_echo='print -r --'
19644 as_echo_n='print -rn --'
19645 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19646 as_echo='printf %s\n'
19647 as_echo_n='printf %s'
19648 else
19649 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19650 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19651 as_echo_n='/usr/ucb/echo -n'
19652 else
19653 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19654 as_echo_n_body='eval
19655 arg=$1;
19656 case $arg in #(
19657 *"$as_nl"*)
19658 expr "X$arg" : "X\\(.*\\)$as_nl";
19659 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19660 esac;
19661 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19663 export as_echo_n_body
19664 as_echo_n='sh -c $as_echo_n_body as_echo'
19666 export as_echo_body
19667 as_echo='sh -c $as_echo_body as_echo'
19670 # The user is always right.
19671 if test "${PATH_SEPARATOR+set}" != set; then
19672 PATH_SEPARATOR=:
19673 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19674 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19675 PATH_SEPARATOR=';'
19680 # IFS
19681 # We need space, tab and new line, in precisely that order. Quoting is
19682 # there to prevent editors from complaining about space-tab.
19683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19684 # splitting by setting IFS to empty value.)
19685 IFS=" "" $as_nl"
19687 # Find who we are. Look in the path if we contain no directory separator.
19688 as_myself=
19689 case $0 in #((
19690 *[\\/]* ) as_myself=$0 ;;
19691 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19692 for as_dir in $PATH
19694 IFS=$as_save_IFS
19695 test -z "$as_dir" && as_dir=.
19696 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19697 done
19698 IFS=$as_save_IFS
19701 esac
19702 # We did not find ourselves, most probably we were run as `sh COMMAND'
19703 # in which case we are not to be found in the path.
19704 if test "x$as_myself" = x; then
19705 as_myself=$0
19707 if test ! -f "$as_myself"; then
19708 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19709 exit 1
19712 # Unset variables that we do not need and which cause bugs (e.g. in
19713 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19714 # suppresses any "Segmentation fault" message there. '((' could
19715 # trigger a bug in pdksh 5.2.14.
19716 for as_var in BASH_ENV ENV MAIL MAILPATH
19717 do eval test x\${$as_var+set} = xset \
19718 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19719 done
19720 PS1='$ '
19721 PS2='> '
19722 PS4='+ '
19724 # NLS nuisances.
19725 LC_ALL=C
19726 export LC_ALL
19727 LANGUAGE=C
19728 export LANGUAGE
19730 # CDPATH.
19731 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19734 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19735 # ----------------------------------------
19736 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19737 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19738 # script with STATUS, using 1 if that was 0.
19739 as_fn_error ()
19741 as_status=$1; test $as_status -eq 0 && as_status=1
19742 if test "$4"; then
19743 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19744 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19746 $as_echo "$as_me: error: $2" >&2
19747 as_fn_exit $as_status
19748 } # as_fn_error
19751 # as_fn_set_status STATUS
19752 # -----------------------
19753 # Set $? to STATUS, without forking.
19754 as_fn_set_status ()
19756 return $1
19757 } # as_fn_set_status
19759 # as_fn_exit STATUS
19760 # -----------------
19761 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19762 as_fn_exit ()
19764 set +e
19765 as_fn_set_status $1
19766 exit $1
19767 } # as_fn_exit
19769 # as_fn_unset VAR
19770 # ---------------
19771 # Portably unset VAR.
19772 as_fn_unset ()
19774 { eval $1=; unset $1;}
19776 as_unset=as_fn_unset
19777 # as_fn_append VAR VALUE
19778 # ----------------------
19779 # Append the text in VALUE to the end of the definition contained in VAR. Take
19780 # advantage of any shell optimizations that allow amortized linear growth over
19781 # repeated appends, instead of the typical quadratic growth present in naive
19782 # implementations.
19783 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19784 eval 'as_fn_append ()
19786 eval $1+=\$2
19788 else
19789 as_fn_append ()
19791 eval $1=\$$1\$2
19793 fi # as_fn_append
19795 # as_fn_arith ARG...
19796 # ------------------
19797 # Perform arithmetic evaluation on the ARGs, and store the result in the
19798 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19799 # must be portable across $(()) and expr.
19800 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19801 eval 'as_fn_arith ()
19803 as_val=$(( $* ))
19805 else
19806 as_fn_arith ()
19808 as_val=`expr "$@" || test $? -eq 1`
19810 fi # as_fn_arith
19813 if expr a : '\(a\)' >/dev/null 2>&1 &&
19814 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19815 as_expr=expr
19816 else
19817 as_expr=false
19820 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19821 as_basename=basename
19822 else
19823 as_basename=false
19826 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19827 as_dirname=dirname
19828 else
19829 as_dirname=false
19832 as_me=`$as_basename -- "$0" ||
19833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19834 X"$0" : 'X\(//\)$' \| \
19835 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19836 $as_echo X/"$0" |
19837 sed '/^.*\/\([^/][^/]*\)\/*$/{
19838 s//\1/
19841 /^X\/\(\/\/\)$/{
19842 s//\1/
19845 /^X\/\(\/\).*/{
19846 s//\1/
19849 s/.*/./; q'`
19851 # Avoid depending upon Character Ranges.
19852 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19853 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19854 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19855 as_cr_digits='0123456789'
19856 as_cr_alnum=$as_cr_Letters$as_cr_digits
19858 ECHO_C= ECHO_N= ECHO_T=
19859 case `echo -n x` in #(((((
19860 -n*)
19861 case `echo 'xy\c'` in
19862 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19863 xy) ECHO_C='\c';;
19864 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19865 ECHO_T=' ';;
19866 esac;;
19868 ECHO_N='-n';;
19869 esac
19871 rm -f conf$$ conf$$.exe conf$$.file
19872 if test -d conf$$.dir; then
19873 rm -f conf$$.dir/conf$$.file
19874 else
19875 rm -f conf$$.dir
19876 mkdir conf$$.dir 2>/dev/null
19878 if (echo >conf$$.file) 2>/dev/null; then
19879 if ln -s conf$$.file conf$$ 2>/dev/null; then
19880 as_ln_s='ln -s'
19881 # ... but there are two gotchas:
19882 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19883 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19884 # In both cases, we have to default to `cp -pR'.
19885 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19886 as_ln_s='cp -pR'
19887 elif ln conf$$.file conf$$ 2>/dev/null; then
19888 as_ln_s=ln
19889 else
19890 as_ln_s='cp -pR'
19892 else
19893 as_ln_s='cp -pR'
19895 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19896 rmdir conf$$.dir 2>/dev/null
19899 # as_fn_mkdir_p
19900 # -------------
19901 # Create "$as_dir" as a directory, including parents if necessary.
19902 as_fn_mkdir_p ()
19905 case $as_dir in #(
19906 -*) as_dir=./$as_dir;;
19907 esac
19908 test -d "$as_dir" || eval $as_mkdir_p || {
19909 as_dirs=
19910 while :; do
19911 case $as_dir in #(
19912 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19913 *) as_qdir=$as_dir;;
19914 esac
19915 as_dirs="'$as_qdir' $as_dirs"
19916 as_dir=`$as_dirname -- "$as_dir" ||
19917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19918 X"$as_dir" : 'X\(//\)[^/]' \| \
19919 X"$as_dir" : 'X\(//\)$' \| \
19920 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19921 $as_echo X"$as_dir" |
19922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19923 s//\1/
19926 /^X\(\/\/\)[^/].*/{
19927 s//\1/
19930 /^X\(\/\/\)$/{
19931 s//\1/
19934 /^X\(\/\).*/{
19935 s//\1/
19938 s/.*/./; q'`
19939 test -d "$as_dir" && break
19940 done
19941 test -z "$as_dirs" || eval "mkdir $as_dirs"
19942 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19945 } # as_fn_mkdir_p
19946 if mkdir -p . 2>/dev/null; then
19947 as_mkdir_p='mkdir -p "$as_dir"'
19948 else
19949 test -d ./-p && rmdir ./-p
19950 as_mkdir_p=false
19954 # as_fn_executable_p FILE
19955 # -----------------------
19956 # Test if FILE is an executable regular file.
19957 as_fn_executable_p ()
19959 test -f "$1" && test -x "$1"
19960 } # as_fn_executable_p
19961 as_test_x='test -x'
19962 as_executable_p=as_fn_executable_p
19964 # Sed expression to map a string onto a valid CPP name.
19965 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19967 # Sed expression to map a string onto a valid variable name.
19968 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19971 exec 6>&1
19972 ## ----------------------------------- ##
19973 ## Main body of $CONFIG_STATUS script. ##
19974 ## ----------------------------------- ##
19975 _ASEOF
19976 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19979 # Save the log message, to keep $0 and so on meaningful, and to
19980 # report actual input values of CONFIG_FILES etc. instead of their
19981 # values after options handling.
19982 ac_log="
19983 This file was extended by Wine $as_me 3.1, which was
19984 generated by GNU Autoconf 2.69. Invocation command line was
19986 CONFIG_FILES = $CONFIG_FILES
19987 CONFIG_HEADERS = $CONFIG_HEADERS
19988 CONFIG_LINKS = $CONFIG_LINKS
19989 CONFIG_COMMANDS = $CONFIG_COMMANDS
19990 $ $0 $@
19992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19995 _ACEOF
19997 case $ac_config_files in *"
19998 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19999 esac
20001 case $ac_config_headers in *"
20002 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20003 esac
20006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20007 # Files that config.status was made for.
20008 config_files="$ac_config_files"
20009 config_headers="$ac_config_headers"
20010 config_links="$ac_config_links"
20011 config_commands="$ac_config_commands"
20013 _ACEOF
20015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20016 ac_cs_usage="\
20017 \`$as_me' instantiates files and other configuration actions
20018 from templates according to the current configuration. Unless the files
20019 and actions are specified as TAGs, all are instantiated by default.
20021 Usage: $0 [OPTION]... [TAG]...
20023 -h, --help print this help, then exit
20024 -V, --version print version number and configuration settings, then exit
20025 --config print configuration, then exit
20026 -q, --quiet, --silent
20027 do not print progress messages
20028 -d, --debug don't remove temporary files
20029 --recheck update $as_me by reconfiguring in the same conditions
20030 --file=FILE[:TEMPLATE]
20031 instantiate the configuration file FILE
20032 --header=FILE[:TEMPLATE]
20033 instantiate the configuration header FILE
20035 Configuration files:
20036 $config_files
20038 Configuration headers:
20039 $config_headers
20041 Configuration links:
20042 $config_links
20044 Configuration commands:
20045 $config_commands
20047 Report bugs to <wine-devel@winehq.org>.
20048 Wine home page: <https://www.winehq.org>."
20050 _ACEOF
20051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20052 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20053 ac_cs_version="\\
20054 Wine config.status 3.1
20055 configured by $0, generated by GNU Autoconf 2.69,
20056 with options \\"\$ac_cs_config\\"
20058 Copyright (C) 2012 Free Software Foundation, Inc.
20059 This config.status script is free software; the Free Software Foundation
20060 gives unlimited permission to copy, distribute and modify it."
20062 ac_pwd='$ac_pwd'
20063 srcdir='$srcdir'
20064 test -n "\$AWK" || AWK=awk
20065 _ACEOF
20067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20068 # The default lists apply if the user does not specify any file.
20069 ac_need_defaults=:
20070 while test $# != 0
20072 case $1 in
20073 --*=?*)
20074 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20075 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20076 ac_shift=:
20078 --*=)
20079 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20080 ac_optarg=
20081 ac_shift=:
20084 ac_option=$1
20085 ac_optarg=$2
20086 ac_shift=shift
20088 esac
20090 case $ac_option in
20091 # Handling of the options.
20092 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20093 ac_cs_recheck=: ;;
20094 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20095 $as_echo "$ac_cs_version"; exit ;;
20096 --config | --confi | --conf | --con | --co | --c )
20097 $as_echo "$ac_cs_config"; exit ;;
20098 --debug | --debu | --deb | --de | --d | -d )
20099 debug=: ;;
20100 --file | --fil | --fi | --f )
20101 $ac_shift
20102 case $ac_optarg in
20103 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20104 '') as_fn_error $? "missing file argument" ;;
20105 esac
20106 as_fn_append CONFIG_FILES " '$ac_optarg'"
20107 ac_need_defaults=false;;
20108 --header | --heade | --head | --hea )
20109 $ac_shift
20110 case $ac_optarg in
20111 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20112 esac
20113 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20114 ac_need_defaults=false;;
20115 --he | --h)
20116 # Conflict between --help and --header
20117 as_fn_error $? "ambiguous option: \`$1'
20118 Try \`$0 --help' for more information.";;
20119 --help | --hel | -h )
20120 $as_echo "$ac_cs_usage"; exit ;;
20121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20122 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20123 ac_cs_silent=: ;;
20125 # This is an error.
20126 -*) as_fn_error $? "unrecognized option: \`$1'
20127 Try \`$0 --help' for more information." ;;
20129 *) as_fn_append ac_config_targets " $1"
20130 ac_need_defaults=false ;;
20132 esac
20133 shift
20134 done
20136 ac_configure_extra_args=
20138 if $ac_cs_silent; then
20139 exec 6>/dev/null
20140 ac_configure_extra_args="$ac_configure_extra_args --silent"
20143 _ACEOF
20144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20145 if \$ac_cs_recheck; then
20146 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20147 shift
20148 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20149 CONFIG_SHELL='$SHELL'
20150 export CONFIG_SHELL
20151 exec "\$@"
20154 _ACEOF
20155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20156 exec 5>>config.log
20158 echo
20159 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20160 ## Running $as_me. ##
20161 _ASBOX
20162 $as_echo "$ac_log"
20163 } >&5
20165 _ACEOF
20166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20168 # INIT-COMMANDS
20170 wine_fn_output_makedep ()
20172 as_dir=tools; as_fn_mkdir_p
20173 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20175 wine_fn_output_makefile ()
20177 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20178 `cat $wine_rules_file`
20179 _WINE_EOF
20180 as_fn_error $? "could not create Makefile" "$LINENO" 5
20183 _ACEOF
20185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20187 # Handling of arguments.
20188 for ac_config_target in $ac_config_targets
20190 case $ac_config_target in
20191 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20192 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20193 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20194 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20195 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20196 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20197 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20198 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20199 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20200 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20201 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20202 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20203 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20205 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20206 esac
20207 done
20210 # If the user did not use the arguments to specify the items to instantiate,
20211 # then the envvar interface is used. Set only those that are not.
20212 # We use the long form for the default assignment because of an extremely
20213 # bizarre bug on SunOS 4.1.3.
20214 if $ac_need_defaults; then
20215 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20216 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20217 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20218 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20221 # Have a temporary directory for convenience. Make it in the build tree
20222 # simply because there is no reason against having it here, and in addition,
20223 # creating and moving files from /tmp can sometimes cause problems.
20224 # Hook for its removal unless debugging.
20225 # Note that there is a small window in which the directory will not be cleaned:
20226 # after its creation but before its name has been assigned to `$tmp'.
20227 $debug ||
20229 tmp= ac_tmp=
20230 trap 'exit_status=$?
20231 : "${ac_tmp:=$tmp}"
20232 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20234 trap 'as_fn_exit 1' 1 2 13 15
20236 # Create a (secure) tmp directory for tmp files.
20239 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20240 test -d "$tmp"
20241 } ||
20243 tmp=./conf$$-$RANDOM
20244 (umask 077 && mkdir "$tmp")
20245 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20246 ac_tmp=$tmp
20248 # Set up the scripts for CONFIG_FILES section.
20249 # No need to generate them if there are no CONFIG_FILES.
20250 # This happens for instance with `./config.status config.h'.
20251 if test -n "$CONFIG_FILES"; then
20254 ac_cr=`echo X | tr X '\015'`
20255 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20256 # But we know of no other shell where ac_cr would be empty at this
20257 # point, so we can use a bashism as a fallback.
20258 if test "x$ac_cr" = x; then
20259 eval ac_cr=\$\'\\r\'
20261 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20262 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20263 ac_cs_awk_cr='\\r'
20264 else
20265 ac_cs_awk_cr=$ac_cr
20268 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20269 _ACEOF
20273 echo "cat >conf$$subs.awk <<_ACEOF" &&
20274 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20275 echo "_ACEOF"
20276 } >conf$$subs.sh ||
20277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20278 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20279 ac_delim='%!_!# '
20280 for ac_last_try in false false false false false :; do
20281 . ./conf$$subs.sh ||
20282 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20284 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20285 if test $ac_delim_n = $ac_delim_num; then
20286 break
20287 elif $ac_last_try; then
20288 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20289 else
20290 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20292 done
20293 rm -f conf$$subs.sh
20295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20296 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20297 _ACEOF
20298 sed -n '
20300 s/^/S["/; s/!.*/"]=/
20303 s/^[^!]*!//
20304 :repl
20305 t repl
20306 s/'"$ac_delim"'$//
20307 t delim
20310 s/\(.\{148\}\)..*/\1/
20311 t more1
20312 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20315 b repl
20316 :more1
20317 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20320 s/.\{148\}//
20321 t nl
20322 :delim
20324 s/\(.\{148\}\)..*/\1/
20325 t more2
20326 s/["\\]/\\&/g; s/^/"/; s/$/"/
20329 :more2
20330 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20333 s/.\{148\}//
20334 t delim
20335 ' <conf$$subs.awk | sed '
20336 /^[^""]/{
20338 s/\n//
20340 ' >>$CONFIG_STATUS || ac_write_fail=1
20341 rm -f conf$$subs.awk
20342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20343 _ACAWK
20344 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20345 for (key in S) S_is_set[key] = 1
20346 FS = "\a"
20350 line = $ 0
20351 nfields = split(line, field, "@")
20352 substed = 0
20353 len = length(field[1])
20354 for (i = 2; i < nfields; i++) {
20355 key = field[i]
20356 keylen = length(key)
20357 if (S_is_set[key]) {
20358 value = S[key]
20359 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20360 len += length(value) + length(field[++i])
20361 substed = 1
20362 } else
20363 len += 1 + keylen
20366 print line
20369 _ACAWK
20370 _ACEOF
20371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20372 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20373 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20374 else
20376 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20377 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20378 _ACEOF
20380 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20381 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20382 # trailing colons and then remove the whole line if VPATH becomes empty
20383 # (actually we leave an empty line to preserve line numbers).
20384 if test "x$srcdir" = x.; then
20385 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20387 s///
20388 s/^/:/
20389 s/[ ]*$/:/
20390 s/:\$(srcdir):/:/g
20391 s/:\${srcdir}:/:/g
20392 s/:@srcdir@:/:/g
20393 s/^:*//
20394 s/:*$//
20396 s/\(=[ ]*\).*/\1/
20398 s/\n//
20399 s/^[^=]*=[ ]*$//
20403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20404 fi # test -n "$CONFIG_FILES"
20406 # Set up the scripts for CONFIG_HEADERS section.
20407 # No need to generate them if there are no CONFIG_HEADERS.
20408 # This happens for instance with `./config.status Makefile'.
20409 if test -n "$CONFIG_HEADERS"; then
20410 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20411 BEGIN {
20412 _ACEOF
20414 # Transform confdefs.h into an awk script `defines.awk', embedded as
20415 # here-document in config.status, that substitutes the proper values into
20416 # config.h.in to produce config.h.
20418 # Create a delimiter string that does not exist in confdefs.h, to ease
20419 # handling of long lines.
20420 ac_delim='%!_!# '
20421 for ac_last_try in false false :; do
20422 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20423 if test -z "$ac_tt"; then
20424 break
20425 elif $ac_last_try; then
20426 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20427 else
20428 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20430 done
20432 # For the awk script, D is an array of macro values keyed by name,
20433 # likewise P contains macro parameters if any. Preserve backslash
20434 # newline sequences.
20436 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20437 sed -n '
20438 s/.\{148\}/&'"$ac_delim"'/g
20439 t rset
20440 :rset
20441 s/^[ ]*#[ ]*define[ ][ ]*/ /
20442 t def
20444 :def
20445 s/\\$//
20446 t bsnl
20447 s/["\\]/\\&/g
20448 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20449 D["\1"]=" \3"/p
20450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20452 :bsnl
20453 s/["\\]/\\&/g
20454 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20455 D["\1"]=" \3\\\\\\n"\\/p
20456 t cont
20457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20458 t cont
20460 :cont
20462 s/.\{148\}/&'"$ac_delim"'/g
20463 t clear
20464 :clear
20465 s/\\$//
20466 t bsnlc
20467 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20469 :bsnlc
20470 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20471 b cont
20472 ' <confdefs.h | sed '
20473 s/'"$ac_delim"'/"\\\
20474 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20477 for (key in D) D_is_set[key] = 1
20478 FS = "\a"
20480 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20481 line = \$ 0
20482 split(line, arg, " ")
20483 if (arg[1] == "#") {
20484 defundef = arg[2]
20485 mac1 = arg[3]
20486 } else {
20487 defundef = substr(arg[1], 2)
20488 mac1 = arg[2]
20490 split(mac1, mac2, "(") #)
20491 macro = mac2[1]
20492 prefix = substr(line, 1, index(line, defundef) - 1)
20493 if (D_is_set[macro]) {
20494 # Preserve the white space surrounding the "#".
20495 print prefix "define", macro P[macro] D[macro]
20496 next
20497 } else {
20498 # Replace #undef with comments. This is necessary, for example,
20499 # in the case of _POSIX_SOURCE, which is predefined and required
20500 # on some systems where configure will not decide to define it.
20501 if (defundef == "undef") {
20502 print "/*", prefix defundef, macro, "*/"
20503 next
20507 { print }
20508 _ACAWK
20509 _ACEOF
20510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20511 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20512 fi # test -n "$CONFIG_HEADERS"
20515 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20516 shift
20517 for ac_tag
20519 case $ac_tag in
20520 :[FHLC]) ac_mode=$ac_tag; continue;;
20521 esac
20522 case $ac_mode$ac_tag in
20523 :[FHL]*:*);;
20524 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20525 :[FH]-) ac_tag=-:-;;
20526 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20527 esac
20528 ac_save_IFS=$IFS
20529 IFS=:
20530 set x $ac_tag
20531 IFS=$ac_save_IFS
20532 shift
20533 ac_file=$1
20534 shift
20536 case $ac_mode in
20537 :L) ac_source=$1;;
20538 :[FH])
20539 ac_file_inputs=
20540 for ac_f
20542 case $ac_f in
20543 -) ac_f="$ac_tmp/stdin";;
20544 *) # Look for the file first in the build tree, then in the source tree
20545 # (if the path is not absolute). The absolute path cannot be DOS-style,
20546 # because $ac_f cannot contain `:'.
20547 test -f "$ac_f" ||
20548 case $ac_f in
20549 [\\/$]*) false;;
20550 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20551 esac ||
20552 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20553 esac
20554 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20555 as_fn_append ac_file_inputs " '$ac_f'"
20556 done
20558 # Let's still pretend it is `configure' which instantiates (i.e., don't
20559 # use $as_me), people would be surprised to read:
20560 # /* config.h. Generated by config.status. */
20561 configure_input='Generated from '`
20562 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20563 `' by configure.'
20564 if test x"$ac_file" != x-; then
20565 configure_input="$ac_file. $configure_input"
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20567 $as_echo "$as_me: creating $ac_file" >&6;}
20569 # Neutralize special characters interpreted by sed in replacement strings.
20570 case $configure_input in #(
20571 *\&* | *\|* | *\\* )
20572 ac_sed_conf_input=`$as_echo "$configure_input" |
20573 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20574 *) ac_sed_conf_input=$configure_input;;
20575 esac
20577 case $ac_tag in
20578 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20579 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20580 esac
20582 esac
20584 ac_dir=`$as_dirname -- "$ac_file" ||
20585 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20586 X"$ac_file" : 'X\(//\)[^/]' \| \
20587 X"$ac_file" : 'X\(//\)$' \| \
20588 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20589 $as_echo X"$ac_file" |
20590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20591 s//\1/
20594 /^X\(\/\/\)[^/].*/{
20595 s//\1/
20598 /^X\(\/\/\)$/{
20599 s//\1/
20602 /^X\(\/\).*/{
20603 s//\1/
20606 s/.*/./; q'`
20607 as_dir="$ac_dir"; as_fn_mkdir_p
20608 ac_builddir=.
20610 case "$ac_dir" in
20611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20614 # A ".." for each directory in $ac_dir_suffix.
20615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20616 case $ac_top_builddir_sub in
20617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20619 esac ;;
20620 esac
20621 ac_abs_top_builddir=$ac_pwd
20622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20623 # for backward compatibility:
20624 ac_top_builddir=$ac_top_build_prefix
20626 case $srcdir in
20627 .) # We are building in place.
20628 ac_srcdir=.
20629 ac_top_srcdir=$ac_top_builddir_sub
20630 ac_abs_top_srcdir=$ac_pwd ;;
20631 [\\/]* | ?:[\\/]* ) # Absolute name.
20632 ac_srcdir=$srcdir$ac_dir_suffix;
20633 ac_top_srcdir=$srcdir
20634 ac_abs_top_srcdir=$srcdir ;;
20635 *) # Relative name.
20636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20637 ac_top_srcdir=$ac_top_build_prefix$srcdir
20638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20639 esac
20640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20643 case $ac_mode in
20646 # CONFIG_FILE
20649 _ACEOF
20651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20652 # If the template does not know about datarootdir, expand it.
20653 # FIXME: This hack should be removed a few years after 2.60.
20654 ac_datarootdir_hack=; ac_datarootdir_seen=
20655 ac_sed_dataroot='
20656 /datarootdir/ {
20660 /@datadir@/p
20661 /@docdir@/p
20662 /@infodir@/p
20663 /@localedir@/p
20664 /@mandir@/p'
20665 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20666 *datarootdir*) ac_datarootdir_seen=yes;;
20667 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20670 _ACEOF
20671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20672 ac_datarootdir_hack='
20673 s&@datadir@&$datadir&g
20674 s&@docdir@&$docdir&g
20675 s&@infodir@&$infodir&g
20676 s&@localedir@&$localedir&g
20677 s&@mandir@&$mandir&g
20678 s&\\\${datarootdir}&$datarootdir&g' ;;
20679 esac
20680 _ACEOF
20682 # Neutralize VPATH when `$srcdir' = `.'.
20683 # Shell code in configure.ac might set extrasub.
20684 # FIXME: do we really want to maintain this feature?
20685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20686 ac_sed_extra="$ac_vpsub
20687 $extrasub
20688 _ACEOF
20689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20692 s|@configure_input@|$ac_sed_conf_input|;t t
20693 s&@top_builddir@&$ac_top_builddir_sub&;t t
20694 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20695 s&@srcdir@&$ac_srcdir&;t t
20696 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20697 s&@top_srcdir@&$ac_top_srcdir&;t t
20698 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20699 s&@builddir@&$ac_builddir&;t t
20700 s&@abs_builddir@&$ac_abs_builddir&;t t
20701 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20702 $ac_datarootdir_hack
20704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20705 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20708 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20710 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20712 which seems to be undefined. Please make sure it is defined" >&5
20713 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20714 which seems to be undefined. Please make sure it is defined" >&2;}
20716 rm -f "$ac_tmp/stdin"
20717 case $ac_file in
20718 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20719 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20720 esac \
20721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20725 # CONFIG_HEADER
20727 if test x"$ac_file" != x-; then
20729 $as_echo "/* $configure_input */" \
20730 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20731 } >"$ac_tmp/config.h" \
20732 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20733 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20735 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20736 else
20737 rm -f "$ac_file"
20738 mv "$ac_tmp/config.h" "$ac_file" \
20739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20741 else
20742 $as_echo "/* $configure_input */" \
20743 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20744 || as_fn_error $? "could not create -" "$LINENO" 5
20749 # CONFIG_LINK
20752 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20754 else
20755 # Prefer the file from the source tree if names are identical.
20756 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20757 ac_source=$srcdir/$ac_source
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20761 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20763 if test ! -r "$ac_source"; then
20764 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20766 rm -f "$ac_file"
20768 # Try a relative symlink, then a hard link, then a copy.
20769 case $ac_source in
20770 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20771 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20772 esac
20773 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20774 ln "$ac_source" "$ac_file" 2>/dev/null ||
20775 cp -p "$ac_source" "$ac_file" ||
20776 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20779 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20780 $as_echo "$as_me: executing $ac_file commands" >&6;}
20782 esac
20785 case $ac_file$ac_mode in
20786 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20787 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20788 "Makefile":C) wine_fn_output_makefile Makefile ;;
20790 esac
20791 done # for ac_tag
20794 as_fn_exit 0
20795 _ACEOF
20796 ac_clean_files=$ac_clean_files_save
20798 test $ac_write_fail = 0 ||
20799 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20802 # configure is writing to config.log, and then calls config.status.
20803 # config.status does its own redirection, appending to config.log.
20804 # Unfortunately, on DOS this fails, as config.log is still kept open
20805 # by configure, so config.status won't be able to write to it; its
20806 # output is simply discarded. So we exec the FD to /dev/null,
20807 # effectively closing config.log, so it can be properly (re)opened and
20808 # appended to by config.status. When coming back to configure, we
20809 # need to make the FD available again.
20810 if test "$no_create" != yes; then
20811 ac_cs_success=:
20812 ac_config_status_args=
20813 test "$silent" = yes &&
20814 ac_config_status_args="$ac_config_status_args --quiet"
20815 exec 5>/dev/null
20816 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20817 exec 5>>config.log
20818 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20819 # would make configure fail if this is the last instruction.
20820 $ac_cs_success || as_fn_exit 1
20822 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20824 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20828 if test "$no_create" = "yes"
20829 then
20830 exit 0
20833 ac_save_IFS="$IFS"
20834 if test "x$wine_notices" != x; then
20835 echo >&6
20836 IFS="|"
20837 for msg in $wine_notices; do
20838 IFS="$ac_save_IFS"
20839 if ${msg:+false} :; then :
20841 else
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20843 $as_echo "$as_me: $msg" >&6;}
20845 done
20847 IFS="|"
20848 for msg in $wine_warnings; do
20849 IFS="$ac_save_IFS"
20850 if ${msg:+false} :; then :
20852 else
20853 echo >&2
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20855 $as_echo "$as_me: WARNING: $msg" >&2;}
20857 done
20858 IFS="$ac_save_IFS"
20860 $as_echo "
20861 $as_me: Finished. Do '${ac_make}' to compile Wine.
20862 " >&6