ntdll: Pass the allocation size to the alloc_virtual_heap function.
[wine.git] / configure
blob3abee30f351f67d1875a96386b93bc8e34a32797
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.16.
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='2.16'
584 PACKAGE_STRING='Wine 2.16'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://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 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_legacy_l1_1_0
1028 enable_api_ms_win_eventing_provider_l1_1_0
1029 enable_api_ms_win_eventlog_legacy_l1_1_0
1030 enable_api_ms_win_mm_misc_l1_1_1
1031 enable_api_ms_win_mm_mme_l1_1_0
1032 enable_api_ms_win_mm_time_l1_1_0
1033 enable_api_ms_win_ntuser_dc_access_l1_1_0
1034 enable_api_ms_win_power_base_l1_1_0
1035 enable_api_ms_win_power_setting_l1_1_0
1036 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1037 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1038 enable_api_ms_win_security_audit_l1_1_1
1039 enable_api_ms_win_security_base_l1_1_0
1040 enable_api_ms_win_security_base_l1_2_0
1041 enable_api_ms_win_security_base_private_l1_1_1
1042 enable_api_ms_win_security_credentials_l1_1_0
1043 enable_api_ms_win_security_grouppolicy_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_0
1045 enable_api_ms_win_security_lsalookup_l1_1_1
1046 enable_api_ms_win_security_lsalookup_l2_1_1
1047 enable_api_ms_win_security_lsapolicy_l1_1_0
1048 enable_api_ms_win_security_provider_l1_1_0
1049 enable_api_ms_win_security_sddl_l1_1_0
1050 enable_api_ms_win_security_systemfunctions_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_0
1052 enable_api_ms_win_service_core_l1_1_1
1053 enable_api_ms_win_service_management_l1_1_0
1054 enable_api_ms_win_service_management_l2_1_0
1055 enable_api_ms_win_service_private_l1_1_1
1056 enable_api_ms_win_service_winsvc_l1_1_0
1057 enable_api_ms_win_service_winsvc_l1_2_0
1058 enable_api_ms_win_shell_shellcom_l1_1_0
1059 enable_api_ms_win_shell_shellfolders_l1_1_0
1060 enable_apphelp
1061 enable_appwiz_cpl
1062 enable_atl
1063 enable_atl100
1064 enable_atl110
1065 enable_atl80
1066 enable_atl90
1067 enable_authz
1068 enable_avicap32
1069 enable_avifil32
1070 enable_avrt
1071 enable_bcrypt
1072 enable_bluetoothapis
1073 enable_browseui
1074 enable_bthprops_cpl
1075 enable_cabinet
1076 enable_capi2032
1077 enable_cards
1078 enable_cfgmgr32
1079 enable_clusapi
1080 enable_combase
1081 enable_comcat
1082 enable_comctl32
1083 enable_comdlg32
1084 enable_compstui
1085 enable_comsvcs
1086 enable_concrt140
1087 enable_connect
1088 enable_credui
1089 enable_crtdll
1090 enable_crypt32
1091 enable_cryptdlg
1092 enable_cryptdll
1093 enable_cryptext
1094 enable_cryptnet
1095 enable_cryptui
1096 enable_ctapi32
1097 enable_ctl3d32
1098 enable_d2d1
1099 enable_d3d10
1100 enable_d3d10_1
1101 enable_d3d10core
1102 enable_d3d11
1103 enable_d3d8
1104 enable_d3d9
1105 enable_d3dcompiler_33
1106 enable_d3dcompiler_34
1107 enable_d3dcompiler_35
1108 enable_d3dcompiler_36
1109 enable_d3dcompiler_37
1110 enable_d3dcompiler_38
1111 enable_d3dcompiler_39
1112 enable_d3dcompiler_40
1113 enable_d3dcompiler_41
1114 enable_d3dcompiler_42
1115 enable_d3dcompiler_43
1116 enable_d3dcompiler_46
1117 enable_d3dcompiler_47
1118 enable_d3dim
1119 enable_d3drm
1120 enable_d3dx10_33
1121 enable_d3dx10_34
1122 enable_d3dx10_35
1123 enable_d3dx10_36
1124 enable_d3dx10_37
1125 enable_d3dx10_38
1126 enable_d3dx10_39
1127 enable_d3dx10_40
1128 enable_d3dx10_41
1129 enable_d3dx10_42
1130 enable_d3dx10_43
1131 enable_d3dx11_42
1132 enable_d3dx11_43
1133 enable_d3dx9_24
1134 enable_d3dx9_25
1135 enable_d3dx9_26
1136 enable_d3dx9_27
1137 enable_d3dx9_28
1138 enable_d3dx9_29
1139 enable_d3dx9_30
1140 enable_d3dx9_31
1141 enable_d3dx9_32
1142 enable_d3dx9_33
1143 enable_d3dx9_34
1144 enable_d3dx9_35
1145 enable_d3dx9_36
1146 enable_d3dx9_37
1147 enable_d3dx9_38
1148 enable_d3dx9_39
1149 enable_d3dx9_40
1150 enable_d3dx9_41
1151 enable_d3dx9_42
1152 enable_d3dx9_43
1153 enable_d3dxof
1154 enable_davclnt
1155 enable_dbgeng
1156 enable_dbghelp
1157 enable_dciman32
1158 enable_ddraw
1159 enable_ddrawex
1160 enable_devenum
1161 enable_dhcpcsvc
1162 enable_difxapi
1163 enable_dinput
1164 enable_dinput8
1165 enable_dispex
1166 enable_dmband
1167 enable_dmcompos
1168 enable_dmime
1169 enable_dmloader
1170 enable_dmscript
1171 enable_dmstyle
1172 enable_dmsynth
1173 enable_dmusic
1174 enable_dmusic32
1175 enable_dnsapi
1176 enable_dplay
1177 enable_dplayx
1178 enable_dpnaddr
1179 enable_dpnet
1180 enable_dpnhpast
1181 enable_dpnlobby
1182 enable_dpvoice
1183 enable_dpwsockx
1184 enable_drmclien
1185 enable_dsound
1186 enable_dsquery
1187 enable_dssenh
1188 enable_dswave
1189 enable_dwmapi
1190 enable_dwrite
1191 enable_dxdiagn
1192 enable_dxgi
1193 enable_dxva2
1194 enable_esent
1195 enable_evr
1196 enable_explorerframe
1197 enable_ext_ms_win_authz_context_l1_1_0
1198 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1199 enable_ext_ms_win_gdi_dc_create_l1_1_1
1200 enable_ext_ms_win_gdi_dc_l1_2_0
1201 enable_ext_ms_win_gdi_devcaps_l1_1_0
1202 enable_ext_ms_win_gdi_draw_l1_1_1
1203 enable_ext_ms_win_gdi_render_l1_1_0
1204 enable_ext_ms_win_kernel32_package_current_l1_1_0
1205 enable_ext_ms_win_kernel32_package_l1_1_1
1206 enable_ext_ms_win_ntuser_message_l1_1_1
1207 enable_ext_ms_win_ntuser_private_l1_1_1
1208 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1209 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1210 enable_ext_ms_win_ntuser_window_l1_1_1
1211 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1212 enable_ext_ms_win_ras_rasapi32_l1_1_0
1213 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1214 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1216 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1217 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1218 enable_ext_ms_win_security_credui_l1_1_0
1219 enable_ext_ms_win_security_cryptui_l1_1_0
1220 enable_faultrep
1221 enable_fltlib
1222 enable_fltmgr_sys
1223 enable_fntcache
1224 enable_fontsub
1225 enable_fusion
1226 enable_fwpuclnt
1227 enable_gameux
1228 enable_gdi32
1229 enable_gdiplus
1230 enable_glu32
1231 enable_gphoto2_ds
1232 enable_gpkcsp
1233 enable_hal
1234 enable_hhctrl_ocx
1235 enable_hid
1236 enable_hidclass_sys
1237 enable_hlink
1238 enable_hnetcfg
1239 enable_httpapi
1240 enable_iccvid
1241 enable_icmp
1242 enable_ieframe
1243 enable_ieproxy
1244 enable_imaadp32_acm
1245 enable_imagehlp
1246 enable_imm32
1247 enable_inetcomm
1248 enable_inetcpl_cpl
1249 enable_inetmib1
1250 enable_infosoft
1251 enable_initpki
1252 enable_inkobj
1253 enable_inseng
1254 enable_iphlpapi
1255 enable_iprop
1256 enable_irprops_cpl
1257 enable_itircl
1258 enable_itss
1259 enable_joy_cpl
1260 enable_jscript
1261 enable_jsproxy
1262 enable_kernel32
1263 enable_kernelbase
1264 enable_ksuser
1265 enable_ktmw32
1266 enable_loadperf
1267 enable_localspl
1268 enable_localui
1269 enable_lz32
1270 enable_mapi32
1271 enable_mapistub
1272 enable_mciavi32
1273 enable_mcicda
1274 enable_mciqtz32
1275 enable_mciseq
1276 enable_mciwave
1277 enable_mf
1278 enable_mf3216
1279 enable_mfplat
1280 enable_mfreadwrite
1281 enable_mgmtapi
1282 enable_midimap
1283 enable_mlang
1284 enable_mmcndmgr
1285 enable_mmdevapi
1286 enable_mountmgr_sys
1287 enable_mpr
1288 enable_mprapi
1289 enable_msacm32_drv
1290 enable_msacm32
1291 enable_msadp32_acm
1292 enable_msasn1
1293 enable_mscat32
1294 enable_mscms
1295 enable_mscoree
1296 enable_msctf
1297 enable_msctfp
1298 enable_msdaps
1299 enable_msdelta
1300 enable_msdmo
1301 enable_msdrm
1302 enable_msftedit
1303 enable_msg711_acm
1304 enable_msgsm32_acm
1305 enable_mshtml_tlb
1306 enable_mshtml
1307 enable_msi
1308 enable_msident
1309 enable_msimg32
1310 enable_msimsg
1311 enable_msimtf
1312 enable_msisip
1313 enable_msisys_ocx
1314 enable_msls31
1315 enable_msnet32
1316 enable_mspatcha
1317 enable_msports
1318 enable_msrle32
1319 enable_msscript_ocx
1320 enable_mssign32
1321 enable_mssip32
1322 enable_mstask
1323 enable_msvcirt
1324 enable_msvcm80
1325 enable_msvcm90
1326 enable_msvcp100
1327 enable_msvcp110
1328 enable_msvcp120
1329 enable_msvcp120_app
1330 enable_msvcp140
1331 enable_msvcp60
1332 enable_msvcp70
1333 enable_msvcp71
1334 enable_msvcp80
1335 enable_msvcp90
1336 enable_msvcr100
1337 enable_msvcr110
1338 enable_msvcr120
1339 enable_msvcr120_app
1340 enable_msvcr70
1341 enable_msvcr71
1342 enable_msvcr80
1343 enable_msvcr90
1344 enable_msvcrt
1345 enable_msvcrt20
1346 enable_msvcrt40
1347 enable_msvcrtd
1348 enable_msvfw32
1349 enable_msvidc32
1350 enable_mswsock
1351 enable_msxml
1352 enable_msxml2
1353 enable_msxml3
1354 enable_msxml4
1355 enable_msxml6
1356 enable_mtxdm
1357 enable_ncrypt
1358 enable_nddeapi
1359 enable_ndis_sys
1360 enable_netapi32
1361 enable_netcfgx
1362 enable_netprofm
1363 enable_newdev
1364 enable_normaliz
1365 enable_npmshtml
1366 enable_npptools
1367 enable_ntdll
1368 enable_ntdsapi
1369 enable_ntoskrnl_exe
1370 enable_ntprint
1371 enable_objsel
1372 enable_odbc32
1373 enable_odbccp32
1374 enable_odbccu32
1375 enable_ole32
1376 enable_oleacc
1377 enable_oleaut32
1378 enable_olecli32
1379 enable_oledb32
1380 enable_oledlg
1381 enable_olepro32
1382 enable_olesvr32
1383 enable_olethk32
1384 enable_openal32
1385 enable_opencl
1386 enable_opengl32
1387 enable_packager
1388 enable_pdh
1389 enable_photometadatahandler
1390 enable_pidgen
1391 enable_powrprof
1392 enable_printui
1393 enable_prntvpt
1394 enable_propsys
1395 enable_psapi
1396 enable_pstorec
1397 enable_qcap
1398 enable_qedit
1399 enable_qmgr
1400 enable_qmgrprxy
1401 enable_quartz
1402 enable_query
1403 enable_rasapi32
1404 enable_rasdlg
1405 enable_regapi
1406 enable_resutils
1407 enable_riched20
1408 enable_riched32
1409 enable_rpcrt4
1410 enable_rsabase
1411 enable_rsaenh
1412 enable_rstrtmgr
1413 enable_rtutils
1414 enable_samlib
1415 enable_sane_ds
1416 enable_scarddlg
1417 enable_sccbase
1418 enable_schannel
1419 enable_schedsvc
1420 enable_scrobj
1421 enable_scrrun
1422 enable_scsiport_sys
1423 enable_secur32
1424 enable_security
1425 enable_sensapi
1426 enable_serialui
1427 enable_setupapi
1428 enable_sfc
1429 enable_sfc_os
1430 enable_shdoclc
1431 enable_shdocvw
1432 enable_shell32
1433 enable_shfolder
1434 enable_shlwapi
1435 enable_slbcsp
1436 enable_slc
1437 enable_snmpapi
1438 enable_softpub
1439 enable_spoolss
1440 enable_sspicli
1441 enable_stdole2_tlb
1442 enable_stdole32_tlb
1443 enable_sti
1444 enable_svrapi
1445 enable_sxs
1446 enable_t2embed
1447 enable_tapi32
1448 enable_taskschd
1449 enable_tdh
1450 enable_tdi_sys
1451 enable_traffic
1452 enable_twain_32
1453 enable_ucrtbase
1454 enable_uiautomationcore
1455 enable_uiribbon
1456 enable_unicows
1457 enable_updspapi
1458 enable_url
1459 enable_urlmon
1460 enable_usbd_sys
1461 enable_user32
1462 enable_userenv
1463 enable_usp10
1464 enable_uxtheme
1465 enable_vbscript
1466 enable_vcomp
1467 enable_vcomp100
1468 enable_vcomp110
1469 enable_vcomp120
1470 enable_vcomp140
1471 enable_vcomp90
1472 enable_vcruntime140
1473 enable_vdmdbg
1474 enable_version
1475 enable_virtdisk
1476 enable_vssapi
1477 enable_wbemdisp
1478 enable_wbemprox
1479 enable_webservices
1480 enable_wer
1481 enable_wevtapi
1482 enable_wiaservc
1483 enable_wimgapi
1484 enable_windowscodecs
1485 enable_windowscodecsext
1486 enable_winealsa_drv
1487 enable_wineandroid_drv
1488 enable_winebus_sys
1489 enable_winecoreaudio_drv
1490 enable_wined3d
1491 enable_winegstreamer
1492 enable_winehid_sys
1493 enable_winejoystick_drv
1494 enable_winemac_drv
1495 enable_winemapi
1496 enable_winemp3_acm
1497 enable_wineoss_drv
1498 enable_wineps_drv
1499 enable_winepulse_drv
1500 enable_wineqtdecoder
1501 enable_winex11_drv
1502 enable_wing32
1503 enable_winhttp
1504 enable_wininet
1505 enable_winmm
1506 enable_winnls32
1507 enable_winscard
1508 enable_winspool_drv
1509 enable_winsta
1510 enable_wintab32
1511 enable_wintrust
1512 enable_winusb
1513 enable_wlanapi
1514 enable_wldap32
1515 enable_wmasf
1516 enable_wmi
1517 enable_wmiutils
1518 enable_wmp
1519 enable_wmphoto
1520 enable_wmvcore
1521 enable_wnaspi32
1522 enable_wpc
1523 enable_wpcap
1524 enable_ws2_32
1525 enable_wsdapi
1526 enable_wshom_ocx
1527 enable_wsnmp32
1528 enable_wsock32
1529 enable_wtsapi32
1530 enable_wuapi
1531 enable_wuaueng
1532 enable_x3daudio1_0
1533 enable_x3daudio1_1
1534 enable_x3daudio1_2
1535 enable_x3daudio1_3
1536 enable_x3daudio1_4
1537 enable_x3daudio1_5
1538 enable_x3daudio1_6
1539 enable_x3daudio1_7
1540 enable_xapofx1_1
1541 enable_xapofx1_2
1542 enable_xapofx1_3
1543 enable_xapofx1_4
1544 enable_xapofx1_5
1545 enable_xaudio2_0
1546 enable_xaudio2_1
1547 enable_xaudio2_2
1548 enable_xaudio2_3
1549 enable_xaudio2_4
1550 enable_xaudio2_5
1551 enable_xaudio2_6
1552 enable_xaudio2_7
1553 enable_xaudio2_8
1554 enable_xaudio2_9
1555 enable_xinput1_1
1556 enable_xinput1_2
1557 enable_xinput1_3
1558 enable_xinput1_4
1559 enable_xinput9_1_0
1560 enable_xmllite
1561 enable_xolehlp
1562 enable_xpsprint
1563 enable_xpssvcs
1564 enable_fonts
1565 enable_include
1566 enable_libs_port
1567 enable_libs_wine
1568 enable_libs_wpp
1569 enable_loader
1570 enable_po
1571 enable_arp
1572 enable_aspnet_regiis
1573 enable_attrib
1574 enable_cabarc
1575 enable_cacls
1576 enable_clock
1577 enable_cmd
1578 enable_conhost
1579 enable_control
1580 enable_cscript
1581 enable_dpnsvr
1582 enable_dxdiag
1583 enable_eject
1584 enable_expand
1585 enable_explorer
1586 enable_extrac32
1587 enable_findstr
1588 enable_fsutil
1589 enable_hh
1590 enable_hostname
1591 enable_icacls
1592 enable_icinfo
1593 enable_iexplore
1594 enable_ipconfig
1595 enable_lodctr
1596 enable_mofcomp
1597 enable_mshta
1598 enable_msiexec
1599 enable_msinfo32
1600 enable_net
1601 enable_netsh
1602 enable_netstat
1603 enable_ngen
1604 enable_notepad
1605 enable_oleview
1606 enable_ping
1607 enable_plugplay
1608 enable_powershell
1609 enable_presentationfontcache
1610 enable_progman
1611 enable_reg
1612 enable_regasm
1613 enable_regedit
1614 enable_regsvcs
1615 enable_regsvr32
1616 enable_rpcss
1617 enable_rundll32
1618 enable_sc
1619 enable_schtasks
1620 enable_sdbinst
1621 enable_secedit
1622 enable_servicemodelreg
1623 enable_services
1624 enable_shutdown
1625 enable_spoolsv
1626 enable_start
1627 enable_subst
1628 enable_svchost
1629 enable_systeminfo
1630 enable_taskkill
1631 enable_tasklist
1632 enable_taskmgr
1633 enable_termsv
1634 enable_uninstaller
1635 enable_unlodctr
1636 enable_view
1637 enable_wevtutil
1638 enable_wineboot
1639 enable_winebrowser
1640 enable_winecfg
1641 enable_wineconsole
1642 enable_winedbg
1643 enable_winedevice
1644 enable_winefile
1645 enable_winemenubuilder
1646 enable_winemine
1647 enable_winemsibuilder
1648 enable_winepath
1649 enable_winetest
1650 enable_winhlp32
1651 enable_winver
1652 enable_wmic
1653 enable_wmplayer
1654 enable_wordpad
1655 enable_write
1656 enable_wscript
1657 enable_wusa
1658 enable_xcopy
1659 enable_server
1660 enable_tools
1662 ac_precious_vars='build_alias
1663 host_alias
1664 target_alias
1666 CFLAGS
1667 LDFLAGS
1668 LIBS
1669 CPPFLAGS
1671 CXXFLAGS
1674 XMKMF
1675 XML2_CFLAGS
1676 XML2_LIBS
1677 XSLT_CFLAGS
1678 XSLT_LIBS
1679 DBUS_CFLAGS
1680 DBUS_LIBS
1681 HAL_CFLAGS
1682 HAL_LIBS
1683 GNUTLS_CFLAGS
1684 GNUTLS_LIBS
1685 SANE_CFLAGS
1686 SANE_LIBS
1687 GPHOTO2_CFLAGS
1688 GPHOTO2_LIBS
1689 GPHOTO2_PORT_CFLAGS
1690 GPHOTO2_PORT_LIBS
1691 LCMS2_CFLAGS
1692 LCMS2_LIBS
1693 FREETYPE_CFLAGS
1694 FREETYPE_LIBS
1695 PULSE_CFLAGS
1696 PULSE_LIBS
1697 GSTREAMER_CFLAGS
1698 GSTREAMER_LIBS
1699 UDEV_CFLAGS
1700 UDEV_LIBS
1701 CAPI20_CFLAGS
1702 CAPI20_LIBS
1703 FONTCONFIG_CFLAGS
1704 FONTCONFIG_LIBS
1705 JPEG_CFLAGS
1706 JPEG_LIBS
1707 PNG_CFLAGS
1708 PNG_LIBS
1709 TIFF_CFLAGS
1710 TIFF_LIBS
1711 MPG123_CFLAGS
1712 MPG123_LIBS
1713 NETAPI_CFLAGS
1714 NETAPI_LIBS
1715 LDAP_CFLAGS
1716 LDAP_LIBS'
1719 # Initialize some variables set by options.
1720 ac_init_help=
1721 ac_init_version=false
1722 ac_unrecognized_opts=
1723 ac_unrecognized_sep=
1724 # The variables have the same names as the options, with
1725 # dashes changed to underlines.
1726 cache_file=/dev/null
1727 exec_prefix=NONE
1728 no_create=
1729 no_recursion=
1730 prefix=NONE
1731 program_prefix=NONE
1732 program_suffix=NONE
1733 program_transform_name=s,x,x,
1734 silent=
1735 site=
1736 srcdir=
1737 verbose=
1738 x_includes=NONE
1739 x_libraries=NONE
1741 # Installation directory options.
1742 # These are left unexpanded so users can "make install exec_prefix=/foo"
1743 # and all the variables that are supposed to be based on exec_prefix
1744 # by default will actually change.
1745 # Use braces instead of parens because sh, perl, etc. also accept them.
1746 # (The list follows the same order as the GNU Coding Standards.)
1747 bindir='${exec_prefix}/bin'
1748 sbindir='${exec_prefix}/sbin'
1749 libexecdir='${exec_prefix}/libexec'
1750 datarootdir='${prefix}/share'
1751 datadir='${datarootdir}'
1752 sysconfdir='${prefix}/etc'
1753 sharedstatedir='${prefix}/com'
1754 localstatedir='${prefix}/var'
1755 runstatedir='${localstatedir}/run'
1756 includedir='${prefix}/include'
1757 oldincludedir='/usr/include'
1758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1759 infodir='${datarootdir}/info'
1760 htmldir='${docdir}'
1761 dvidir='${docdir}'
1762 pdfdir='${docdir}'
1763 psdir='${docdir}'
1764 libdir='${exec_prefix}/lib'
1765 localedir='${datarootdir}/locale'
1766 mandir='${datarootdir}/man'
1768 ac_prev=
1769 ac_dashdash=
1770 for ac_option
1772 # If the previous option needs an argument, assign it.
1773 if test -n "$ac_prev"; then
1774 eval $ac_prev=\$ac_option
1775 ac_prev=
1776 continue
1779 case $ac_option in
1780 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1781 *=) ac_optarg= ;;
1782 *) ac_optarg=yes ;;
1783 esac
1785 # Accept the important Cygnus configure options, so we can diagnose typos.
1787 case $ac_dashdash$ac_option in
1789 ac_dashdash=yes ;;
1791 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1792 ac_prev=bindir ;;
1793 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1794 bindir=$ac_optarg ;;
1796 -build | --build | --buil | --bui | --bu)
1797 ac_prev=build_alias ;;
1798 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1799 build_alias=$ac_optarg ;;
1801 -cache-file | --cache-file | --cache-fil | --cache-fi \
1802 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1803 ac_prev=cache_file ;;
1804 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1805 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1806 cache_file=$ac_optarg ;;
1808 --config-cache | -C)
1809 cache_file=config.cache ;;
1811 -datadir | --datadir | --datadi | --datad)
1812 ac_prev=datadir ;;
1813 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1814 datadir=$ac_optarg ;;
1816 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1817 | --dataroo | --dataro | --datar)
1818 ac_prev=datarootdir ;;
1819 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1820 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1821 datarootdir=$ac_optarg ;;
1823 -disable-* | --disable-*)
1824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1827 as_fn_error $? "invalid feature name: $ac_useropt"
1828 ac_useropt_orig=$ac_useropt
1829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1832 "enable_$ac_useropt"
1833 "*) ;;
1834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1835 ac_unrecognized_sep=', ';;
1836 esac
1837 eval enable_$ac_useropt=no ;;
1839 -docdir | --docdir | --docdi | --doc | --do)
1840 ac_prev=docdir ;;
1841 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1842 docdir=$ac_optarg ;;
1844 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1845 ac_prev=dvidir ;;
1846 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1847 dvidir=$ac_optarg ;;
1849 -enable-* | --enable-*)
1850 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1851 # Reject names that are not valid shell variable names.
1852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1853 as_fn_error $? "invalid feature name: $ac_useropt"
1854 ac_useropt_orig=$ac_useropt
1855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1856 case $ac_user_opts in
1858 "enable_$ac_useropt"
1859 "*) ;;
1860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1861 ac_unrecognized_sep=', ';;
1862 esac
1863 eval enable_$ac_useropt=\$ac_optarg ;;
1865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1867 | --exec | --exe | --ex)
1868 ac_prev=exec_prefix ;;
1869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1871 | --exec=* | --exe=* | --ex=*)
1872 exec_prefix=$ac_optarg ;;
1874 -gas | --gas | --ga | --g)
1875 # Obsolete; use --with-gas.
1876 with_gas=yes ;;
1878 -help | --help | --hel | --he | -h)
1879 ac_init_help=long ;;
1880 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1881 ac_init_help=recursive ;;
1882 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1883 ac_init_help=short ;;
1885 -host | --host | --hos | --ho)
1886 ac_prev=host_alias ;;
1887 -host=* | --host=* | --hos=* | --ho=*)
1888 host_alias=$ac_optarg ;;
1890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1891 ac_prev=htmldir ;;
1892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1893 | --ht=*)
1894 htmldir=$ac_optarg ;;
1896 -includedir | --includedir | --includedi | --included | --include \
1897 | --includ | --inclu | --incl | --inc)
1898 ac_prev=includedir ;;
1899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1900 | --includ=* | --inclu=* | --incl=* | --inc=*)
1901 includedir=$ac_optarg ;;
1903 -infodir | --infodir | --infodi | --infod | --info | --inf)
1904 ac_prev=infodir ;;
1905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1906 infodir=$ac_optarg ;;
1908 -libdir | --libdir | --libdi | --libd)
1909 ac_prev=libdir ;;
1910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1911 libdir=$ac_optarg ;;
1913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1914 | --libexe | --libex | --libe)
1915 ac_prev=libexecdir ;;
1916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1917 | --libexe=* | --libex=* | --libe=*)
1918 libexecdir=$ac_optarg ;;
1920 -localedir | --localedir | --localedi | --localed | --locale)
1921 ac_prev=localedir ;;
1922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1923 localedir=$ac_optarg ;;
1925 -localstatedir | --localstatedir | --localstatedi | --localstated \
1926 | --localstate | --localstat | --localsta | --localst | --locals)
1927 ac_prev=localstatedir ;;
1928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1930 localstatedir=$ac_optarg ;;
1932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1933 ac_prev=mandir ;;
1934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1935 mandir=$ac_optarg ;;
1937 -nfp | --nfp | --nf)
1938 # Obsolete; use --without-fp.
1939 with_fp=no ;;
1941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1942 | --no-cr | --no-c | -n)
1943 no_create=yes ;;
1945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1947 no_recursion=yes ;;
1949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1951 | --oldin | --oldi | --old | --ol | --o)
1952 ac_prev=oldincludedir ;;
1953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1956 oldincludedir=$ac_optarg ;;
1958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1959 ac_prev=prefix ;;
1960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1961 prefix=$ac_optarg ;;
1963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1964 | --program-pre | --program-pr | --program-p)
1965 ac_prev=program_prefix ;;
1966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1968 program_prefix=$ac_optarg ;;
1970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1971 | --program-suf | --program-su | --program-s)
1972 ac_prev=program_suffix ;;
1973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1975 program_suffix=$ac_optarg ;;
1977 -program-transform-name | --program-transform-name \
1978 | --program-transform-nam | --program-transform-na \
1979 | --program-transform-n | --program-transform- \
1980 | --program-transform | --program-transfor \
1981 | --program-transfo | --program-transf \
1982 | --program-trans | --program-tran \
1983 | --progr-tra | --program-tr | --program-t)
1984 ac_prev=program_transform_name ;;
1985 -program-transform-name=* | --program-transform-name=* \
1986 | --program-transform-nam=* | --program-transform-na=* \
1987 | --program-transform-n=* | --program-transform-=* \
1988 | --program-transform=* | --program-transfor=* \
1989 | --program-transfo=* | --program-transf=* \
1990 | --program-trans=* | --program-tran=* \
1991 | --progr-tra=* | --program-tr=* | --program-t=*)
1992 program_transform_name=$ac_optarg ;;
1994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1995 ac_prev=pdfdir ;;
1996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1997 pdfdir=$ac_optarg ;;
1999 -psdir | --psdir | --psdi | --psd | --ps)
2000 ac_prev=psdir ;;
2001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2002 psdir=$ac_optarg ;;
2004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2005 | -silent | --silent | --silen | --sile | --sil)
2006 silent=yes ;;
2008 -runstatedir | --runstatedir | --runstatedi | --runstated \
2009 | --runstate | --runstat | --runsta | --runst | --runs \
2010 | --run | --ru | --r)
2011 ac_prev=runstatedir ;;
2012 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2013 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2014 | --run=* | --ru=* | --r=*)
2015 runstatedir=$ac_optarg ;;
2017 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2018 ac_prev=sbindir ;;
2019 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2020 | --sbi=* | --sb=*)
2021 sbindir=$ac_optarg ;;
2023 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2024 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2025 | --sharedst | --shareds | --shared | --share | --shar \
2026 | --sha | --sh)
2027 ac_prev=sharedstatedir ;;
2028 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2029 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2030 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2031 | --sha=* | --sh=*)
2032 sharedstatedir=$ac_optarg ;;
2034 -site | --site | --sit)
2035 ac_prev=site ;;
2036 -site=* | --site=* | --sit=*)
2037 site=$ac_optarg ;;
2039 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2040 ac_prev=srcdir ;;
2041 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2042 srcdir=$ac_optarg ;;
2044 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2045 | --syscon | --sysco | --sysc | --sys | --sy)
2046 ac_prev=sysconfdir ;;
2047 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2048 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2049 sysconfdir=$ac_optarg ;;
2051 -target | --target | --targe | --targ | --tar | --ta | --t)
2052 ac_prev=target_alias ;;
2053 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2054 target_alias=$ac_optarg ;;
2056 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2057 verbose=yes ;;
2059 -version | --version | --versio | --versi | --vers | -V)
2060 ac_init_version=: ;;
2062 -with-* | --with-*)
2063 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2064 # Reject names that are not valid shell variable names.
2065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2066 as_fn_error $? "invalid package name: $ac_useropt"
2067 ac_useropt_orig=$ac_useropt
2068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2069 case $ac_user_opts in
2071 "with_$ac_useropt"
2072 "*) ;;
2073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2074 ac_unrecognized_sep=', ';;
2075 esac
2076 eval with_$ac_useropt=\$ac_optarg ;;
2078 -without-* | --without-*)
2079 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2080 # Reject names that are not valid shell variable names.
2081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2082 as_fn_error $? "invalid package name: $ac_useropt"
2083 ac_useropt_orig=$ac_useropt
2084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2085 case $ac_user_opts in
2087 "with_$ac_useropt"
2088 "*) ;;
2089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2090 ac_unrecognized_sep=', ';;
2091 esac
2092 eval with_$ac_useropt=no ;;
2094 --x)
2095 # Obsolete; use --with-x.
2096 with_x=yes ;;
2098 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2099 | --x-incl | --x-inc | --x-in | --x-i)
2100 ac_prev=x_includes ;;
2101 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2102 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2103 x_includes=$ac_optarg ;;
2105 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2106 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2107 ac_prev=x_libraries ;;
2108 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2109 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2110 x_libraries=$ac_optarg ;;
2112 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2113 Try \`$0 --help' for more information"
2116 *=*)
2117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2118 # Reject names that are not valid shell variable names.
2119 case $ac_envvar in #(
2120 '' | [0-9]* | *[!_$as_cr_alnum]* )
2121 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2122 esac
2123 eval $ac_envvar=\$ac_optarg
2124 export $ac_envvar ;;
2127 # FIXME: should be removed in autoconf 3.0.
2128 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2130 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2134 esac
2135 done
2137 if test -n "$ac_prev"; then
2138 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2139 as_fn_error $? "missing argument to $ac_option"
2142 if test -n "$ac_unrecognized_opts"; then
2143 case $enable_option_checking in
2144 no) ;;
2145 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2146 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2147 esac
2150 # Check all directory arguments for consistency.
2151 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2152 datadir sysconfdir sharedstatedir localstatedir includedir \
2153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2154 libdir localedir mandir runstatedir
2156 eval ac_val=\$$ac_var
2157 # Remove trailing slashes.
2158 case $ac_val in
2159 */ )
2160 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2161 eval $ac_var=\$ac_val;;
2162 esac
2163 # Be sure to have absolute directory names.
2164 case $ac_val in
2165 [\\/$]* | ?:[\\/]* ) continue;;
2166 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2167 esac
2168 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2169 done
2171 # There might be people who depend on the old broken behavior: `$host'
2172 # used to hold the argument of --host etc.
2173 # FIXME: To remove some day.
2174 build=$build_alias
2175 host=$host_alias
2176 target=$target_alias
2178 # FIXME: To remove some day.
2179 if test "x$host_alias" != x; then
2180 if test "x$build_alias" = x; then
2181 cross_compiling=maybe
2182 elif test "x$build_alias" != "x$host_alias"; then
2183 cross_compiling=yes
2187 ac_tool_prefix=
2188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2190 test "$silent" = yes && exec 6>/dev/null
2193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2194 ac_ls_di=`ls -di .` &&
2195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2196 as_fn_error $? "working directory cannot be determined"
2197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2198 as_fn_error $? "pwd does not report name of working directory"
2201 # Find the source files, if location was not specified.
2202 if test -z "$srcdir"; then
2203 ac_srcdir_defaulted=yes
2204 # Try the directory containing this script, then the parent directory.
2205 ac_confdir=`$as_dirname -- "$as_myself" ||
2206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2207 X"$as_myself" : 'X\(//\)[^/]' \| \
2208 X"$as_myself" : 'X\(//\)$' \| \
2209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2210 $as_echo X"$as_myself" |
2211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2212 s//\1/
2215 /^X\(\/\/\)[^/].*/{
2216 s//\1/
2219 /^X\(\/\/\)$/{
2220 s//\1/
2223 /^X\(\/\).*/{
2224 s//\1/
2227 s/.*/./; q'`
2228 srcdir=$ac_confdir
2229 if test ! -r "$srcdir/$ac_unique_file"; then
2230 srcdir=..
2232 else
2233 ac_srcdir_defaulted=no
2235 if test ! -r "$srcdir/$ac_unique_file"; then
2236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2240 ac_abs_confdir=`(
2241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2242 pwd)`
2243 # When building in place, set srcdir=.
2244 if test "$ac_abs_confdir" = "$ac_pwd"; then
2245 srcdir=.
2247 # Remove unnecessary trailing slashes from srcdir.
2248 # Double slashes in file names in object file debugging info
2249 # mess up M-x gdb in Emacs.
2250 case $srcdir in
2251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2252 esac
2253 for ac_var in $ac_precious_vars; do
2254 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2255 eval ac_env_${ac_var}_value=\$${ac_var}
2256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2257 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2258 done
2261 # Report the --help message.
2263 if test "$ac_init_help" = "long"; then
2264 # Omit some internal or obsolete options to make the list less imposing.
2265 # This message is too long to be a string in the A/UX 3.1 sh.
2266 cat <<_ACEOF
2267 \`configure' configures Wine 2.16 to adapt to many kinds of systems.
2269 Usage: $0 [OPTION]... [VAR=VALUE]...
2271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2272 VAR=VALUE. See below for descriptions of some of the useful variables.
2274 Defaults for the options are specified in brackets.
2276 Configuration:
2277 -h, --help display this help and exit
2278 --help=short display options specific to this package
2279 --help=recursive display the short help of all the included packages
2280 -V, --version display version information and exit
2281 -q, --quiet, --silent do not print \`checking ...' messages
2282 --cache-file=FILE cache test results in FILE [disabled]
2283 -C, --config-cache alias for \`--cache-file=config.cache'
2284 -n, --no-create do not create output files
2285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2287 Installation directories:
2288 --prefix=PREFIX install architecture-independent files in PREFIX
2289 [$ac_default_prefix]
2290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2291 [PREFIX]
2293 By default, \`make install' will install all the files in
2294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2296 for instance \`--prefix=\$HOME'.
2298 For better control, use the options below.
2300 Fine tuning of the installation directories:
2301 --bindir=DIR user executables [EPREFIX/bin]
2302 --sbindir=DIR system admin executables [EPREFIX/sbin]
2303 --libexecdir=DIR program executables [EPREFIX/libexec]
2304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2307 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2308 --libdir=DIR object code libraries [EPREFIX/lib]
2309 --includedir=DIR C header files [PREFIX/include]
2310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2313 --infodir=DIR info documentation [DATAROOTDIR/info]
2314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2315 --mandir=DIR man documentation [DATAROOTDIR/man]
2316 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2317 --htmldir=DIR html documentation [DOCDIR]
2318 --dvidir=DIR dvi documentation [DOCDIR]
2319 --pdfdir=DIR pdf documentation [DOCDIR]
2320 --psdir=DIR ps documentation [DOCDIR]
2321 _ACEOF
2323 cat <<\_ACEOF
2325 X features:
2326 --x-includes=DIR X include files are in DIR
2327 --x-libraries=DIR X library files are in DIR
2329 System types:
2330 --build=BUILD configure for building on BUILD [guessed]
2331 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2332 _ACEOF
2335 if test -n "$ac_init_help"; then
2336 case $ac_init_help in
2337 short | recursive ) echo "Configuration of Wine 2.16:";;
2338 esac
2339 cat <<\_ACEOF
2341 Optional Features:
2342 --disable-option-checking ignore unrecognized --enable/--with options
2343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2345 --disable-win16 do not include Win16 support
2346 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2347 binaries)
2348 --disable-tests do not build the regression tests
2349 --enable-maintainer-mode
2350 enable maintainer-specific build rules
2351 --disable-largefile omit support for large files
2353 Optional Packages:
2354 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2355 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2356 --without-alsa do not use the Alsa sound support
2357 --without-capi do not use CAPI (ISDN support)
2358 --without-cms do not use CMS (color management support)
2359 --without-coreaudio do not use the CoreAudio sound support
2360 --without-cups do not use CUPS
2361 --without-curses do not use (n)curses
2362 --without-dbus do not use DBus (dynamic device support)
2363 --without-fontconfig do not use fontconfig
2364 --without-freetype do not use the FreeType library
2365 --without-gettext do not use gettext
2366 --with-gettextpo use the GetTextPO library to rebuild po files
2367 --without-gphoto do not use gphoto (Digital Camera support)
2368 --without-glu do not use the GLU library
2369 --without-gnutls do not use GnuTLS (schannel support)
2370 --without-gsm do not use libgsm (GSM 06.10 codec support)
2371 --without-gstreamer do not use GStreamer (codecs support)
2372 --without-hal do not use HAL (dynamic device support)
2373 --without-jpeg do not use JPEG
2374 --without-ldap do not use LDAP
2375 --without-mpg123 do not use the mpg123 library
2376 --without-netapi do not use the Samba NetAPI library
2377 --without-openal do not use OpenAL
2378 --without-opencl do not use OpenCL
2379 --without-opengl do not use OpenGL
2380 --without-osmesa do not use the OSMesa library
2381 --without-oss do not use the OSS sound support
2382 --without-pcap do not use the Packet Capture library
2383 --without-png do not use PNG
2384 --without-pthread do not use the pthread library
2385 --without-pulse do not use PulseAudio sound support
2386 --without-sane do not use SANE (scanner support)
2387 --without-tiff do not use TIFF
2388 --without-udev do not use udev (plug and play support)
2389 --without-v4l do not use v4l1 (v4l support)
2390 --without-xcomposite do not use the Xcomposite extension
2391 --without-xcursor do not use the Xcursor extension
2392 --without-xfixes do not use Xfixes for clipboard change notifications
2393 --without-xinerama do not use Xinerama (multi-monitor support)
2394 --without-xinput do not use the Xinput extension
2395 --without-xinput2 do not use the Xinput 2 extension
2396 --without-xml do not use XML
2397 --without-xrandr do not use Xrandr (resolution changes)
2398 --without-xrender do not use the Xrender extension
2399 --without-xshape do not use the Xshape extension
2400 --without-xshm do not use XShm (shared memory extension)
2401 --without-xslt do not use XSLT
2402 --without-xxf86vm do not use XFree video mode extension
2403 --without-zlib do not use Zlib (data compression)
2404 --with-wine-tools=DIR use Wine tools from directory DIR
2405 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2406 --with-x use the X Window System
2408 Some influential environment variables:
2409 CC C compiler command
2410 CFLAGS C compiler flags
2411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2412 nonstandard directory <lib dir>
2413 LIBS libraries to pass to the linker, e.g. -l<library>
2414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2415 you have headers in a nonstandard directory <include dir>
2416 CXX C++ compiler command
2417 CXXFLAGS C++ compiler flags
2418 CPP C preprocessor
2419 XMKMF Path to xmkmf, Makefile generator for X Window System
2420 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2421 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2422 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2423 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2424 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2425 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2426 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2427 HAL_LIBS Linker flags for hal, overriding pkg-config
2428 GNUTLS_CFLAGS
2429 C compiler flags for gnutls, overriding pkg-config
2430 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2431 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2432 SANE_LIBS Linker flags for libsane, overriding pkg-config
2433 GPHOTO2_CFLAGS
2434 C compiler flags for libgphoto2, overriding pkg-config
2435 GPHOTO2_LIBS
2436 Linker flags for libgphoto2, overriding pkg-config
2437 GPHOTO2_PORT_CFLAGS
2438 C compiler flags for libgphoto2_port, overriding pkg-config
2439 GPHOTO2_PORT_LIBS
2440 Linker flags for libgphoto2_port, overriding pkg-config
2441 LCMS2_CFLAGS
2442 C compiler flags for lcms2, overriding pkg-config
2443 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2444 FREETYPE_CFLAGS
2445 C compiler flags for freetype2, overriding pkg-config
2446 FREETYPE_LIBS
2447 Linker flags for freetype2, overriding pkg-config
2448 PULSE_CFLAGS
2449 C compiler flags for libpulse, overriding pkg-config
2450 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2451 GSTREAMER_CFLAGS
2452 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2453 gstreamer-audio-1.0, overriding pkg-config
2454 GSTREAMER_LIBS
2455 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2456 gstreamer-audio-1.0, overriding pkg-config
2457 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2458 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2459 CAPI20_CFLAGS
2460 C compiler flags for capi20, overriding pkg-config
2461 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2462 FONTCONFIG_CFLAGS
2463 C compiler flags for fontconfig, overriding pkg-config
2464 FONTCONFIG_LIBS
2465 Linker flags for fontconfig, overriding pkg-config
2466 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2467 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2468 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2469 PNG_LIBS Linker flags for libpng, overriding pkg-config
2470 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2471 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2472 MPG123_CFLAGS
2473 C compiler flags for libmpg123, overriding pkg-config
2474 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2475 NETAPI_CFLAGS
2476 C compiler flags for netapi, overriding pkg-config
2477 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2478 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2479 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2481 Use these variables to override the choices made by `configure' or to help
2482 it to find libraries and programs with nonstandard names/locations.
2484 Report bugs to <wine-devel@winehq.org>.
2485 Wine home page: <http://www.winehq.org>.
2486 _ACEOF
2487 ac_status=$?
2490 if test "$ac_init_help" = "recursive"; then
2491 # If there are subdirs, report their specific --help.
2492 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2493 test -d "$ac_dir" ||
2494 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2495 continue
2496 ac_builddir=.
2498 case "$ac_dir" in
2499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2501 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2502 # A ".." for each directory in $ac_dir_suffix.
2503 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2504 case $ac_top_builddir_sub in
2505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2507 esac ;;
2508 esac
2509 ac_abs_top_builddir=$ac_pwd
2510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2511 # for backward compatibility:
2512 ac_top_builddir=$ac_top_build_prefix
2514 case $srcdir in
2515 .) # We are building in place.
2516 ac_srcdir=.
2517 ac_top_srcdir=$ac_top_builddir_sub
2518 ac_abs_top_srcdir=$ac_pwd ;;
2519 [\\/]* | ?:[\\/]* ) # Absolute name.
2520 ac_srcdir=$srcdir$ac_dir_suffix;
2521 ac_top_srcdir=$srcdir
2522 ac_abs_top_srcdir=$srcdir ;;
2523 *) # Relative name.
2524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2525 ac_top_srcdir=$ac_top_build_prefix$srcdir
2526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2527 esac
2528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2530 cd "$ac_dir" || { ac_status=$?; continue; }
2531 # Check for guested configure.
2532 if test -f "$ac_srcdir/configure.gnu"; then
2533 echo &&
2534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2535 elif test -f "$ac_srcdir/configure"; then
2536 echo &&
2537 $SHELL "$ac_srcdir/configure" --help=recursive
2538 else
2539 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2540 fi || ac_status=$?
2541 cd "$ac_pwd" || { ac_status=$?; break; }
2542 done
2545 test -n "$ac_init_help" && exit $ac_status
2546 if $ac_init_version; then
2547 cat <<\_ACEOF
2548 Wine configure 2.16
2549 generated by GNU Autoconf 2.69
2551 Copyright (C) 2012 Free Software Foundation, Inc.
2552 This configure script is free software; the Free Software Foundation
2553 gives unlimited permission to copy, distribute and modify it.
2554 _ACEOF
2555 exit
2558 ## ------------------------ ##
2559 ## Autoconf initialization. ##
2560 ## ------------------------ ##
2562 # ac_fn_c_try_compile LINENO
2563 # --------------------------
2564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2565 ac_fn_c_try_compile ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 rm -f conftest.$ac_objext
2569 if { { ac_try="$ac_compile"
2570 case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2573 esac
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_compile") 2>conftest.err
2577 ac_status=$?
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then :
2588 ac_retval=0
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 ac_retval=1
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 as_fn_set_status $ac_retval
2598 } # ac_fn_c_try_compile
2600 # ac_fn_cxx_try_compile LINENO
2601 # ----------------------------
2602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2603 ac_fn_cxx_try_compile ()
2605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606 rm -f conftest.$ac_objext
2607 if { { ac_try="$ac_compile"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_compile") 2>conftest.err
2615 ac_status=$?
2616 if test -s conftest.err; then
2617 grep -v '^ *+' conftest.err >conftest.er1
2618 cat conftest.er1 >&5
2619 mv -f conftest.er1 conftest.err
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; } && {
2623 test -z "$ac_cxx_werror_flag" ||
2624 test ! -s conftest.err
2625 } && test -s conftest.$ac_objext; then :
2626 ac_retval=0
2627 else
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2631 ac_retval=1
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 as_fn_set_status $ac_retval
2636 } # ac_fn_cxx_try_compile
2638 # ac_fn_c_try_link LINENO
2639 # -----------------------
2640 # Try to link conftest.$ac_ext, and return whether this succeeded.
2641 ac_fn_c_try_link ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 rm -f conftest.$ac_objext conftest$ac_exeext
2645 if { { ac_try="$ac_link"
2646 case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649 esac
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 $as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_link") 2>conftest.err
2653 ac_status=$?
2654 if test -s conftest.err; then
2655 grep -v '^ *+' conftest.err >conftest.er1
2656 cat conftest.er1 >&5
2657 mv -f conftest.er1 conftest.err
2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest$ac_exeext && {
2664 test "$cross_compiling" = yes ||
2665 test -x conftest$ac_exeext
2666 }; then :
2667 ac_retval=0
2668 else
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2675 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2676 # interfere with the next link command; also delete a directory that is
2677 # left behind by Apple's compiler. We do this before executing the actions.
2678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 as_fn_set_status $ac_retval
2682 } # ac_fn_c_try_link
2684 # ac_fn_c_try_cpp LINENO
2685 # ----------------------
2686 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2687 ac_fn_c_try_cpp ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 if { { ac_try="$ac_cpp conftest.$ac_ext"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } > conftest.i && {
2706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2708 }; then :
2709 ac_retval=0
2710 else
2711 $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2714 ac_retval=1
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 as_fn_set_status $ac_retval
2719 } # ac_fn_c_try_cpp
2721 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2722 # -------------------------------------------------------
2723 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2724 # the include files in INCLUDES and setting the cache variable VAR
2725 # accordingly.
2726 ac_fn_c_check_header_mongrel ()
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 if eval \${$3+:} false; then :
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2731 $as_echo_n "checking for $2... " >&6; }
2732 if eval \${$3+:} false; then :
2733 $as_echo_n "(cached) " >&6
2735 eval ac_res=\$$3
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2738 else
2739 # Is the header compilable?
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2741 $as_echo_n "checking $2 usability... " >&6; }
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743 /* end confdefs.h. */
2745 #include <$2>
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748 ac_header_compiler=yes
2749 else
2750 ac_header_compiler=no
2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2754 $as_echo "$ac_header_compiler" >&6; }
2756 # Is the header present?
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2758 $as_echo_n "checking $2 presence... " >&6; }
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2761 #include <$2>
2762 _ACEOF
2763 if ac_fn_c_try_cpp "$LINENO"; then :
2764 ac_header_preproc=yes
2765 else
2766 ac_header_preproc=no
2768 rm -f conftest.err conftest.i conftest.$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2770 $as_echo "$ac_header_preproc" >&6; }
2772 # So? What about this header?
2773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2774 yes:no: )
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2776 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2778 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2780 no:yes:* )
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2782 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2784 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2786 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2788 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2790 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2791 ( $as_echo "## ------------------------------------ ##
2792 ## Report this to wine-devel@winehq.org ##
2793 ## ------------------------------------ ##"
2794 ) | sed "s/^/$as_me: WARNING: /" >&2
2796 esac
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \${$3+:} false; then :
2800 $as_echo_n "(cached) " >&6
2801 else
2802 eval "$3=\$ac_header_compiler"
2804 eval ac_res=\$$3
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2806 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_header_mongrel
2812 # ac_fn_c_try_run LINENO
2813 # ----------------------
2814 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2815 # that executables *can* be run.
2816 ac_fn_c_try_run ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 if { { ac_try="$ac_link"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_link") 2>&5
2827 ac_status=$?
2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2829 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2830 { { case "(($ac_try" in
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2833 esac
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_try") 2>&5
2837 ac_status=$?
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2839 test $ac_status = 0; }; }; then :
2840 ac_retval=0
2841 else
2842 $as_echo "$as_me: program exited with status $ac_status" >&5
2843 $as_echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2846 ac_retval=$ac_status
2848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 as_fn_set_status $ac_retval
2852 } # ac_fn_c_try_run
2854 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2855 # -------------------------------------------------------
2856 # Tests whether HEADER exists and can be compiled using the include files in
2857 # INCLUDES, setting the cache variable VAR accordingly.
2858 ac_fn_c_check_header_compile ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2862 $as_echo_n "checking for $2... " >&6; }
2863 if eval \${$3+:} false; then :
2864 $as_echo_n "(cached) " >&6
2865 else
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2869 #include <$2>
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872 eval "$3=yes"
2873 else
2874 eval "$3=no"
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 eval ac_res=\$$3
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2880 $as_echo "$ac_res" >&6; }
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 } # ac_fn_c_check_header_compile
2885 # ac_fn_c_check_func LINENO FUNC VAR
2886 # ----------------------------------
2887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2888 ac_fn_c_check_func ()
2890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2892 $as_echo_n "checking for $2... " >&6; }
2893 if eval \${$3+:} false; then :
2894 $as_echo_n "(cached) " >&6
2895 else
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2900 #define $2 innocuous_$2
2902 /* System header to define __stub macros and hopefully few prototypes,
2903 which can conflict with char $2 (); below.
2904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2905 <limits.h> exists even on freestanding compilers. */
2907 #ifdef __STDC__
2908 # include <limits.h>
2909 #else
2910 # include <assert.h>
2911 #endif
2913 #undef $2
2915 /* Override any GCC internal prototype to avoid an error.
2916 Use char because int might match the return type of a GCC
2917 builtin and then its argument prototype would still apply. */
2918 #ifdef __cplusplus
2919 extern "C"
2920 #endif
2921 char $2 ();
2922 /* The GNU C library defines this for functions which it implements
2923 to always fail with ENOSYS. Some functions are actually named
2924 something starting with __ and the normal name is an alias. */
2925 #if defined __stub_$2 || defined __stub___$2
2926 choke me
2927 #endif
2930 main ()
2932 return $2 ();
2934 return 0;
2936 _ACEOF
2937 if ac_fn_c_try_link "$LINENO"; then :
2938 eval "$3=yes"
2939 else
2940 eval "$3=no"
2942 rm -f core conftest.err conftest.$ac_objext \
2943 conftest$ac_exeext conftest.$ac_ext
2945 eval ac_res=\$$3
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 $as_echo "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_func
2952 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2953 # ----------------------------------------------------
2954 # Tries to find if the field MEMBER exists in type AGGR, after including
2955 # INCLUDES, setting cache variable VAR accordingly.
2956 ac_fn_c_check_member ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2960 $as_echo_n "checking for $2.$3... " >&6; }
2961 if eval \${$4+:} false; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2968 main ()
2970 static $2 ac_aggr;
2971 if (ac_aggr.$3)
2972 return 0;
2974 return 0;
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 eval "$4=yes"
2979 else
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2984 main ()
2986 static $2 ac_aggr;
2987 if (sizeof ac_aggr.$3)
2988 return 0;
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 eval "$4=yes"
2995 else
2996 eval "$4=no"
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3002 eval ac_res=\$$4
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3004 $as_echo "$ac_res" >&6; }
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 } # ac_fn_c_check_member
3009 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3010 # -------------------------------------------
3011 # Tests whether TYPE exists after having included INCLUDES, setting cache
3012 # variable VAR accordingly.
3013 ac_fn_c_check_type ()
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 eval "$3=no"
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3026 main ()
3028 if (sizeof ($2))
3029 return 0;
3031 return 0;
3033 _ACEOF
3034 if ac_fn_c_try_compile "$LINENO"; then :
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main ()
3041 if (sizeof (($2)))
3042 return 0;
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"; then :
3049 else
3050 eval "$3=yes"
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 eval ac_res=\$$3
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_type
3062 cat >config.log <<_ACEOF
3063 This file contains any messages produced by compilers while
3064 running configure, to aid debugging if configure makes a mistake.
3066 It was created by Wine $as_me 2.16, which was
3067 generated by GNU Autoconf 2.69. Invocation command line was
3069 $ $0 $@
3071 _ACEOF
3072 exec 5>>config.log
3074 cat <<_ASUNAME
3075 ## --------- ##
3076 ## Platform. ##
3077 ## --------- ##
3079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3096 _ASUNAME
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3101 IFS=$as_save_IFS
3102 test -z "$as_dir" && as_dir=.
3103 $as_echo "PATH: $as_dir"
3104 done
3105 IFS=$as_save_IFS
3107 } >&5
3109 cat >&5 <<_ACEOF
3112 ## ----------- ##
3113 ## Core tests. ##
3114 ## ----------- ##
3116 _ACEOF
3119 # Keep a trace of the command line.
3120 # Strip out --no-create and --no-recursion so they do not pile up.
3121 # Strip out --silent because we don't want to record it for future runs.
3122 # Also quote any args containing shell meta-characters.
3123 # Make two passes to allow for proper duplicate-argument suppression.
3124 ac_configure_args=
3125 ac_configure_args0=
3126 ac_configure_args1=
3127 ac_must_keep_next=false
3128 for ac_pass in 1 2
3130 for ac_arg
3132 case $ac_arg in
3133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3135 | -silent | --silent | --silen | --sile | --sil)
3136 continue ;;
3137 *\'*)
3138 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3139 esac
3140 case $ac_pass in
3141 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3143 as_fn_append ac_configure_args1 " '$ac_arg'"
3144 if test $ac_must_keep_next = true; then
3145 ac_must_keep_next=false # Got value, back to normal.
3146 else
3147 case $ac_arg in
3148 *=* | --config-cache | -C | -disable-* | --disable-* \
3149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3151 | -with-* | --with-* | -without-* | --without-* | --x)
3152 case "$ac_configure_args0 " in
3153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3154 esac
3156 -* ) ac_must_keep_next=true ;;
3157 esac
3159 as_fn_append ac_configure_args " '$ac_arg'"
3161 esac
3162 done
3163 done
3164 { ac_configure_args0=; unset ac_configure_args0;}
3165 { ac_configure_args1=; unset ac_configure_args1;}
3167 # When interrupted or exit'd, cleanup temporary files, and complete
3168 # config.log. We remove comments because anyway the quotes in there
3169 # would cause problems or look ugly.
3170 # WARNING: Use '\'' to represent an apostrophe within the trap.
3171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3172 trap 'exit_status=$?
3173 # Save into config.log some information that might help in debugging.
3175 echo
3177 $as_echo "## ---------------- ##
3178 ## Cache variables. ##
3179 ## ---------------- ##"
3180 echo
3181 # The following way of writing the cache mishandles newlines in values,
3183 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3184 eval ac_val=\$$ac_var
3185 case $ac_val in #(
3186 *${as_nl}*)
3187 case $ac_var in #(
3188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3190 esac
3191 case $ac_var in #(
3192 _ | IFS | as_nl) ;; #(
3193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3194 *) { eval $ac_var=; unset $ac_var;} ;;
3195 esac ;;
3196 esac
3197 done
3198 (set) 2>&1 |
3199 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3200 *${as_nl}ac_space=\ *)
3201 sed -n \
3202 "s/'\''/'\''\\\\'\'''\''/g;
3203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3204 ;; #(
3206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3208 esac |
3209 sort
3211 echo
3213 $as_echo "## ----------------- ##
3214 ## Output variables. ##
3215 ## ----------------- ##"
3216 echo
3217 for ac_var in $ac_subst_vars
3219 eval ac_val=\$$ac_var
3220 case $ac_val in
3221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3222 esac
3223 $as_echo "$ac_var='\''$ac_val'\''"
3224 done | sort
3225 echo
3227 if test -n "$ac_subst_files"; then
3228 $as_echo "## ------------------- ##
3229 ## File substitutions. ##
3230 ## ------------------- ##"
3231 echo
3232 for ac_var in $ac_subst_files
3234 eval ac_val=\$$ac_var
3235 case $ac_val in
3236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3237 esac
3238 $as_echo "$ac_var='\''$ac_val'\''"
3239 done | sort
3240 echo
3243 if test -s confdefs.h; then
3244 $as_echo "## ----------- ##
3245 ## confdefs.h. ##
3246 ## ----------- ##"
3247 echo
3248 cat confdefs.h
3249 echo
3251 test "$ac_signal" != 0 &&
3252 $as_echo "$as_me: caught signal $ac_signal"
3253 $as_echo "$as_me: exit $exit_status"
3254 } >&5
3255 rm -f core *.core core.conftest.* &&
3256 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3257 exit $exit_status
3259 for ac_signal in 1 2 13 15; do
3260 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3261 done
3262 ac_signal=0
3264 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3265 rm -f -r conftest* confdefs.h
3267 $as_echo "/* confdefs.h */" > confdefs.h
3269 # Predefined preprocessor variables.
3271 cat >>confdefs.h <<_ACEOF
3272 #define PACKAGE_NAME "$PACKAGE_NAME"
3273 _ACEOF
3275 cat >>confdefs.h <<_ACEOF
3276 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3277 _ACEOF
3279 cat >>confdefs.h <<_ACEOF
3280 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3281 _ACEOF
3283 cat >>confdefs.h <<_ACEOF
3284 #define PACKAGE_STRING "$PACKAGE_STRING"
3285 _ACEOF
3287 cat >>confdefs.h <<_ACEOF
3288 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3289 _ACEOF
3291 cat >>confdefs.h <<_ACEOF
3292 #define PACKAGE_URL "$PACKAGE_URL"
3293 _ACEOF
3296 # Let the site file select an alternate cache file if it wants to.
3297 # Prefer an explicitly selected file to automatically selected ones.
3298 ac_site_file1=NONE
3299 ac_site_file2=NONE
3300 if test -n "$CONFIG_SITE"; then
3301 # We do not want a PATH search for config.site.
3302 case $CONFIG_SITE in #((
3303 -*) ac_site_file1=./$CONFIG_SITE;;
3304 */*) ac_site_file1=$CONFIG_SITE;;
3305 *) ac_site_file1=./$CONFIG_SITE;;
3306 esac
3307 elif test "x$prefix" != xNONE; then
3308 ac_site_file1=$prefix/share/config.site
3309 ac_site_file2=$prefix/etc/config.site
3310 else
3311 ac_site_file1=$ac_default_prefix/share/config.site
3312 ac_site_file2=$ac_default_prefix/etc/config.site
3314 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3316 test "x$ac_site_file" = xNONE && continue
3317 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3320 sed 's/^/| /' "$ac_site_file" >&5
3321 . "$ac_site_file" \
3322 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $? "failed to load site script $ac_site_file
3325 See \`config.log' for more details" "$LINENO" 5; }
3327 done
3329 if test -r "$cache_file"; then
3330 # Some versions of bash will fail to source /dev/null (special files
3331 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3332 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3334 $as_echo "$as_me: loading cache $cache_file" >&6;}
3335 case $cache_file in
3336 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3337 *) . "./$cache_file";;
3338 esac
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3342 $as_echo "$as_me: creating cache $cache_file" >&6;}
3343 >$cache_file
3346 # Check that the precious variables saved in the cache have kept the same
3347 # value.
3348 ac_cache_corrupted=false
3349 for ac_var in $ac_precious_vars; do
3350 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3351 eval ac_new_set=\$ac_env_${ac_var}_set
3352 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3353 eval ac_new_val=\$ac_env_${ac_var}_value
3354 case $ac_old_set,$ac_new_set in
3355 set,)
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3357 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3358 ac_cache_corrupted=: ;;
3359 ,set)
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3361 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3362 ac_cache_corrupted=: ;;
3363 ,);;
3365 if test "x$ac_old_val" != "x$ac_new_val"; then
3366 # differences in whitespace do not lead to failure.
3367 ac_old_val_w=`echo x $ac_old_val`
3368 ac_new_val_w=`echo x $ac_new_val`
3369 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3372 ac_cache_corrupted=:
3373 else
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3376 eval $ac_var=\$ac_old_val
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3379 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3381 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3382 fi;;
3383 esac
3384 # Pass precious variables to config.status.
3385 if test "$ac_new_set" = set; then
3386 case $ac_new_val in
3387 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3388 *) ac_arg=$ac_var=$ac_new_val ;;
3389 esac
3390 case " $ac_configure_args " in
3391 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3392 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3393 esac
3395 done
3396 if $ac_cache_corrupted; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3401 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3403 ## -------------------- ##
3404 ## Main body of script. ##
3405 ## -------------------- ##
3407 ac_ext=c
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3415 ac_config_headers="$ac_config_headers include/config.h"
3417 ac_aux_dir=
3418 for ac_dir in tools "$srcdir"/tools; do
3419 if test -f "$ac_dir/install-sh"; then
3420 ac_aux_dir=$ac_dir
3421 ac_install_sh="$ac_aux_dir/install-sh -c"
3422 break
3423 elif test -f "$ac_dir/install.sh"; then
3424 ac_aux_dir=$ac_dir
3425 ac_install_sh="$ac_aux_dir/install.sh -c"
3426 break
3427 elif test -f "$ac_dir/shtool"; then
3428 ac_aux_dir=$ac_dir
3429 ac_install_sh="$ac_aux_dir/shtool install -c"
3430 break
3432 done
3433 if test -z "$ac_aux_dir"; then
3434 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3437 # These three variables are undocumented and unsupported,
3438 # and are intended to be withdrawn in a future Autoconf release.
3439 # They can cause serious problems if a builder's source tree is in a directory
3440 # whose full name contains unusual characters.
3441 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3442 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3443 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3447 libwine_version="1.0"
3451 # Check whether --enable-win16 was given.
3452 if test "${enable_win16+set}" = set; then :
3453 enableval=$enable_win16;
3456 # Check whether --enable-win64 was given.
3457 if test "${enable_win64+set}" = set; then :
3458 enableval=$enable_win64;
3461 # Check whether --enable-tests was given.
3462 if test "${enable_tests+set}" = set; then :
3463 enableval=$enable_tests;
3466 # Check whether --enable-maintainer-mode was given.
3467 if test "${enable_maintainer_mode+set}" = set; then :
3468 enableval=$enable_maintainer_mode;
3473 # Check whether --with-alsa was given.
3474 if test "${with_alsa+set}" = set; then :
3475 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3479 # Check whether --with-capi was given.
3480 if test "${with_capi+set}" = set; then :
3481 withval=$with_capi;
3485 # Check whether --with-cms was given.
3486 if test "${with_cms+set}" = set; then :
3487 withval=$with_cms;
3491 # Check whether --with-coreaudio was given.
3492 if test "${with_coreaudio+set}" = set; then :
3493 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3497 # Check whether --with-cups was given.
3498 if test "${with_cups+set}" = set; then :
3499 withval=$with_cups;
3503 # Check whether --with-curses was given.
3504 if test "${with_curses+set}" = set; then :
3505 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3509 # Check whether --with-dbus was given.
3510 if test "${with_dbus+set}" = set; then :
3511 withval=$with_dbus;
3515 # Check whether --with-fontconfig was given.
3516 if test "${with_fontconfig+set}" = set; then :
3517 withval=$with_fontconfig;
3521 # Check whether --with-freetype was given.
3522 if test "${with_freetype+set}" = set; then :
3523 withval=$with_freetype;
3527 # Check whether --with-gettext was given.
3528 if test "${with_gettext+set}" = set; then :
3529 withval=$with_gettext;
3533 # Check whether --with-gettextpo was given.
3534 if test "${with_gettextpo+set}" = set; then :
3535 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3539 # Check whether --with-gphoto was given.
3540 if test "${with_gphoto+set}" = set; then :
3541 withval=$with_gphoto;
3545 # Check whether --with-glu was given.
3546 if test "${with_glu+set}" = set; then :
3547 withval=$with_glu;
3551 # Check whether --with-gnutls was given.
3552 if test "${with_gnutls+set}" = set; then :
3553 withval=$with_gnutls;
3557 # Check whether --with-gsm was given.
3558 if test "${with_gsm+set}" = set; then :
3559 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3563 # Check whether --with-gstreamer was given.
3564 if test "${with_gstreamer+set}" = set; then :
3565 withval=$with_gstreamer;
3569 # Check whether --with-hal was given.
3570 if test "${with_hal+set}" = set; then :
3571 withval=$with_hal;
3575 # Check whether --with-jpeg was given.
3576 if test "${with_jpeg+set}" = set; then :
3577 withval=$with_jpeg;
3581 # Check whether --with-ldap was given.
3582 if test "${with_ldap+set}" = set; then :
3583 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3587 # Check whether --with-mpg123 was given.
3588 if test "${with_mpg123+set}" = set; then :
3589 withval=$with_mpg123;
3593 # Check whether --with-netapi was given.
3594 if test "${with_netapi+set}" = set; then :
3595 withval=$with_netapi;
3599 # Check whether --with-openal was given.
3600 if test "${with_openal+set}" = set; then :
3601 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3605 # Check whether --with-opencl was given.
3606 if test "${with_opencl+set}" = set; then :
3607 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3611 # Check whether --with-opengl was given.
3612 if test "${with_opengl+set}" = set; then :
3613 withval=$with_opengl;
3617 # Check whether --with-osmesa was given.
3618 if test "${with_osmesa+set}" = set; then :
3619 withval=$with_osmesa;
3623 # Check whether --with-oss was given.
3624 if test "${with_oss+set}" = set; then :
3625 withval=$with_oss;
3629 # Check whether --with-pcap was given.
3630 if test "${with_pcap+set}" = set; then :
3631 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3635 # Check whether --with-png was given.
3636 if test "${with_png+set}" = set; then :
3637 withval=$with_png;
3641 # Check whether --with-pthread was given.
3642 if test "${with_pthread+set}" = set; then :
3643 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3647 # Check whether --with-pulse was given.
3648 if test "${with_pulse+set}" = set; then :
3649 withval=$with_pulse;
3653 # Check whether --with-sane was given.
3654 if test "${with_sane+set}" = set; then :
3655 withval=$with_sane;
3659 # Check whether --with-tiff was given.
3660 if test "${with_tiff+set}" = set; then :
3661 withval=$with_tiff;
3665 # Check whether --with-udev was given.
3666 if test "${with_udev+set}" = set; then :
3667 withval=$with_udev;
3671 # Check whether --with-v4l was given.
3672 if test "${with_v4l+set}" = set; then :
3673 withval=$with_v4l;
3677 # Check whether --with-xcomposite was given.
3678 if test "${with_xcomposite+set}" = set; then :
3679 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3683 # Check whether --with-xcursor was given.
3684 if test "${with_xcursor+set}" = set; then :
3685 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3689 # Check whether --with-xfixes was given.
3690 if test "${with_xfixes+set}" = set; then :
3691 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3695 # Check whether --with-xinerama was given.
3696 if test "${with_xinerama+set}" = set; then :
3697 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3701 # Check whether --with-xinput was given.
3702 if test "${with_xinput+set}" = set; then :
3703 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3707 # Check whether --with-xinput2 was given.
3708 if test "${with_xinput2+set}" = set; then :
3709 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3713 # Check whether --with-xml was given.
3714 if test "${with_xml+set}" = set; then :
3715 withval=$with_xml;
3719 # Check whether --with-xrandr was given.
3720 if test "${with_xrandr+set}" = set; then :
3721 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3725 # Check whether --with-xrender was given.
3726 if test "${with_xrender+set}" = set; then :
3727 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3731 # Check whether --with-xshape was given.
3732 if test "${with_xshape+set}" = set; then :
3733 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3737 # Check whether --with-xshm was given.
3738 if test "${with_xshm+set}" = set; then :
3739 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3743 # Check whether --with-xslt was given.
3744 if test "${with_xslt+set}" = set; then :
3745 withval=$with_xslt;
3749 # Check whether --with-xxf86vm was given.
3750 if test "${with_xxf86vm+set}" = set; then :
3751 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
3755 # Check whether --with-zlib was given.
3756 if test "${with_zlib+set}" = set; then :
3757 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3762 # Check whether --with-wine-tools was given.
3763 if test "${with_wine_tools+set}" = set; then :
3764 withval=$with_wine_tools;
3768 # Check whether --with-wine64 was given.
3769 if test "${with_wine64+set}" = set; then :
3770 withval=$with_wine64;
3774 # Make sure we can run config.sub.
3775 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3776 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3779 $as_echo_n "checking build system type... " >&6; }
3780 if ${ac_cv_build+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 ac_build_alias=$build_alias
3784 test "x$ac_build_alias" = x &&
3785 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3786 test "x$ac_build_alias" = x &&
3787 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3788 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3789 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3793 $as_echo "$ac_cv_build" >&6; }
3794 case $ac_cv_build in
3795 *-*-*) ;;
3796 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3797 esac
3798 build=$ac_cv_build
3799 ac_save_IFS=$IFS; IFS='-'
3800 set x $ac_cv_build
3801 shift
3802 build_cpu=$1
3803 build_vendor=$2
3804 shift; shift
3805 # Remember, the first character of IFS is used to create $*,
3806 # except with old shells:
3807 build_os=$*
3808 IFS=$ac_save_IFS
3809 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3813 $as_echo_n "checking host system type... " >&6; }
3814 if ${ac_cv_host+:} false; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 if test "x$host_alias" = x; then
3818 ac_cv_host=$ac_cv_build
3819 else
3820 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3821 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3826 $as_echo "$ac_cv_host" >&6; }
3827 case $ac_cv_host in
3828 *-*-*) ;;
3829 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3830 esac
3831 host=$ac_cv_host
3832 ac_save_IFS=$IFS; IFS='-'
3833 set x $ac_cv_host
3834 shift
3835 host_cpu=$1
3836 host_vendor=$2
3837 shift; shift
3838 # Remember, the first character of IFS is used to create $*,
3839 # except with old shells:
3840 host_os=$*
3841 IFS=$ac_save_IFS
3842 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3846 case "$srcdir" in
3847 .) ;;
3848 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3849 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3850 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3851 fi ;;
3852 esac
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3856 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3857 set x ${MAKE-make}
3858 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3859 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3860 $as_echo_n "(cached) " >&6
3861 else
3862 cat >conftest.make <<\_ACEOF
3863 SHELL = /bin/sh
3864 all:
3865 @echo '@@@%%%=$(MAKE)=@@@%%%'
3866 _ACEOF
3867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3869 *@@@%%%=?*=@@@%%%*)
3870 eval ac_cv_prog_make_${ac_make}_set=yes;;
3872 eval ac_cv_prog_make_${ac_make}_set=no;;
3873 esac
3874 rm -f conftest.make
3876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3878 $as_echo "yes" >&6; }
3879 SET_MAKE=
3880 else
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3883 SET_MAKE="MAKE=${MAKE-make}"
3886 ac_ext=c
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891 if test -n "$ac_tool_prefix"; then
3892 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3893 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if ${ac_cv_prog_CC+:} false; then :
3897 $as_echo_n "(cached) " >&6
3898 else
3899 if test -n "$CC"; then
3900 ac_cv_prog_CC="$CC" # Let the user override the test.
3901 else
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 for as_dir in $PATH
3905 IFS=$as_save_IFS
3906 test -z "$as_dir" && as_dir=.
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3909 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 break 2
3913 done
3914 done
3915 IFS=$as_save_IFS
3919 CC=$ac_cv_prog_CC
3920 if test -n "$CC"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3922 $as_echo "$CC" >&6; }
3923 else
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3930 if test -z "$ac_cv_prog_CC"; then
3931 ac_ct_CC=$CC
3932 # Extract the first word of "gcc", so it can be a program name with args.
3933 set dummy gcc; ac_word=$2
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3937 $as_echo_n "(cached) " >&6
3938 else
3939 if test -n "$ac_ct_CC"; then
3940 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3941 else
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3945 IFS=$as_save_IFS
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_ac_ct_CC="gcc"
3950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 break 2
3953 done
3954 done
3955 IFS=$as_save_IFS
3959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3960 if test -n "$ac_ct_CC"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3962 $as_echo "$ac_ct_CC" >&6; }
3963 else
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3968 if test "x$ac_ct_CC" = x; then
3969 CC=""
3970 else
3971 case $cross_compiling:$ac_tool_warned in
3972 yes:)
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3975 ac_tool_warned=yes ;;
3976 esac
3977 CC=$ac_ct_CC
3979 else
3980 CC="$ac_cv_prog_CC"
3983 if test -z "$CC"; then
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3986 set dummy ${ac_tool_prefix}cc; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$CC"; then
3993 ac_cv_prog_CC="$CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_CC="${ac_tool_prefix}cc"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4012 CC=$ac_cv_prog_CC
4013 if test -n "$CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4015 $as_echo "$CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4024 if test -z "$CC"; then
4025 # Extract the first word of "cc", so it can be a program name with args.
4026 set dummy cc; ac_word=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if ${ac_cv_prog_CC+:} false; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4032 if test -n "$CC"; then
4033 ac_cv_prog_CC="$CC" # Let the user override the test.
4034 else
4035 ac_prog_rejected=no
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4039 IFS=$as_save_IFS
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4044 ac_prog_rejected=yes
4045 continue
4047 ac_cv_prog_CC="cc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 break 2
4051 done
4052 done
4053 IFS=$as_save_IFS
4055 if test $ac_prog_rejected = yes; then
4056 # We found a bogon in the path, so make sure we never use it.
4057 set dummy $ac_cv_prog_CC
4058 shift
4059 if test $# != 0; then
4060 # We chose a different compiler from the bogus one.
4061 # However, it has the same basename, so the bogon will be chosen
4062 # first if we set CC to just the basename; use the full file name.
4063 shift
4064 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4069 CC=$ac_cv_prog_CC
4070 if test -n "$CC"; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4072 $as_echo "$CC" >&6; }
4073 else
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 $as_echo "no" >&6; }
4080 if test -z "$CC"; then
4081 if test -n "$ac_tool_prefix"; then
4082 for ac_prog in cl.exe
4084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_prog_CC+:} false; then :
4089 $as_echo_n "(cached) " >&6
4090 else
4091 if test -n "$CC"; then
4092 ac_cv_prog_CC="$CC" # Let the user override the test.
4093 else
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH
4097 IFS=$as_save_IFS
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 break 2
4105 done
4106 done
4107 IFS=$as_save_IFS
4111 CC=$ac_cv_prog_CC
4112 if test -n "$CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114 $as_echo "$CC" >&6; }
4115 else
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4121 test -n "$CC" && break
4122 done
4124 if test -z "$CC"; then
4125 ac_ct_CC=$CC
4126 for ac_prog in cl.exe
4128 # Extract the first word of "$ac_prog", so it can be a program name with args.
4129 set dummy $ac_prog; ac_word=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 if test -n "$ac_ct_CC"; then
4136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4137 else
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 for as_dir in $PATH
4141 IFS=$as_save_IFS
4142 test -z "$as_dir" && as_dir=.
4143 for ac_exec_ext in '' $ac_executable_extensions; do
4144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_ac_ct_CC="$ac_prog"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 break 2
4149 done
4150 done
4151 IFS=$as_save_IFS
4155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4156 if test -n "$ac_ct_CC"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4158 $as_echo "$ac_ct_CC" >&6; }
4159 else
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4165 test -n "$ac_ct_CC" && break
4166 done
4168 if test "x$ac_ct_CC" = x; then
4169 CC=""
4170 else
4171 case $cross_compiling:$ac_tool_warned in
4172 yes:)
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4175 ac_tool_warned=yes ;;
4176 esac
4177 CC=$ac_ct_CC
4184 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "no acceptable C compiler found in \$PATH
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 # Provide some information about the compiler.
4190 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4191 set X $ac_compile
4192 ac_compiler=$2
4193 for ac_option in --version -v -V -qversion; do
4194 { { ac_try="$ac_compiler $ac_option >&5"
4195 case "(($ac_try" in
4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4198 esac
4199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4200 $as_echo "$ac_try_echo"; } >&5
4201 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4202 ac_status=$?
4203 if test -s conftest.err; then
4204 sed '10a\
4205 ... rest of stderr output deleted ...
4206 10q' conftest.err >conftest.er1
4207 cat conftest.er1 >&5
4209 rm -f conftest.er1 conftest.err
4210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4211 test $ac_status = 0; }
4212 done
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4222 return 0;
4224 _ACEOF
4225 ac_clean_files_save=$ac_clean_files
4226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4227 # Try to create an executable without -o first, disregard a.out.
4228 # It will help us diagnose broken compilers, and finding out an intuition
4229 # of exeext.
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4231 $as_echo_n "checking whether the C compiler works... " >&6; }
4232 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4234 # The possible output files:
4235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4237 ac_rmfiles=
4238 for ac_file in $ac_files
4240 case $ac_file in
4241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4242 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4243 esac
4244 done
4245 rm -f $ac_rmfiles
4247 if { { ac_try="$ac_link_default"
4248 case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_link_default") 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4260 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4261 # so that the user can short-circuit this test for compilers unknown to
4262 # Autoconf.
4263 for ac_file in $ac_files ''
4265 test -f "$ac_file" || continue
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4269 [ab].out )
4270 # We found the default executable, but exeext='' is most
4271 # certainly right.
4272 break;;
4273 *.* )
4274 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4275 then :; else
4276 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4278 # We set ac_cv_exeext here because the later test for it is not
4279 # safe: cross compilers may not add the suffix if given an `-o'
4280 # argument, so we may need to know it at that point already.
4281 # Even if this section looks crufty: it has the advantage of
4282 # actually working.
4283 break;;
4285 break;;
4286 esac
4287 done
4288 test "$ac_cv_exeext" = no && ac_cv_exeext=
4290 else
4291 ac_file=''
4293 if test -z "$ac_file"; then :
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4296 $as_echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4301 as_fn_error 77 "C compiler cannot create executables
4302 See \`config.log' for more details" "$LINENO" 5; }
4303 else
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4305 $as_echo "yes" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4308 $as_echo_n "checking for C compiler default output file name... " >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4310 $as_echo "$ac_file" >&6; }
4311 ac_exeext=$ac_cv_exeext
4313 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4314 ac_clean_files=$ac_clean_files_save
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4316 $as_echo_n "checking for suffix of executables... " >&6; }
4317 if { { ac_try="$ac_link"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4329 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4330 # work properly (i.e., refer to `conftest.exe'), while it won't with
4331 # `rm'.
4332 for ac_file in conftest.exe conftest conftest.*; do
4333 test -f "$ac_file" || continue
4334 case $ac_file in
4335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4336 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4337 break;;
4338 * ) break;;
4339 esac
4340 done
4341 else
4342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4344 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4345 See \`config.log' for more details" "$LINENO" 5; }
4347 rm -f conftest conftest$ac_cv_exeext
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4349 $as_echo "$ac_cv_exeext" >&6; }
4351 rm -f conftest.$ac_ext
4352 EXEEXT=$ac_cv_exeext
4353 ac_exeext=$EXEEXT
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4356 #include <stdio.h>
4358 main ()
4360 FILE *f = fopen ("conftest.out", "w");
4361 return ferror (f) || fclose (f) != 0;
4364 return 0;
4366 _ACEOF
4367 ac_clean_files="$ac_clean_files conftest.out"
4368 # Check that the compiler produces executables we can run. If not, either
4369 # the compiler is broken, or we cross compile.
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4371 $as_echo_n "checking whether we are cross compiling... " >&6; }
4372 if test "$cross_compiling" != yes; then
4373 { { ac_try="$ac_link"
4374 case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_link") 2>&5
4381 ac_status=$?
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }
4384 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
4392 ac_status=$?
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }; }; then
4395 cross_compiling=no
4396 else
4397 if test "$cross_compiling" = maybe; then
4398 cross_compiling=yes
4399 else
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4402 as_fn_error $? "cannot run C compiled programs.
4403 If you meant to cross compile, use \`--host'.
4404 See \`config.log' for more details" "$LINENO" 5; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4409 $as_echo "$cross_compiling" >&6; }
4411 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4412 ac_clean_files=$ac_clean_files_save
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4414 $as_echo_n "checking for suffix of object files... " >&6; }
4415 if ${ac_cv_objext+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4422 main ()
4426 return 0;
4428 _ACEOF
4429 rm -f conftest.o conftest.obj
4430 if { { ac_try="$ac_compile"
4431 case "(($ac_try" in
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4434 esac
4435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_compile") 2>&5
4438 ac_status=$?
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }; then :
4441 for ac_file in conftest.o conftest.obj conftest.*; do
4442 test -f "$ac_file" || continue;
4443 case $ac_file in
4444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4445 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4446 break;;
4447 esac
4448 done
4449 else
4450 $as_echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.$ac_ext >&5
4453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4455 as_fn_error $? "cannot compute suffix of object files: cannot compile
4456 See \`config.log' for more details" "$LINENO" 5; }
4458 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4461 $as_echo "$ac_cv_objext" >&6; }
4462 OBJEXT=$ac_cv_objext
4463 ac_objext=$OBJEXT
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4466 if ${ac_cv_c_compiler_gnu+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4475 #ifndef __GNUC__
4476 choke me
4477 #endif
4480 return 0;
4482 _ACEOF
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_compiler_gnu=yes
4485 else
4486 ac_compiler_gnu=no
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4493 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4495 GCC=yes
4496 else
4497 GCC=
4499 ac_test_CFLAGS=${CFLAGS+set}
4500 ac_save_CFLAGS=$CFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4502 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4503 if ${ac_cv_prog_cc_g+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_save_c_werror_flag=$ac_c_werror_flag
4507 ac_c_werror_flag=yes
4508 ac_cv_prog_cc_g=no
4509 CFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_cv_prog_cc_g=yes
4523 else
4524 CFLAGS=""
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4533 return 0;
4535 _ACEOF
4536 if ac_fn_c_try_compile "$LINENO"; then :
4538 else
4539 ac_c_werror_flag=$ac_save_c_werror_flag
4540 CFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_c_try_compile "$LINENO"; then :
4553 ac_cv_prog_cc_g=yes
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_c_werror_flag=$ac_save_c_werror_flag
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4563 $as_echo "$ac_cv_prog_cc_g" >&6; }
4564 if test "$ac_test_CFLAGS" = set; then
4565 CFLAGS=$ac_save_CFLAGS
4566 elif test $ac_cv_prog_cc_g = yes; then
4567 if test "$GCC" = yes; then
4568 CFLAGS="-g -O2"
4569 else
4570 CFLAGS="-g"
4572 else
4573 if test "$GCC" = yes; then
4574 CFLAGS="-O2"
4575 else
4576 CFLAGS=
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4580 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4581 if ${ac_cv_prog_cc_c89+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 ac_cv_prog_cc_c89=no
4585 ac_save_CC=$CC
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588 #include <stdarg.h>
4589 #include <stdio.h>
4590 struct stat;
4591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4592 struct buf { int x; };
4593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4594 static char *e (p, i)
4595 char **p;
4596 int i;
4598 return p[i];
4600 static char *f (char * (*g) (char **, int), char **p, ...)
4602 char *s;
4603 va_list v;
4604 va_start (v,p);
4605 s = g (p, va_arg (v,int));
4606 va_end (v);
4607 return s;
4610 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4611 function prototypes and stuff, but not '\xHH' hex character constants.
4612 These don't provoke an error unfortunately, instead are silently treated
4613 as 'x'. The following induces an error, until -std is added to get
4614 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4615 array size at least. It's necessary to write '\x00'==0 to get something
4616 that's true only with -std. */
4617 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4619 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4620 inside strings and character constants. */
4621 #define FOO(x) 'x'
4622 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4624 int test (int i, double x);
4625 struct s1 {int (*f) (int a);};
4626 struct s2 {int (*f) (double a);};
4627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4628 int argc;
4629 char **argv;
4631 main ()
4633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4635 return 0;
4637 _ACEOF
4638 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4639 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4641 CC="$ac_save_CC $ac_arg"
4642 if ac_fn_c_try_compile "$LINENO"; then :
4643 ac_cv_prog_cc_c89=$ac_arg
4645 rm -f core conftest.err conftest.$ac_objext
4646 test "x$ac_cv_prog_cc_c89" != "xno" && break
4647 done
4648 rm -f conftest.$ac_ext
4649 CC=$ac_save_CC
4652 # AC_CACHE_VAL
4653 case "x$ac_cv_prog_cc_c89" in
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4656 $as_echo "none needed" >&6; } ;;
4657 xno)
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4659 $as_echo "unsupported" >&6; } ;;
4661 CC="$CC $ac_cv_prog_cc_c89"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4663 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4664 esac
4665 if test "x$ac_cv_prog_cc_c89" != xno; then :
4669 ac_ext=c
4670 ac_cpp='$CPP $CPPFLAGS'
4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675 ac_ext=cpp
4676 ac_cpp='$CXXCPP $CPPFLAGS'
4677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4680 if test -z "$CXX"; then
4681 if test -n "$CCC"; then
4682 CXX=$CCC
4683 else
4684 if test -n "$ac_tool_prefix"; then
4685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_prog_CXX+:} false; then :
4692 $as_echo_n "(cached) " >&6
4693 else
4694 if test -n "$CXX"; then
4695 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4696 else
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH
4700 IFS=$as_save_IFS
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 break 2
4708 done
4709 done
4710 IFS=$as_save_IFS
4714 CXX=$ac_cv_prog_CXX
4715 if test -n "$CXX"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4717 $as_echo "$CXX" >&6; }
4718 else
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4724 test -n "$CXX" && break
4725 done
4727 if test -z "$CXX"; then
4728 ac_ct_CXX=$CXX
4729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4731 # Extract the first word of "$ac_prog", so it can be a program name with args.
4732 set dummy $ac_prog; ac_word=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4736 $as_echo_n "(cached) " >&6
4737 else
4738 if test -n "$ac_ct_CXX"; then
4739 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4740 else
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH
4744 IFS=$as_save_IFS
4745 test -z "$as_dir" && as_dir=.
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_ac_ct_CXX="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 break 2
4752 done
4753 done
4754 IFS=$as_save_IFS
4758 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4759 if test -n "$ac_ct_CXX"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4761 $as_echo "$ac_ct_CXX" >&6; }
4762 else
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 test -n "$ac_ct_CXX" && break
4769 done
4771 if test "x$ac_ct_CXX" = x; then
4772 CXX="g++"
4773 else
4774 case $cross_compiling:$ac_tool_warned in
4775 yes:)
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4779 esac
4780 CXX=$ac_ct_CXX
4786 # Provide some information about the compiler.
4787 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4788 set X $ac_compile
4789 ac_compiler=$2
4790 for ac_option in --version -v -V -qversion; do
4791 { { ac_try="$ac_compiler $ac_option >&5"
4792 case "(($ac_try" in
4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4795 esac
4796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4797 $as_echo "$ac_try_echo"; } >&5
4798 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4799 ac_status=$?
4800 if test -s conftest.err; then
4801 sed '10a\
4802 ... rest of stderr output deleted ...
4803 10q' conftest.err >conftest.er1
4804 cat conftest.er1 >&5
4806 rm -f conftest.er1 conftest.err
4807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4808 test $ac_status = 0; }
4809 done
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4813 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4822 #ifndef __GNUC__
4823 choke me
4824 #endif
4827 return 0;
4829 _ACEOF
4830 if ac_fn_cxx_try_compile "$LINENO"; then :
4831 ac_compiler_gnu=yes
4832 else
4833 ac_compiler_gnu=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4840 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4842 GXX=yes
4843 else
4844 GXX=
4846 ac_test_CXXFLAGS=${CXXFLAGS+set}
4847 ac_save_CXXFLAGS=$CXXFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4849 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4850 if ${ac_cv_prog_cxx_g+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4854 ac_cxx_werror_flag=yes
4855 ac_cv_prog_cxx_g=no
4856 CXXFLAGS="-g"
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_cxx_try_compile "$LINENO"; then :
4869 ac_cv_prog_cxx_g=yes
4870 else
4871 CXXFLAGS=""
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 if ac_fn_cxx_try_compile "$LINENO"; then :
4885 else
4886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4887 CXXFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_cxx_try_compile "$LINENO"; then :
4900 ac_cv_prog_cxx_g=yes
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4910 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4911 if test "$ac_test_CXXFLAGS" = set; then
4912 CXXFLAGS=$ac_save_CXXFLAGS
4913 elif test $ac_cv_prog_cxx_g = yes; then
4914 if test "$GXX" = yes; then
4915 CXXFLAGS="-g -O2"
4916 else
4917 CXXFLAGS="-g"
4919 else
4920 if test "$GXX" = yes; then
4921 CXXFLAGS="-O2"
4922 else
4923 CXXFLAGS=
4926 ac_ext=c
4927 ac_cpp='$CPP $CPPFLAGS'
4928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4932 if test -n "$ac_tool_prefix"; then
4933 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4934 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_CPPBIN+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$CPPBIN"; then
4941 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 CPPBIN=$ac_cv_prog_CPPBIN
4961 if test -n "$CPPBIN"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4963 $as_echo "$CPPBIN" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4971 if test -z "$ac_cv_prog_CPPBIN"; then
4972 ac_ct_CPPBIN=$CPPBIN
4973 # Extract the first word of "cpp", so it can be a program name with args.
4974 set dummy cpp; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 if test -n "$ac_ct_CPPBIN"; then
4981 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_CPPBIN="cpp"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5001 if test -n "$ac_ct_CPPBIN"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5003 $as_echo "$ac_ct_CPPBIN" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5009 if test "x$ac_ct_CPPBIN" = x; then
5010 CPPBIN="cpp"
5011 else
5012 case $cross_compiling:$ac_tool_warned in
5013 yes:)
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5017 esac
5018 CPPBIN=$ac_ct_CPPBIN
5020 else
5021 CPPBIN="$ac_cv_prog_CPPBIN"
5025 cat >>confdefs.h <<_ACEOF
5026 #define EXEEXT "$ac_exeext"
5027 _ACEOF
5029 if test -n "$ac_tool_prefix"; then
5030 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5031 set dummy ${ac_tool_prefix}ld; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_LD+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 if test -n "$LD"; then
5038 ac_cv_prog_LD="$LD" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_LD="${ac_tool_prefix}ld"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 LD=$ac_cv_prog_LD
5058 if test -n "$LD"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5060 $as_echo "$LD" >&6; }
5061 else
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_prog_LD"; then
5069 ac_ct_LD=$LD
5070 # Extract the first word of "ld", so it can be a program name with args.
5071 set dummy ld; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$ac_ct_LD"; then
5078 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_LD="ld"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5098 if test -n "$ac_ct_LD"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5100 $as_echo "$ac_ct_LD" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 if test "x$ac_ct_LD" = x; then
5107 LD=""
5108 else
5109 case $cross_compiling:$ac_tool_warned in
5110 yes:)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned=yes ;;
5114 esac
5115 LD=$ac_ct_LD
5117 else
5118 LD="$ac_cv_prog_LD"
5122 case $host in
5123 *-darwin*)
5124 with_fontconfig=${with_fontconfig:-no}
5126 *-mingw32*|*-cygwin*)
5127 enable_win16=${enable_win16:-no}
5128 CFLAGS="$CFLAGS -D_WIN32"
5130 esac
5132 case $host in
5133 x86_64*|amd64*)
5134 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5135 then
5136 CC="$CC -m32"
5137 CXX="$CXX -m32"
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5139 $as_echo_n "checking whether $CC works... " >&6; }
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5145 main ()
5149 return 0;
5151 _ACEOF
5152 if ac_fn_c_try_link "$LINENO"; then :
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 $as_echo "yes" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5158 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5160 rm -f core conftest.err conftest.$ac_objext \
5161 conftest$ac_exeext conftest.$ac_ext
5162 host_cpu="i386"
5163 notice_platform="32-bit "
5164 TARGETFLAGS="-m32"
5166 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5167 export PKG_CONFIG_PATH
5168 enable_win16=${enable_win16:-yes}
5169 else
5170 if test "x${GCC}" = "xyes"
5171 then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5173 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5176 #include <stdarg.h>
5178 main ()
5180 void func(__builtin_ms_va_list *args);
5182 return 0;
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5187 $as_echo "yes" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5191 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195 CC="$CC -m64"
5196 CXX="$CXX -m64"
5197 host_cpu="x86_64"
5198 notice_platform="64-bit "
5199 TARGETFLAGS="-m64"
5203 arm*)
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5205 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 int ac_test(int i) { return i; }
5210 main ()
5212 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5214 return 0;
5216 _ACEOF
5217 if ac_fn_c_try_link "$LINENO"; then :
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5223 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5225 rm -f core conftest.err conftest.$ac_objext \
5226 conftest$ac_exeext conftest.$ac_ext
5227 CFLAGS="$CFLAGS -marm"
5228 TARGETFLAGS="-marm"
5231 i[3456789]86*)
5232 enable_win16=${enable_win16:-yes}
5234 esac
5236 enable_win16=${enable_win16:-no}
5237 enable_win64=${enable_win64:-no}
5239 enable_winetest=${enable_winetest:-$enable_tests}
5241 if test -n "$with_wine64"
5242 then
5243 if test "x$enable_win64" = "xyes"
5244 then
5245 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5246 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5248 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5249 You should create a separate build directory and run configure from there." "$LINENO" 5
5250 enable_fonts=${enable_fonts:-no}
5251 enable_server=${enable_server:-no}
5252 elif test "x$enable_win64" = "xyes"
5253 then
5254 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5258 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5259 if ${wine_cv_toolsdir+:} false; then :
5260 $as_echo_n "(cached) " >&6
5261 else
5262 wine_cv_toolsdir="$with_wine_tools"
5263 if test -z "$with_wine_tools"; then
5264 if test "$cross_compiling" = "yes"; then
5265 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5266 elif test -n "$with_wine64"; then
5267 wine_cv_toolsdir="$with_wine64"
5270 if test -z "$wine_cv_toolsdir"; then
5271 wine_makedep=tools/makedep
5272 wine_cv_toolsdir="\$(top_builddir)"
5273 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5274 wine_makedep=$wine_cv_toolsdir/tools/makedep
5275 case "$wine_cv_toolsdir" in
5276 /*) ;;
5277 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5278 esac
5279 enable_tools=${enable_tools:-no}
5280 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5281 else
5282 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5286 $as_echo "$wine_cv_toolsdir" >&6; }
5287 TOOLSDIR=$wine_cv_toolsdir
5289 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5290 then
5291 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5295 for ac_prog in flex
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_FLEX+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if test -n "$FLEX"; then
5305 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_FLEX="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 FLEX=$ac_cv_prog_FLEX
5325 if test -n "$FLEX"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5327 $as_echo "$FLEX" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$FLEX" && break
5335 done
5336 test -n "$FLEX" || FLEX="none"
5338 if test "$FLEX" = "none"
5339 then
5340 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5343 $as_echo_n "checking whether flex is recent enough... " >&6; }
5344 cat >conftest.l <<EOF
5345 %top{
5346 #include "prediluvian.h"
5350 if $FLEX -t conftest.l >/dev/null 2>&5
5351 then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5353 $as_echo "yes" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5357 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5360 for ac_prog in bison
5362 # Extract the first word of "$ac_prog", so it can be a program name with args.
5363 set dummy $ac_prog; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_BISON+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$BISON"; then
5370 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_BISON="$ac_prog"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 BISON=$ac_cv_prog_BISON
5390 if test -n "$BISON"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5392 $as_echo "$BISON" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5399 test -n "$BISON" && break
5400 done
5401 test -n "$BISON" || BISON="none"
5403 if test "$BISON" = "none"
5404 then
5405 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5408 if test -n "$ac_tool_prefix"; then
5409 for ac_prog in ar gar
5411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_AR+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$AR"; then
5419 ac_cv_prog_AR="$AR" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 AR=$ac_cv_prog_AR
5439 if test -n "$AR"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5441 $as_echo "$AR" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 test -n "$AR" && break
5449 done
5451 if test -z "$AR"; then
5452 ac_ct_AR=$AR
5453 for ac_prog in ar gar
5455 # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy $ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$ac_ct_AR"; then
5463 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_ac_ct_AR="$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5483 if test -n "$ac_ct_AR"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5485 $as_echo "$ac_ct_AR" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$ac_ct_AR" && break
5493 done
5495 if test "x$ac_ct_AR" = x; then
5496 AR="ar"
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 AR=$ac_ct_AR
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}strip; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_STRIP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 STRIP=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5539 $as_echo "$STRIP" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5548 ac_ct_STRIP=$STRIP
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip; ac_word=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_ac_ct_STRIP="strip"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5579 $as_echo "$ac_ct_STRIP" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5585 if test "x$ac_ct_STRIP" = x; then
5586 STRIP="strip"
5587 else
5588 case $cross_compiling:$ac_tool_warned in
5589 yes:)
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5592 ac_tool_warned=yes ;;
5593 esac
5594 STRIP=$ac_ct_STRIP
5596 else
5597 STRIP="$ac_cv_prog_STRIP"
5600 ARFLAGS=rc
5602 if test -n "$ac_tool_prefix"; then
5603 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5604 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_RANLIB+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$RANLIB"; then
5611 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 RANLIB=$ac_cv_prog_RANLIB
5631 if test -n "$RANLIB"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5633 $as_echo "$RANLIB" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5641 if test -z "$ac_cv_prog_RANLIB"; then
5642 ac_ct_RANLIB=$RANLIB
5643 # Extract the first word of "ranlib", so it can be a program name with args.
5644 set dummy ranlib; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$ac_ct_RANLIB"; then
5651 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_ac_ct_RANLIB="ranlib"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5671 if test -n "$ac_ct_RANLIB"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5673 $as_echo "$ac_ct_RANLIB" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5679 if test "x$ac_ct_RANLIB" = x; then
5680 RANLIB=":"
5681 else
5682 case $cross_compiling:$ac_tool_warned in
5683 yes:)
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5686 ac_tool_warned=yes ;;
5687 esac
5688 RANLIB=$ac_ct_RANLIB
5690 else
5691 RANLIB="$ac_cv_prog_RANLIB"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5695 $as_echo_n "checking whether ln -s works... " >&6; }
5696 LN_S=$as_ln_s
5697 if test "$LN_S" = "ln -s"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5699 $as_echo "yes" >&6; }
5700 else
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5702 $as_echo "no, using $LN_S" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5707 if ${ac_cv_path_GREP+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -z "$GREP"; then
5711 ac_path_GREP_found=false
5712 # Loop through the user's path and test for each of PROGNAME-LIST
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_prog in grep ggrep; do
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5721 as_fn_executable_p "$ac_path_GREP" || continue
5722 # Check for GNU ac_path_GREP and select it if it is found.
5723 # Check for GNU $ac_path_GREP
5724 case `"$ac_path_GREP" --version 2>&1` in
5725 *GNU*)
5726 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5728 ac_count=0
5729 $as_echo_n 0123456789 >"conftest.in"
5730 while :
5732 cat "conftest.in" "conftest.in" >"conftest.tmp"
5733 mv "conftest.tmp" "conftest.in"
5734 cp "conftest.in" "conftest.nl"
5735 $as_echo 'GREP' >> "conftest.nl"
5736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5738 as_fn_arith $ac_count + 1 && ac_count=$as_val
5739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5740 # Best one so far, save it but keep looking for a better one
5741 ac_cv_path_GREP="$ac_path_GREP"
5742 ac_path_GREP_max=$ac_count
5744 # 10*(2^10) chars as input seems more than enough
5745 test $ac_count -gt 10 && break
5746 done
5747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5748 esac
5750 $ac_path_GREP_found && break 3
5751 done
5752 done
5753 done
5754 IFS=$as_save_IFS
5755 if test -z "$ac_cv_path_GREP"; then
5756 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5758 else
5759 ac_cv_path_GREP=$GREP
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5764 $as_echo "$ac_cv_path_GREP" >&6; }
5765 GREP="$ac_cv_path_GREP"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5769 $as_echo_n "checking for egrep... " >&6; }
5770 if ${ac_cv_path_EGREP+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5774 then ac_cv_path_EGREP="$GREP -E"
5775 else
5776 if test -z "$EGREP"; then
5777 ac_path_EGREP_found=false
5778 # Loop through the user's path and test for each of PROGNAME-LIST
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_prog in egrep; do
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5787 as_fn_executable_p "$ac_path_EGREP" || continue
5788 # Check for GNU ac_path_EGREP and select it if it is found.
5789 # Check for GNU $ac_path_EGREP
5790 case `"$ac_path_EGREP" --version 2>&1` in
5791 *GNU*)
5792 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5794 ac_count=0
5795 $as_echo_n 0123456789 >"conftest.in"
5796 while :
5798 cat "conftest.in" "conftest.in" >"conftest.tmp"
5799 mv "conftest.tmp" "conftest.in"
5800 cp "conftest.in" "conftest.nl"
5801 $as_echo 'EGREP' >> "conftest.nl"
5802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5804 as_fn_arith $ac_count + 1 && ac_count=$as_val
5805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5806 # Best one so far, save it but keep looking for a better one
5807 ac_cv_path_EGREP="$ac_path_EGREP"
5808 ac_path_EGREP_max=$ac_count
5810 # 10*(2^10) chars as input seems more than enough
5811 test $ac_count -gt 10 && break
5812 done
5813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5814 esac
5816 $ac_path_EGREP_found && break 3
5817 done
5818 done
5819 done
5820 IFS=$as_save_IFS
5821 if test -z "$ac_cv_path_EGREP"; then
5822 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5824 else
5825 ac_cv_path_EGREP=$EGREP
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5831 $as_echo "$ac_cv_path_EGREP" >&6; }
5832 EGREP="$ac_cv_path_EGREP"
5835 # Extract the first word of "ldconfig", so it can be a program name with args.
5836 set dummy ldconfig; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_path_LDCONFIG+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 case $LDCONFIG in
5843 [\\/]* | ?:[\\/]*)
5844 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in /sbin /usr/sbin $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5860 IFS=$as_save_IFS
5862 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5864 esac
5866 LDCONFIG=$ac_cv_path_LDCONFIG
5867 if test -n "$LDCONFIG"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5869 $as_echo "$LDCONFIG" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 for ac_prog in msgfmt
5878 # Extract the first word of "$ac_prog", so it can be a program name with args.
5879 set dummy $ac_prog; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_MSGFMT+:} false; then :
5883 $as_echo_n "(cached) " >&6
5884 else
5885 if test -n "$MSGFMT"; then
5886 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5887 else
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 for as_dir in $PATH
5891 IFS=$as_save_IFS
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_MSGFMT="$ac_prog"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 break 2
5899 done
5900 done
5901 IFS=$as_save_IFS
5905 MSGFMT=$ac_cv_prog_MSGFMT
5906 if test -n "$MSGFMT"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5908 $as_echo "$MSGFMT" >&6; }
5909 else
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5915 test -n "$MSGFMT" && break
5916 done
5917 test -n "$MSGFMT" || MSGFMT="false"
5919 if ${ac_tool_prefix+:} false; then :
5920 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 if test -n "$PKG_CONFIG"; then
5928 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 IFS=$as_save_IFS
5947 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5948 if test -n "$PKG_CONFIG"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5950 $as_echo "$PKG_CONFIG" >&6; }
5951 else
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5959 if test "x$cross_compiling" = xyes; then :
5961 else
5962 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5963 # Extract the first word of "pkg-config", so it can be a program name with args.
5964 set dummy pkg-config; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$PKG_CONFIG"; then
5971 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_PKG_CONFIG="pkg-config"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5991 if test -n "$PKG_CONFIG"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5993 $as_echo "$PKG_CONFIG" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6001 else
6002 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6005 if test "x$enable_maintainer_mode" != "xyes"
6006 then
6007 FONTFORGE=""
6008 RSVG=""
6009 CONVERT=""
6010 ICOTOOL=""
6011 else
6012 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6013 for ac_prog in fontforge
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy $ac_prog; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_FONTFORGE+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$FONTFORGE"; then
6023 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_FONTFORGE="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 FONTFORGE=$ac_cv_prog_FONTFORGE
6043 if test -n "$FONTFORGE"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6045 $as_echo "$FONTFORGE" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$FONTFORGE" && break
6053 done
6054 test -n "$FONTFORGE" || FONTFORGE="false"
6056 for ac_prog in rsvg-convert rsvg
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy $ac_prog; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_RSVG+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$RSVG"; then
6066 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_RSVG="$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 RSVG=$ac_cv_prog_RSVG
6086 if test -n "$RSVG"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6088 $as_echo "$RSVG" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$RSVG" && break
6096 done
6097 test -n "$RSVG" || RSVG="false"
6099 for ac_prog in convert
6101 # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 set dummy $ac_prog; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_CONVERT+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$CONVERT"; then
6109 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_CONVERT="$ac_prog"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 CONVERT=$ac_cv_prog_CONVERT
6129 if test -n "$CONVERT"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6131 $as_echo "$CONVERT" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$CONVERT" && break
6139 done
6140 test -n "$CONVERT" || CONVERT="false"
6142 for ac_prog in icotool
6144 # Extract the first word of "$ac_prog", so it can be a program name with args.
6145 set dummy $ac_prog; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_ICOTOOL+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$ICOTOOL"; then
6152 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_ICOTOOL="$ac_prog"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 ICOTOOL=$ac_cv_prog_ICOTOOL
6172 if test -n "$ICOTOOL"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6174 $as_echo "$ICOTOOL" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6181 test -n "$ICOTOOL" && break
6182 done
6183 test -n "$ICOTOOL" || ICOTOOL="false"
6185 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6186 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6188 if test "$CONVERT" = false
6189 then
6190 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6191 else
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6193 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6194 convert_version=`convert --version | head -n1`
6195 if test "x$convert_version" != "x"
6196 then
6197 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6198 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6199 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6200 then
6201 CONVERT=false
6204 if test "$CONVERT" = false
6205 then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6207 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6208 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6211 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6215 if test "$ICOTOOL" = false
6216 then
6217 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6220 $as_echo_n "checking for recent enough icotool... " >&6; }
6221 icotool_version=`icotool --version | head -n1`
6222 if test "x$icotool_version" != "x"
6223 then
6224 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6225 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6226 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6227 then
6228 ICOTOOL=false
6229 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6232 if test "$ICOTOOL" = false
6233 then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6235 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6236 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6239 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6243 with_gettext=yes
6244 with_gettextpo=yes
6245 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6248 test "x$with_gettext" != xno || MSGFMT=false
6249 if test "$MSGFMT" != "false"
6250 then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6252 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6253 cat >conftest.po <<EOF
6254 # comment
6255 msgctxt "ctxt"
6256 msgid "id"
6257 msgstr "str"
6259 if $MSGFMT -o /dev/null conftest.po 2>&5
6260 then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6262 $as_echo "yes" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6266 MSGFMT=false
6269 if test "$MSGFMT" = false; then :
6270 case "x$with_gettext" in
6271 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6272 xno) ;;
6273 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6274 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6275 esac
6276 enable_po=${enable_po:-no}
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6281 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6282 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 ac_check_lib_save_LIBS=$LIBS
6286 LIBS="-li386 $LIBS"
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6290 /* Override any GCC internal prototype to avoid an error.
6291 Use char because int might match the return type of a GCC
6292 builtin and then its argument prototype would still apply. */
6293 #ifdef __cplusplus
6294 extern "C"
6295 #endif
6296 char i386_set_ldt ();
6298 main ()
6300 return i386_set_ldt ();
6302 return 0;
6304 _ACEOF
6305 if ac_fn_c_try_link "$LINENO"; then :
6306 ac_cv_lib_i386_i386_set_ldt=yes
6307 else
6308 ac_cv_lib_i386_i386_set_ldt=no
6310 rm -f core conftest.err conftest.$ac_objext \
6311 conftest$ac_exeext conftest.$ac_ext
6312 LIBS=$ac_check_lib_save_LIBS
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6315 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6316 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6317 cat >>confdefs.h <<_ACEOF
6318 #define HAVE_LIBI386 1
6319 _ACEOF
6321 LIBS="-li386 $LIBS"
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6326 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6327 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6328 $as_echo_n "(cached) " >&6
6329 else
6330 ac_check_lib_save_LIBS=$LIBS
6331 LIBS="-lossaudio $LIBS"
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 /* Override any GCC internal prototype to avoid an error.
6336 Use char because int might match the return type of a GCC
6337 builtin and then its argument prototype would still apply. */
6338 #ifdef __cplusplus
6339 extern "C"
6340 #endif
6341 char _oss_ioctl ();
6343 main ()
6345 return _oss_ioctl ();
6347 return 0;
6349 _ACEOF
6350 if ac_fn_c_try_link "$LINENO"; then :
6351 ac_cv_lib_ossaudio__oss_ioctl=yes
6352 else
6353 ac_cv_lib_ossaudio__oss_ioctl=no
6355 rm -f core conftest.err conftest.$ac_objext \
6356 conftest$ac_exeext conftest.$ac_ext
6357 LIBS=$ac_check_lib_save_LIBS
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6360 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6361 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6362 cat >>confdefs.h <<_ACEOF
6363 #define HAVE_LIBOSSAUDIO 1
6364 _ACEOF
6366 LIBS="-lossaudio $LIBS"
6371 OPENGL_LIBS=""
6375 # Check whether --enable-largefile was given.
6376 if test "${enable_largefile+set}" = set; then :
6377 enableval=$enable_largefile;
6380 if test "$enable_largefile" != no; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6383 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6384 if ${ac_cv_sys_largefile_CC+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 ac_cv_sys_largefile_CC=no
6388 if test "$GCC" != yes; then
6389 ac_save_CC=$CC
6390 while :; do
6391 # IRIX 6.2 and later do not support large files by default,
6392 # so use the C compiler's -n32 option if that helps.
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6403 ? 1 : -1];
6405 main ()
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_compile "$LINENO"; then :
6413 break
6415 rm -f core conftest.err conftest.$ac_objext
6416 CC="$CC -n32"
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 ac_cv_sys_largefile_CC=' -n32'; break
6420 rm -f core conftest.err conftest.$ac_objext
6421 break
6422 done
6423 CC=$ac_save_CC
6424 rm -f conftest.$ac_ext
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6428 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6429 if test "$ac_cv_sys_largefile_CC" != no; then
6430 CC=$CC$ac_cv_sys_largefile_CC
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6434 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6435 if ${ac_cv_sys_file_offset_bits+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 while :; do
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 #include <sys/types.h>
6442 /* Check that off_t can represent 2**63 - 1 correctly.
6443 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6444 since some C++ compilers masquerading as C compilers
6445 incorrectly reject 9223372036854775807. */
6446 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6447 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6448 && LARGE_OFF_T % 2147483647 == 1)
6449 ? 1 : -1];
6451 main ()
6455 return 0;
6457 _ACEOF
6458 if ac_fn_c_try_compile "$LINENO"; then :
6459 ac_cv_sys_file_offset_bits=no; break
6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6464 #define _FILE_OFFSET_BITS 64
6465 #include <sys/types.h>
6466 /* Check that off_t can represent 2**63 - 1 correctly.
6467 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6468 since some C++ compilers masquerading as C compilers
6469 incorrectly reject 9223372036854775807. */
6470 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6471 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6472 && LARGE_OFF_T % 2147483647 == 1)
6473 ? 1 : -1];
6475 main ()
6479 return 0;
6481 _ACEOF
6482 if ac_fn_c_try_compile "$LINENO"; then :
6483 ac_cv_sys_file_offset_bits=64; break
6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6486 ac_cv_sys_file_offset_bits=unknown
6487 break
6488 done
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6491 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6492 case $ac_cv_sys_file_offset_bits in #(
6493 no | unknown) ;;
6495 cat >>confdefs.h <<_ACEOF
6496 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6497 _ACEOF
6499 esac
6500 rm -rf conftest*
6501 if test $ac_cv_sys_file_offset_bits = unknown; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6503 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6504 if ${ac_cv_sys_large_files+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 while :; do
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <sys/types.h>
6511 /* Check that off_t can represent 2**63 - 1 correctly.
6512 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6513 since some C++ compilers masquerading as C compilers
6514 incorrectly reject 9223372036854775807. */
6515 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6516 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6517 && LARGE_OFF_T % 2147483647 == 1)
6518 ? 1 : -1];
6520 main ()
6524 return 0;
6526 _ACEOF
6527 if ac_fn_c_try_compile "$LINENO"; then :
6528 ac_cv_sys_large_files=no; break
6530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #define _LARGE_FILES 1
6534 #include <sys/types.h>
6535 /* Check that off_t can represent 2**63 - 1 correctly.
6536 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6537 since some C++ compilers masquerading as C compilers
6538 incorrectly reject 9223372036854775807. */
6539 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6540 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6541 && LARGE_OFF_T % 2147483647 == 1)
6542 ? 1 : -1];
6544 main ()
6548 return 0;
6550 _ACEOF
6551 if ac_fn_c_try_compile "$LINENO"; then :
6552 ac_cv_sys_large_files=1; break
6554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6555 ac_cv_sys_large_files=unknown
6556 break
6557 done
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6560 $as_echo "$ac_cv_sys_large_files" >&6; }
6561 case $ac_cv_sys_large_files in #(
6562 no | unknown) ;;
6564 cat >>confdefs.h <<_ACEOF
6565 #define _LARGE_FILES $ac_cv_sys_large_files
6566 _ACEOF
6568 esac
6569 rm -rf conftest*
6576 ac_ext=c
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6582 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6583 # On Suns, sometimes $CPP names a directory.
6584 if test -n "$CPP" && test -d "$CPP"; then
6585 CPP=
6587 if test -z "$CPP"; then
6588 if ${ac_cv_prog_CPP+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 # Double quotes because CPP needs to be expanded
6592 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6594 ac_preproc_ok=false
6595 for ac_c_preproc_warn_flag in '' yes
6597 # Use a header file that comes with gcc, so configuring glibc
6598 # with a fresh cross-compiler works.
6599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6600 # <limits.h> exists even on freestanding compilers.
6601 # On the NeXT, cc -E runs the code through the compiler's parser,
6602 # not just through cpp. "Syntax error" is here to catch this case.
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6605 #ifdef __STDC__
6606 # include <limits.h>
6607 #else
6608 # include <assert.h>
6609 #endif
6610 Syntax error
6611 _ACEOF
6612 if ac_fn_c_try_cpp "$LINENO"; then :
6614 else
6615 # Broken: fails on valid input.
6616 continue
6618 rm -f conftest.err conftest.i conftest.$ac_ext
6620 # OK, works on sane cases. Now check whether nonexistent headers
6621 # can be detected and how.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <ac_nonexistent.h>
6625 _ACEOF
6626 if ac_fn_c_try_cpp "$LINENO"; then :
6627 # Broken: success on invalid input.
6628 continue
6629 else
6630 # Passes both tests.
6631 ac_preproc_ok=:
6632 break
6634 rm -f conftest.err conftest.i conftest.$ac_ext
6636 done
6637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6638 rm -f conftest.i conftest.err conftest.$ac_ext
6639 if $ac_preproc_ok; then :
6640 break
6643 done
6644 ac_cv_prog_CPP=$CPP
6647 CPP=$ac_cv_prog_CPP
6648 else
6649 ac_cv_prog_CPP=$CPP
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6652 $as_echo "$CPP" >&6; }
6653 ac_preproc_ok=false
6654 for ac_c_preproc_warn_flag in '' yes
6656 # Use a header file that comes with gcc, so configuring glibc
6657 # with a fresh cross-compiler works.
6658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6659 # <limits.h> exists even on freestanding compilers.
6660 # On the NeXT, cc -E runs the code through the compiler's parser,
6661 # not just through cpp. "Syntax error" is here to catch this case.
6662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6664 #ifdef __STDC__
6665 # include <limits.h>
6666 #else
6667 # include <assert.h>
6668 #endif
6669 Syntax error
6670 _ACEOF
6671 if ac_fn_c_try_cpp "$LINENO"; then :
6673 else
6674 # Broken: fails on valid input.
6675 continue
6677 rm -f conftest.err conftest.i conftest.$ac_ext
6679 # OK, works on sane cases. Now check whether nonexistent headers
6680 # can be detected and how.
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <ac_nonexistent.h>
6684 _ACEOF
6685 if ac_fn_c_try_cpp "$LINENO"; then :
6686 # Broken: success on invalid input.
6687 continue
6688 else
6689 # Passes both tests.
6690 ac_preproc_ok=:
6691 break
6693 rm -f conftest.err conftest.i conftest.$ac_ext
6695 done
6696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697 rm -f conftest.i conftest.err conftest.$ac_ext
6698 if $ac_preproc_ok; then :
6700 else
6701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6703 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6704 See \`config.log' for more details" "$LINENO" 5; }
6707 ac_ext=c
6708 ac_cpp='$CPP $CPPFLAGS'
6709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6715 $as_echo_n "checking for ANSI C header files... " >&6; }
6716 if ${ac_cv_header_stdc+:} false; then :
6717 $as_echo_n "(cached) " >&6
6718 else
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 #include <stdlib.h>
6722 #include <stdarg.h>
6723 #include <string.h>
6724 #include <float.h>
6727 main ()
6731 return 0;
6733 _ACEOF
6734 if ac_fn_c_try_compile "$LINENO"; then :
6735 ac_cv_header_stdc=yes
6736 else
6737 ac_cv_header_stdc=no
6739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6741 if test $ac_cv_header_stdc = yes; then
6742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <string.h>
6747 _ACEOF
6748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6749 $EGREP "memchr" >/dev/null 2>&1; then :
6751 else
6752 ac_cv_header_stdc=no
6754 rm -f conftest*
6758 if test $ac_cv_header_stdc = yes; then
6759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6762 #include <stdlib.h>
6764 _ACEOF
6765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6766 $EGREP "free" >/dev/null 2>&1; then :
6768 else
6769 ac_cv_header_stdc=no
6771 rm -f conftest*
6775 if test $ac_cv_header_stdc = yes; then
6776 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6777 if test "$cross_compiling" = yes; then :
6779 else
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6782 #include <ctype.h>
6783 #include <stdlib.h>
6784 #if ((' ' & 0x0FF) == 0x020)
6785 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6786 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6787 #else
6788 # define ISLOWER(c) \
6789 (('a' <= (c) && (c) <= 'i') \
6790 || ('j' <= (c) && (c) <= 'r') \
6791 || ('s' <= (c) && (c) <= 'z'))
6792 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6793 #endif
6795 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6797 main ()
6799 int i;
6800 for (i = 0; i < 256; i++)
6801 if (XOR (islower (i), ISLOWER (i))
6802 || toupper (i) != TOUPPER (i))
6803 return 2;
6804 return 0;
6806 _ACEOF
6807 if ac_fn_c_try_run "$LINENO"; then :
6809 else
6810 ac_cv_header_stdc=no
6812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6813 conftest.$ac_objext conftest.beam conftest.$ac_ext
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6819 $as_echo "$ac_cv_header_stdc" >&6; }
6820 if test $ac_cv_header_stdc = yes; then
6822 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6826 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6827 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6828 inttypes.h stdint.h unistd.h
6829 do :
6830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6833 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6836 _ACEOF
6840 done
6843 for ac_header in \
6844 AL/al.h \
6845 ApplicationServices/ApplicationServices.h \
6846 AudioToolbox/AudioConverter.h \
6847 AudioUnit/AudioUnit.h \
6848 AudioUnit/AudioComponent.h \
6849 CL/cl.h \
6850 Carbon/Carbon.h \
6851 CommonCrypto/CommonDigest.h \
6852 CoreAudio/CoreAudio.h \
6853 CoreServices/CoreServices.h \
6854 DiskArbitration/DiskArbitration.h \
6855 EGL/egl.h \
6856 IOKit/IOKitLib.h \
6857 IOKit/hid/IOHIDLib.h \
6858 OpenAL/al.h \
6859 OpenCL/opencl.h \
6860 QuickTime/ImageCompression.h \
6861 Security/Security.h \
6862 alias.h \
6863 alsa/asoundlib.h \
6864 arpa/inet.h \
6865 arpa/nameser.h \
6866 asm/types.h \
6867 asm/user.h \
6868 curses.h \
6869 direct.h \
6870 dirent.h \
6871 dlfcn.h \
6872 elf.h \
6873 float.h \
6874 fnmatch.h \
6875 getopt.h \
6876 gettext-po.h \
6877 grp.h \
6878 gsm.h \
6879 gsm/gsm.h \
6880 ieeefp.h \
6881 inet/mib2.h \
6882 io.h \
6883 kstat.h \
6884 libproc.h \
6885 link.h \
6886 linux/cdrom.h \
6887 linux/compiler.h \
6888 linux/filter.h \
6889 linux/hdreg.h \
6890 linux/hidraw.h \
6891 linux/input.h \
6892 linux/ioctl.h \
6893 linux/joystick.h \
6894 linux/major.h \
6895 linux/param.h \
6896 linux/serial.h \
6897 linux/types.h \
6898 linux/ucdrom.h \
6899 lwp.h \
6900 mach-o/nlist.h \
6901 mach-o/loader.h \
6902 mach/mach.h \
6903 mach/machine.h \
6904 machine/cpu.h \
6905 machine/limits.h \
6906 machine/sysarch.h \
6907 mntent.h \
6908 ncurses.h \
6909 netdb.h \
6910 netinet/in.h \
6911 netinet/in_systm.h \
6912 netinet/tcp.h \
6913 netinet/tcp_fsm.h \
6914 pcap/pcap.h \
6915 poll.h \
6916 port.h \
6917 process.h \
6918 pthread.h \
6919 pwd.h \
6920 sched.h \
6921 scsi/scsi.h \
6922 scsi/scsi_ioctl.h \
6923 scsi/sg.h \
6924 stdbool.h \
6925 stdint.h \
6926 stropts.h \
6927 sys/asoundlib.h \
6928 sys/attr.h \
6929 sys/auxv.h \
6930 sys/cdio.h \
6931 sys/elf32.h \
6932 sys/epoll.h \
6933 sys/event.h \
6934 sys/exec_elf.h \
6935 sys/filio.h \
6936 sys/inotify.h \
6937 sys/ioctl.h \
6938 sys/ipc.h \
6939 sys/limits.h \
6940 sys/link.h \
6941 sys/mman.h \
6942 sys/modem.h \
6943 sys/msg.h \
6944 sys/mtio.h \
6945 sys/param.h \
6946 sys/poll.h \
6947 sys/prctl.h \
6948 sys/protosw.h \
6949 sys/ptrace.h \
6950 sys/queue.h \
6951 sys/resource.h \
6952 sys/scsiio.h \
6953 sys/shm.h \
6954 sys/signal.h \
6955 sys/socket.h \
6956 sys/socketvar.h \
6957 sys/sockio.h \
6958 sys/statvfs.h \
6959 sys/strtio.h \
6960 sys/syscall.h \
6961 sys/sysinfo.h \
6962 sys/tihdr.h \
6963 sys/time.h \
6964 sys/timeout.h \
6965 sys/times.h \
6966 sys/uio.h \
6967 sys/user.h \
6968 sys/utsname.h \
6969 sys/vm86.h \
6970 sys/vnode.h \
6971 sys/wait.h \
6972 syscall.h \
6973 termios.h \
6974 unistd.h \
6975 utime.h \
6976 valgrind/memcheck.h \
6977 valgrind/valgrind.h \
6978 zlib.h
6980 do :
6981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986 _ACEOF
6990 done
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6993 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6994 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7001 main ()
7003 return makedev(0, 0);
7005 return 0;
7007 _ACEOF
7008 if ac_fn_c_try_link "$LINENO"; then :
7009 ac_cv_header_sys_types_h_makedev=yes
7010 else
7011 ac_cv_header_sys_types_h_makedev=no
7013 rm -f core conftest.err conftest.$ac_objext \
7014 conftest$ac_exeext conftest.$ac_ext
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7018 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7020 if test $ac_cv_header_sys_types_h_makedev = no; then
7021 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7022 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7024 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7030 if test $ac_cv_header_sys_mkdev_h = no; then
7031 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7032 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7034 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7043 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7044 if ${ac_cv_header_stat_broken+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #include <sys/types.h>
7050 #include <sys/stat.h>
7052 #if defined S_ISBLK && defined S_IFDIR
7053 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7054 #endif
7056 #if defined S_ISBLK && defined S_IFCHR
7057 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7058 #endif
7060 #if defined S_ISLNK && defined S_IFREG
7061 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7062 #endif
7064 #if defined S_ISSOCK && defined S_IFREG
7065 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7066 #endif
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_header_stat_broken=no
7071 else
7072 ac_cv_header_stat_broken=yes
7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7077 $as_echo "$ac_cv_header_stat_broken" >&6; }
7078 if test $ac_cv_header_stat_broken = yes; then
7080 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7086 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7087 do :
7088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7089 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7090 #ifdef HAVE_SYS_PARAM_H
7091 # include <sys/param.h>
7092 #endif
7094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 _ACEOF
7101 done
7104 for ac_header in \
7105 netinet/ip.h \
7106 net/if.h \
7107 net/if_arp.h \
7108 net/if_dl.h \
7109 net/if_types.h \
7110 net/route.h \
7111 netinet/if_ether.h \
7112 netinet/if_inarp.h \
7113 netinet/in_pcb.h \
7114 netinet/ip_icmp.h \
7115 netinet/ip_var.h \
7116 netinet/udp.h \
7117 netipx/ipx.h \
7118 sys/un.h \
7120 do :
7121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7123 #ifdef HAVE_SYS_SOCKET_H
7124 # include <sys/socket.h>
7125 #endif
7126 #ifdef HAVE_SYS_SOCKETVAR_H
7127 # include <sys/socketvar.h>
7128 #endif
7129 #ifdef HAVE_NET_ROUTE_H
7130 # include <net/route.h>
7131 #endif
7132 #ifdef HAVE_NETINET_IN_H
7133 # include <netinet/in.h>
7134 #endif
7135 #ifdef HAVE_NETINET_IN_SYSTM_H
7136 # include <netinet/in_systm.h>
7137 #endif
7138 #ifdef HAVE_NET_IF_H
7139 # include <net/if.h>
7140 #endif
7141 #ifdef HAVE_NETINET_IP_H
7142 # include <netinet/ip.h>
7143 #endif
7145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7146 cat >>confdefs.h <<_ACEOF
7147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 _ACEOF
7152 done
7155 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7156 do :
7157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7159 #ifdef HAVE_ALIAS_H
7160 # include <alias.h>
7161 #endif
7162 #ifdef HAVE_SYS_SOCKET_H
7163 # include <sys/socket.h>
7164 #endif
7165 #ifdef HAVE_SYS_SOCKETVAR_H
7166 # include <sys/socketvar.h>
7167 #endif
7168 #ifdef HAVE_SYS_TIMEOUT_H
7169 # include <sys/timeout.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IN_H
7172 # include <netinet/in.h>
7173 #endif
7174 #ifdef HAVE_NETINET_IN_SYSTM_H
7175 # include <netinet/in_systm.h>
7176 #endif
7177 #ifdef HAVE_NETINET_IP_H
7178 # include <netinet/ip.h>
7179 #endif
7180 #ifdef HAVE_NETINET_IP_VAR_H
7181 # include <netinet/ip_var.h>
7182 #endif
7183 #ifdef HAVE_NETINET_IP_ICMP_H
7184 # include <netinet/ip_icmp.h>
7185 #endif
7186 #ifdef HAVE_NETINET_UDP_H
7187 # include <netinet/udp.h>
7188 #endif
7189 #ifdef HAVE_NETINET_TCP_H
7190 # include <netinet/tcp.h>
7191 #endif
7192 #ifdef HAVE_NETINET_TCP_TIMER_H
7193 #include <netinet/tcp_timer.h>
7194 #endif
7196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7199 _ACEOF
7203 done
7206 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7207 do :
7208 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7210 #ifdef HAVE_ASM_TYPES_H
7211 # include <asm/types.h>
7212 #endif
7213 #ifdef HAVE_SYS_SOCKET_H
7214 # include <sys/socket.h>
7215 #endif
7216 #ifdef HAVE_LINUX_TYPES_H
7217 # include <linux/types.h>
7218 #endif
7220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223 _ACEOF
7227 done
7230 for ac_header in mach-o/dyld_images.h
7231 do :
7232 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7233 # include <stdbool.h>
7234 #endif
7235 #ifdef HAVE_STDINT_H
7236 # include <stdint.h>
7237 #endif
7239 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7242 _ACEOF
7246 done
7249 for ac_header in resolv.h
7250 do :
7251 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7252 #ifdef HAVE_SYS_SOCKET_H
7253 # include <sys/socket.h>
7254 #endif
7255 #ifdef HAVE_NETINET_IN_H
7256 # include <netinet/in.h>
7257 #endif
7258 #ifdef HAVE_ARPA_NAMESER_H
7259 # include <arpa/nameser.h>
7260 #endif
7262 if test "x$ac_cv_header_resolv_h" = xyes; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define HAVE_RESOLV_H 1
7265 _ACEOF
7269 done
7272 for ac_header in ifaddrs.h
7273 do :
7274 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7276 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_IFADDRS_H 1
7279 _ACEOF
7283 done
7286 for ac_header in sys/ucontext.h
7287 do :
7288 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7290 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define HAVE_SYS_UCONTEXT_H 1
7293 _ACEOF
7297 done
7300 for ac_header in sys/thr.h
7301 do :
7302 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7303 #ifdef HAVE_SYS_UCONTEXT_H
7304 #include <sys/ucontext.h>
7305 #endif
7307 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7308 cat >>confdefs.h <<_ACEOF
7309 #define HAVE_SYS_THR_H 1
7310 _ACEOF
7314 done
7317 for ac_header in pthread_np.h
7318 do :
7319 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7320 #include <pthread.h>
7321 #endif
7323 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define HAVE_PTHREAD_NP_H 1
7326 _ACEOF
7330 done
7333 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7334 do :
7335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7337 #include <sys/time.h>
7338 #endif
7339 #include <sys/types.h>
7340 #ifdef HAVE_ASM_TYPES_H
7341 #include <asm/types.h>
7342 #endif
7344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 _ACEOF
7351 done
7354 for ac_header in libprocstat.h
7355 do :
7356 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7357 #include <sys/param.h>
7358 #endif
7359 #ifdef HAVE_SYS_QUEUE_H
7360 #include <sys/queue.h>
7361 #endif
7362 #ifdef HAVE_SYS_SOCKET_H
7363 #include <sys/socket.h>
7364 #endif
7366 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define HAVE_LIBPROCSTAT_H 1
7369 _ACEOF
7373 done
7377 dlldir="\${libdir}/wine"
7379 DLLFLAGS="-D_REENTRANT"
7381 LDRPATH_INSTALL=""
7383 LDRPATH_LOCAL=""
7385 LDEXECFLAGS=""
7387 WINELOADER_LDFLAGS=""
7389 LIBEXT="so"
7390 DLLEXT=".so"
7391 IMPLIBEXT="def"
7392 # Extract the first word of "ldd", so it can be a program name with args.
7393 set dummy ldd; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_path_LDD+:} false; then :
7397 $as_echo_n "(cached) " >&6
7398 else
7399 case $LDD in
7400 [\\/]* | ?:[\\/]*)
7401 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 as_dummy="/sbin:/usr/sbin:$PATH"
7406 for as_dir in $as_dummy
7408 IFS=$as_save_IFS
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 break 2
7416 done
7417 done
7418 IFS=$as_save_IFS
7420 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7422 esac
7424 LDD=$ac_cv_path_LDD
7425 if test -n "$LDD"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7427 $as_echo "$LDD" >&6; }
7428 else
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7434 if test -n "$ac_tool_prefix"; then
7435 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7436 set dummy ${ac_tool_prefix}otool; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_prog_OTOOL+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 if test -n "$OTOOL"; then
7443 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7448 IFS=$as_save_IFS
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7452 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 break 2
7456 done
7457 done
7458 IFS=$as_save_IFS
7462 OTOOL=$ac_cv_prog_OTOOL
7463 if test -n "$OTOOL"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7465 $as_echo "$OTOOL" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7473 if test -z "$ac_cv_prog_OTOOL"; then
7474 ac_ct_OTOOL=$OTOOL
7475 # Extract the first word of "otool", so it can be a program name with args.
7476 set dummy otool; ac_word=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7480 $as_echo_n "(cached) " >&6
7481 else
7482 if test -n "$ac_ct_OTOOL"; then
7483 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7484 else
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 for as_dir in $PATH
7488 IFS=$as_save_IFS
7489 test -z "$as_dir" && as_dir=.
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_ac_ct_OTOOL="otool"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494 break 2
7496 done
7497 done
7498 IFS=$as_save_IFS
7502 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7503 if test -n "$ac_ct_OTOOL"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7505 $as_echo "$ac_ct_OTOOL" >&6; }
7506 else
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7511 if test "x$ac_ct_OTOOL" = x; then
7512 OTOOL="otool"
7513 else
7514 case $cross_compiling:$ac_tool_warned in
7515 yes:)
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7518 ac_tool_warned=yes ;;
7519 esac
7520 OTOOL=$ac_ct_OTOOL
7522 else
7523 OTOOL="$ac_cv_prog_OTOOL"
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7528 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_READELF+:} false; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$READELF"; then
7535 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7548 done
7549 done
7550 IFS=$as_save_IFS
7554 READELF=$ac_cv_prog_READELF
7555 if test -n "$READELF"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7557 $as_echo "$READELF" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7565 if test -z "$ac_cv_prog_READELF"; then
7566 ac_ct_READELF=$READELF
7567 # Extract the first word of "readelf", so it can be a program name with args.
7568 set dummy readelf; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7572 $as_echo_n "(cached) " >&6
7573 else
7574 if test -n "$ac_ct_READELF"; then
7575 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7576 else
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 for as_dir in $PATH
7580 IFS=$as_save_IFS
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_ac_ct_READELF="readelf"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7586 break 2
7588 done
7589 done
7590 IFS=$as_save_IFS
7594 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7595 if test -n "$ac_ct_READELF"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7597 $as_echo "$ac_ct_READELF" >&6; }
7598 else
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7603 if test "x$ac_ct_READELF" = x; then
7604 READELF="true"
7605 else
7606 case $cross_compiling:$ac_tool_warned in
7607 yes:)
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7610 ac_tool_warned=yes ;;
7611 esac
7612 READELF=$ac_ct_READELF
7614 else
7615 READELF="$ac_cv_prog_READELF"
7618 wine_rules_file=conf$$rules.make
7619 rm -f $wine_rules_file
7620 SUBDIRS=""
7622 DISABLED_SUBDIRS=""
7624 CONFIGURE_TARGETS=""
7626 ALL_TEST_RESOURCES=""
7629 wine_fn_append_file ()
7631 as_fn_append $1 " \\$as_nl $2"
7634 wine_fn_append_rule ()
7636 $as_echo "$1" >>$wine_rules_file
7639 wine_fn_has_flag ()
7641 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7644 wine_fn_all_rules ()
7646 wine_fn_append_file SUBDIRS $ac_dir
7647 wine_fn_append_rule \
7648 "all: $ac_dir
7649 .PHONY: $ac_dir
7650 $ac_dir: dummy
7651 @cd $ac_dir && \$(MAKE)"
7654 wine_fn_install_rules ()
7656 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7658 wine_fn_append_rule \
7659 ".PHONY: $ac_dir/install $ac_dir/uninstall
7660 $ac_dir/install:: $ac_dir
7661 @cd $ac_dir && \$(MAKE) install
7662 $ac_dir/uninstall::
7663 @cd $ac_dir && \$(MAKE) uninstall
7664 install:: $ac_dir/install
7665 __uninstall__: $ac_dir/uninstall"
7667 if wine_fn_has_flag install-lib
7668 then
7669 wine_fn_append_rule \
7670 ".PHONY: $ac_dir/install-lib
7671 $ac_dir/install-lib:: $ac_dir
7672 @cd $ac_dir && \$(MAKE) install-lib
7673 install-lib:: $ac_dir/install-lib"
7676 if wine_fn_has_flag install-dev
7677 then
7678 wine_fn_append_rule \
7679 ".PHONY: $ac_dir/install-dev
7680 $ac_dir/install-dev:: $ac_dir
7681 @cd $ac_dir && \$(MAKE) install-dev
7682 install-dev:: $ac_dir/install-dev"
7686 wine_fn_clean_rules ()
7688 ac_clean=$@
7690 if wine_fn_has_flag clean
7691 then
7692 wine_fn_append_rule \
7693 "$ac_dir/clean: dummy
7694 @cd $ac_dir && \$(MAKE) clean"
7695 else
7696 wine_fn_append_rule \
7697 "$ac_dir/clean: dummy
7698 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7700 wine_fn_append_rule \
7701 "__clean__: $ac_dir/clean
7702 .PHONY: $ac_dir/clean"
7705 wine_fn_disabled_rules ()
7707 ac_clean=$@
7709 wine_fn_append_file SUBDIRS $ac_dir
7710 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7711 wine_fn_append_rule \
7712 "__clean__: $ac_dir/clean
7713 .PHONY: $ac_dir/clean
7714 $ac_dir/clean: dummy
7715 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7718 wine_fn_config_makefile ()
7720 ac_dir=$1
7721 ac_enable=$2
7722 ac_flags=$3
7724 case $ac_dir in
7725 fonts|server) test -z "$with_wine64" || return ;;
7726 esac
7727 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7728 wine_fn_disabled_rules; return
7730 wine_fn_all_rules
7731 wine_fn_install_rules
7732 wine_fn_clean_rules
7735 wine_fn_config_lib ()
7737 ac_name=$1
7738 ac_flags=$2
7739 ac_dir=dlls/$ac_name
7740 ac_deps="include"
7742 if test "x$enable_tools" = xno; then :
7744 else
7745 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7747 wine_fn_all_rules
7748 wine_fn_clean_rules
7750 wine_fn_append_rule \
7751 ".PHONY: $ac_dir/install $ac_dir/uninstall
7752 $ac_dir/install:: $ac_dir
7753 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7754 $ac_dir/uninstall::
7755 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7756 install install-dev:: $ac_dir/install
7757 __uninstall__: $ac_dir/uninstall
7758 __builddeps__: $ac_dir
7759 $ac_dir: $ac_deps"
7762 wine_fn_config_dll ()
7764 ac_name=$1
7765 ac_dir=dlls/$ac_name
7766 ac_enable=$2
7767 ac_flags=$3
7768 ac_implib=${4:-$ac_name}
7769 ac_file=$ac_dir/lib$ac_implib
7770 ac_dll=$ac_name
7771 ac_deps="include"
7772 ac_implibflags=""
7774 if test "x$enable_tools" = xno; then :
7776 else
7777 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7779 case $ac_name in
7780 *.*16) ac_implibflags=" -m16" ;;
7781 *.*) ;;
7782 *) ac_dll=$ac_dll.dll ;;
7783 esac
7785 ac_clean=
7786 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7787 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7789 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7790 if test "$ac_enable" != enable_win16
7791 then
7792 wine_fn_clean_rules $ac_clean
7793 wine_fn_append_file SUBDIRS $ac_dir
7794 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7795 else
7796 wine_fn_disabled_rules $ac_clean
7797 return
7799 else
7800 wine_fn_all_rules
7801 wine_fn_clean_rules $ac_clean
7802 wine_fn_append_rule \
7803 "$ac_dir: __builddeps__
7804 manpages htmlpages sgmlpages xmlpages::
7805 @cd $ac_dir && \$(MAKE) \$@
7806 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7807 install install-lib:: $ac_dir/install-lib
7808 __uninstall__: $ac_dir/uninstall"
7809 if test -n "$DLLEXT"
7810 then
7811 wine_fn_append_rule \
7812 "$ac_dir/install-lib:: $ac_dir
7813 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7814 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7817 else
7818 wine_fn_append_rule \
7819 "$ac_dir/install-lib:: $ac_dir
7820 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7821 $ac_dir/uninstall::
7822 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7826 if wine_fn_has_flag staticimplib
7827 then
7828 wine_fn_append_rule \
7829 "__builddeps__: $ac_file.a
7830 $ac_file.a $ac_file.cross.a: $ac_deps
7831 $ac_file.a: dummy
7832 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7833 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7834 $ac_dir/install-dev:: $ac_file.a
7835 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7836 $ac_dir/uninstall::
7837 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7838 install install-dev:: $ac_dir/install-dev
7839 __uninstall__: $ac_dir/uninstall"
7841 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7842 then
7843 wine_fn_append_rule \
7844 "__builddeps__: $ac_file.cross.a
7845 $ac_file.cross.a: dummy
7846 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7849 elif wine_fn_has_flag implib
7850 then
7851 wine_fn_append_rule \
7852 "__builddeps__: $ac_file.$IMPLIBEXT
7853 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7854 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7855 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7856 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7857 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7858 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7859 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7860 $ac_dir/uninstall::
7861 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7862 install install-dev:: $ac_dir/install-dev
7863 __uninstall__: $ac_dir/uninstall"
7864 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7865 then
7866 wine_fn_append_rule \
7867 "__builddeps__: $ac_file.cross.a
7868 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7869 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7874 wine_fn_config_program ()
7876 ac_name=$1
7877 ac_dir=programs/$ac_name
7878 ac_enable=$2
7879 ac_flags=$3
7880 ac_program=$ac_name
7882 case $ac_name in
7883 *.*) ;;
7884 *) ac_program=$ac_program.exe ;;
7885 esac
7887 ac_clean=
7888 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7889 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7891 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7892 wine_fn_disabled_rules $ac_clean; return
7895 wine_fn_all_rules
7896 wine_fn_clean_rules $ac_clean
7897 wine_fn_append_rule "$ac_dir: __builddeps__"
7899 wine_fn_has_flag install || return
7900 wine_fn_append_rule \
7901 ".PHONY: $ac_dir/install $ac_dir/uninstall
7902 install install-lib:: $ac_dir/install
7903 __uninstall__: $ac_dir/uninstall"
7905 if test -n "$DLLEXT"
7906 then
7907 wine_fn_append_rule \
7908 "$ac_dir/install:: $ac_dir
7909 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7910 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7911 $ac_dir/uninstall::
7912 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7914 if test -z "$with_wine64" && wine_fn_has_flag installbin
7915 then
7916 wine_fn_append_rule \
7917 "$ac_dir/install:: __tooldeps__
7918 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7919 $ac_dir/uninstall::
7920 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7922 else
7923 wine_fn_append_rule \
7924 "$ac_dir/install:: $ac_dir
7925 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7926 $ac_dir/uninstall::
7927 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7930 if test -z "$with_wine64" && wine_fn_has_flag manpage
7931 then
7932 wine_fn_append_rule \
7933 "$ac_dir/install:: $ac_dir
7934 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7935 $ac_dir/uninstall::
7936 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7940 wine_fn_config_test ()
7942 ac_dir=$1
7943 ac_name=$2
7944 ac_flags=$3
7946 ac_clean=
7947 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7948 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7950 if test "x$enable_tests" = xno; then :
7951 wine_fn_disabled_rules $ac_clean; return
7954 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7955 wine_fn_all_rules
7956 wine_fn_clean_rules $ac_clean
7958 wine_fn_append_rule \
7959 "$ac_dir: __builddeps__
7960 programs/winetest: $ac_dir
7961 check test: $ac_dir/test
7962 .PHONY: $ac_dir/test
7963 $ac_dir/test: dummy
7964 @cd $ac_dir && \$(MAKE) test
7965 testclean::
7966 \$(RM) $ac_dir/*.ok"
7968 if test -n "$CROSSTARGET"
7969 then
7970 wine_fn_append_rule \
7971 "crosstest: $ac_dir/crosstest
7972 .PHONY: $ac_dir/crosstest
7973 $ac_dir/crosstest: __builddeps__ dummy
7974 @cd $ac_dir && \$(MAKE) crosstest"
7978 wine_fn_config_tool ()
7980 ac_dir=$1
7981 ac_flags=$2
7982 if test "x$enable_tools" = xno; then :
7983 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7986 wine_fn_all_rules
7987 wine_fn_install_rules
7988 wine_fn_clean_rules
7990 wine_fn_append_rule "__tooldeps__: $ac_dir"
7991 wine_fn_append_rule "$ac_dir: libs/port"
7992 case $ac_dir in
7993 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7994 esac
7997 wine_fn_config_symlink ()
7999 ac_linkdir=
8000 if test "x$1" = "x-d"
8001 then
8002 ac_linkdir=$2
8003 shift; shift
8005 ac_links=$@
8006 wine_fn_append_rule \
8007 "$ac_links:
8008 @./config.status \$@"
8009 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8010 test -n "$ac_linkdir" || return
8011 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8014 wine_binary="wine"
8015 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8016 WINELOADER_PROGRAMS="$wine_binary"
8018 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8020 case $host_os in
8021 cygwin*|mingw32*)
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8024 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_DLLTOOL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$DLLTOOL"; then
8031 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 DLLTOOL=$ac_cv_prog_DLLTOOL
8051 if test -n "$DLLTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8053 $as_echo "$DLLTOOL" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8061 if test -z "$ac_cv_prog_DLLTOOL"; then
8062 ac_ct_DLLTOOL=$DLLTOOL
8063 # Extract the first word of "dlltool", so it can be a program name with args.
8064 set dummy dlltool; ac_word=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8068 $as_echo_n "(cached) " >&6
8069 else
8070 if test -n "$ac_ct_DLLTOOL"; then
8071 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8072 else
8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 for as_dir in $PATH
8076 IFS=$as_save_IFS
8077 test -z "$as_dir" && as_dir=.
8078 for ac_exec_ext in '' $ac_executable_extensions; do
8079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 break 2
8084 done
8085 done
8086 IFS=$as_save_IFS
8090 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8091 if test -n "$ac_ct_DLLTOOL"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8093 $as_echo "$ac_ct_DLLTOOL" >&6; }
8094 else
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8099 if test "x$ac_ct_DLLTOOL" = x; then
8100 DLLTOOL="false"
8101 else
8102 case $cross_compiling:$ac_tool_warned in
8103 yes:)
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8106 ac_tool_warned=yes ;;
8107 esac
8108 DLLTOOL=$ac_ct_DLLTOOL
8110 else
8111 DLLTOOL="$ac_cv_prog_DLLTOOL"
8114 LIBEXT="dll"
8115 DLLEXT=""
8116 IMPLIBEXT="a"
8117 enable_iphlpapi=${enable_iphlpapi:-no}
8118 enable_kernel32=${enable_kernel32:-no}
8119 enable_msvcrt=${enable_msvcrt:-no}
8120 enable_ntdll=${enable_ntdll:-no}
8121 enable_ws2_32=${enable_ws2_32:-no}
8122 enable_loader=${enable_loader:-no}
8123 enable_server=${enable_server:-no}
8124 with_x=${with_x:-no}
8125 with_pthread=${with_pthread:-no}
8127 crtlibs=""
8128 case $host_os in
8129 mingw32*)
8130 crtlibs="-lmsvcrt"
8131 SOCKET_LIBS="-lws2_32"
8133 esac
8135 LIBWINE_SHAREDLIB="libwine.dll"
8137 LIBWINE_IMPORTLIB="libwine.a"
8139 LIBWINE_INSTALL_LIB="libwine.dll"
8141 LIBWINE_INSTALL_DEV="libwine.a"
8143 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8145 LIBWINE_DEPENDS="wine.def"
8149 darwin*|macosx*)
8150 for ac_header in libunwind.h
8151 do :
8152 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8154 cat >>confdefs.h <<_ACEOF
8155 #define HAVE_LIBUNWIND_H 1
8156 _ACEOF
8160 done
8162 LIBEXT="dylib"
8163 DLLFLAGS="$DLLFLAGS -fPIC"
8164 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8165 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8166 COREFOUNDATION_LIBS="-framework CoreFoundation"
8168 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8170 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8172 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8174 CORESERVICES_LIBS="-framework CoreServices"
8176 APPKIT_LIBS="-framework AppKit"
8178 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8180 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8181 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -Wl,-no_pie"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 ac_cv_cflags__Wl__no_pie=yes
8192 else
8193 ac_cv_cflags__Wl__no_pie=no
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8200 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8201 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8202 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8204 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8205 then
8206 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8209 if test "$ac_cv_header_Security_Security_h" = "yes"
8210 then
8211 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8213 ac_save_LIBS="$LIBS"
8214 LIBS="$LIBS $SECURITY_LIBS"
8215 for ac_func in SSLCopyPeerCertificates
8216 do :
8217 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8218 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8219 cat >>confdefs.h <<_ACEOF
8220 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8221 _ACEOF
8224 done
8226 LIBS="$ac_save_LIBS"
8227 with_gnutls=${with_gnutls:-no}
8229 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8230 then
8231 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8232 then
8233 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8235 else
8236 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8239 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8240 ac_save_LIBS="$LIBS"
8241 LIBS="$LIBS $COREAUDIO_LIBS"
8242 for ac_func in AUGraphAddNode
8243 do :
8244 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8245 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8246 cat >>confdefs.h <<_ACEOF
8247 #define HAVE_AUGRAPHADDNODE 1
8248 _ACEOF
8251 done
8253 LIBS="$ac_save_LIBS"
8255 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8256 then
8257 OPENAL_LIBS="-framework OpenAL"
8260 cat >>confdefs.h <<_ACEOF
8261 #define HAVE_OPENAL 1
8262 _ACEOF
8264 ac_cv_lib_openal=yes
8266 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8267 then
8268 OPENCL_LIBS="-framework OpenCL"
8270 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8272 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8273 then
8274 ac_save_LIBS="$LIBS"
8275 LIBS="$LIBS $IOKIT_LIBS"
8276 for ac_func in IOHIDManagerCreate
8277 do :
8278 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8279 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8280 cat >>confdefs.h <<_ACEOF
8281 #define HAVE_IOHIDMANAGERCREATE 1
8282 _ACEOF
8285 done
8287 LIBS="$ac_save_LIBS"
8289 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8290 then
8291 ac_save_LIBS="$LIBS"
8292 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8294 $as_echo_n "checking for the QuickTime framework... " >&6; }
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <QuickTime/ImageCompression.h>
8299 main ()
8301 CodecManagerVersion(NULL);
8303 return 0;
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 $as_echo "yes" >&6; }
8309 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8311 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8315 ac_cv_header_QuickTime_ImageCompression_h=no
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 LIBS="$ac_save_LIBS"
8321 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8322 then
8323 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8325 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8326 then
8327 CARBON_LIBS="-framework Carbon"
8331 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8332 then
8333 ac_save_LIBS="$LIBS"
8334 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8335 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8336 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8337 enable_winemac_drv=${enable_winemac_drv:-yes}
8340 LIBS="$ac_save_LIBS"
8343 if test "x$enable_win16" = "xyes"
8344 then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8346 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8347 if test "$cross_compiling" = yes; then :
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8349 $as_echo "cross-compiling, assuming yes" >&6; }
8350 else
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 asm(".text\n"
8354 "bad:\tnop;nop\n"
8355 "good:\tnop;nop\n\t"
8356 ".globl _testfunc\n"
8357 "_testfunc:\tcallw good");
8358 extern void testfunc();
8360 main ()
8362 unsigned short *p = (unsigned short *)testfunc;
8363 return p[0] != 0xe866 || p[1] != 0xfffa
8365 return 0;
8367 _ACEOF
8368 if ac_fn_c_try_run "$LINENO"; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8370 $as_echo "yes" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 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
8376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8377 conftest.$ac_objext conftest.beam conftest.$ac_ext
8382 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8384 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8386 LIBWINE_INSTALL_DEV="libwine.dylib"
8388 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8390 WINELOADER_DEPENDS="wine_info.plist"
8394 linux-android*)
8395 DLLFLAGS="$DLLFLAGS -fPIC"
8396 LDEXECFLAGS="-Wl,-pie"
8397 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8400 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8411 else
8412 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8419 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8420 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8421 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8423 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8426 if eval \${$as_ac_var+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 eval "$as_ac_var=yes"
8437 else
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 eval ac_res=\$$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8448 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8449 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8450 else
8451 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8454 if eval \${$as_ac_var+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 eval "$as_ac_var=yes"
8465 else
8466 eval "$as_ac_var=no"
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 eval ac_res=\$$as_ac_var
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8474 $as_echo "$ac_res" >&6; }
8475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8476 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8477 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8481 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8482 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 ac_cv_cflags__Wl___enable_new_dtags=yes
8493 else
8494 ac_cv_cflags__Wl___enable_new_dtags=no
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8501 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8502 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8503 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8506 LIBWINE_SHAREDLIB="libwine.so"
8508 LIBWINE_INSTALL_LIB="libwine.so"
8510 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8514 $as_echo_n "checking for -lEGL... " >&6; }
8515 if ${ac_cv_lib_soname_EGL+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_check_soname_save_LIBS=$LIBS
8519 LIBS="-lEGL $LIBS"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8526 #ifdef __cplusplus
8527 extern "C"
8528 #endif
8529 char eglGetProcAddress ();
8531 main ()
8533 return eglGetProcAddress ();
8535 return 0;
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 case "$LIBEXT" in
8540 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8541 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'` ;;
8542 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8543 if ${ac_cv_lib_soname_EGL:+false} :; then :
8544 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8545 fi ;;
8546 esac
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 LIBS=$ac_check_soname_save_LIBS
8552 if ${ac_cv_lib_soname_EGL:+false} :; then :
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8554 $as_echo "not found" >&6; }
8556 else
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8558 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8560 cat >>confdefs.h <<_ACEOF
8561 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8562 _ACEOF
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8567 $as_echo_n "checking for -lGLESv2... " >&6; }
8568 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_check_soname_save_LIBS=$LIBS
8572 LIBS="-lGLESv2 $LIBS"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8576 /* Override any GCC internal prototype to avoid an error.
8577 Use char because int might match the return type of a GCC
8578 builtin and then its argument prototype would still apply. */
8579 #ifdef __cplusplus
8580 extern "C"
8581 #endif
8582 char glFlush ();
8584 main ()
8586 return glFlush ();
8588 return 0;
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 case "$LIBEXT" in
8593 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8594 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'` ;;
8595 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8596 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8597 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8598 fi ;;
8599 esac
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 LIBS=$ac_check_soname_save_LIBS
8605 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8607 $as_echo "not found" >&6; }
8609 else
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8611 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8613 cat >>confdefs.h <<_ACEOF
8614 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8615 _ACEOF
8620 if test "x$exec_prefix" = xNONE
8621 then
8622 case $host_cpu in
8623 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8624 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8625 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8626 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8627 esac
8632 DLLFLAGS="$DLLFLAGS -fPIC"
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8634 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8635 if ${ac_cv_c_dll_gnuelf+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 void myfunc() {}
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_c_dll_gnuelf="yes"
8646 else
8647 ac_cv_c_dll_gnuelf="no"
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8654 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8655 if test "$ac_cv_c_dll_gnuelf" = "yes"
8656 then
8657 LIBWINE_LDFLAGS="-shared"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8659 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8660 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8671 else
8672 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8679 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8680 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8681 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8682 else
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8684 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8685 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8686 $as_echo_n "(cached) " >&6
8687 else
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 int main(int argc, char **argv) { return 0; }
8693 _ACEOF
8694 if ac_fn_c_try_link "$LINENO"; then :
8695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8696 else
8697 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8699 rm -f core conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8701 CFLAGS=$ac_wine_try_cflags_saved
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8704 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8705 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8706 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8710 echo '{ global: *; };' >conftest.map
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8712 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8713 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8724 else
8725 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8732 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8733 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8734 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8736 rm -f conftest.map
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8739 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8740 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8751 else
8752 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8759 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8760 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8761 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8764 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8766 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8767 if eval \${$as_ac_var+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 eval "$as_ac_var=yes"
8778 else
8779 eval "$as_ac_var=no"
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 eval ac_res=\$$as_ac_var
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8787 $as_echo "$ac_res" >&6; }
8788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8789 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8790 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8791 else
8792 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8794 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8795 if eval \${$as_ac_var+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 int main(int argc, char **argv) { return 0; }
8803 _ACEOF
8804 if ac_fn_c_try_link "$LINENO"; then :
8805 eval "$as_ac_var=yes"
8806 else
8807 eval "$as_ac_var=no"
8809 rm -f core conftest.err conftest.$ac_objext \
8810 conftest$ac_exeext conftest.$ac_ext
8811 CFLAGS=$ac_wine_try_cflags_saved
8813 eval ac_res=\$$as_ac_var
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8815 $as_echo "$ac_res" >&6; }
8816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8817 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8818 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8824 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__Wl___enable_new_dtags=yes
8835 else
8836 ac_cv_cflags__Wl___enable_new_dtags=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8843 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8844 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8845 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8848 case $host_cpu in
8849 *i[3456789]86* | x86_64)
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8851 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8852 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8863 else
8864 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8871 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8872 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8873 case $host_os in
8874 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8875 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8876 esac
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8879 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8880 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8881 $as_echo_n "(cached) " >&6
8882 else
8883 ac_wine_try_cflags_saved=$CFLAGS
8884 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 int main(int argc, char **argv) { return 0; }
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8890 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8891 else
8892 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 CFLAGS=$ac_wine_try_cflags_saved
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8899 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8900 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8901 case $host_os in
8902 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8903 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8904 esac
8906 # Extract the first word of "prelink", so it can be a program name with args.
8907 set dummy prelink; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_path_PRELINK+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 case $PRELINK in
8914 [\\/]* | ?:[\\/]*)
8915 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 for as_dir in /sbin /usr/sbin $PATH
8921 IFS=$as_save_IFS
8922 test -z "$as_dir" && as_dir=.
8923 for ac_exec_ext in '' $ac_executable_extensions; do
8924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8925 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8927 break 2
8929 done
8930 done
8931 IFS=$as_save_IFS
8933 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8935 esac
8937 PRELINK=$ac_cv_path_PRELINK
8938 if test -n "$PRELINK"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8940 $as_echo "$PRELINK" >&6; }
8941 else
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8947 if test "x$PRELINK" = xfalse
8948 then
8949 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8953 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8954 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 ac_wine_try_cflags_saved=$CFLAGS
8958 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 int main(int argc, char **argv) { return 0; }
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8965 else
8966 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8970 CFLAGS=$ac_wine_try_cflags_saved
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8973 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8974 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8975 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8978 esac
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8982 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8983 if ${ac_cv_c_dll_unixware+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 ac_wine_try_cflags_saved=$CFLAGS
8987 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8990 void myfunc() {}
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 ac_cv_c_dll_unixware="yes"
8994 else
8995 ac_cv_c_dll_unixware="no"
8997 rm -f core conftest.err conftest.$ac_objext \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9002 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9003 if test "$ac_cv_c_dll_unixware" = "yes"
9004 then
9005 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9008 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9010 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9012 LIBWINE_INSTALL_DEV="libwine.so"
9014 LIBWINE_DEPENDS="wine.map"
9017 esac
9019 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9020 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9021 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9022 enable_winemac_drv=${enable_winemac_drv:-no}
9023 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9025 CROSSTARGET=""
9027 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9028 then
9029 case "$host_cpu" in
9030 arm*)
9031 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9032 i[3456789]86*)
9033 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
9034 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9035 mingw32-gcc" ;;
9036 x86_64)
9037 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
9038 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9040 ac_prefix_list="" ;;
9041 esac
9042 for ac_prog in $ac_prefix_list
9044 # Extract the first word of "$ac_prog", so it can be a program name with args.
9045 set dummy $ac_prog; ac_word=$2
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9047 $as_echo_n "checking for $ac_word... " >&6; }
9048 if ${ac_cv_prog_CROSSCC+:} false; then :
9049 $as_echo_n "(cached) " >&6
9050 else
9051 if test -n "$CROSSCC"; then
9052 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9053 else
9054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 for as_dir in $PATH
9057 IFS=$as_save_IFS
9058 test -z "$as_dir" && as_dir=.
9059 for ac_exec_ext in '' $ac_executable_extensions; do
9060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9061 ac_cv_prog_CROSSCC="$ac_prog"
9062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9063 break 2
9065 done
9066 done
9067 IFS=$as_save_IFS
9071 CROSSCC=$ac_cv_prog_CROSSCC
9072 if test -n "$CROSSCC"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9074 $as_echo "$CROSSCC" >&6; }
9075 else
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077 $as_echo "no" >&6; }
9081 test -n "$CROSSCC" && break
9082 done
9083 test -n "$CROSSCC" || CROSSCC="false"
9085 if test "$CROSSCC" != "false"
9086 then
9087 ac_save_CC="$CC"
9088 CC="$CROSSCC"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9090 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9095 main ()
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_compile "$LINENO"; then :
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9104 $as_echo "yes" >&6; }
9105 set x $CROSSCC
9106 shift
9107 while test $# -ge 1
9109 case "$1" in
9110 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9111 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9112 esac
9113 shift
9114 done
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 CC="$ac_save_CC"
9121 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9127 if test "$ac_cv_header_pthread_h" = "yes"
9128 then
9129 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9130 if test "x$ac_cv_func_pthread_create" = xyes; then :
9132 else
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9134 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9135 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_check_lib_save_LIBS=$LIBS
9139 LIBS="-lpthread $LIBS"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9146 #ifdef __cplusplus
9147 extern "C"
9148 #endif
9149 char pthread_create ();
9151 main ()
9153 return pthread_create ();
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_lib_pthread_pthread_create=yes
9160 else
9161 ac_cv_lib_pthread_pthread_create=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9168 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9169 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9170 PTHREAD_LIBS="-lpthread"
9177 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9178 case "x$with_pthread" in
9179 xno) ;;
9180 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9181 Wine cannot support threads without libpthread.
9182 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9183 esac
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9189 $as_echo_n "checking for X... " >&6; }
9192 # Check whether --with-x was given.
9193 if test "${with_x+set}" = set; then :
9194 withval=$with_x;
9197 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9198 if test "x$with_x" = xno; then
9199 # The user explicitly disabled X.
9200 have_x=disabled
9201 else
9202 case $x_includes,$x_libraries in #(
9203 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9204 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 # One or both of the vars are not set, and there is no cached value.
9208 ac_x_includes=no ac_x_libraries=no
9209 rm -f -r conftest.dir
9210 if mkdir conftest.dir; then
9211 cd conftest.dir
9212 cat >Imakefile <<'_ACEOF'
9213 incroot:
9214 @echo incroot='${INCROOT}'
9215 usrlibdir:
9216 @echo usrlibdir='${USRLIBDIR}'
9217 libdir:
9218 @echo libdir='${LIBDIR}'
9219 _ACEOF
9220 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9221 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9222 for ac_var in incroot usrlibdir libdir; do
9223 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9224 done
9225 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9226 for ac_extension in a so sl dylib la dll; do
9227 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9228 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9229 ac_im_usrlibdir=$ac_im_libdir; break
9231 done
9232 # Screen out bogus values from the imake configuration. They are
9233 # bogus both because they are the default anyway, and because
9234 # using them would break gcc on systems where it needs fixed includes.
9235 case $ac_im_incroot in
9236 /usr/include) ac_x_includes= ;;
9237 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9238 esac
9239 case $ac_im_usrlibdir in
9240 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9241 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9242 esac
9244 cd ..
9245 rm -f -r conftest.dir
9248 # Standard set of common directories for X headers.
9249 # Check X11 before X11Rn because it is often a symlink to the current release.
9250 ac_x_header_dirs='
9251 /usr/X11/include
9252 /usr/X11R7/include
9253 /usr/X11R6/include
9254 /usr/X11R5/include
9255 /usr/X11R4/include
9257 /usr/include/X11
9258 /usr/include/X11R7
9259 /usr/include/X11R6
9260 /usr/include/X11R5
9261 /usr/include/X11R4
9263 /usr/local/X11/include
9264 /usr/local/X11R7/include
9265 /usr/local/X11R6/include
9266 /usr/local/X11R5/include
9267 /usr/local/X11R4/include
9269 /usr/local/include/X11
9270 /usr/local/include/X11R7
9271 /usr/local/include/X11R6
9272 /usr/local/include/X11R5
9273 /usr/local/include/X11R4
9275 /usr/X386/include
9276 /usr/x386/include
9277 /usr/XFree86/include/X11
9279 /usr/include
9280 /usr/local/include
9281 /usr/unsupported/include
9282 /usr/athena/include
9283 /usr/local/x11r5/include
9284 /usr/lpp/Xamples/include
9286 /usr/openwin/include
9287 /usr/openwin/share/include'
9289 if test "$ac_x_includes" = no; then
9290 # Guess where to find include files, by looking for Xlib.h.
9291 # First, try using that file with no special directory specified.
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9294 #include <X11/Xlib.h>
9295 _ACEOF
9296 if ac_fn_c_try_cpp "$LINENO"; then :
9297 # We can compile using X headers with no special include directory.
9298 ac_x_includes=
9299 else
9300 for ac_dir in $ac_x_header_dirs; do
9301 if test -r "$ac_dir/X11/Xlib.h"; then
9302 ac_x_includes=$ac_dir
9303 break
9305 done
9307 rm -f conftest.err conftest.i conftest.$ac_ext
9308 fi # $ac_x_includes = no
9310 if test "$ac_x_libraries" = no; then
9311 # Check for the libraries.
9312 # See if we find them without any special options.
9313 # Don't add to $LIBS permanently.
9314 ac_save_LIBS=$LIBS
9315 LIBS="-lX11 $LIBS"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 #include <X11/Xlib.h>
9320 main ()
9322 XrmInitialize ()
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 LIBS=$ac_save_LIBS
9329 # We can link X programs with no special library path.
9330 ac_x_libraries=
9331 else
9332 LIBS=$ac_save_LIBS
9333 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9335 # Don't even attempt the hair of trying to link an X program!
9336 for ac_extension in a so sl dylib la dll; do
9337 if test -r "$ac_dir/libX11.$ac_extension"; then
9338 ac_x_libraries=$ac_dir
9339 break 2
9341 done
9342 done
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 fi # $ac_x_libraries = no
9348 case $ac_x_includes,$ac_x_libraries in #(
9349 no,* | *,no | *\'*)
9350 # Didn't find X, or a directory has "'" in its name.
9351 ac_cv_have_x="have_x=no";; #(
9353 # Record where we found X for the cache.
9354 ac_cv_have_x="have_x=yes\
9355 ac_x_includes='$ac_x_includes'\
9356 ac_x_libraries='$ac_x_libraries'"
9357 esac
9359 ;; #(
9360 *) have_x=yes;;
9361 esac
9362 eval "$ac_cv_have_x"
9363 fi # $with_x != no
9365 if test "$have_x" != yes; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9367 $as_echo "$have_x" >&6; }
9368 no_x=yes
9369 else
9370 # If each of the values was on the command line, it overrides each guess.
9371 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9372 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9373 # Update the cache value to reflect the command line values.
9374 ac_cv_have_x="have_x=yes\
9375 ac_x_includes='$x_includes'\
9376 ac_x_libraries='$x_libraries'"
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9378 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9381 if test "$no_x" = yes; then
9382 # Not all programs may use this symbol, but it does not hurt to define it.
9384 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9386 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9387 else
9388 if test -n "$x_includes"; then
9389 X_CFLAGS="$X_CFLAGS -I$x_includes"
9392 # It would also be nice to do this for all -L options, not just this one.
9393 if test -n "$x_libraries"; then
9394 X_LIBS="$X_LIBS -L$x_libraries"
9395 # For Solaris; some versions of Sun CC require a space after -R and
9396 # others require no space. Words are not sufficient . . . .
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9398 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9399 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9400 ac_xsave_c_werror_flag=$ac_c_werror_flag
9401 ac_c_werror_flag=yes
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9406 main ()
9410 return 0;
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415 $as_echo "no" >&6; }
9416 X_LIBS="$X_LIBS -R$x_libraries"
9417 else
9418 LIBS="$ac_xsave_LIBS -R $x_libraries"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9423 main ()
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9432 $as_echo "yes" >&6; }
9433 X_LIBS="$X_LIBS -R $x_libraries"
9434 else
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9436 $as_echo "neither works" >&6; }
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 ac_c_werror_flag=$ac_xsave_c_werror_flag
9444 LIBS=$ac_xsave_LIBS
9447 # Check for system-dependent libraries X programs must link with.
9448 # Do this before checking for the system-independent R6 libraries
9449 # (-lICE), since we may need -lsocket or whatever for X linking.
9451 if test "$ISC" = yes; then
9452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9453 else
9454 # Martyn Johnson says this is needed for Ultrix, if the X
9455 # libraries were built with DECnet support. And Karl Berry says
9456 # the Alpha needs dnet_stub (dnet does not exist).
9457 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9464 #ifdef __cplusplus
9465 extern "C"
9466 #endif
9467 char XOpenDisplay ();
9469 main ()
9471 return XOpenDisplay ();
9473 return 0;
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9478 else
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9480 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9481 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_lib_save_LIBS=$LIBS
9485 LIBS="-ldnet $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char dnet_ntoa ();
9497 main ()
9499 return dnet_ntoa ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_lib_dnet_dnet_ntoa=yes
9506 else
9507 ac_cv_lib_dnet_dnet_ntoa=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9514 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9515 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9521 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9522 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-ldnet_stub $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char dnet_ntoa ();
9538 main ()
9540 return dnet_ntoa ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9547 else
9548 ac_cv_lib_dnet_stub_dnet_ntoa=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9555 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9556 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9557 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS="$ac_xsave_LIBS"
9566 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9567 # to get the SysV transport functions.
9568 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9569 # needs -lnsl.
9570 # The nsl library prevents programs from opening the X display
9571 # on Irix 5.2, according to T.E. Dickey.
9572 # The functions gethostbyname, getservbyname, and inet_addr are
9573 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9574 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9575 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9579 if test $ac_cv_func_gethostbyname = no; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9581 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9582 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_check_lib_save_LIBS=$LIBS
9586 LIBS="-lnsl $LIBS"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9593 #ifdef __cplusplus
9594 extern "C"
9595 #endif
9596 char gethostbyname ();
9598 main ()
9600 return gethostbyname ();
9602 return 0;
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_lib_nsl_gethostbyname=yes
9607 else
9608 ac_cv_lib_nsl_gethostbyname=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9615 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9616 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9620 if test $ac_cv_lib_nsl_gethostbyname = no; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9622 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9623 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_check_lib_save_LIBS=$LIBS
9627 LIBS="-lbsd $LIBS"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9634 #ifdef __cplusplus
9635 extern "C"
9636 #endif
9637 char gethostbyname ();
9639 main ()
9641 return gethostbyname ();
9643 return 0;
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_lib_bsd_gethostbyname=yes
9648 else
9649 ac_cv_lib_bsd_gethostbyname=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9656 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9657 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9658 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9664 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9665 # socket/setsockopt and other routines are undefined under SCO ODT
9666 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9667 # on later versions), says Simon Leinen: it contains gethostby*
9668 # variants that don't use the name server (or something). -lsocket
9669 # must be given before -lnsl if both are needed. We assume that
9670 # if connect needs -lnsl, so does gethostbyname.
9671 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9672 if test "x$ac_cv_func_connect" = xyes; then :
9676 if test $ac_cv_func_connect = no; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9678 $as_echo_n "checking for connect in -lsocket... " >&6; }
9679 if ${ac_cv_lib_socket_connect+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 ac_check_lib_save_LIBS=$LIBS
9683 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690 #ifdef __cplusplus
9691 extern "C"
9692 #endif
9693 char connect ();
9695 main ()
9697 return connect ();
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 ac_cv_lib_socket_connect=yes
9704 else
9705 ac_cv_lib_socket_connect=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9712 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9713 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9714 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9719 # Guillermo Gomez says -lposix is necessary on A/UX.
9720 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9721 if test "x$ac_cv_func_remove" = xyes; then :
9725 if test $ac_cv_func_remove = no; then
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9727 $as_echo_n "checking for remove in -lposix... " >&6; }
9728 if ${ac_cv_lib_posix_remove+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_lib_save_LIBS=$LIBS
9732 LIBS="-lposix $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char remove ();
9744 main ()
9746 return remove ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 ac_cv_lib_posix_remove=yes
9753 else
9754 ac_cv_lib_posix_remove=no
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_lib_save_LIBS
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9761 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9762 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9768 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9769 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9770 if test "x$ac_cv_func_shmat" = xyes; then :
9774 if test $ac_cv_func_shmat = no; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9776 $as_echo_n "checking for shmat in -lipc... " >&6; }
9777 if ${ac_cv_lib_ipc_shmat+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_lib_save_LIBS=$LIBS
9781 LIBS="-lipc $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char shmat ();
9793 main ()
9795 return shmat ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_lib_ipc_shmat=yes
9802 else
9803 ac_cv_lib_ipc_shmat=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9810 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9811 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9818 # Check for libraries that X11R6 Xt/Xaw programs need.
9819 ac_save_LDFLAGS=$LDFLAGS
9820 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9821 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9822 # check for ICE first), but we must link in the order -lSM -lICE or
9823 # we get undefined symbols. So assume we have SM if we have ICE.
9824 # These have to be linked with before -lX11, unlike the other
9825 # libraries we check for below, so use a different variable.
9826 # John Interrante, Karl Berry
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9828 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9829 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_lib_save_LIBS=$LIBS
9833 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char IceConnectionNumber ();
9845 main ()
9847 return IceConnectionNumber ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_lib_ICE_IceConnectionNumber=yes
9854 else
9855 ac_cv_lib_ICE_IceConnectionNumber=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9862 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9863 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9864 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9867 LDFLAGS=$ac_save_LDFLAGS
9872 if test "$have_x" = "yes"
9873 then
9874 ac_save_CPPFLAGS="$CPPFLAGS"
9875 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9878 $as_echo_n "checking for -lX11... " >&6; }
9879 if ${ac_cv_lib_soname_X11+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_check_soname_save_LIBS=$LIBS
9883 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9887 /* Override any GCC internal prototype to avoid an error.
9888 Use char because int might match the return type of a GCC
9889 builtin and then its argument prototype would still apply. */
9890 #ifdef __cplusplus
9891 extern "C"
9892 #endif
9893 char XCreateWindow ();
9895 main ()
9897 return XCreateWindow ();
9899 return 0;
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 case "$LIBEXT" in
9904 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9905 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'` ;;
9906 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9907 if ${ac_cv_lib_soname_X11:+false} :; then :
9908 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9909 fi ;;
9910 esac
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_soname_save_LIBS
9916 if ${ac_cv_lib_soname_X11:+false} :; then :
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9918 $as_echo "not found" >&6; }
9920 else
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9922 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9924 cat >>confdefs.h <<_ACEOF
9925 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9926 _ACEOF
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9931 $as_echo_n "checking for -lXext... " >&6; }
9932 if ${ac_cv_lib_soname_Xext+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_check_soname_save_LIBS=$LIBS
9936 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char XextCreateExtension ();
9948 main ()
9950 return XextCreateExtension ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 case "$LIBEXT" in
9957 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if ${ac_cv_lib_soname_Xext:+false} :; then :
9961 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 fi ;;
9963 esac
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_soname_save_LIBS
9969 if ${ac_cv_lib_soname_Xext:+false} :; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9973 else
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9975 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9977 cat >>confdefs.h <<_ACEOF
9978 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9979 _ACEOF
9981 X_LIBS="$X_LIBS -lXext"
9983 X_LIBS="$X_LIBS -lX11"
9985 for ac_header in X11/Xlib.h \
9986 X11/XKBlib.h \
9987 X11/Xutil.h \
9988 X11/Xcursor/Xcursor.h \
9989 X11/extensions/shape.h \
9990 X11/extensions/XInput.h \
9991 X11/extensions/XInput2.h \
9992 X11/extensions/XShm.h \
9993 X11/extensions/Xcomposite.h \
9994 X11/extensions/Xfixes.h \
9995 X11/extensions/Xinerama.h \
9996 X11/extensions/Xrandr.h \
9997 X11/extensions/Xrender.h \
9998 X11/extensions/xf86vmode.h \
9999 X11/extensions/xf86vmproto.h
10000 do :
10001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10003 # include <X11/Xlib.h>
10004 #endif
10005 #ifdef HAVE_X11_XUTIL_H
10006 # include <X11/Xutil.h>
10007 #endif
10009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10010 cat >>confdefs.h <<_ACEOF
10011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10012 _ACEOF
10016 done
10019 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10020 then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10022 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10023 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char XkbQueryExtension ();
10039 main ()
10041 return XkbQueryExtension ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_X11_XkbQueryExtension=yes
10048 else
10049 ac_cv_lib_X11_XkbQueryExtension=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10056 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10057 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10059 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10065 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10066 then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10068 $as_echo_n "checking for -lXcursor... " >&6; }
10069 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_check_soname_save_LIBS=$LIBS
10073 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10080 #ifdef __cplusplus
10081 extern "C"
10082 #endif
10083 char XcursorImageLoadCursor ();
10085 main ()
10087 return XcursorImageLoadCursor ();
10089 return 0;
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 case "$LIBEXT" in
10094 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10095 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'` ;;
10096 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10097 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10098 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10099 fi ;;
10100 esac
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_soname_save_LIBS
10106 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10108 $as_echo "not found" >&6; }
10110 else
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10112 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10114 cat >>confdefs.h <<_ACEOF
10115 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10116 _ACEOF
10121 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10122 case "x$with_xcursor" in
10123 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10124 xno) ;;
10125 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10126 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10127 esac
10131 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10132 then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10134 $as_echo_n "checking for -lXi... " >&6; }
10135 if ${ac_cv_lib_soname_Xi+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_check_soname_save_LIBS=$LIBS
10139 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10146 #ifdef __cplusplus
10147 extern "C"
10148 #endif
10149 char XOpenDevice ();
10151 main ()
10153 return XOpenDevice ();
10155 return 0;
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 case "$LIBEXT" in
10160 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xi:+false} :; then :
10164 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10165 fi ;;
10166 esac
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xi:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10176 else
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10178 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10180 cat >>confdefs.h <<_ACEOF
10181 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10182 _ACEOF
10187 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10188 case "x$with_xinput" in
10189 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10190 xno) ;;
10191 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10192 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10193 esac
10197 if test "x$ac_cv_lib_soname_Xi" != x
10198 then
10199 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10200 case "x$with_xinput2" in
10201 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10202 xno) ;;
10203 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10204 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10205 esac
10210 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10211 then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10213 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10214 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char XShmQueryExtension ();
10230 main ()
10232 return XShmQueryExtension ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_lib_Xext_XShmQueryExtension=yes
10239 else
10240 ac_cv_lib_Xext_XShmQueryExtension=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10247 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10248 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10250 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10255 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10256 case "x$with_xshm" in
10257 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10258 xno) ;;
10259 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10260 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10261 esac
10265 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10266 then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10268 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10269 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XShapeQueryExtension ();
10285 main ()
10287 return XShapeQueryExtension ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_Xext_XShapeQueryExtension=yes
10294 else
10295 ac_cv_lib_Xext_XShapeQueryExtension=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10302 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10303 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10305 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10310 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10311 case "x$with_xshape" in
10312 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10313 xno) ;;
10314 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10315 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10316 esac
10320 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10321 then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10323 $as_echo_n "checking for -lXxf86vm... " >&6; }
10324 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_check_soname_save_LIBS=$LIBS
10328 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10332 /* Override any GCC internal prototype to avoid an error.
10333 Use char because int might match the return type of a GCC
10334 builtin and then its argument prototype would still apply. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 char XF86VidModeQueryExtension ();
10340 main ()
10342 return XF86VidModeQueryExtension ();
10344 return 0;
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 case "$LIBEXT" in
10349 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10350 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'` ;;
10351 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10352 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10353 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10354 fi ;;
10355 esac
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 LIBS=$ac_check_soname_save_LIBS
10361 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10363 $as_echo "not found" >&6; }
10365 else
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10367 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10369 cat >>confdefs.h <<_ACEOF
10370 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10371 _ACEOF
10376 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10377 case "x$with_xxf86vm" in
10378 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10379 xno) ;;
10380 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10381 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10382 esac
10386 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10387 then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10389 $as_echo_n "checking for -lXrender... " >&6; }
10390 if ${ac_cv_lib_soname_Xrender+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_check_soname_save_LIBS=$LIBS
10394 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10401 #ifdef __cplusplus
10402 extern "C"
10403 #endif
10404 char XRenderQueryExtension ();
10406 main ()
10408 return XRenderQueryExtension ();
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 case "$LIBEXT" in
10415 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10419 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10420 fi ;;
10421 esac
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10431 else
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10433 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10435 cat >>confdefs.h <<_ACEOF
10436 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10437 _ACEOF
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10440 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10441 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10442 $as_echo_n "(cached) " >&6
10443 else
10444 ac_check_lib_save_LIBS=$LIBS
10445 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10452 #ifdef __cplusplus
10453 extern "C"
10454 #endif
10455 char XRenderSetPictureTransform ();
10457 main ()
10459 return XRenderSetPictureTransform ();
10461 return 0;
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10466 else
10467 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10474 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10475 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10477 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10482 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10483 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10484 $as_echo_n "(cached) " >&6
10485 else
10486 ac_check_lib_save_LIBS=$LIBS
10487 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10491 /* Override any GCC internal prototype to avoid an error.
10492 Use char because int might match the return type of a GCC
10493 builtin and then its argument prototype would still apply. */
10494 #ifdef __cplusplus
10495 extern "C"
10496 #endif
10497 char XRenderCreateLinearGradient ();
10499 main ()
10501 return XRenderCreateLinearGradient ();
10503 return 0;
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10508 else
10509 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10511 rm -f core conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 LIBS=$ac_check_lib_save_LIBS
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10516 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10517 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10519 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10526 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10527 case "x$with_xrender" in
10528 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10529 xno) ;;
10530 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10531 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10532 esac
10536 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10537 then
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 #include <X11/Xlib.h>
10541 #include <X11/extensions/Xrandr.h>
10543 main ()
10545 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_compile "$LINENO"; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10552 $as_echo_n "checking for -lXrandr... " >&6; }
10553 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_check_soname_save_LIBS=$LIBS
10557 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10564 #ifdef __cplusplus
10565 extern "C"
10566 #endif
10567 char XRRQueryExtension ();
10569 main ()
10571 return XRRQueryExtension ();
10573 return 0;
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 case "$LIBEXT" in
10578 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10581 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10582 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10583 fi ;;
10584 esac
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_soname_save_LIBS
10590 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10594 else
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10596 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10598 cat >>confdefs.h <<_ACEOF
10599 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10600 _ACEOF
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 #include <X11/Xlib.h>
10605 #include <X11/extensions/Xrandr.h>
10607 main ()
10609 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10611 return 0;
10613 _ACEOF
10614 if ac_fn_c_try_compile "$LINENO"; then :
10616 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10624 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10625 case "x$with_xrandr" in
10626 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10627 xno) ;;
10628 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10629 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10630 esac
10634 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10635 then
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 #include <X11/Xlib.h>
10639 #include <X11/extensions/Xfixes.h>
10641 main ()
10643 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10645 return 0;
10647 _ACEOF
10648 if ac_fn_c_try_compile "$LINENO"; then :
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10650 $as_echo_n "checking for -lXfixes... " >&6; }
10651 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_soname_save_LIBS=$LIBS
10655 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char XFixesQueryVersion ();
10667 main ()
10669 return XFixesQueryVersion ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 case "$LIBEXT" in
10676 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 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'` ;;
10678 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10680 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10681 fi ;;
10682 esac
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_soname_save_LIBS
10688 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10690 $as_echo "not found" >&6; }
10692 else
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10694 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10698 _ACEOF
10703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10705 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10706 case "x$with_xfixes" in
10707 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10708 xno) ;;
10709 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10710 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10711 esac
10715 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10716 then
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 #include <X11/Xlib.h>
10720 #include <X11/extensions/Xinerama.h>
10722 main ()
10724 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_compile "$LINENO"; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10731 $as_echo_n "checking for -lXinerama... " >&6; }
10732 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_soname_save_LIBS=$LIBS
10736 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char XineramaQueryScreens ();
10748 main ()
10750 return XineramaQueryScreens ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 case "$LIBEXT" in
10757 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10761 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10762 fi ;;
10763 esac
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10775 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10777 cat >>confdefs.h <<_ACEOF
10778 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10779 _ACEOF
10784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10786 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10787 case "x$with_xinerama" in
10788 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10789 xno) ;;
10790 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10791 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10792 esac
10796 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10797 then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10799 $as_echo_n "checking for -lXcomposite... " >&6; }
10800 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10801 $as_echo_n "(cached) " >&6
10802 else
10803 ac_check_soname_save_LIBS=$LIBS
10804 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 char XCompositeRedirectWindow ();
10816 main ()
10818 return XCompositeRedirectWindow ();
10820 return 0;
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"; then :
10824 case "$LIBEXT" in
10825 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10826 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'` ;;
10827 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10828 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10829 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10830 fi ;;
10831 esac
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_soname_save_LIBS
10837 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10839 $as_echo "not found" >&6; }
10841 else
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10843 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10845 cat >>confdefs.h <<_ACEOF
10846 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10847 _ACEOF
10852 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10853 case "x$with_xcomposite" in
10854 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10855 xno) ;;
10856 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10857 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10858 esac
10862 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10863 #include <X11/Xlib.h>
10864 #endif
10866 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10868 cat >>confdefs.h <<_ACEOF
10869 #define HAVE_XICCALLBACK_CALLBACK 1
10870 _ACEOF
10874 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10875 #include <X11/Xlib.h>
10876 #endif
10878 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10880 cat >>confdefs.h <<_ACEOF
10881 #define HAVE_XEVENT_XCOOKIE 1
10882 _ACEOF
10889 opengl_msg=""
10890 if test "x$with_opengl" != "xno"
10891 then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10893 $as_echo_n "checking for -lGL... " >&6; }
10894 if ${ac_cv_lib_soname_GL+:} false; then :
10895 $as_echo_n "(cached) " >&6
10896 else
10897 ac_check_soname_save_LIBS=$LIBS
10898 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10905 #ifdef __cplusplus
10906 extern "C"
10907 #endif
10908 char glXCreateContext ();
10910 main ()
10912 return glXCreateContext ();
10914 return 0;
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"; then :
10918 case "$LIBEXT" in
10919 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10920 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'` ;;
10921 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10922 if ${ac_cv_lib_soname_GL:+false} :; then :
10923 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10924 fi ;;
10925 esac
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_soname_save_LIBS
10931 if ${ac_cv_lib_soname_GL:+false} :; then :
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10933 $as_echo "not found" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10935 $as_echo_n "checking for -lGL... " >&6; }
10936 if ${ac_cv_lib_soname_GL+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_soname_save_LIBS=$LIBS
10940 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"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char glXCreateContext ();
10952 main ()
10954 return glXCreateContext ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 case "$LIBEXT" in
10961 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10962 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'` ;;
10963 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10964 if ${ac_cv_lib_soname_GL:+false} :; then :
10965 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10966 fi ;;
10967 esac
10969 rm -f core conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10971 LIBS=$ac_check_soname_save_LIBS
10973 if ${ac_cv_lib_soname_GL:+false} :; then :
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10975 $as_echo "not found" >&6; }
10976 if test -f /usr/X11R6/lib/libGL.a
10977 then
10978 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10979 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10980 else
10981 opengl_msg="No OpenGL library found on this system."
10983 else
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10985 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10987 cat >>confdefs.h <<_ACEOF
10988 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10989 _ACEOF
10991 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"
10993 else
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10995 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10997 cat >>confdefs.h <<_ACEOF
10998 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10999 _ACEOF
11001 OPENGL_LIBS="-lGL"
11003 if test "x$with_glu" != "xno"
11004 then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11006 $as_echo_n "checking for -lGLU... " >&6; }
11007 if ${ac_cv_lib_soname_GLU+:} false; then :
11008 $as_echo_n "(cached) " >&6
11009 else
11010 ac_check_soname_save_LIBS=$LIBS
11011 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char gluLookAt ();
11023 main ()
11025 return gluLookAt ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031 case "$LIBEXT" in
11032 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11033 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'` ;;
11034 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11035 if ${ac_cv_lib_soname_GLU:+false} :; then :
11036 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11037 fi ;;
11038 esac
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_soname_save_LIBS
11044 if ${ac_cv_lib_soname_GLU:+false} :; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11046 $as_echo "not found" >&6; }
11048 else
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11050 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11052 cat >>confdefs.h <<_ACEOF
11053 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11054 _ACEOF
11058 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11059 case "x$with_glu" in
11060 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11061 xno) ;;
11062 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11063 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11064 esac
11069 if test "x$with_osmesa" != "xno"
11070 then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11072 $as_echo_n "checking for -lOSMesa... " >&6; }
11073 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_soname_save_LIBS=$LIBS
11077 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char OSMesaGetProcAddress ();
11089 main ()
11091 return OSMesaGetProcAddress ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 case "$LIBEXT" in
11098 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11102 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 fi ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11116 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11120 _ACEOF
11124 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11125 case "x$with_osmesa" in
11126 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11127 xno) ;;
11128 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11129 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11130 esac
11135 if test -n "$opengl_msg"; then :
11136 case "x$with_opengl" in
11137 x) as_fn_append wine_warnings "|$opengl_msg
11138 OpenGL and Direct3D won't be supported." ;;
11139 xno) ;;
11140 *) as_fn_error $? "$opengl_msg
11141 OpenGL and Direct3D won't be supported.
11142 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11143 esac
11147 CPPFLAGS="$ac_save_CPPFLAGS"
11148 else
11149 X_CFLAGS=""
11150 X_LIBS=""
11153 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11154 then
11155 if test "x$X_LIBS" = "x"; then :
11156 case "x$with_x" in
11157 xno) ;;
11158 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11159 without X support, which probably isn't what you want. You will need
11160 to install ${notice_platform}development packages of Xlib at the very least.
11161 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11162 esac
11163 enable_winex11_drv=${enable_winex11_drv:-no}
11165 else
11166 if test "x$X_LIBS" = "x"; then :
11167 case "x$with_x" in
11168 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11169 xno) ;;
11170 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11171 This is an error since --with-x was requested." "$LINENO" 5 ;;
11172 esac
11173 enable_winex11_drv=${enable_winex11_drv:-no}
11177 if test "$ac_cv_header_CL_cl_h" = "yes"
11178 then
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11180 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11181 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lOpenCL $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char clGetPlatformInfo ();
11197 main ()
11199 return clGetPlatformInfo ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11206 else
11207 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11214 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11215 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11216 OPENCL_LIBS="-lOpenCL"
11221 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11222 case "x$with_opencl" in
11223 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11224 xno) ;;
11225 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11226 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11227 esac
11228 enable_opencl=${enable_opencl:-no}
11231 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11232 then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11234 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11235 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lpcap $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char pcap_create ();
11251 main ()
11253 return pcap_create ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_pcap_pcap_create=yes
11260 else
11261 ac_cv_lib_pcap_pcap_create=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11268 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11269 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11270 PCAP_LIBS="-lpcap"
11275 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11276 case "x$with_pcap" in
11277 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11278 xno) ;;
11279 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11280 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11281 esac
11282 enable_wpcap=${enable_wpcap:-no}
11286 if test "x$with_xml" != "xno"
11287 then
11288 if ${XML2_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false; then :
11290 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11293 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11294 if ${XML2_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false; then :
11296 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11299 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11300 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11303 ac_save_CPPFLAGS=$CPPFLAGS
11304 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11305 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11306 do :
11307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11309 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11310 cat >>confdefs.h <<_ACEOF
11311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11312 _ACEOF
11316 done
11318 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"
11319 then
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11321 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11322 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxml2 $XML2_LIBS $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char xmlParseMemory ();
11338 main ()
11340 return xmlParseMemory ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_xml2_xmlParseMemory=yes
11347 else
11348 ac_cv_lib_xml2_xmlParseMemory=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11355 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11356 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11358 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11360 else
11361 XML2_LIBS=""
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11365 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11366 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lxml2 $XML2_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char xmlReadMemory ();
11382 main ()
11384 return xmlReadMemory ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_xml2_xmlReadMemory=yes
11391 else
11392 ac_cv_lib_xml2_xmlReadMemory=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11399 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11400 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11402 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11407 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11408 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-lxml2 $XML2_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char xmlNewDocPI ();
11424 main ()
11426 return xmlNewDocPI ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_xml2_xmlNewDocPI=yes
11433 else
11434 ac_cv_lib_xml2_xmlNewDocPI=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11441 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11442 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11444 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11449 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11450 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11451 $as_echo_n "(cached) " >&6
11452 else
11453 ac_check_lib_save_LIBS=$LIBS
11454 LIBS="-lxml2 $XML2_LIBS $LIBS"
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char xmlSchemaSetParserStructuredErrors ();
11466 main ()
11468 return xmlSchemaSetParserStructuredErrors ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11475 else
11476 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11483 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11484 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11486 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11491 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11492 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11493 $as_echo_n "(cached) " >&6
11494 else
11495 ac_check_lib_save_LIBS=$LIBS
11496 LIBS="-lxml2 $XML2_LIBS $LIBS"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 char xmlSchemaSetValidStructuredErrors ();
11508 main ()
11510 return xmlSchemaSetValidStructuredErrors ();
11512 return 0;
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11517 else
11518 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11525 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11526 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11528 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11533 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11534 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11535 $as_echo_n "(cached) " >&6
11536 else
11537 ac_check_lib_save_LIBS=$LIBS
11538 LIBS="-lxml2 $XML2_LIBS $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char xmlFirstElementChild ();
11550 main ()
11552 return xmlFirstElementChild ();
11554 return 0;
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 ac_cv_lib_xml2_xmlFirstElementChild=yes
11559 else
11560 ac_cv_lib_xml2_xmlFirstElementChild=no
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11567 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11568 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11570 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11574 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11576 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11578 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11582 else
11583 XML2_CFLAGS=""
11584 XML2_LIBS=""
11586 CPPFLAGS=$ac_save_CPPFLAGS
11587 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11588 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11591 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11592 case "x$with_xml" in
11593 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11594 xno) ;;
11595 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11596 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11597 esac
11601 if test "x$with_xslt" != "xno"
11602 then
11603 if ${XSLT_CFLAGS:+false} :; then :
11604 if ${PKG_CONFIG+:} false; then :
11605 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11608 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11609 if ${XSLT_LIBS:+false} :; then :
11610 if ${PKG_CONFIG+:} false; then :
11611 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11614 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11615 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11616 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11617 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11618 ac_save_CPPFLAGS=$CPPFLAGS
11619 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11620 for ac_header in libxslt/pattern.h libxslt/transform.h
11621 do :
11622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11624 # include <libxslt/pattern.h>
11625 #endif
11627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11628 cat >>confdefs.h <<_ACEOF
11629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11630 _ACEOF
11634 done
11636 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11637 then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11639 $as_echo_n "checking for -lxslt... " >&6; }
11640 if ${ac_cv_lib_soname_xslt+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_soname_save_LIBS=$LIBS
11644 LIBS="-lxslt $XSLT_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char xsltCompilePattern ();
11656 main ()
11658 return xsltCompilePattern ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 case "$LIBEXT" in
11665 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_xslt:+false} :; then :
11669 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 fi ;;
11671 esac
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_xslt:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11681 else
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11683 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11685 cat >>confdefs.h <<_ACEOF
11686 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11687 _ACEOF
11691 else
11692 XSLT_CFLAGS=""
11694 CPPFLAGS=$ac_save_CPPFLAGS
11695 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11700 case "x$with_xslt" in
11701 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11702 xno) ;;
11703 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11704 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11705 esac
11709 if test "x$with_dbus" != "xno"
11710 then
11711 if ${DBUS_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false; then :
11713 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11717 if ${DBUS_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11724 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11726 ac_save_CPPFLAGS=$CPPFLAGS
11727 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11728 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11731 $as_echo_n "checking for -ldbus-1... " >&6; }
11732 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_soname_save_LIBS=$LIBS
11736 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char dbus_connection_close ();
11748 main ()
11750 return dbus_connection_close ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 case "$LIBEXT" in
11757 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11758 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'` ;;
11759 *) 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'`
11760 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11761 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11762 fi ;;
11763 esac
11765 rm -f core conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_soname_save_LIBS
11769 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11771 $as_echo "not found" >&6; }
11772 DBUS_CFLAGS=""
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11775 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11777 cat >>confdefs.h <<_ACEOF
11778 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11779 _ACEOF
11783 else
11784 DBUS_CFLAGS=""
11788 CPPFLAGS=$ac_save_CPPFLAGS
11789 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11790 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11793 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11794 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11795 case "x$with_dbus" in
11796 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11797 xno) ;;
11798 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11799 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11805 then
11806 if ${HAL_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false; then :
11808 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11812 if ${HAL_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11818 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11823 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11826 $as_echo_n "checking for -lhal... " >&6; }
11827 if ${ac_cv_lib_soname_hal+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lhal $HAL_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char libhal_ctx_new ();
11843 main ()
11845 return libhal_ctx_new ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_hal:+false} :; then :
11856 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_hal:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11867 HAL_CFLAGS=""
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11870 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11872 cat >>confdefs.h <<_ACEOF
11873 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11874 _ACEOF
11878 else
11879 HAL_CFLAGS=""
11883 CPPFLAGS=$ac_save_CPPFLAGS
11884 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11885 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11887 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11888 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11889 case "x$with_hal" in
11890 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11893 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11894 esac
11899 if test "x$with_gnutls" != "xno"
11900 then
11901 if ${GNUTLS_CFLAGS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11907 if ${GNUTLS_LIBS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11914 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11915 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11916 ac_save_CPPFLAGS=$CPPFLAGS
11917 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11918 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11919 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 #include <gnutls/gnutls.h>
11923 #include <gnutls/crypto.h>
11925 main ()
11927 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_compile "$LINENO"; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11934 $as_echo_n "checking for -lgnutls... " >&6; }
11935 if ${ac_cv_lib_soname_gnutls+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_check_soname_save_LIBS=$LIBS
11939 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11946 #ifdef __cplusplus
11947 extern "C"
11948 #endif
11949 char gnutls_global_init ();
11951 main ()
11953 return gnutls_global_init ();
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 case "$LIBEXT" in
11960 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11961 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'` ;;
11962 *) 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'`
11963 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11964 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'`
11965 fi ;;
11966 esac
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11970 LIBS=$ac_check_soname_save_LIBS
11972 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11974 $as_echo "not found" >&6; }
11975 GNUTLS_CFLAGS=""
11976 else
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11978 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11980 cat >>confdefs.h <<_ACEOF
11981 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11982 _ACEOF
11986 ac_wine_check_funcs_save_LIBS="$LIBS"
11987 LIBS="$LIBS $GNUTLS_LIBS"
11988 for ac_func in gnutls_cipher_init
11989 do :
11990 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11991 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11992 cat >>confdefs.h <<_ACEOF
11993 #define HAVE_GNUTLS_CIPHER_INIT 1
11994 _ACEOF
11996 else
11997 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11999 done
12001 LIBS="$ac_wine_check_funcs_save_LIBS"
12003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12004 else
12005 GNUTLS_CFLAGS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12010 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12011 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12015 case "x$with_gnutls" in
12016 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12017 xno) ;;
12018 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12019 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12020 esac
12024 CURSES_LIBS=""
12025 if test "$ac_cv_header_ncurses_h" = "yes"
12026 then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12028 $as_echo_n "checking for -lncurses... " >&6; }
12029 if ${ac_cv_lib_soname_ncurses+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_soname_save_LIBS=$LIBS
12033 LIBS="-lncurses $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 #ifdef __cplusplus
12041 extern "C"
12042 #endif
12043 char waddch ();
12045 main ()
12047 return waddch ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 case "$LIBEXT" in
12054 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12055 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'` ;;
12056 *) 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'`
12057 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12058 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12059 fi ;;
12060 esac
12062 rm -f core conftest.err conftest.$ac_objext \
12063 conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_soname_save_LIBS
12066 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12068 $as_echo "not found" >&6; }
12070 else
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12072 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12074 cat >>confdefs.h <<_ACEOF
12075 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12076 _ACEOF
12078 CURSES_LIBS="-lncurses"
12080 elif test "$ac_cv_header_curses_h" = "yes"
12081 then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12083 $as_echo_n "checking for -lcurses... " >&6; }
12084 if ${ac_cv_lib_soname_curses+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lcurses $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char waddch ();
12100 main ()
12102 return waddch ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 case "$LIBEXT" in
12109 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_curses:+false} :; then :
12113 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 fi ;;
12115 esac
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_soname_save_LIBS
12121 if ${ac_cv_lib_soname_curses:+false} :; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12123 $as_echo "not found" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12127 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12129 cat >>confdefs.h <<_ACEOF
12130 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12131 _ACEOF
12133 CURSES_LIBS="-lcurses"
12136 ac_save_LIBS="$LIBS"
12137 LIBS="$LIBS $CURSES_LIBS"
12138 for ac_func in mousemask
12139 do :
12140 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12141 if test "x$ac_cv_func_mousemask" = xyes; then :
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_MOUSEMASK 1
12144 _ACEOF
12147 done
12149 LIBS="$ac_save_LIBS"
12150 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12151 case "x$with_curses" in
12152 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12153 xno) ;;
12154 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12155 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12156 esac
12160 if test "x$with_sane" != "xno"
12161 then
12162 if ${SANE_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false; then :
12164 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12167 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12168 if ${SANE_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false; then :
12170 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12173 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12177 ac_save_CPPFLAGS=$CPPFLAGS
12178 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12179 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12182 $as_echo_n "checking for -lsane... " >&6; }
12183 if ${ac_cv_lib_soname_sane+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_soname_save_LIBS=$LIBS
12187 LIBS="-lsane $SANE_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char sane_init ();
12199 main ()
12201 return sane_init ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 case "$LIBEXT" in
12208 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12209 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'` ;;
12210 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12211 if ${ac_cv_lib_soname_sane:+false} :; then :
12212 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12213 fi ;;
12214 esac
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_soname_save_LIBS
12220 if ${ac_cv_lib_soname_sane:+false} :; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12222 $as_echo "not found" >&6; }
12223 SANE_CFLAGS=""
12224 else
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12226 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12228 cat >>confdefs.h <<_ACEOF
12229 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12230 _ACEOF
12234 else
12235 SANE_CFLAGS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12240 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12245 case "x$with_sane" in
12246 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12247 xno) ;;
12248 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12249 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12250 esac
12254 if test "x$with_v4l" != "xno"
12255 then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12257 $as_echo_n "checking for -lv4l1... " >&6; }
12258 if ${ac_cv_lib_soname_v4l1+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_soname_save_LIBS=$LIBS
12262 LIBS="-lv4l1 $LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12269 #ifdef __cplusplus
12270 extern "C"
12271 #endif
12272 char v4l1_open ();
12274 main ()
12276 return v4l1_open ();
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 case "$LIBEXT" in
12283 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12284 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'` ;;
12285 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12286 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12287 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12288 fi ;;
12289 esac
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_soname_save_LIBS
12295 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12297 $as_echo "not found" >&6; }
12299 else
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12301 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12303 cat >>confdefs.h <<_ACEOF
12304 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12305 _ACEOF
12310 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12311 case "x$with_v4l" in
12312 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12313 xno) ;;
12314 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12315 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12316 esac
12320 if test "x$with_gphoto" != "xno"
12321 then
12322 if ${GPHOTO2_CFLAGS:+false} :; then :
12323 if ${PKG_CONFIG+:} false; then :
12324 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12327 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12328 if ${GPHOTO2_LIBS:+false} :; then :
12329 if ${PKG_CONFIG+:} false; then :
12330 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12333 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12334 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12336 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12337 ac_save_CPPFLAGS=$CPPFLAGS
12338 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12339 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12340 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12342 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12343 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354 #ifdef __cplusplus
12355 extern "C"
12356 #endif
12357 char gp_camera_new ();
12359 main ()
12361 return gp_camera_new ();
12363 return 0;
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_gphoto2_gp_camera_new=yes
12368 else
12369 ac_cv_lib_gphoto2_gp_camera_new=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12376 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12377 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12379 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12381 else
12382 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12385 else
12386 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12391 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12394 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12399 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12400 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12405 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12406 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12411 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12414 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12415 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char gp_port_info_list_new ();
12431 main ()
12433 return gp_port_info_list_new ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12440 else
12441 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12448 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12449 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12451 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12453 else
12454 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12457 else
12458 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12462 CPPFLAGS=$ac_save_CPPFLAGS
12463 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12464 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12467 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12468 case "x$with_gphoto" in
12469 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12470 xno) ;;
12471 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12472 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12473 esac
12476 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12477 case "x$with_gphoto" in
12478 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12479 xno) ;;
12480 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12481 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12482 esac
12487 if test "$ac_cv_header_resolv_h" = "yes"
12488 then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12490 $as_echo_n "checking for resolver library... " >&6; }
12491 if ${ac_cv_have_resolv+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_save_LIBS="$LIBS"
12495 for lib in '' -lresolv
12497 LIBS="$lib $ac_save_LIBS"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #ifdef HAVE_NETINET_IN_H
12501 #include <netinet/in.h>
12502 #endif
12503 #include <resolv.h>
12505 main ()
12507 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_have_resolv=${lib:-"none required"}
12514 else
12515 ac_cv_have_resolv="not found"
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 test "x$ac_cv_have_resolv" = "xnot found" || break
12520 done
12521 LIBS="$ac_save_LIBS"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12524 $as_echo "$ac_cv_have_resolv" >&6; }
12526 case "$ac_cv_have_resolv" in
12527 "not found") ;;
12528 "none required")
12530 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12533 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12535 RESOLV_LIBS=$ac_cv_have_resolv
12537 esac
12540 if test "x$with_cms" != "xno"
12541 then
12542 if ${LCMS2_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false; then :
12544 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12548 if ${LCMS2_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false; then :
12550 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12554 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12555 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12557 ac_save_CPPFLAGS=$CPPFLAGS
12558 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12559 for ac_header in lcms2.h
12560 do :
12561 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12563 cat >>confdefs.h <<_ACEOF
12564 #define HAVE_LCMS2_H 1
12565 _ACEOF
12569 done
12571 if test "$ac_cv_header_lcms2_h" = "yes"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12574 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12575 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char cmsOpenProfileFromFile ();
12591 main ()
12593 return cmsOpenProfileFromFile ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12600 else
12601 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12608 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12609 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12611 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12613 else
12614 LCMS2_LIBS=""
12617 else
12618 LCMS2_CFLAGS=""
12619 LCMS2_LIBS=""
12621 CPPFLAGS=$ac_save_CPPFLAGS
12622 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12623 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12626 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12627 case "x$with_cms" in
12628 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12629 xno) ;;
12630 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12631 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12632 esac
12636 if test "x$with_freetype" != "xno"
12637 then
12638 if ${FREETYPE_CFLAGS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12643 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12644 if ${FREETYPE_LIBS:+false} :; then :
12645 if ${PKG_CONFIG+:} false; then :
12646 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12649 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12650 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12651 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12653 ac_save_CPPFLAGS=$CPPFLAGS
12654 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12655 for ac_header in ft2build.h
12656 do :
12657 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12658 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12659 cat >>confdefs.h <<_ACEOF
12660 #define HAVE_FT2BUILD_H 1
12661 _ACEOF
12665 done
12667 if test "$ac_cv_header_ft2build_h" = "yes"
12668 then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12670 $as_echo_n "checking for -lfreetype... " >&6; }
12671 if ${ac_cv_lib_soname_freetype+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 ac_check_soname_save_LIBS=$LIBS
12675 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char FT_Init_FreeType ();
12687 main ()
12689 return FT_Init_FreeType ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"; then :
12695 case "$LIBEXT" in
12696 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12697 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'` ;;
12698 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12699 if ${ac_cv_lib_soname_freetype:+false} :; then :
12700 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12701 fi ;;
12702 esac
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_soname_save_LIBS
12708 if ${ac_cv_lib_soname_freetype:+false} :; then :
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12710 $as_echo "not found" >&6; }
12711 FREETYPE_LIBS=""
12712 else
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12714 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12716 cat >>confdefs.h <<_ACEOF
12717 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12718 _ACEOF
12721 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12723 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12724 #include FT_MODULE_H
12726 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_FT_TRUETYPEENGINETYPE 1
12730 _ACEOF
12736 else
12737 FREETYPE_CFLAGS=""
12738 FREETYPE_LIBS=""
12740 CPPFLAGS=$ac_save_CPPFLAGS
12741 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12742 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12745 if test "x$ac_cv_lib_soname_freetype" = x; then :
12746 case "x$with_freetype" in
12747 xno) ;;
12748 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12749 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12750 esac
12751 enable_fonts=${enable_fonts:-no}
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12755 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12756 if ${ac_cv_c_ppdev+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12761 #ifdef HAVE_SYS_IOCTL_H
12762 # include <sys/ioctl.h>
12763 #endif
12764 #include <linux/ppdev.h>
12766 main ()
12768 ioctl (1,PPCLAIM,0)
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_compile "$LINENO"; then :
12774 ac_cv_c_ppdev="yes"
12775 else
12776 ac_cv_c_ppdev="no"
12778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12781 $as_echo "$ac_cv_c_ppdev" >&6; }
12782 if test "$ac_cv_c_ppdev" = "yes"
12783 then
12785 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12789 ac_wine_check_funcs_save_LIBS="$LIBS"
12790 LIBS="$LIBS $PTHREAD_LIBS"
12791 for ac_func in \
12792 pthread_attr_get_np \
12793 pthread_getattr_np \
12794 pthread_getthreadid_np \
12795 pthread_get_stackaddr_np \
12796 pthread_get_stacksize_np
12797 do :
12798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12801 cat >>confdefs.h <<_ACEOF
12802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12803 _ACEOF
12806 done
12808 LIBS="$ac_wine_check_funcs_save_LIBS"
12810 if test "$ac_cv_header_zlib_h" = "yes"
12811 then
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12813 $as_echo_n "checking for inflate in -lz... " >&6; }
12814 if ${ac_cv_lib_z_inflate+:} false; then :
12815 $as_echo_n "(cached) " >&6
12816 else
12817 ac_check_lib_save_LIBS=$LIBS
12818 LIBS="-lz $LIBS"
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12825 #ifdef __cplusplus
12826 extern "C"
12827 #endif
12828 char inflate ();
12830 main ()
12832 return inflate ();
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_link "$LINENO"; then :
12838 ac_cv_lib_z_inflate=yes
12839 else
12840 ac_cv_lib_z_inflate=no
12842 rm -f core conftest.err conftest.$ac_objext \
12843 conftest$ac_exeext conftest.$ac_ext
12844 LIBS=$ac_check_lib_save_LIBS
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12847 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12848 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12850 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12852 Z_LIBS="-lz"
12857 if test "x$Z_LIBS" = "x"; then :
12858 case "x$with_zlib" in
12859 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12860 xno) ;;
12861 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12862 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12863 esac
12867 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12868 then
12869 if test "$ac_cv_header_gettext_po_h" = "yes"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12872 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12873 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_lib_save_LIBS=$LIBS
12877 LIBS="-lgettextpo $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char po_message_msgctxt ();
12889 main ()
12891 return po_message_msgctxt ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12898 else
12899 ac_cv_lib_gettextpo_po_message_msgctxt=no
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_lib_save_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12906 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12907 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12909 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12911 GETTEXTPO_LIBS="-lgettextpo"
12916 if test "x$GETTEXTPO_LIBS" = "x"; then :
12917 case "x$with_gettextpo" in
12918 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12919 xno) ;;
12920 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12921 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12922 esac
12925 if test "$srcdir" != .; then :
12926 case "x$with_gettextpo" in
12927 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12928 xno) ;;
12929 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12930 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12931 esac
12936 if test "x$with_pulse" != "xno";
12937 then
12938 if ${PULSE_CFLAGS:+false} :; then :
12939 if ${PKG_CONFIG+:} false; then :
12940 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12944 if ${PULSE_LIBS:+false} :; then :
12945 if ${PKG_CONFIG+:} false; then :
12946 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12953 ac_save_CPPFLAGS=$CPPFLAGS
12954 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12955 for ac_header in pulse/pulseaudio.h
12956 do :
12957 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12959 cat >>confdefs.h <<_ACEOF
12960 #define HAVE_PULSE_PULSEAUDIO_H 1
12961 _ACEOF
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12963 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12964 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_lib_save_LIBS=$LIBS
12968 LIBS="-lpulse $PULSE_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char pa_stream_is_corked ();
12980 main ()
12982 return pa_stream_is_corked ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 ac_cv_lib_pulse_pa_stream_is_corked=yes
12989 else
12990 ac_cv_lib_pulse_pa_stream_is_corked=no
12992 rm -f core conftest.err conftest.$ac_objext \
12993 conftest$ac_exeext conftest.$ac_ext
12994 LIBS=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12997 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12998 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13000 else
13001 PULSE_LIBS=""
13004 else
13005 PULSE_LIBS=""
13008 done
13010 CPPFLAGS=$ac_save_CPPFLAGS
13011 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test -z "$PULSE_LIBS"; then :
13016 case "x$with_pulse" in
13017 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13020 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13021 esac
13022 enable_winepulse_drv=${enable_winepulse_drv:-no}
13025 if test "x$with_gstreamer" != "xno"
13026 then
13027 if ${GSTREAMER_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13033 if ${GSTREAMER_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false; then :
13035 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13040 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13042 ac_save_CPPFLAGS=$CPPFLAGS
13043 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13044 ac_gst_incl=""
13045 for i in $GSTREAMER_CFLAGS
13047 case "$i" in
13048 -I*) ac_gst_incl="$ac_gst_incl $i";;
13049 esac
13050 done
13051 GSTREAMER_CFLAGS=$ac_gst_incl
13052 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13053 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13054 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13056 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 #include <gst/gst.h>
13061 main ()
13063 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_compile "$LINENO"; then :
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13072 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13073 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13074 $as_echo_n "(cached) " >&6
13075 else
13076 ac_check_lib_save_LIBS=$LIBS
13077 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13084 #ifdef __cplusplus
13085 extern "C"
13086 #endif
13087 char gst_pad_new ();
13089 main ()
13091 return gst_pad_new ();
13093 return 0;
13095 _ACEOF
13096 if ac_fn_c_try_link "$LINENO"; then :
13097 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13098 else
13099 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_lib_save_LIBS
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13106 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13107 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13111 else
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 ac_glib2_broken=yes
13115 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13121 CPPFLAGS=$ac_save_CPPFLAGS
13122 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13123 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13126 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 :
13127 case "x$with_gstreamer" in
13128 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13129 xno) ;;
13130 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13131 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13132 esac
13135 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13137 ALSA_LIBS=""
13139 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13140 then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13142 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13143 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lasound $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char snd_pcm_hw_params_get_access_mask ();
13159 main ()
13161 return snd_pcm_hw_params_get_access_mask ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13168 else
13169 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13176 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13177 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13180 #ifdef HAVE_ALSA_ASOUNDLIB_H
13181 #include <alsa/asoundlib.h>
13182 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13183 #include <sys/asoundlib.h>
13184 #endif
13186 main ()
13188 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13190 return 0;
13192 _ACEOF
13193 if ac_fn_c_try_compile "$LINENO"; then :
13194 ALSA_LIBS="-lasound"
13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13200 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13202 if test "x$with_oss" != xno
13203 then
13204 ac_save_CPPFLAGS="$CPPFLAGS"
13205 if test -f /etc/oss.conf
13206 then
13207 . /etc/oss.conf
13209 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13210 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13211 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13212 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13213 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13215 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13219 _ACEOF
13221 OSS4_CFLAGS="$ac_oss_incl"
13228 CPPFLAGS="$ac_save_CPPFLAGS"
13230 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13231 case "x$with_oss" in
13232 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13235 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13236 esac
13237 enable_wineoss_drv=${enable_wineoss_drv:-no}
13240 if test "x$with_udev" != "xno"
13241 then
13242 if ${UDEV_CFLAGS:+false} :; then :
13243 if ${PKG_CONFIG+:} false; then :
13244 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13248 if ${UDEV_LIBS:+false} :; then :
13249 if ${PKG_CONFIG+:} false; then :
13250 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13254 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13257 ac_save_CPPFLAGS=$CPPFLAGS
13258 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13259 for ac_header in libudev.h
13260 do :
13261 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13262 if test "x$ac_cv_header_libudev_h" = xyes; then :
13263 cat >>confdefs.h <<_ACEOF
13264 #define HAVE_LIBUDEV_H 1
13265 _ACEOF
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13267 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13268 if ${ac_cv_lib_udev_udev_new+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_check_lib_save_LIBS=$LIBS
13272 LIBS="-ludev $UDEV_LIBS $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 #ifdef __cplusplus
13280 extern "C"
13281 #endif
13282 char udev_new ();
13284 main ()
13286 return udev_new ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 ac_cv_lib_udev_udev_new=yes
13293 else
13294 ac_cv_lib_udev_udev_new=no
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13301 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13302 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13304 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13306 else
13307 UDEV_LIBS=""
13310 else
13311 UDEV_LIBS=""
13314 done
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$UDEV_LIBS" = "x"; then :
13322 case "x$with_udev" in
13323 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13324 xno) ;;
13325 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13326 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13327 esac
13331 if test "x$with_capi" != "xno"
13332 then
13333 if ${CAPI20_CFLAGS:+false} :; then :
13334 if ${PKG_CONFIG+:} false; then :
13335 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13339 if ${CAPI20_LIBS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13346 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13348 ac_save_CPPFLAGS=$CPPFLAGS
13349 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13350 for ac_header in capi20.h linux/capi.h
13351 do :
13352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13355 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13358 _ACEOF
13362 done
13364 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13365 then
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13367 $as_echo_n "checking for -lcapi20... " >&6; }
13368 if ${ac_cv_lib_soname_capi20+:} false; then :
13369 $as_echo_n "(cached) " >&6
13370 else
13371 ac_check_soname_save_LIBS=$LIBS
13372 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 char capi20_register ();
13384 main ()
13386 return capi20_register ();
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"; then :
13392 case "$LIBEXT" in
13393 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13394 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'` ;;
13395 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13396 if ${ac_cv_lib_soname_capi20:+false} :; then :
13397 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13398 fi ;;
13399 esac
13401 rm -f core conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13403 LIBS=$ac_check_soname_save_LIBS
13405 if ${ac_cv_lib_soname_capi20:+false} :; then :
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13407 $as_echo "not found" >&6; }
13409 else
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13411 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13413 cat >>confdefs.h <<_ACEOF
13414 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13415 _ACEOF
13420 CPPFLAGS=$ac_save_CPPFLAGS
13421 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13422 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13425 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13426 case "x$with_capi" in
13427 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13428 xno) ;;
13429 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13430 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13431 esac
13435 CUPS_CFLAGS=""
13437 if test "x$with_cups" != "xno"
13438 then
13439 ac_save_CPPFLAGS="$CPPFLAGS"
13440 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13441 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13442 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13443 for ac_header in cups/cups.h
13444 do :
13445 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13446 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13447 cat >>confdefs.h <<_ACEOF
13448 #define HAVE_CUPS_CUPS_H 1
13449 _ACEOF
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13451 $as_echo_n "checking for -lcups... " >&6; }
13452 if ${ac_cv_lib_soname_cups+:} false; then :
13453 $as_echo_n "(cached) " >&6
13454 else
13455 ac_check_soname_save_LIBS=$LIBS
13456 LIBS="-lcups $ac_cups_libs $LIBS"
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13463 #ifdef __cplusplus
13464 extern "C"
13465 #endif
13466 char cupsGetDefault ();
13468 main ()
13470 return cupsGetDefault ();
13472 return 0;
13474 _ACEOF
13475 if ac_fn_c_try_link "$LINENO"; then :
13476 case "$LIBEXT" in
13477 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13478 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'` ;;
13479 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13480 if ${ac_cv_lib_soname_cups:+false} :; then :
13481 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13482 fi ;;
13483 esac
13485 rm -f core conftest.err conftest.$ac_objext \
13486 conftest$ac_exeext conftest.$ac_ext
13487 LIBS=$ac_check_soname_save_LIBS
13489 if ${ac_cv_lib_soname_cups:+false} :; then :
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13491 $as_echo "not found" >&6; }
13493 else
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13495 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13497 cat >>confdefs.h <<_ACEOF
13498 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13499 _ACEOF
13501 CUPS_CFLAGS="$ac_cups_cflags"
13503 for ac_header in cups/ppd.h
13504 do :
13505 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13506 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13507 cat >>confdefs.h <<_ACEOF
13508 #define HAVE_CUPS_PPD_H 1
13509 _ACEOF
13513 done
13517 done
13519 CPPFLAGS="$ac_save_CPPFLAGS"
13521 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13522 case "x$with_cups" in
13523 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13524 xno) ;;
13525 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13526 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13527 esac
13531 if test "x$with_fontconfig" != "xno"
13532 then
13533 if ${FONTCONFIG_CFLAGS:+false} :; then :
13534 if ${PKG_CONFIG+:} false; then :
13535 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13538 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13539 if ${FONTCONFIG_LIBS:+false} :; then :
13540 if ${PKG_CONFIG+:} false; then :
13541 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13544 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13548 ac_save_CPPFLAGS=$CPPFLAGS
13549 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13550 for ac_header in fontconfig/fontconfig.h
13551 do :
13552 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13553 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13554 cat >>confdefs.h <<_ACEOF
13555 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13556 _ACEOF
13560 done
13562 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13563 then
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13565 $as_echo_n "checking for -lfontconfig... " >&6; }
13566 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 ac_check_soname_save_LIBS=$LIBS
13570 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13574 /* Override any GCC internal prototype to avoid an error.
13575 Use char because int might match the return type of a GCC
13576 builtin and then its argument prototype would still apply. */
13577 #ifdef __cplusplus
13578 extern "C"
13579 #endif
13580 char FcInit ();
13582 main ()
13584 return FcInit ();
13586 return 0;
13588 _ACEOF
13589 if ac_fn_c_try_link "$LINENO"; then :
13590 case "$LIBEXT" in
13591 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13592 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'` ;;
13593 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13594 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13595 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13596 fi ;;
13597 esac
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 LIBS=$ac_check_soname_save_LIBS
13603 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13605 $as_echo "not found" >&6; }
13606 FONTCONFIG_CFLAGS=""
13607 else
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13609 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13611 cat >>confdefs.h <<_ACEOF
13612 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13613 _ACEOF
13617 else
13618 FONTCONFIG_CFLAGS=""
13620 CPPFLAGS=$ac_save_CPPFLAGS
13621 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13622 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13625 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13626 case "x$with_fontconfig" in
13627 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13628 xno) ;;
13629 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13630 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13631 esac
13635 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13636 then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13638 $as_echo_n "checking for -lgsm... " >&6; }
13639 if ${ac_cv_lib_soname_gsm+:} false; then :
13640 $as_echo_n "(cached) " >&6
13641 else
13642 ac_check_soname_save_LIBS=$LIBS
13643 LIBS="-lgsm $LIBS"
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13647 /* Override any GCC internal prototype to avoid an error.
13648 Use char because int might match the return type of a GCC
13649 builtin and then its argument prototype would still apply. */
13650 #ifdef __cplusplus
13651 extern "C"
13652 #endif
13653 char gsm_create ();
13655 main ()
13657 return gsm_create ();
13659 return 0;
13661 _ACEOF
13662 if ac_fn_c_try_link "$LINENO"; then :
13663 case "$LIBEXT" in
13664 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13665 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'` ;;
13666 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13667 if ${ac_cv_lib_soname_gsm:+false} :; then :
13668 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13669 fi ;;
13670 esac
13672 rm -f core conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13674 LIBS=$ac_check_soname_save_LIBS
13676 if ${ac_cv_lib_soname_gsm:+false} :; then :
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13678 $as_echo "not found" >&6; }
13680 else
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13682 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13684 cat >>confdefs.h <<_ACEOF
13685 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13686 _ACEOF
13691 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13692 case "x$with_gsm" in
13693 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13694 xno) ;;
13695 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13696 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13697 esac
13701 if test "x$with_jpeg" != "xno"
13702 then
13703 if ${JPEG_CFLAGS:+false} :; then :
13704 if ${PKG_CONFIG+:} false; then :
13705 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13709 if ${JPEG_LIBS:+false} :; then :
13710 if ${PKG_CONFIG+:} false; then :
13711 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13718 ac_save_CPPFLAGS=$CPPFLAGS
13719 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13720 for ac_header in jpeglib.h
13721 do :
13722 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13723 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13724 cat >>confdefs.h <<_ACEOF
13725 #define HAVE_JPEGLIB_H 1
13726 _ACEOF
13730 done
13732 if test "$ac_cv_header_jpeglib_h" = "yes"
13733 then
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13735 $as_echo_n "checking for -ljpeg... " >&6; }
13736 if ${ac_cv_lib_soname_jpeg+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_check_soname_save_LIBS=$LIBS
13740 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13747 #ifdef __cplusplus
13748 extern "C"
13749 #endif
13750 char jpeg_start_decompress ();
13752 main ()
13754 return jpeg_start_decompress ();
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 case "$LIBEXT" in
13761 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13762 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'` ;;
13763 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13765 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13766 fi ;;
13767 esac
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 LIBS=$ac_check_soname_save_LIBS
13773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 $as_echo "not found" >&6; }
13776 JPEG_CFLAGS=""
13777 else
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13779 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13781 cat >>confdefs.h <<_ACEOF
13782 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13783 _ACEOF
13787 else
13788 JPEG_CFLAGS=""
13790 CPPFLAGS=$ac_save_CPPFLAGS
13791 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13792 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13795 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13796 case "x$with_jpeg" in
13797 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13798 xno) ;;
13799 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13800 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13801 esac
13805 if test "x$with_png" != "xno"
13806 then
13807 if ${PNG_CFLAGS:+false} :; then :
13808 if ${PKG_CONFIG+:} false; then :
13809 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13812 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13813 if ${PNG_LIBS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13818 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13822 ac_save_CPPFLAGS=$CPPFLAGS
13823 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13824 for ac_header in png.h
13825 do :
13826 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_png_h" = xyes; then :
13828 cat >>confdefs.h <<_ACEOF
13829 #define HAVE_PNG_H 1
13830 _ACEOF
13834 done
13836 if test "$ac_cv_header_png_h" = "yes"
13837 then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13839 $as_echo_n "checking for -lpng... " >&6; }
13840 if ${ac_cv_lib_soname_png+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_check_soname_save_LIBS=$LIBS
13844 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 #ifdef __cplusplus
13852 extern "C"
13853 #endif
13854 char png_create_read_struct ();
13856 main ()
13858 return png_create_read_struct ();
13860 return 0;
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 case "$LIBEXT" in
13865 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13866 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'` ;;
13867 *) 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'`
13868 if ${ac_cv_lib_soname_png:+false} :; then :
13869 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13870 fi ;;
13871 esac
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_soname_save_LIBS
13877 if ${ac_cv_lib_soname_png:+false} :; then :
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13879 $as_echo "not found" >&6; }
13880 PNG_CFLAGS=""
13881 else
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13883 $as_echo "$ac_cv_lib_soname_png" >&6; }
13885 cat >>confdefs.h <<_ACEOF
13886 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13887 _ACEOF
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 #include <png.h>
13893 main ()
13895 typeof(png_set_expand_gray_1_2_4_to_8) *p
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_compile "$LINENO"; then :
13902 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13907 else
13908 PNG_CFLAGS=""
13910 CPPFLAGS=$ac_save_CPPFLAGS
13911 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13912 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13915 if test "x$ac_cv_lib_soname_png" = "x"; then :
13916 case "x$with_png" in
13917 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13918 xno) ;;
13919 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13920 This is an error since --with-png was requested." "$LINENO" 5 ;;
13921 esac
13925 if test "x$with_tiff" != "xno"
13926 then
13927 if ${TIFF_CFLAGS:+false} :; then :
13928 if ${PKG_CONFIG+:} false; then :
13929 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13933 if ${TIFF_LIBS:+false} :; then :
13934 if ${PKG_CONFIG+:} false; then :
13935 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13941 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13942 ac_save_CPPFLAGS=$CPPFLAGS
13943 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13944 for ac_header in tiffio.h
13945 do :
13946 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13947 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13948 cat >>confdefs.h <<_ACEOF
13949 #define HAVE_TIFFIO_H 1
13950 _ACEOF
13954 done
13956 if test "$ac_cv_header_tiffio_h" = "yes"
13957 then
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13959 $as_echo_n "checking for -ltiff... " >&6; }
13960 if ${ac_cv_lib_soname_tiff+:} false; then :
13961 $as_echo_n "(cached) " >&6
13962 else
13963 ac_check_soname_save_LIBS=$LIBS
13964 LIBS="-ltiff $TIFF_LIBS $LIBS"
13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13968 /* Override any GCC internal prototype to avoid an error.
13969 Use char because int might match the return type of a GCC
13970 builtin and then its argument prototype would still apply. */
13971 #ifdef __cplusplus
13972 extern "C"
13973 #endif
13974 char TIFFClientOpen ();
13976 main ()
13978 return TIFFClientOpen ();
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_link "$LINENO"; then :
13984 case "$LIBEXT" in
13985 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13986 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'` ;;
13987 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13988 if ${ac_cv_lib_soname_tiff:+false} :; then :
13989 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13990 fi ;;
13991 esac
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 LIBS=$ac_check_soname_save_LIBS
13997 if ${ac_cv_lib_soname_tiff:+false} :; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13999 $as_echo "not found" >&6; }
14001 else
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14003 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14005 cat >>confdefs.h <<_ACEOF
14006 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14007 _ACEOF
14012 CPPFLAGS=$ac_save_CPPFLAGS
14013 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14014 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14017 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14018 case "x$with_tiff" in
14019 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14020 xno) ;;
14021 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14022 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14023 esac
14027 if test "x$with_mpg123" != "xno"
14028 then
14029 if ${MPG123_CFLAGS:+false} :; then :
14030 if ${PKG_CONFIG+:} false; then :
14031 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14035 if ${MPG123_LIBS:+false} :; then :
14036 if ${PKG_CONFIG+:} false; then :
14037 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14041 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14042 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14043 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14044 ac_save_CPPFLAGS=$CPPFLAGS
14045 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14046 for ac_header in mpg123.h
14047 do :
14048 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14049 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14050 cat >>confdefs.h <<_ACEOF
14051 #define HAVE_MPG123_H 1
14052 _ACEOF
14056 done
14058 if test "$ac_cv_header_mpg123_h" = "yes"
14059 then
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14061 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14062 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 #ifdef __cplusplus
14074 extern "C"
14075 #endif
14076 char mpg123_feed ();
14078 main ()
14080 return mpg123_feed ();
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_lib_mpg123_mpg123_feed=yes
14087 else
14088 ac_cv_lib_mpg123_mpg123_feed=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14095 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14096 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14098 else
14099 MPG123_LIBS=""
14102 else
14103 MPG123_CFLAGS=""
14104 MPG123_LIBS=""
14106 CPPFLAGS=$ac_save_CPPFLAGS
14107 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14108 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14111 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14112 case "x$with_mpg123" in
14113 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14114 xno) ;;
14115 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14116 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14117 esac
14118 enable_winemp3_acm=${enable_winemp3_acm:-no}
14121 if test "$ac_cv_header_AL_al_h" = "yes"
14122 then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14124 $as_echo_n "checking for -lopenal... " >&6; }
14125 if ${ac_cv_lib_soname_openal+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_check_soname_save_LIBS=$LIBS
14129 LIBS="-lopenal $LIBS"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14136 #ifdef __cplusplus
14137 extern "C"
14138 #endif
14139 char alGetSource3i ();
14141 main ()
14143 return alGetSource3i ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 case "$LIBEXT" in
14150 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14151 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'` ;;
14152 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14153 if ${ac_cv_lib_soname_openal:+false} :; then :
14154 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14155 fi ;;
14156 esac
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS=$ac_check_soname_save_LIBS
14162 if ${ac_cv_lib_soname_openal:+false} :; then :
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14164 $as_echo "not found" >&6; }
14166 else
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14168 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14170 cat >>confdefs.h <<_ACEOF
14171 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14172 _ACEOF
14174 OPENAL_LIBS="-lopenal"
14176 ac_cv_lib_openal=yes
14178 cat >>confdefs.h <<_ACEOF
14179 #define HAVE_OPENAL 1
14180 _ACEOF
14184 if test "x$ac_cv_lib_openal" != xyes; then :
14185 case "x$with_openal" in
14186 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14187 xno) ;;
14188 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14189 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14190 esac
14191 enable_openal32=${enable_openal32:-no}
14194 if test "x$ac_cv_lib_openal" = xyes
14195 then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14197 $as_echo_n "checking for openal-soft... " >&6; }
14198 if ${ac_cv_have_openalsoft+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <AL/al.h>
14204 #include <AL/alc.h>
14205 #include <AL/alext.h>
14206 LPALCRENDERSAMPLESSOFT x;
14208 main ()
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_compile "$LINENO"; then :
14216 ac_cv_have_openalsoft=yes
14217 else
14218 ac_cv_have_openalsoft=no
14220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14223 $as_echo "$ac_cv_have_openalsoft" >&6; }
14225 if test "x$ac_cv_have_openalsoft" != xyes
14226 then
14227 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14228 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14229 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14230 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14231 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14232 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14233 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14234 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14235 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14236 enable_xapofx1_1=${enable_xapofx1_1:-no}
14237 enable_xapofx1_2=${enable_xapofx1_2:-no}
14238 enable_xapofx1_3=${enable_xapofx1_3:-no}
14239 enable_xapofx1_4=${enable_xapofx1_4:-no}
14240 enable_xapofx1_5=${enable_xapofx1_5:-no}
14241 enable_xaudio2_0=${enable_xaudio2_0:-no}
14242 enable_xaudio2_1=${enable_xaudio2_1:-no}
14243 enable_xaudio2_2=${enable_xaudio2_2:-no}
14244 enable_xaudio2_3=${enable_xaudio2_3:-no}
14245 enable_xaudio2_4=${enable_xaudio2_4:-no}
14246 enable_xaudio2_5=${enable_xaudio2_5:-no}
14247 enable_xaudio2_6=${enable_xaudio2_6:-no}
14248 enable_xaudio2_7=${enable_xaudio2_7:-no}
14249 enable_xaudio2_8=${enable_xaudio2_8:-no}
14250 enable_xaudio2_9=${enable_xaudio2_9:-no}
14253 if test "$ac_cv_header_kstat_h" = "yes"
14254 then
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14256 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14257 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 ac_check_lib_save_LIBS=$LIBS
14261 LIBS="-lkstat $LIBS"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14268 #ifdef __cplusplus
14269 extern "C"
14270 #endif
14271 char kstat_open ();
14273 main ()
14275 return kstat_open ();
14277 return 0;
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"; then :
14281 ac_cv_lib_kstat_kstat_open=yes
14282 else
14283 ac_cv_lib_kstat_kstat_open=no
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_lib_save_LIBS
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14290 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14291 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14293 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14295 KSTAT_LIBS="-lkstat"
14301 if test "$ac_cv_header_libprocstat_h" = "yes"
14302 then
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14304 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14305 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_check_lib_save_LIBS=$LIBS
14309 LIBS="-lprocstat $LIBS"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14316 #ifdef __cplusplus
14317 extern "C"
14318 #endif
14319 char procstat_open_sysctl ();
14321 main ()
14323 return procstat_open_sysctl ();
14325 return 0;
14327 _ACEOF
14328 if ac_fn_c_try_link "$LINENO"; then :
14329 ac_cv_lib_procstat_procstat_open_sysctl=yes
14330 else
14331 ac_cv_lib_procstat_procstat_open_sysctl=no
14333 rm -f core conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 LIBS=$ac_check_lib_save_LIBS
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14338 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14339 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14341 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14343 PROCSTAT_LIBS="-lprocstat"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14350 $as_echo_n "checking for -lodbc... " >&6; }
14351 if ${ac_cv_lib_soname_odbc+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 ac_check_soname_save_LIBS=$LIBS
14355 LIBS="-lodbc $LIBS"
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14362 #ifdef __cplusplus
14363 extern "C"
14364 #endif
14365 char SQLConnect ();
14367 main ()
14369 return SQLConnect ();
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"; then :
14375 case "$LIBEXT" in
14376 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14377 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'` ;;
14378 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14379 if ${ac_cv_lib_soname_odbc:+false} :; then :
14380 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14381 fi ;;
14382 esac
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_soname_save_LIBS
14388 if ${ac_cv_lib_soname_odbc:+false} :; then :
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14390 $as_echo "not found" >&6; }
14391 cat >>confdefs.h <<_ACEOF
14392 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14393 _ACEOF
14395 else
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14397 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14399 cat >>confdefs.h <<_ACEOF
14400 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14401 _ACEOF
14406 if test "x$with_netapi" != "xno"
14407 then
14408 if ${NETAPI_CFLAGS:+false} :; then :
14409 if ${PKG_CONFIG+:} false; then :
14410 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14414 if ${NETAPI_LIBS:+false} :; then :
14415 if ${PKG_CONFIG+:} false; then :
14416 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14421 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14422 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14423 ac_save_CPPFLAGS=$CPPFLAGS
14424 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14426 $as_echo_n "checking for -lnetapi... " >&6; }
14427 if ${ac_cv_lib_soname_netapi+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_check_soname_save_LIBS=$LIBS
14431 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 #ifdef __cplusplus
14439 extern "C"
14440 #endif
14441 char libnetapi_init ();
14443 main ()
14445 return libnetapi_init ();
14447 return 0;
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 case "$LIBEXT" in
14452 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14453 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'` ;;
14454 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14455 if ${ac_cv_lib_soname_netapi:+false} :; then :
14456 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14457 fi ;;
14458 esac
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_check_soname_save_LIBS
14464 if ${ac_cv_lib_soname_netapi:+false} :; then :
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14466 $as_echo "not found" >&6; }
14467 cat >>confdefs.h <<_ACEOF
14468 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14469 _ACEOF
14471 else
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14473 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14475 cat >>confdefs.h <<_ACEOF
14476 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14477 _ACEOF
14481 CPPFLAGS=$ac_save_CPPFLAGS
14482 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14483 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14487 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14488 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14489 then
14490 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14494 EXTRACFLAGS=""
14496 if test "x${GCC}" = "xyes"
14497 then
14498 EXTRACFLAGS="-Wall -pipe"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14501 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14502 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14503 $as_echo_n "(cached) " >&6
14504 else
14505 if test "$cross_compiling" = yes; then :
14506 ac_cv_c_gcc_strength_bug="no"
14507 else
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int L[4] = {0,1,2,3};
14512 main ()
14514 static int Array[3];
14515 unsigned int B = 3;
14516 int i;
14517 for(i=0; i<B; i++) Array[i] = i - 3;
14518 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14519 L[i] = 4;
14520 return (Array[1] != -2 || L[2] != 3)
14522 return 0;
14524 _ACEOF
14525 if ac_fn_c_try_run "$LINENO"; then :
14526 ac_cv_c_gcc_strength_bug="no"
14527 else
14528 ac_cv_c_gcc_strength_bug="yes"
14530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14531 conftest.$ac_objext conftest.beam conftest.$ac_ext
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14536 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14537 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14538 then
14539 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14543 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14544 if ${ac_cv_cflags__fno_builtin+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_wine_try_cflags_saved=$CFLAGS
14548 CFLAGS="$CFLAGS -fno-builtin"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_cflags__fno_builtin=yes
14555 else
14556 ac_cv_cflags__fno_builtin=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 CFLAGS=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14563 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14564 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14565 BUILTINFLAG="-fno-builtin"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14569 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14570 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 ac_wine_try_cflags_saved=$CFLAGS
14574 CFLAGS="$CFLAGS -fno-strict-aliasing"
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14577 int main(int argc, char **argv) { return 0; }
14578 _ACEOF
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 ac_cv_cflags__fno_strict_aliasing=yes
14581 else
14582 ac_cv_cflags__fno_strict_aliasing=no
14584 rm -f core conftest.err conftest.$ac_objext \
14585 conftest$ac_exeext conftest.$ac_ext
14586 CFLAGS=$ac_wine_try_cflags_saved
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14589 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14590 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14591 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14594 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14595 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14596 $as_echo_n "(cached) " >&6
14597 else
14598 ac_wine_try_cflags_saved=$CFLAGS
14599 CFLAGS="$CFLAGS -fexcess-precision=standard"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14602 int main(int argc, char **argv) { return 0; }
14603 _ACEOF
14604 if ac_fn_c_try_link "$LINENO"; then :
14605 ac_cv_cflags__fexcess_precision_standard=yes
14606 else
14607 ac_cv_cflags__fexcess_precision_standard=no
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 CFLAGS=$ac_wine_try_cflags_saved
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14614 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14615 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14616 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14619 saved_CFLAGS=$CFLAGS
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14621 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14622 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14623 $as_echo_n "(cached) " >&6
14624 else
14625 ac_wine_try_cflags_saved=$CFLAGS
14626 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 int main(int argc, char **argv) { return 0; }
14630 _ACEOF
14631 if ac_fn_c_try_link "$LINENO"; then :
14632 ac_cv_cflags__Werror_unknown_warning_option=yes
14633 else
14634 ac_cv_cflags__Werror_unknown_warning_option=no
14636 rm -f core conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext conftest.$ac_ext
14638 CFLAGS=$ac_wine_try_cflags_saved
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14641 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14642 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14643 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14646 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14647 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14648 $as_echo_n "(cached) " >&6
14649 else
14650 ac_wine_try_cflags_saved=$CFLAGS
14651 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14654 int main(int argc, char **argv) { return 0; }
14655 _ACEOF
14656 if ac_fn_c_try_link "$LINENO"; then :
14657 ac_cv_cflags__Wdeclaration_after_statement=yes
14658 else
14659 ac_cv_cflags__Wdeclaration_after_statement=no
14661 rm -f core conftest.err conftest.$ac_objext \
14662 conftest$ac_exeext conftest.$ac_ext
14663 CFLAGS=$ac_wine_try_cflags_saved
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14666 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14667 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14668 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14671 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14672 if ${ac_cv_cflags__Wempty_body+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_wine_try_cflags_saved=$CFLAGS
14676 CFLAGS="$CFLAGS -Wempty-body"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 int main(int argc, char **argv) { return 0; }
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_cflags__Wempty_body=yes
14683 else
14684 ac_cv_cflags__Wempty_body=no
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 CFLAGS=$ac_wine_try_cflags_saved
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14691 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14692 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14693 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14696 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14697 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 ac_wine_try_cflags_saved=$CFLAGS
14701 CFLAGS="$CFLAGS -Wignored-qualifiers"
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int main(int argc, char **argv) { return 0; }
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_cflags__Wignored_qualifiers=yes
14708 else
14709 ac_cv_cflags__Wignored_qualifiers=no
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 CFLAGS=$ac_wine_try_cflags_saved
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14716 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14717 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14718 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14721 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14722 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_wine_try_cflags_saved=$CFLAGS
14726 CFLAGS="$CFLAGS -Wshift-overflow=2"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_cflags__Wshift_overflow_2=yes
14733 else
14734 ac_cv_cflags__Wshift_overflow_2=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 CFLAGS=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14741 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14742 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14743 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14746 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14747 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -Wstrict-prototypes"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__Wstrict_prototypes=yes
14758 else
14759 ac_cv_cflags__Wstrict_prototypes=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14766 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14767 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14768 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14771 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14772 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 ac_wine_try_cflags_saved=$CFLAGS
14776 CFLAGS="$CFLAGS -Wtype-limits"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 int main(int argc, char **argv) { return 0; }
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_cflags__Wtype_limits=yes
14783 else
14784 ac_cv_cflags__Wtype_limits=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 CFLAGS=$ac_wine_try_cflags_saved
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14791 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14792 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14793 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14796 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14797 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_wine_try_cflags_saved=$CFLAGS
14801 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_cflags__Wunused_but_set_parameter=yes
14808 else
14809 ac_cv_cflags__Wunused_but_set_parameter=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 CFLAGS=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14816 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14817 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14818 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14821 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14822 if ${ac_cv_cflags__Wvla+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_wine_try_cflags_saved=$CFLAGS
14826 CFLAGS="$CFLAGS -Wvla"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_cflags__Wvla=yes
14833 else
14834 ac_cv_cflags__Wvla=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 CFLAGS=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14841 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14842 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14843 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14846 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14847 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -Wwrite-strings"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__Wwrite_strings=yes
14858 else
14859 ac_cv_cflags__Wwrite_strings=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14866 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14867 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14872 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14873 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_wine_try_cflags_saved=$CFLAGS
14877 CFLAGS="$CFLAGS -Wpointer-arith"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 int main(int argc, char **argv) { return 0; }
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 ac_cv_cflags__Wpointer_arith=yes
14884 else
14885 ac_cv_cflags__Wpointer_arith=no
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14889 CFLAGS=$ac_wine_try_cflags_saved
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14892 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14893 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14894 saved_string_h_CFLAGS=$CFLAGS
14895 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14897 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14898 if ${ac_cv_c_string_h_warnings+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14903 #include <string.h>
14905 main ()
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_compile "$LINENO"; then :
14913 ac_cv_c_string_h_warnings=no
14914 else
14915 ac_cv_c_string_h_warnings=yes
14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14920 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14921 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14922 CFLAGS=$saved_string_h_CFLAGS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14926 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14927 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14928 $as_echo_n "(cached) " >&6
14929 else
14930 ac_wine_try_cflags_saved=$CFLAGS
14931 CFLAGS="$CFLAGS -Wlogical-op"
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 int main(int argc, char **argv) { return 0; }
14935 _ACEOF
14936 if ac_fn_c_try_link "$LINENO"; then :
14937 ac_cv_cflags__Wlogical_op=yes
14938 else
14939 ac_cv_cflags__Wlogical_op=no
14941 rm -f core conftest.err conftest.$ac_objext \
14942 conftest$ac_exeext conftest.$ac_ext
14943 CFLAGS=$ac_wine_try_cflags_saved
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14946 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14947 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14948 saved_string_h_CFLAGS=$CFLAGS
14949 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14951 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14952 if ${ac_cv_c_logicalop_noisy+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 #include <string.h>
14958 char*f(const char *h,char n) {return strchr(h,n);}
14960 main ()
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_compile "$LINENO"; then :
14968 ac_cv_c_logicalop_noisy=no
14969 else
14970 ac_cv_c_logicalop_noisy=yes
14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14975 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14976 CFLAGS=$saved_string_h_CFLAGS
14977 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14980 CFLAGS=$saved_CFLAGS
14982 for ac_flag in $CFLAGS; do
14983 case $ac_flag in
14984 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14985 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14986 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14987 $as_echo_n "(cached) " >&6
14988 else
14989 ac_wine_try_cflags_saved=$CFLAGS
14990 CFLAGS="$CFLAGS -gdwarf-2"
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 int main(int argc, char **argv) { return 0; }
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"; then :
14996 ac_cv_cflags__gdwarf_2=yes
14997 else
14998 ac_cv_cflags__gdwarf_2=no
15000 rm -f core conftest.err conftest.$ac_objext \
15001 conftest$ac_exeext conftest.$ac_ext
15002 CFLAGS=$ac_wine_try_cflags_saved
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15005 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15006 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15007 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15010 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15011 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 ac_wine_try_cflags_saved=$CFLAGS
15015 CFLAGS="$CFLAGS -gstrict-dwarf"
15016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15018 int main(int argc, char **argv) { return 0; }
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 ac_cv_cflags__gstrict_dwarf=yes
15022 else
15023 ac_cv_cflags__gstrict_dwarf=no
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15027 CFLAGS=$ac_wine_try_cflags_saved
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15030 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15031 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15032 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15033 fi ;;
15034 esac
15035 done
15037 case $host_cpu in
15038 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15039 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15040 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 ac_wine_try_cflags_saved=$CFLAGS
15044 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 int main(int argc, char **argv) { return 0; }
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_cflags__fno_omit_frame_pointer=yes
15051 else
15052 ac_cv_cflags__fno_omit_frame_pointer=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 CFLAGS=$ac_wine_try_cflags_saved
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15059 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15060 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15061 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15062 fi ;;
15063 esac
15065 case $host in
15066 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15067 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15068 if ${ac_cv_cflags__Wno_format+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 ac_wine_try_cflags_saved=$CFLAGS
15072 CFLAGS="$CFLAGS -Wno-format"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 int main(int argc, char **argv) { return 0; }
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 ac_cv_cflags__Wno_format=yes
15079 else
15080 ac_cv_cflags__Wno_format=no
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 CFLAGS=$ac_wine_try_cflags_saved
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15087 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15088 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15089 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15090 fi ;;
15091 esac
15093 if test "x$enable_maintainer_mode" = "xyes"
15094 then
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15096 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15097 if ${ac_cv_cflags__Werror+:} false; then :
15098 $as_echo_n "(cached) " >&6
15099 else
15100 ac_wine_try_cflags_saved=$CFLAGS
15101 CFLAGS="$CFLAGS -Werror"
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 int main(int argc, char **argv) { return 0; }
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 ac_cv_cflags__Werror=yes
15108 else
15109 ac_cv_cflags__Werror=no
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15113 CFLAGS=$ac_wine_try_cflags_saved
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15116 $as_echo "$ac_cv_cflags__Werror" >&6; }
15117 if test "x$ac_cv_cflags__Werror" = xyes; then :
15118 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15122 saved_CFLAGS="$CFLAGS"
15123 CFLAGS="$CFLAGS -Werror"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15125 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15126 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15133 main ()
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"; then :
15141 ac_cv_have_ms_hook_prologue="yes"
15142 else
15143 ac_cv_have_ms_hook_prologue="no"
15145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15148 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15149 CFLAGS="$saved_CFLAGS"
15150 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15151 then
15153 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15155 else
15156 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15163 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15164 if ${ac_cv_c_fortify_enabled+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <string.h>
15171 main ()
15173 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15174 #error Fortify enabled
15175 #endif
15177 return 0;
15179 _ACEOF
15180 if ac_fn_c_try_compile "$LINENO"; then :
15181 ac_cv_c_fortify_enabled=no
15182 else
15183 ac_cv_c_fortify_enabled=yes
15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15188 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15189 if test "$ac_cv_c_fortify_enabled" = yes
15190 then
15191 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15196 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15197 if ${ac_cv_c_extern_prefix+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 extern int ac_test;
15204 main ()
15206 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15208 return 0;
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"; then :
15212 ac_cv_c_extern_prefix="yes"
15213 else
15214 ac_cv_c_extern_prefix="no"
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15220 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15222 case $host_cpu in
15223 *i[3456789]86*)
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15225 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15226 if ${ac_cv_c_stdcall_suffix+:} false; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15231 #ifndef _MSC_VER
15232 #define __stdcall __attribute__((__stdcall__))
15233 #endif
15234 int __stdcall ac_test(int i) { return i; }
15236 main ()
15238 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15240 return 0;
15242 _ACEOF
15243 if ac_fn_c_try_link "$LINENO"; then :
15244 ac_cv_c_stdcall_suffix="yes"
15245 else
15246 ac_cv_c_stdcall_suffix="no"
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15252 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15253 *) ac_cv_c_stdcall_suffix="no" ;;
15254 esac
15257 if test "$ac_cv_c_extern_prefix" = "yes"
15258 then
15259 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15261 asm_name_prefix="_"
15262 else
15263 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15265 asm_name_prefix=""
15269 if test "$ac_cv_c_stdcall_suffix" = "yes"
15270 then
15271 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15273 else
15274 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15280 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15281 if ${ac_cv_asm_func_def+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15288 main ()
15290 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15292 return 0;
15294 _ACEOF
15295 if ac_fn_c_try_link "$LINENO"; then :
15296 ac_cv_asm_func_def=".def"
15297 else
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15302 main ()
15304 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15306 return 0;
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"; then :
15310 ac_cv_asm_func_def=".type @function"
15311 else
15312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15316 main ()
15318 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 ac_cv_asm_func_def=".type 2"
15325 else
15326 ac_cv_asm_func_def="unknown"
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15338 $as_echo "$ac_cv_asm_func_def" >&6; }
15341 case "$ac_cv_asm_func_def" in
15342 ".def")
15343 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15345 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15346 ".type @function")
15347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15349 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15350 ".type 2")
15351 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15353 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15355 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15357 asm_func_header="" ;;
15358 esac
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15361 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15362 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15367 asm(".text\n\t.long 0");
15369 main ()
15373 return 0;
15375 _ACEOF
15376 if ac_fn_c_try_compile "$LINENO"; then :
15377 ac_cv_c_asm_outside_funcs="yes"
15378 else
15379 ac_cv_c_asm_outside_funcs="no"
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15384 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15387 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15388 if ${ac_cv_c_dot_previous+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15395 main ()
15397 asm(".text\nac_test:\t.long 0\n\t.previous");
15399 return 0;
15401 _ACEOF
15402 if ac_fn_c_try_link "$LINENO"; then :
15403 ac_cv_c_dot_previous="yes"
15404 else
15405 ac_cv_c_dot_previous="no"
15407 rm -f core conftest.err conftest.$ac_objext \
15408 conftest$ac_exeext conftest.$ac_ext
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15411 $as_echo "$ac_cv_c_dot_previous" >&6; }
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15414 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15415 if ${ac_cv_c_cfi_support+:} false; then :
15416 $as_echo_n "(cached) " >&6
15417 else
15418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15419 /* end confdefs.h. */
15420 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15422 main ()
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_compile "$LINENO"; then :
15430 ac_cv_c_cfi_support="yes"
15431 else
15432 ac_cv_c_cfi_support="no"
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15437 $as_echo "$ac_cv_c_cfi_support" >&6; }
15439 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15440 asm_func_trailer=""
15441 if test "$ac_cv_c_dot_previous" = "yes"
15442 then
15443 asm_func_trailer="\\n\\t.previous"
15445 if test "$ac_cv_c_cfi_support" = "yes"
15446 then
15447 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15448 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15450 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15452 UNWINDFLAGS=-fasynchronous-unwind-tables
15454 else
15455 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15457 if test "x$enable_win64" = "xyes"
15458 then
15459 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15463 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15466 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15467 then
15468 cat >>confdefs.h <<_ACEOF
15469 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15470 _ACEOF
15472 else
15473 cat >>confdefs.h <<_ACEOF
15474 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15475 _ACEOF
15479 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15482 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15486 case $build_os in
15487 cygwin*|mingw32*) TOOLSEXT=".exe"
15489 esac
15491 case $host_os in
15492 linux*)
15493 case $host_cpu in
15494 *i[3456789]86*|x86_64*)
15495 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15496 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15498 esac
15500 esac
15503 ac_save_CFLAGS="$CFLAGS"
15504 CFLAGS="$CFLAGS $BUILTINFLAG"
15505 for ac_func in \
15506 __res_get_state \
15507 __res_getservers \
15508 _finite \
15509 _isnan \
15510 _pclose \
15511 _popen \
15512 _snprintf \
15513 _spawnvp \
15514 _strdup \
15515 _stricmp \
15516 _strnicmp \
15517 _strtoi64 \
15518 _strtoui64 \
15519 _vsnprintf \
15520 asctime_r \
15521 chsize \
15522 dlopen \
15523 epoll_create \
15524 ffs \
15525 finitef \
15526 fnmatch \
15527 fork \
15528 fpclass \
15529 fstatfs \
15530 fstatvfs \
15531 ftruncate \
15532 futimens \
15533 futimes \
15534 futimesat \
15535 getattrlist \
15536 getauxval \
15537 getifaddrs \
15538 getopt_long_only \
15539 getpwuid \
15540 gettimeofday \
15541 getuid \
15542 isnanf \
15543 kqueue \
15544 lstat \
15545 memmove \
15546 mmap \
15547 pclose \
15548 pipe2 \
15549 poll \
15550 popen \
15551 port_create \
15552 prctl \
15553 pread \
15554 proc_pidinfo \
15555 pwrite \
15556 readdir \
15557 readlink \
15558 sched_yield \
15559 select \
15560 setproctitle \
15561 setprogname \
15562 setrlimit \
15563 settimeofday \
15564 sigaltstack \
15565 sigprocmask \
15566 snprintf \
15567 statfs \
15568 statvfs \
15569 strcasecmp \
15570 strdup \
15571 strerror \
15572 strncasecmp \
15573 strtold \
15574 strtoll \
15575 strtoull \
15576 symlink \
15577 sysinfo \
15578 tcdrain \
15579 thr_kill2 \
15580 timegm \
15581 usleep \
15582 vsnprintf
15584 do :
15585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15590 _ACEOF
15593 done
15595 CFLAGS="$ac_save_CFLAGS"
15597 if test "$ac_cv_func_dlopen" = no
15598 then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15601 if ${ac_cv_lib_dl_dlopen+:} false; then :
15602 $as_echo_n "(cached) " >&6
15603 else
15604 ac_check_lib_save_LIBS=$LIBS
15605 LIBS="-ldl $LIBS"
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15609 /* Override any GCC internal prototype to avoid an error.
15610 Use char because int might match the return type of a GCC
15611 builtin and then its argument prototype would still apply. */
15612 #ifdef __cplusplus
15613 extern "C"
15614 #endif
15615 char dlopen ();
15617 main ()
15619 return dlopen ();
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 ac_cv_lib_dl_dlopen=yes
15626 else
15627 ac_cv_lib_dl_dlopen=no
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_lib_save_LIBS
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15635 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15636 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15637 DL_LIBS="-ldl"
15642 ac_wine_check_funcs_save_LIBS="$LIBS"
15643 LIBS="$LIBS $DL_LIBS"
15644 for ac_func in dladdr
15645 do :
15646 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15647 if test "x$ac_cv_func_dladdr" = xyes; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_DLADDR 1
15650 _ACEOF
15653 done
15655 LIBS="$ac_wine_check_funcs_save_LIBS"
15657 if test "$ac_cv_func_poll" = no
15658 then
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15660 $as_echo_n "checking for poll in -lpoll... " >&6; }
15661 if ${ac_cv_lib_poll_poll+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 ac_check_lib_save_LIBS=$LIBS
15665 LIBS="-lpoll $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 #ifdef __cplusplus
15673 extern "C"
15674 #endif
15675 char poll ();
15677 main ()
15679 return poll ();
15681 return 0;
15683 _ACEOF
15684 if ac_fn_c_try_link "$LINENO"; then :
15685 ac_cv_lib_poll_poll=yes
15686 else
15687 ac_cv_lib_poll_poll=no
15689 rm -f core conftest.err conftest.$ac_objext \
15690 conftest$ac_exeext conftest.$ac_ext
15691 LIBS=$ac_check_lib_save_LIBS
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15694 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15695 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15696 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15697 POLL_LIBS="-lpoll"
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15704 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15705 if ${ac_cv_search_gethostbyname+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 ac_func_search_save_LIBS=$LIBS
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 #ifdef __cplusplus
15716 extern "C"
15717 #endif
15718 char gethostbyname ();
15720 main ()
15722 return gethostbyname ();
15724 return 0;
15726 _ACEOF
15727 for ac_lib in '' nsl; do
15728 if test -z "$ac_lib"; then
15729 ac_res="none required"
15730 else
15731 ac_res=-l$ac_lib
15732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15734 if ac_fn_c_try_link "$LINENO"; then :
15735 ac_cv_search_gethostbyname=$ac_res
15737 rm -f core conftest.err conftest.$ac_objext \
15738 conftest$ac_exeext
15739 if ${ac_cv_search_gethostbyname+:} false; then :
15740 break
15742 done
15743 if ${ac_cv_search_gethostbyname+:} false; then :
15745 else
15746 ac_cv_search_gethostbyname=no
15748 rm conftest.$ac_ext
15749 LIBS=$ac_func_search_save_LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15752 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15753 ac_res=$ac_cv_search_gethostbyname
15754 if test "$ac_res" != no; then :
15755 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15761 $as_echo_n "checking for library containing connect... " >&6; }
15762 if ${ac_cv_search_connect+:} false; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15765 ac_func_search_save_LIBS=$LIBS
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15769 /* Override any GCC internal prototype to avoid an error.
15770 Use char because int might match the return type of a GCC
15771 builtin and then its argument prototype would still apply. */
15772 #ifdef __cplusplus
15773 extern "C"
15774 #endif
15775 char connect ();
15777 main ()
15779 return connect ();
15781 return 0;
15783 _ACEOF
15784 for ac_lib in '' socket; do
15785 if test -z "$ac_lib"; then
15786 ac_res="none required"
15787 else
15788 ac_res=-l$ac_lib
15789 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15791 if ac_fn_c_try_link "$LINENO"; then :
15792 ac_cv_search_connect=$ac_res
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext
15796 if ${ac_cv_search_connect+:} false; then :
15797 break
15799 done
15800 if ${ac_cv_search_connect+:} false; then :
15802 else
15803 ac_cv_search_connect=no
15805 rm conftest.$ac_ext
15806 LIBS=$ac_func_search_save_LIBS
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15809 $as_echo "$ac_cv_search_connect" >&6; }
15810 ac_res=$ac_cv_search_connect
15811 if test "$ac_res" != no; then :
15812 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15818 $as_echo_n "checking for library containing inet_aton... " >&6; }
15819 if ${ac_cv_search_inet_aton+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_func_search_save_LIBS=$LIBS
15823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15826 /* Override any GCC internal prototype to avoid an error.
15827 Use char because int might match the return type of a GCC
15828 builtin and then its argument prototype would still apply. */
15829 #ifdef __cplusplus
15830 extern "C"
15831 #endif
15832 char inet_aton ();
15834 main ()
15836 return inet_aton ();
15838 return 0;
15840 _ACEOF
15841 for ac_lib in '' resolv; do
15842 if test -z "$ac_lib"; then
15843 ac_res="none required"
15844 else
15845 ac_res=-l$ac_lib
15846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15848 if ac_fn_c_try_link "$LINENO"; then :
15849 ac_cv_search_inet_aton=$ac_res
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext
15853 if ${ac_cv_search_inet_aton+:} false; then :
15854 break
15856 done
15857 if ${ac_cv_search_inet_aton+:} false; then :
15859 else
15860 ac_cv_search_inet_aton=no
15862 rm conftest.$ac_ext
15863 LIBS=$ac_func_search_save_LIBS
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15866 $as_echo "$ac_cv_search_inet_aton" >&6; }
15867 ac_res=$ac_cv_search_inet_aton
15868 if test "$ac_res" != no; then :
15869 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15874 for ac_func in \
15875 getaddrinfo \
15876 getnameinfo \
15877 getnetbyname \
15878 getprotobyname \
15879 getprotobynumber \
15880 getservbyport \
15881 inet_addr \
15882 inet_network \
15883 inet_ntop \
15884 inet_pton \
15885 sendmsg \
15886 socketpair \
15888 do :
15889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15894 _ACEOF
15897 done
15900 ac_save_LIBS=$LIBS
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15902 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15903 if ${ac_cv_search_clock_gettime+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 ac_func_search_save_LIBS=$LIBS
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 #ifdef __cplusplus
15914 extern "C"
15915 #endif
15916 char clock_gettime ();
15918 main ()
15920 return clock_gettime ();
15922 return 0;
15924 _ACEOF
15925 for ac_lib in '' rt; do
15926 if test -z "$ac_lib"; then
15927 ac_res="none required"
15928 else
15929 ac_res=-l$ac_lib
15930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15932 if ac_fn_c_try_link "$LINENO"; then :
15933 ac_cv_search_clock_gettime=$ac_res
15935 rm -f core conftest.err conftest.$ac_objext \
15936 conftest$ac_exeext
15937 if ${ac_cv_search_clock_gettime+:} false; then :
15938 break
15940 done
15941 if ${ac_cv_search_clock_gettime+:} false; then :
15943 else
15944 ac_cv_search_clock_gettime=no
15946 rm conftest.$ac_ext
15947 LIBS=$ac_func_search_save_LIBS
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15950 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15951 ac_res=$ac_cv_search_clock_gettime
15952 if test "$ac_res" != no; then :
15953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15955 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15957 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15961 LIBS=$ac_save_LIBS
15963 if test "x$with_ldap" != "xno"
15964 then
15965 if ${LDAP_CFLAGS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15971 if ${LDAP_LIBS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15977 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15978 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15980 ac_save_CPPFLAGS=$CPPFLAGS
15981 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15982 for ac_header in ldap.h lber.h
15983 do :
15984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15989 _ACEOF
15993 done
15995 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15996 then
15997 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15999 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16001 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16002 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16003 $as_echo_n "(cached) " >&6
16004 else
16005 ac_check_lib_save_LIBS=$LIBS
16006 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16010 /* Override any GCC internal prototype to avoid an error.
16011 Use char because int might match the return type of a GCC
16012 builtin and then its argument prototype would still apply. */
16013 #ifdef __cplusplus
16014 extern "C"
16015 #endif
16016 char ldap_initialize ();
16018 main ()
16020 return ldap_initialize ();
16022 return 0;
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"; then :
16026 ac_cv_lib_ldap_r_ldap_initialize=yes
16027 else
16028 ac_cv_lib_ldap_r_ldap_initialize=no
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16032 LIBS=$ac_check_lib_save_LIBS
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16035 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16036 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16038 $as_echo_n "checking for ber_init in -llber... " >&6; }
16039 if ${ac_cv_lib_lber_ber_init+:} false; then :
16040 $as_echo_n "(cached) " >&6
16041 else
16042 ac_check_lib_save_LIBS=$LIBS
16043 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16045 /* end confdefs.h. */
16047 /* Override any GCC internal prototype to avoid an error.
16048 Use char because int might match the return type of a GCC
16049 builtin and then its argument prototype would still apply. */
16050 #ifdef __cplusplus
16051 extern "C"
16052 #endif
16053 char ber_init ();
16055 main ()
16057 return ber_init ();
16059 return 0;
16061 _ACEOF
16062 if ac_fn_c_try_link "$LINENO"; then :
16063 ac_cv_lib_lber_ber_init=yes
16064 else
16065 ac_cv_lib_lber_ber_init=no
16067 rm -f core conftest.err conftest.$ac_objext \
16068 conftest$ac_exeext conftest.$ac_ext
16069 LIBS=$ac_check_lib_save_LIBS
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16072 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16073 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16075 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16077 else
16078 LDAP_LIBS=""
16081 else
16082 LDAP_LIBS=""
16085 else
16086 LDAP_LIBS=""
16089 ac_wine_check_funcs_save_LIBS="$LIBS"
16090 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16091 for ac_func in \
16092 ldap_count_references \
16093 ldap_first_reference \
16094 ldap_next_reference \
16095 ldap_parse_reference \
16096 ldap_parse_sort_control \
16097 ldap_parse_sortresponse_control \
16098 ldap_parse_vlv_control \
16099 ldap_parse_vlvresponse_control
16100 do :
16101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16106 _ACEOF
16109 done
16111 LIBS="$ac_wine_check_funcs_save_LIBS"
16112 else
16113 LDAP_LIBS=""
16115 CPPFLAGS=$ac_save_CPPFLAGS
16116 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16117 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16120 if test "x$LDAP_LIBS" = "x"; then :
16121 case "x$with_ldap" in
16122 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16123 xno) ;;
16124 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16125 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16126 esac
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16131 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16132 if ${wine_cv_one_arg_mkdir+:} false; then :
16133 $as_echo_n "(cached) " >&6
16134 else
16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16137 #include <sys/stat.h>
16139 main ()
16141 mkdir("foo");
16143 return 0;
16145 _ACEOF
16146 if ac_fn_c_try_compile "$LINENO"; then :
16147 wine_cv_one_arg_mkdir=yes
16148 else
16149 wine_cv_one_arg_mkdir=no
16151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16154 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16155 if test "$wine_cv_one_arg_mkdir" = "yes"
16156 then
16158 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16163 $as_echo_n "checking for sched_setaffinity... " >&6; }
16164 if ${wine_cv_have_sched_setaffinity+:} false; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16169 #define _GNU_SOURCE
16170 #include <sched.h>
16172 main ()
16174 sched_setaffinity(0, 0, 0);
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 wine_cv_have_sched_setaffinity=yes
16181 else
16182 wine_cv_have_sched_setaffinity=no
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16188 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16189 if test "$wine_cv_have_sched_setaffinity" = "yes"
16190 then
16192 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16197 $as_echo_n "checking for fallocate... " >&6; }
16198 if ${wine_cv_have_fallocate+:} false; then :
16199 $as_echo_n "(cached) " >&6
16200 else
16201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16203 #define _GNU_SOURCE
16204 #include <fcntl.h>
16206 main ()
16208 fallocate(-1, 0, 0, 0);
16210 return 0;
16212 _ACEOF
16213 if ac_fn_c_try_link "$LINENO"; then :
16214 wine_cv_have_fallocate=yes
16215 else
16216 wine_cv_have_fallocate=no
16218 rm -f core conftest.err conftest.$ac_objext \
16219 conftest$ac_exeext conftest.$ac_ext
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16222 $as_echo "$wine_cv_have_fallocate" >&6; }
16223 if test "$wine_cv_have_fallocate" = "yes"
16224 then
16226 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16232 $as_echo_n "checking for inline... " >&6; }
16233 if ${ac_cv_c_inline+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 ac_cv_c_inline=no
16237 for ac_kw in inline __inline__ __inline; do
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 #ifndef __cplusplus
16241 typedef int foo_t;
16242 static $ac_kw foo_t static_foo () {return 0; }
16243 $ac_kw foo_t foo () {return 0; }
16244 #endif
16246 _ACEOF
16247 if ac_fn_c_try_compile "$LINENO"; then :
16248 ac_cv_c_inline=$ac_kw
16250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16251 test "$ac_cv_c_inline" != no && break
16252 done
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16256 $as_echo "$ac_cv_c_inline" >&6; }
16258 case $ac_cv_c_inline in
16259 inline | yes) ;;
16261 case $ac_cv_c_inline in
16262 no) ac_val=;;
16263 *) ac_val=$ac_cv_c_inline;;
16264 esac
16265 cat >>confdefs.h <<_ACEOF
16266 #ifndef __cplusplus
16267 #define inline $ac_val
16268 #endif
16269 _ACEOF
16271 esac
16273 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16274 if test "x$ac_cv_type_mode_t" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_MODE_T 1
16278 _ACEOF
16282 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16283 if test "x$ac_cv_type_off_t" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_OFF_T 1
16287 _ACEOF
16291 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16292 if test "x$ac_cv_type_pid_t" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_PID_T 1
16296 _ACEOF
16300 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16301 if test "x$ac_cv_type_size_t" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_SIZE_T 1
16305 _ACEOF
16309 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16310 if test "x$ac_cv_type_ssize_t" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_SSIZE_T 1
16314 _ACEOF
16318 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16319 if test "x$ac_cv_type_long_long" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_LONG_LONG 1
16323 _ACEOF
16327 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16328 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_FSBLKCNT_T 1
16332 _ACEOF
16336 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16337 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_FSFILCNT_T 1
16341 _ACEOF
16346 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16347 #include <signal.h>
16349 if test "x$ac_cv_type_sigset_t" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_SIGSET_T 1
16353 _ACEOF
16358 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16360 if test "x$ac_cv_type_request_sense" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_REQUEST_SENSE 1
16364 _ACEOF
16370 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16371 #ifdef HAVE_SYS_SOCKET_H
16372 #include <sys/socket.h>
16373 #endif
16374 #ifdef HAVE_SYS_SOCKETVAR_H
16375 #include <sys/socketvar.h>
16376 #endif
16377 #ifdef HAVE_NET_ROUTE_H
16378 #include <net/route.h>
16379 #endif
16380 #ifdef HAVE_NETINET_IN_H
16381 #include <netinet/in.h>
16382 #endif
16383 #ifdef HAVE_NETINET_IN_SYSTM_H
16384 #include <netinet/in_systm.h>
16385 #endif
16386 #ifdef HAVE_NETINET_IP_H
16387 #include <netinet/ip.h>
16388 #endif
16389 #ifdef HAVE_NETINET_IN_PCB_H
16390 #include <netinet/in_pcb.h>
16391 #endif
16393 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_STRUCT_XINPGEN 1
16397 _ACEOF
16403 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16404 #include <link.h>
16405 #endif
16406 #ifdef HAVE_SYS_LINK_H
16407 #include <sys/link.h>
16408 #endif
16410 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_R_DEBUG 1
16414 _ACEOF
16418 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16419 #include <link.h>
16420 #endif
16421 #ifdef HAVE_SYS_LINK_H
16422 #include <sys/link.h>
16423 #endif
16425 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_LINK_MAP 1
16429 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16436 #include <linux/input.h>
16437 #endif
16439 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16443 _ACEOF
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16450 $as_echo_n "checking for if_nameindex... " >&6; }
16451 if ${wine_cv_have_if_nameindex+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #ifdef HAVE_SYS_TYPES_H
16457 #include <sys/types.h>
16458 #endif
16459 #ifdef HAVE_SYS_SOCKET_H
16460 #include <sys/socket.h>
16461 #endif
16462 #ifdef HAVE_NET_IF_H
16463 # include <net/if.h>
16464 #endif
16466 main ()
16468 struct if_nameindex *p = if_nameindex(); return p->if_index;
16470 return 0;
16472 _ACEOF
16473 if ac_fn_c_try_link "$LINENO"; then :
16474 wine_cv_have_if_nameindex=yes
16475 else
16476 wine_cv_have_if_nameindex=no
16478 rm -f core conftest.err conftest.$ac_objext \
16479 conftest$ac_exeext conftest.$ac_ext
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16482 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16483 if test "$wine_cv_have_if_nameindex" = "yes"
16484 then
16486 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16491 $as_echo_n "checking for sigaddset... " >&6; }
16492 if ${wine_cv_have_sigaddset+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16497 #include <signal.h>
16499 main ()
16501 sigset_t set; sigaddset(&set,SIGTERM);
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 wine_cv_have_sigaddset=yes
16508 else
16509 wine_cv_have_sigaddset=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_sigaddset" >&5
16515 $as_echo "$wine_cv_have_sigaddset" >&6; }
16516 if test "$wine_cv_have_sigaddset" = "yes"
16517 then
16519 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16525 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16526 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16527 $as_echo_n "(cached) " >&6
16528 else
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <netdb.h>
16533 main ()
16536 char *name=0;
16537 struct hostent he;
16538 struct hostent *result;
16539 char *buf=0;
16540 int bufsize=0;
16541 int errnr;
16542 char *addr=0;
16543 int addrlen=0;
16544 int addrtype=0;
16545 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16546 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"; then :
16553 wine_cv_linux_gethostbyname_r_6=yes
16554 else
16555 wine_cv_linux_gethostbyname_r_6=no
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16563 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16564 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16565 then
16567 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16571 if test "$ac_cv_header_linux_joystick_h" = "yes"
16572 then
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16574 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16575 if ${wine_cv_linux_joystick_22_api+:} false; then :
16576 $as_echo_n "(cached) " >&6
16577 else
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16581 #include <sys/ioctl.h>
16582 #include <sys/types.h>
16583 #include <linux/joystick.h>
16585 struct js_event blub;
16586 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16587 #error "no 2.2 header"
16588 #endif
16591 main ()
16593 /*empty*/
16595 return 0;
16597 _ACEOF
16598 if ac_fn_c_try_compile "$LINENO"; then :
16599 wine_cv_linux_joystick_22_api=yes
16600 else
16601 wine_cv_linux_joystick_22_api=no
16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16607 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16608 if test "$wine_cv_linux_joystick_22_api" = "yes"
16609 then
16611 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16617 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16618 #ifdef HAVE_SYS_PARAM_H
16619 # include <sys/param.h>
16620 #endif
16621 #ifdef HAVE_SYS_MOUNT_H
16622 # include <sys/mount.h>
16623 #endif
16624 #ifdef HAVE_SYS_VFS_H
16625 # include <sys/vfs.h>
16626 #endif
16627 #ifdef HAVE_SYS_STATFS_H
16628 # include <sys/statfs.h>
16629 #endif
16631 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STATFS_F_BFREE 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16640 #ifdef HAVE_SYS_PARAM_H
16641 # include <sys/param.h>
16642 #endif
16643 #ifdef HAVE_SYS_MOUNT_H
16644 # include <sys/mount.h>
16645 #endif
16646 #ifdef HAVE_SYS_VFS_H
16647 # include <sys/vfs.h>
16648 #endif
16649 #ifdef HAVE_SYS_STATFS_H
16650 # include <sys/statfs.h>
16651 #endif
16653 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16657 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16662 #ifdef HAVE_SYS_PARAM_H
16663 # include <sys/param.h>
16664 #endif
16665 #ifdef HAVE_SYS_MOUNT_H
16666 # include <sys/mount.h>
16667 #endif
16668 #ifdef HAVE_SYS_VFS_H
16669 # include <sys/vfs.h>
16670 #endif
16671 #ifdef HAVE_SYS_STATFS_H
16672 # include <sys/statfs.h>
16673 #endif
16675 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16679 _ACEOF
16683 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16684 #ifdef HAVE_SYS_PARAM_H
16685 # include <sys/param.h>
16686 #endif
16687 #ifdef HAVE_SYS_MOUNT_H
16688 # include <sys/mount.h>
16689 #endif
16690 #ifdef HAVE_SYS_VFS_H
16691 # include <sys/vfs.h>
16692 #endif
16693 #ifdef HAVE_SYS_STATFS_H
16694 # include <sys/statfs.h>
16695 #endif
16697 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT_STATFS_F_FFREE 1
16701 _ACEOF
16705 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16706 #ifdef HAVE_SYS_PARAM_H
16707 # include <sys/param.h>
16708 #endif
16709 #ifdef HAVE_SYS_MOUNT_H
16710 # include <sys/mount.h>
16711 #endif
16712 #ifdef HAVE_SYS_VFS_H
16713 # include <sys/vfs.h>
16714 #endif
16715 #ifdef HAVE_SYS_STATFS_H
16716 # include <sys/statfs.h>
16717 #endif
16719 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16723 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16728 #ifdef HAVE_SYS_PARAM_H
16729 # include <sys/param.h>
16730 #endif
16731 #ifdef HAVE_SYS_MOUNT_H
16732 # include <sys/mount.h>
16733 #endif
16734 #ifdef HAVE_SYS_VFS_H
16735 # include <sys/vfs.h>
16736 #endif
16737 #ifdef HAVE_SYS_STATFS_H
16738 # include <sys/statfs.h>
16739 #endif
16741 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16743 cat >>confdefs.h <<_ACEOF
16744 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16745 _ACEOF
16751 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16752 #include <sys/statvfs.h>
16753 #endif
16755 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16759 _ACEOF
16765 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16766 #include <dirent.h>
16767 #endif
16769 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16773 _ACEOF
16779 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16780 #ifdef HAVE_SYS_SOCKET_H
16781 # include <sys/socket.h>
16782 #endif
16783 #ifdef HAVE_SYS_UN_H
16784 # include <sys/un.h>
16785 #endif
16787 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16789 cat >>confdefs.h <<_ACEOF
16790 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16791 _ACEOF
16795 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16796 #ifdef HAVE_SYS_SOCKET_H
16797 # include <sys/socket.h>
16798 #endif
16799 #ifdef HAVE_SYS_UN_H
16800 # include <sys/un.h>
16801 #endif
16803 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16807 _ACEOF
16811 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16812 #ifdef HAVE_SYS_SOCKET_H
16813 # include <sys/socket.h>
16814 #endif
16815 #ifdef HAVE_SYS_UN_H
16816 # include <sys/un.h>
16817 #endif
16819 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16821 cat >>confdefs.h <<_ACEOF
16822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16823 _ACEOF
16829 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16830 #ifdef HAVE_SCSI_SG_H
16831 #include <scsi/sg.h>
16832 #endif
16834 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_SCSIREQ_T_CMD 1
16838 _ACEOF
16842 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>
16843 #ifdef HAVE_SCSI_SG_H
16844 #include <scsi/sg.h>
16845 #endif
16847 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16851 _ACEOF
16857 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16859 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_SIGINFO_T_SI_FD 1
16863 _ACEOF
16869 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16870 #ifdef HAVE_SYS_MTIO_H
16871 #include <sys/mtio.h>
16872 #endif
16874 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16878 _ACEOF
16882 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16883 #ifdef HAVE_SYS_MTIO_H
16884 #include <sys/mtio.h>
16885 #endif
16887 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16891 _ACEOF
16895 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16896 #ifdef HAVE_SYS_MTIO_H
16897 #include <sys/mtio.h>
16898 #endif
16900 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16904 _ACEOF
16910 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16911 #include <getopt.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_OPTION_NAME 1
16918 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16925 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16929 _ACEOF
16933 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16934 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16936 cat >>confdefs.h <<_ACEOF
16937 #define HAVE_STRUCT_STAT_ST_MTIM 1
16938 _ACEOF
16942 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16943 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16947 _ACEOF
16951 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16952 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_STAT_ST_CTIM 1
16956 _ACEOF
16960 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16961 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16965 _ACEOF
16969 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16970 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_STRUCT_STAT_ST_ATIM 1
16974 _ACEOF
16978 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16979 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16983 _ACEOF
16987 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16988 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16992 _ACEOF
16996 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16997 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17001 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17006 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17008 cat >>confdefs.h <<_ACEOF
17009 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17010 _ACEOF
17014 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17015 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17017 cat >>confdefs.h <<_ACEOF
17018 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17019 _ACEOF
17023 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17024 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17028 _ACEOF
17034 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
17035 #include <sys/types.h>
17036 #endif
17037 #ifdef HAVE_NETINET_IN_H
17038 #include <netinet/in.h>
17039 #endif
17041 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17045 _ACEOF
17051 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17052 #include <sys/types.h>
17053 #endif
17054 #ifdef HAVE_NETINET_IN_H
17055 #include <netinet/in.h>
17056 #endif
17057 #ifdef HAVE_RESOLV_H
17058 #include <resolv.h>
17059 #endif
17061 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_STRUCT___RES_STATE 1
17065 _ACEOF
17071 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
17072 #include <resolv.h>
17073 #endif
17075 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17077 cat >>confdefs.h <<_ACEOF
17078 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17079 _ACEOF
17085 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17086 #include <sys/types.h>
17087 #endif
17088 #ifdef HAVE_NETINET_IN_H
17089 # include <netinet/in.h>
17090 #endif
17091 #ifdef HAVE_ARPA_NAMESER_H
17092 # include <arpa/nameser.h>
17093 #endif
17095 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_NS_MSG__MSG_PTR 1
17099 _ACEOF
17105 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17106 #include <sys/types.h>
17107 #endif
17108 #ifdef HAVE_NETINET_IN_H
17109 #include <netinet/in.h>
17110 #endif
17111 #ifdef HAVE_NETINET_IP_H
17112 #include <netinet/ip.h>
17113 #endif
17114 #ifdef HAVE_NETINET_IP_ICMP_H
17115 #include <netinet/ip_icmp.h>
17116 #endif
17117 #ifdef HAVE_NETINET_ICMP_VAR_H
17118 #include <netinet/icmp_var.h>
17119 #endif
17121 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17125 _ACEOF
17131 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17132 #include <sys/types.h>
17133 #endif
17134 #ifdef HAVE_ALIAS_H
17135 #include <alias.h>
17136 #endif
17137 #ifdef HAVE_SYS_SOCKET_H
17138 #include <sys/socket.h>
17139 #endif
17140 #ifdef HAVE_SYS_SOCKETVAR_H
17141 #include <sys/socketvar.h>
17142 #endif
17143 #ifdef HAVE_SYS_TIMEOUT_H
17144 #include <sys/timeout.h>
17145 #endif
17146 #ifdef HAVE_NETINET_IN_H
17147 #include <netinet/in.h>
17148 #endif
17149 #ifdef HAVE_NETINET_IN_SYSTM_H
17150 #include <netinet/in_systm.h>
17151 #endif
17152 #ifdef HAVE_NETINET_IP_H
17153 #include <netinet/ip.h>
17154 #endif
17155 #ifdef HAVE_NETINET_IP_VAR_H
17156 #include <netinet/ip_var.h>
17157 #endif
17158 #ifdef HAVE_NETINET_IP_ICMP_H
17159 #include <netinet/ip_icmp.h>
17160 #endif
17161 #ifdef HAVE_NETINET_ICMP_VAR_H
17162 #include <netinet/icmp_var.h>
17163 #endif
17165 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17167 cat >>confdefs.h <<_ACEOF
17168 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17169 _ACEOF
17175 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17176 #include <sys/types.h>
17177 #endif
17178 #ifdef HAVE_SYS_SOCKETVAR_H
17179 #include <sys/socketvar.h>
17180 #endif
17181 #ifdef HAVE_NETINET_IN_H
17182 #include <netinet/in.h>
17183 #endif
17184 #ifdef HAVE_NETINET_IP_VAR_H
17185 #include <netinet/ip_var.h>
17186 #endif
17188 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17192 _ACEOF
17198 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
17199 #include <netinet/ip_var.h>
17200 #endif
17202 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17206 _ACEOF
17212 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17213 #include <sys/types.h>
17214 #endif
17215 #ifdef HAVE_SYS_SOCKETVAR_H
17216 #include <sys/socketvar.h>
17217 #endif
17218 #ifdef HAVE_NETINET_IN_H
17219 #include <netinet/in.h>
17220 #endif
17221 #ifdef HAVE_NETINET_TCP_H
17222 #include <netinet/tcp.h>
17223 #endif
17224 #ifdef HAVE_NETINET_TCP_VAR_H
17225 #include <netinet/tcp_var.h>
17226 #endif
17228 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17232 _ACEOF
17238 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
17239 #include <netinet/tcp_var.h>
17240 #endif
17242 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17246 _ACEOF
17252 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17253 #include <sys/types.h>
17254 #endif
17255 #ifdef HAVE_NETINET_IN_H
17256 #include <netinet/in.h>
17257 #endif
17258 #ifdef HAVE_NETINET_IP_VAR_H
17259 #include <netinet/ip_var.h>
17260 #endif
17261 #ifdef HAVE_NETINET_UDP_H
17262 #include <netinet/udp.h>
17263 #endif
17264 #ifdef HAVE_NETINET_UDP_VAR_H
17265 #include <netinet/udp_var.h>
17266 #endif
17268 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17272 _ACEOF
17278 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17279 #include <sys/types.h>
17280 #endif
17281 #ifdef HAVE_NET_IF_H
17282 # include <net/if.h>
17283 #endif
17285 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17289 _ACEOF
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17296 $as_echo_n "checking for timezone variable... " >&6; }
17297 if ${ac_cv_have_timezone+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302 #include <time.h>
17304 main ()
17306 timezone = 1
17308 return 0;
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_have_timezone="yes"
17313 else
17314 ac_cv_have_timezone="no"
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17320 $as_echo "$ac_cv_have_timezone" >&6; }
17321 if test "$ac_cv_have_timezone" = "yes"
17322 then
17324 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17328 $as_echo_n "checking for daylight variable... " >&6; }
17329 if ${ac_cv_have_daylight+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 #include <time.h>
17336 main ()
17338 daylight = 1
17340 return 0;
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_have_daylight="yes"
17345 else
17346 ac_cv_have_daylight="no"
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17352 $as_echo "$ac_cv_have_daylight" >&6; }
17353 if test "$ac_cv_have_daylight" = "yes"
17354 then
17356 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17360 ac_save_LIBS="$LIBS"
17361 LIBS="$LIBS -lm"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17363 $as_echo_n "checking for isfinite... " >&6; }
17364 if ${ac_cv_have_isfinite+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #define _GNU_SOURCE
17370 #include <math.h>
17372 main ()
17374 float f = 0.0; return isfinite(f)
17376 return 0;
17378 _ACEOF
17379 if ac_fn_c_try_link "$LINENO"; then :
17380 ac_cv_have_isfinite="yes"
17381 else
17382 ac_cv_have_isfinite="no"
17384 rm -f core conftest.err conftest.$ac_objext \
17385 conftest$ac_exeext conftest.$ac_ext
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17388 $as_echo "$ac_cv_have_isfinite" >&6; }
17389 if test "$ac_cv_have_isfinite" = "yes"
17390 then
17392 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17397 $as_echo_n "checking for isinf... " >&6; }
17398 if ${ac_cv_have_isinf+:} false; then :
17399 $as_echo_n "(cached) " >&6
17400 else
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 #include <math.h>
17405 main ()
17407 float f = 0.0; return isinf(f)
17409 return 0;
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_have_isinf="yes"
17414 else
17415 ac_cv_have_isinf="no"
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17421 $as_echo "$ac_cv_have_isinf" >&6; }
17422 if test "$ac_cv_have_isinf" = "yes"
17423 then
17425 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17430 $as_echo_n "checking for isnan... " >&6; }
17431 if ${ac_cv_have_isnan+:} false; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 #include <math.h>
17438 main ()
17440 float f = 0.0; return isnan(f)
17442 return 0;
17444 _ACEOF
17445 if ac_fn_c_try_link "$LINENO"; then :
17446 ac_cv_have_isnan="yes"
17447 else
17448 ac_cv_have_isnan="no"
17450 rm -f core conftest.err conftest.$ac_objext \
17451 conftest$ac_exeext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17454 $as_echo "$ac_cv_have_isnan" >&6; }
17455 if test "$ac_cv_have_isnan" = "yes"
17456 then
17458 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17462 for ac_func in \
17463 acosh \
17464 acoshf \
17465 asinh \
17466 asinhf \
17467 atanh \
17468 atanhf \
17469 cbrt \
17470 cbrtf \
17471 erf \
17472 erfc \
17473 erfcf \
17474 erff \
17475 exp2 \
17476 exp2f \
17477 expm1 \
17478 expm1f \
17479 lgamma \
17480 lgammaf \
17481 llrint \
17482 llrintf \
17483 llround \
17484 llroundf \
17485 log1p \
17486 log1pf \
17487 log2 \
17488 log2f \
17489 lrint \
17490 lrintf \
17491 lround \
17492 lroundf \
17493 nearbyint \
17494 nearbyintf \
17495 powl \
17496 remainder \
17497 remainderf \
17498 rint \
17499 rintf \
17500 round \
17501 roundf \
17502 trunc \
17503 truncf
17505 do :
17506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17509 cat >>confdefs.h <<_ACEOF
17510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17511 _ACEOF
17514 done
17516 LIBS="$ac_save_LIBS"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17519 $as_echo_n "checking for __builtin_clz... " >&6; }
17520 if ${ac_cv_have___builtin_clz+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17527 main ()
17529 return __builtin_clz(1)
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_link "$LINENO"; then :
17535 ac_cv_have___builtin_clz="yes"
17536 else
17537 ac_cv_have___builtin_clz="no"
17539 rm -f core conftest.err conftest.$ac_objext \
17540 conftest$ac_exeext conftest.$ac_ext
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17543 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17544 if test "$ac_cv_have___builtin_clz" = "yes"
17545 then
17547 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17552 $as_echo_n "checking for __builtin_popcount... " >&6; }
17553 if ${ac_cv_have___builtin_popcount+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17560 main ()
17562 return __builtin_popcount(1)
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 ac_cv_have___builtin_popcount="yes"
17569 else
17570 ac_cv_have___builtin_popcount="no"
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17576 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17577 if test "$ac_cv_have___builtin_popcount" = "yes"
17578 then
17580 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17585 case $host_cpu in
17586 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17587 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17588 if ${ac_cv_cpp_def___i386__+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #ifndef __i386__
17595 #endif
17596 _ACEOF
17597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17598 $EGREP "yes" >/dev/null 2>&1; then :
17599 ac_cv_cpp_def___i386__=yes
17600 else
17601 ac_cv_cpp_def___i386__=no
17603 rm -f conftest*
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17607 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17608 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17609 CFLAGS="$CFLAGS -D__i386__"
17610 LINTFLAGS="$LINTFLAGS -D__i386__"
17611 fi ;;
17612 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17613 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17614 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #ifndef __x86_64__
17621 #endif
17622 _ACEOF
17623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17624 $EGREP "yes" >/dev/null 2>&1; then :
17625 ac_cv_cpp_def___x86_64__=yes
17626 else
17627 ac_cv_cpp_def___x86_64__=no
17629 rm -f conftest*
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17633 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17634 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17635 CFLAGS="$CFLAGS -D__x86_64__"
17636 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17637 fi ;;
17638 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17639 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17640 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #ifndef __sparc64__
17647 #endif
17648 _ACEOF
17649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17650 $EGREP "yes" >/dev/null 2>&1; then :
17651 ac_cv_cpp_def___sparc64__=yes
17652 else
17653 ac_cv_cpp_def___sparc64__=no
17655 rm -f conftest*
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17659 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17660 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17661 CFLAGS="$CFLAGS -D__sparc64__"
17662 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17663 fi ;;
17664 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17665 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17666 if ${ac_cv_cpp_def___sparc__+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 #ifndef __sparc__
17673 #endif
17674 _ACEOF
17675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17676 $EGREP "yes" >/dev/null 2>&1; then :
17677 ac_cv_cpp_def___sparc__=yes
17678 else
17679 ac_cv_cpp_def___sparc__=no
17681 rm -f conftest*
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17685 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17686 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17687 CFLAGS="$CFLAGS -D__sparc__"
17688 LINTFLAGS="$LINTFLAGS -D__sparc__"
17689 fi ;;
17690 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17691 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17692 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #ifndef __powerpc64__
17699 #endif
17700 _ACEOF
17701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17702 $EGREP "yes" >/dev/null 2>&1; then :
17703 ac_cv_cpp_def___powerpc64__=yes
17704 else
17705 ac_cv_cpp_def___powerpc64__=no
17707 rm -f conftest*
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17711 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17712 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17713 CFLAGS="$CFLAGS -D__powerpc64__"
17714 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17715 fi ;;
17716 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17717 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17718 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #ifndef __powerpc__
17725 #endif
17726 _ACEOF
17727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17728 $EGREP "yes" >/dev/null 2>&1; then :
17729 ac_cv_cpp_def___powerpc__=yes
17730 else
17731 ac_cv_cpp_def___powerpc__=no
17733 rm -f conftest*
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17737 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17738 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17739 CFLAGS="$CFLAGS -D__powerpc__"
17740 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17741 fi ;;
17742 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17743 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17744 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 #ifndef __aarch64__
17751 #endif
17752 _ACEOF
17753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17754 $EGREP "yes" >/dev/null 2>&1; then :
17755 ac_cv_cpp_def___aarch64__=yes
17756 else
17757 ac_cv_cpp_def___aarch64__=no
17759 rm -f conftest*
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17763 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17764 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17765 CFLAGS="$CFLAGS -D__aarch64__"
17766 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17767 fi ;;
17768 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17769 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17770 if ${ac_cv_cpp_def___arm__+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #ifndef __arm__
17777 #endif
17778 _ACEOF
17779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17780 $EGREP "yes" >/dev/null 2>&1; then :
17781 ac_cv_cpp_def___arm__=yes
17782 else
17783 ac_cv_cpp_def___arm__=no
17785 rm -f conftest*
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17789 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17790 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17791 CFLAGS="$CFLAGS -D__arm__"
17792 LINTFLAGS="$LINTFLAGS -D__arm__"
17793 fi ;;
17794 esac
17796 case $host_vendor in
17797 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17798 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17799 if ${ac_cv_cpp_def___sun__+:} false; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 #ifndef __sun__
17806 #endif
17807 _ACEOF
17808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17809 $EGREP "yes" >/dev/null 2>&1; then :
17810 ac_cv_cpp_def___sun__=yes
17811 else
17812 ac_cv_cpp_def___sun__=no
17814 rm -f conftest*
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17818 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17819 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17820 CFLAGS="$CFLAGS -D__sun__"
17821 LINTFLAGS="$LINTFLAGS -D__sun__"
17822 fi ;;
17823 esac
17829 ac_config_commands="$ac_config_commands include/stamp-h"
17831 $as_echo_n "creating Makefile rules..." >&6
17833 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17834 SOCKET_LIBS = $SOCKET_LIBS
17835 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17836 IOKIT_LIBS = $IOKIT_LIBS
17837 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17838 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17839 CORESERVICES_LIBS = $CORESERVICES_LIBS
17840 APPKIT_LIBS = $APPKIT_LIBS
17841 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17842 SECURITY_LIBS = $SECURITY_LIBS
17843 COREAUDIO_LIBS = $COREAUDIO_LIBS
17844 OPENAL_LIBS = $OPENAL_LIBS
17845 OPENCL_LIBS = $OPENCL_LIBS
17846 QUICKTIME_LIBS = $QUICKTIME_LIBS
17847 CARBON_LIBS = $CARBON_LIBS
17848 PTHREAD_LIBS = $PTHREAD_LIBS
17849 X_CFLAGS = $X_CFLAGS
17850 X_PRE_LIBS = $X_PRE_LIBS
17851 X_LIBS = $X_LIBS
17852 X_EXTRA_LIBS = $X_EXTRA_LIBS
17853 PCAP_LIBS = $PCAP_LIBS
17854 XML2_CFLAGS = $XML2_CFLAGS
17855 XML2_LIBS = $XML2_LIBS
17856 XSLT_CFLAGS = $XSLT_CFLAGS
17857 XSLT_LIBS = $XSLT_LIBS
17858 DBUS_CFLAGS = $DBUS_CFLAGS
17859 DBUS_LIBS = $DBUS_LIBS
17860 HAL_CFLAGS = $HAL_CFLAGS
17861 HAL_LIBS = $HAL_LIBS
17862 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17863 GNUTLS_LIBS = $GNUTLS_LIBS
17864 SANE_CFLAGS = $SANE_CFLAGS
17865 SANE_LIBS = $SANE_LIBS
17866 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17867 GPHOTO2_LIBS = $GPHOTO2_LIBS
17868 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17869 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17870 RESOLV_LIBS = $RESOLV_LIBS
17871 LCMS2_CFLAGS = $LCMS2_CFLAGS
17872 LCMS2_LIBS = $LCMS2_LIBS
17873 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17874 FREETYPE_LIBS = $FREETYPE_LIBS
17875 Z_LIBS = $Z_LIBS
17876 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17877 PULSE_CFLAGS = $PULSE_CFLAGS
17878 PULSE_LIBS = $PULSE_LIBS
17879 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17880 GSTREAMER_LIBS = $GSTREAMER_LIBS
17881 ALSA_LIBS = $ALSA_LIBS
17882 OSS4_CFLAGS = $OSS4_CFLAGS
17883 UDEV_CFLAGS = $UDEV_CFLAGS
17884 UDEV_LIBS = $UDEV_LIBS
17885 CAPI20_CFLAGS = $CAPI20_CFLAGS
17886 CAPI20_LIBS = $CAPI20_LIBS
17887 CUPS_CFLAGS = $CUPS_CFLAGS
17888 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17889 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17890 JPEG_CFLAGS = $JPEG_CFLAGS
17891 JPEG_LIBS = $JPEG_LIBS
17892 PNG_CFLAGS = $PNG_CFLAGS
17893 PNG_LIBS = $PNG_LIBS
17894 TIFF_CFLAGS = $TIFF_CFLAGS
17895 TIFF_LIBS = $TIFF_LIBS
17896 MPG123_CFLAGS = $MPG123_CFLAGS
17897 MPG123_LIBS = $MPG123_LIBS
17898 KSTAT_LIBS = $KSTAT_LIBS
17899 PROCSTAT_LIBS = $PROCSTAT_LIBS
17900 NETAPI_CFLAGS = $NETAPI_CFLAGS
17901 NETAPI_LIBS = $NETAPI_LIBS
17902 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17903 DL_LIBS = $DL_LIBS
17904 POLL_LIBS = $POLL_LIBS
17905 RT_LIBS = $RT_LIBS
17906 LDAP_CFLAGS = $LDAP_CFLAGS
17907 LDAP_LIBS = $LDAP_LIBS
17912 wine_fn_append_rule "
17913 # Rules automatically generated by configure
17915 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17917 .INIT: Makefile
17918 .MAKEFILEDEPS:
17919 all: Makefile
17920 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17921 @./config.status Make.tmp Makefile
17922 depend: \$(MAKEDEP) dummy
17923 \$(MAKEDEP)"
17925 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17926 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17928 if test "x$enable_fonts" != xno; then
17929 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17930 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17931 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17932 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17933 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17934 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17936 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17937 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17938 ac_config_links="$ac_config_links wine:tools/winewrapper"
17939 wine_fn_config_symlink wine
17940 if test "x$enable_win64" != xno; then
17941 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17942 wine_fn_config_symlink wine64
17945 wine_fn_config_dll acledit enable_acledit
17946 wine_fn_config_dll aclui enable_aclui implib
17947 wine_fn_config_dll activeds enable_activeds implib
17948 wine_fn_config_dll actxprxy enable_actxprxy clean
17949 wine_fn_config_lib adsiid
17950 wine_fn_config_dll adsldpc enable_adsldpc
17951 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17952 wine_fn_config_test dlls/advapi32/tests advapi32_test
17953 wine_fn_config_dll advpack enable_advpack implib
17954 wine_fn_config_test dlls/advpack/tests advpack_test
17955 wine_fn_config_dll amstream enable_amstream clean
17956 wine_fn_config_test dlls/amstream/tests amstream_test
17957 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17958 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17959 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17966 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17969 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17971 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17973 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17975 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17979 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17980 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17982 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17984 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17986 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17987 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17990 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17993 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17997 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18004 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18006 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18007 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18010 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18014 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18015 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18018 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18026 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18027 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18035 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18038 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18043 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18049 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18050 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18052 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18064 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18065 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18072 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18087 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18088 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18089 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18097 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18098 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18102 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18103 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18104 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18105 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18106 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18107 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18108 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18109 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18110 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18111 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18114 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18116 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18117 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18121 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18122 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18124 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18125 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18127 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18128 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18129 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18130 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18131 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18132 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18133 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18134 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18135 wine_fn_config_dll apphelp enable_apphelp
18136 wine_fn_config_test dlls/apphelp/tests apphelp_test
18137 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18138 wine_fn_config_dll atl enable_atl clean,implib
18139 wine_fn_config_test dlls/atl/tests atl_test
18140 wine_fn_config_dll atl100 enable_atl100 clean,implib
18141 wine_fn_config_test dlls/atl100/tests atl100_test
18142 wine_fn_config_dll atl110 enable_atl110 clean
18143 wine_fn_config_dll atl80 enable_atl80 clean,implib
18144 wine_fn_config_test dlls/atl80/tests atl80_test
18145 wine_fn_config_dll atl90 enable_atl90 clean
18146 wine_fn_config_dll authz enable_authz
18147 wine_fn_config_dll avicap32 enable_avicap32 implib
18148 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18149 wine_fn_config_test dlls/avifil32/tests avifil32_test
18150 wine_fn_config_dll avifile.dll16 enable_win16
18151 wine_fn_config_dll avrt enable_avrt implib
18152 wine_fn_config_dll bcrypt enable_bcrypt implib
18153 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18154 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18155 wine_fn_config_dll browseui enable_browseui clean
18156 wine_fn_config_test dlls/browseui/tests browseui_test
18157 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18158 wine_fn_config_dll cabinet enable_cabinet implib
18159 wine_fn_config_test dlls/cabinet/tests cabinet_test
18160 wine_fn_config_dll capi2032 enable_capi2032 implib
18161 wine_fn_config_dll cards enable_cards implib
18162 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18163 wine_fn_config_dll clusapi enable_clusapi implib
18164 wine_fn_config_dll combase enable_combase
18165 wine_fn_config_test dlls/combase/tests combase_test
18166 wine_fn_config_dll comcat enable_comcat
18167 wine_fn_config_test dlls/comcat/tests comcat_test
18168 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18169 wine_fn_config_test dlls/comctl32/tests comctl32_test
18170 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18171 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18172 wine_fn_config_dll comm.drv16 enable_win16
18173 wine_fn_config_dll commdlg.dll16 enable_win16
18174 wine_fn_config_dll compobj.dll16 enable_win16
18175 wine_fn_config_dll compstui enable_compstui implib
18176 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18177 wine_fn_config_dll concrt140 enable_concrt140
18178 wine_fn_config_dll connect enable_connect
18179 wine_fn_config_dll credui enable_credui clean,implib
18180 wine_fn_config_test dlls/credui/tests credui_test
18181 wine_fn_config_dll crtdll enable_crtdll
18182 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18183 wine_fn_config_test dlls/crypt32/tests crypt32_test
18184 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18185 wine_fn_config_dll cryptdll enable_cryptdll implib
18186 wine_fn_config_dll cryptext enable_cryptext
18187 wine_fn_config_dll cryptnet enable_cryptnet implib
18188 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18189 wine_fn_config_dll cryptui enable_cryptui clean,implib
18190 wine_fn_config_test dlls/cryptui/tests cryptui_test
18191 wine_fn_config_dll ctapi32 enable_ctapi32
18192 wine_fn_config_dll ctl3d.dll16 enable_win16
18193 wine_fn_config_dll ctl3d32 enable_ctl3d32
18194 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18195 wine_fn_config_dll d2d1 enable_d2d1 implib
18196 wine_fn_config_test dlls/d2d1/tests d2d1_test
18197 wine_fn_config_dll d3d10 enable_d3d10 implib
18198 wine_fn_config_test dlls/d3d10/tests d3d10_test
18199 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18200 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18201 wine_fn_config_dll d3d10core enable_d3d10core implib
18202 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18203 wine_fn_config_dll d3d11 enable_d3d11 implib
18204 wine_fn_config_test dlls/d3d11/tests d3d11_test
18205 wine_fn_config_dll d3d8 enable_d3d8 implib
18206 wine_fn_config_test dlls/d3d8/tests d3d8_test
18207 wine_fn_config_dll d3d9 enable_d3d9 implib
18208 wine_fn_config_test dlls/d3d9/tests d3d9_test
18209 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18210 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18211 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18212 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18213 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18214 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18215 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18216 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18217 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18218 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18219 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18220 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18221 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18222 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18223 wine_fn_config_dll d3dim enable_d3dim
18224 wine_fn_config_dll d3drm enable_d3drm implib
18225 wine_fn_config_test dlls/d3drm/tests d3drm_test
18226 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18227 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18228 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18229 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18230 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18231 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18232 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18233 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18234 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18235 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18236 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18237 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18238 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18239 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18240 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18241 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18242 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18243 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18244 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18245 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18246 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18247 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18248 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18249 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18250 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18251 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18252 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18253 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18254 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18255 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18256 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18257 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18258 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18259 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18260 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18261 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18262 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18263 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18264 wine_fn_config_dll davclnt enable_davclnt
18265 wine_fn_config_dll dbgeng enable_dbgeng implib
18266 wine_fn_config_dll dbghelp enable_dbghelp implib
18267 wine_fn_config_dll dciman32 enable_dciman32 implib
18268 wine_fn_config_dll ddeml.dll16 enable_win16
18269 wine_fn_config_dll ddraw enable_ddraw clean,implib
18270 wine_fn_config_test dlls/ddraw/tests ddraw_test
18271 wine_fn_config_dll ddrawex enable_ddrawex clean
18272 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18273 wine_fn_config_dll devenum enable_devenum clean
18274 wine_fn_config_test dlls/devenum/tests devenum_test
18275 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18276 wine_fn_config_dll difxapi enable_difxapi
18277 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18278 wine_fn_config_test dlls/dinput/tests dinput_test
18279 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18280 wine_fn_config_test dlls/dinput8/tests dinput8_test
18281 wine_fn_config_dll dispdib.dll16 enable_win16
18282 wine_fn_config_dll dispex enable_dispex clean
18283 wine_fn_config_test dlls/dispex/tests dispex_test
18284 wine_fn_config_dll display.drv16 enable_win16
18285 wine_fn_config_dll dmband enable_dmband clean
18286 wine_fn_config_test dlls/dmband/tests dmband_test
18287 wine_fn_config_dll dmcompos enable_dmcompos clean
18288 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18289 wine_fn_config_dll dmime enable_dmime clean
18290 wine_fn_config_test dlls/dmime/tests dmime_test
18291 wine_fn_config_dll dmloader enable_dmloader clean
18292 wine_fn_config_test dlls/dmloader/tests dmloader_test
18293 wine_fn_config_dll dmscript enable_dmscript clean
18294 wine_fn_config_test dlls/dmscript/tests dmscript_test
18295 wine_fn_config_dll dmstyle enable_dmstyle clean
18296 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18297 wine_fn_config_dll dmsynth enable_dmsynth clean
18298 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18299 wine_fn_config_dll dmusic enable_dmusic clean
18300 wine_fn_config_test dlls/dmusic/tests dmusic_test
18301 wine_fn_config_dll dmusic32 enable_dmusic32
18302 wine_fn_config_dll dnsapi enable_dnsapi implib
18303 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18304 wine_fn_config_dll dplay enable_dplay
18305 wine_fn_config_dll dplayx enable_dplayx clean,implib
18306 wine_fn_config_test dlls/dplayx/tests dplayx_test
18307 wine_fn_config_dll dpnaddr enable_dpnaddr
18308 wine_fn_config_dll dpnet enable_dpnet clean,implib
18309 wine_fn_config_test dlls/dpnet/tests dpnet_test
18310 wine_fn_config_dll dpnhpast enable_dpnhpast
18311 wine_fn_config_dll dpnlobby enable_dpnlobby
18312 wine_fn_config_dll dpvoice enable_dpvoice clean
18313 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18314 wine_fn_config_dll dpwsockx enable_dpwsockx
18315 wine_fn_config_dll drmclien enable_drmclien
18316 wine_fn_config_dll dsound enable_dsound clean,implib
18317 wine_fn_config_test dlls/dsound/tests dsound_test
18318 wine_fn_config_dll dsquery enable_dsquery
18319 wine_fn_config_dll dssenh enable_dssenh
18320 wine_fn_config_test dlls/dssenh/tests dssenh_test
18321 wine_fn_config_dll dswave enable_dswave clean
18322 wine_fn_config_test dlls/dswave/tests dswave_test
18323 wine_fn_config_dll dwmapi enable_dwmapi implib
18324 wine_fn_config_dll dwrite enable_dwrite implib
18325 wine_fn_config_test dlls/dwrite/tests dwrite_test
18326 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18327 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18328 wine_fn_config_lib dxerr8
18329 wine_fn_config_lib dxerr9
18330 wine_fn_config_dll dxgi enable_dxgi implib
18331 wine_fn_config_test dlls/dxgi/tests dxgi_test
18332 wine_fn_config_lib dxguid
18333 wine_fn_config_dll dxva2 enable_dxva2
18334 wine_fn_config_dll esent enable_esent
18335 wine_fn_config_dll evr enable_evr
18336 wine_fn_config_dll explorerframe enable_explorerframe clean
18337 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18338 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18339 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18340 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18341 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18342 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18343 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18344 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18345 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18346 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18347 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18348 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18349 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18350 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18351 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18352 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18353 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18354 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18355 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18356 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
18357 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18358 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18359 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18360 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18361 wine_fn_config_dll faultrep enable_faultrep implib
18362 wine_fn_config_test dlls/faultrep/tests faultrep_test
18363 wine_fn_config_dll fltlib enable_fltlib
18364 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18365 wine_fn_config_dll fntcache enable_fntcache
18366 wine_fn_config_dll fontsub enable_fontsub
18367 wine_fn_config_dll fusion enable_fusion
18368 wine_fn_config_test dlls/fusion/tests fusion_test
18369 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18370 wine_fn_config_dll gameux enable_gameux clean
18371 wine_fn_config_test dlls/gameux/tests gameux_test
18372 wine_fn_config_dll gdi.exe16 enable_win16
18373 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18374 wine_fn_config_test dlls/gdi32/tests gdi32_test
18375 wine_fn_config_dll gdiplus enable_gdiplus implib
18376 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18377 wine_fn_config_dll glu32 enable_glu32 implib
18378 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18379 wine_fn_config_dll gpkcsp enable_gpkcsp
18380 wine_fn_config_dll hal enable_hal
18381 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18382 wine_fn_config_dll hid enable_hid implib
18383 wine_fn_config_test dlls/hid/tests hid_test
18384 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18385 wine_fn_config_dll hlink enable_hlink clean,implib
18386 wine_fn_config_test dlls/hlink/tests hlink_test
18387 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18388 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18389 wine_fn_config_dll httpapi enable_httpapi
18390 wine_fn_config_dll iccvid enable_iccvid clean
18391 wine_fn_config_dll icmp enable_icmp
18392 wine_fn_config_dll ieframe enable_ieframe clean,implib
18393 wine_fn_config_test dlls/ieframe/tests ieframe_test
18394 wine_fn_config_dll ieproxy enable_ieproxy clean
18395 wine_fn_config_dll ifsmgr.vxd enable_win16
18396 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18397 wine_fn_config_dll imagehlp enable_imagehlp implib
18398 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18399 wine_fn_config_dll imm.dll16 enable_win16
18400 wine_fn_config_dll imm32 enable_imm32 implib
18401 wine_fn_config_test dlls/imm32/tests imm32_test
18402 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18403 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18404 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18405 wine_fn_config_dll inetmib1 enable_inetmib1
18406 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18407 wine_fn_config_dll infosoft enable_infosoft clean
18408 wine_fn_config_test dlls/infosoft/tests infosoft_test
18409 wine_fn_config_dll initpki enable_initpki
18410 wine_fn_config_dll inkobj enable_inkobj
18411 wine_fn_config_dll inseng enable_inseng clean
18412 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18413 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18414 wine_fn_config_dll iprop enable_iprop
18415 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18416 wine_fn_config_dll itircl enable_itircl
18417 wine_fn_config_dll itss enable_itss clean
18418 wine_fn_config_test dlls/itss/tests itss_test
18419 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18420 wine_fn_config_dll jscript enable_jscript clean
18421 wine_fn_config_test dlls/jscript/tests jscript_test
18422 wine_fn_config_dll jsproxy enable_jsproxy implib
18423 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18424 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18425 wine_fn_config_test dlls/kernel32/tests kernel32_test
18426 wine_fn_config_dll kernelbase enable_kernelbase
18427 wine_fn_config_dll keyboard.drv16 enable_win16
18428 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18429 wine_fn_config_dll ksuser enable_ksuser
18430 wine_fn_config_dll ktmw32 enable_ktmw32
18431 wine_fn_config_dll loadperf enable_loadperf implib
18432 wine_fn_config_dll localspl enable_localspl clean
18433 wine_fn_config_test dlls/localspl/tests localspl_test
18434 wine_fn_config_dll localui enable_localui clean
18435 wine_fn_config_test dlls/localui/tests localui_test
18436 wine_fn_config_dll lz32 enable_lz32 implib
18437 wine_fn_config_test dlls/lz32/tests lz32_test
18438 wine_fn_config_dll lzexpand.dll16 enable_win16
18439 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18440 wine_fn_config_test dlls/mapi32/tests mapi32_test
18441 wine_fn_config_dll mapistub enable_mapistub
18442 wine_fn_config_dll mciavi32 enable_mciavi32
18443 wine_fn_config_dll mcicda enable_mcicda
18444 wine_fn_config_dll mciqtz32 enable_mciqtz32
18445 wine_fn_config_dll mciseq enable_mciseq
18446 wine_fn_config_dll mciwave enable_mciwave
18447 wine_fn_config_dll mf enable_mf implib
18448 wine_fn_config_test dlls/mf/tests mf_test
18449 wine_fn_config_dll mf3216 enable_mf3216
18450 wine_fn_config_dll mfplat enable_mfplat implib
18451 wine_fn_config_test dlls/mfplat/tests mfplat_test
18452 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18453 wine_fn_config_dll mgmtapi enable_mgmtapi
18454 wine_fn_config_dll midimap enable_midimap
18455 wine_fn_config_dll mlang enable_mlang clean,implib
18456 wine_fn_config_test dlls/mlang/tests mlang_test
18457 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18458 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18459 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18460 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18461 wine_fn_config_dll mmdevldr.vxd enable_win16
18462 wine_fn_config_dll mmsystem.dll16 enable_win16
18463 wine_fn_config_dll monodebg.vxd enable_win16
18464 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18465 wine_fn_config_dll mouse.drv16 enable_win16
18466 wine_fn_config_dll mpr enable_mpr clean,implib
18467 wine_fn_config_test dlls/mpr/tests mpr_test
18468 wine_fn_config_dll mprapi enable_mprapi implib
18469 wine_fn_config_dll msacm.dll16 enable_win16
18470 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18471 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18472 wine_fn_config_test dlls/msacm32/tests msacm32_test
18473 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18474 wine_fn_config_dll msasn1 enable_msasn1 implib
18475 wine_fn_config_dll mscat32 enable_mscat32
18476 wine_fn_config_dll mscms enable_mscms implib
18477 wine_fn_config_test dlls/mscms/tests mscms_test
18478 wine_fn_config_dll mscoree enable_mscoree clean
18479 wine_fn_config_test dlls/mscoree/tests mscoree_test
18480 wine_fn_config_dll msctf enable_msctf clean
18481 wine_fn_config_test dlls/msctf/tests msctf_test
18482 wine_fn_config_dll msctfp enable_msctfp clean
18483 wine_fn_config_dll msdaps enable_msdaps clean
18484 wine_fn_config_dll msdelta enable_msdelta
18485 wine_fn_config_dll msdmo enable_msdmo implib
18486 wine_fn_config_test dlls/msdmo/tests msdmo_test
18487 wine_fn_config_dll msdrm enable_msdrm
18488 wine_fn_config_dll msftedit enable_msftedit
18489 wine_fn_config_dll msg711.acm enable_msg711_acm
18490 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18491 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18492 wine_fn_config_dll mshtml enable_mshtml clean,implib
18493 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18494 wine_fn_config_dll msi enable_msi clean,implib
18495 wine_fn_config_test dlls/msi/tests msi_test
18496 wine_fn_config_dll msident enable_msident clean
18497 wine_fn_config_dll msimg32 enable_msimg32 implib
18498 wine_fn_config_dll msimsg enable_msimsg
18499 wine_fn_config_dll msimtf enable_msimtf clean
18500 wine_fn_config_dll msisip enable_msisip
18501 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18502 wine_fn_config_dll msls31 enable_msls31
18503 wine_fn_config_dll msnet32 enable_msnet32
18504 wine_fn_config_dll mspatcha enable_mspatcha implib
18505 wine_fn_config_dll msports enable_msports
18506 wine_fn_config_dll msrle32 enable_msrle32 clean
18507 wine_fn_config_test dlls/msrle32/tests msrle32_test
18508 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18509 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18510 wine_fn_config_dll mssign32 enable_mssign32
18511 wine_fn_config_dll mssip32 enable_mssip32
18512 wine_fn_config_dll mstask enable_mstask clean
18513 wine_fn_config_test dlls/mstask/tests mstask_test
18514 wine_fn_config_dll msvcirt enable_msvcirt
18515 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18516 wine_fn_config_dll msvcm80 enable_msvcm80
18517 wine_fn_config_dll msvcm90 enable_msvcm90
18518 wine_fn_config_dll msvcp100 enable_msvcp100
18519 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18520 wine_fn_config_dll msvcp110 enable_msvcp110
18521 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18522 wine_fn_config_dll msvcp120 enable_msvcp120
18523 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18524 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18525 wine_fn_config_dll msvcp140 enable_msvcp140
18526 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18527 wine_fn_config_dll msvcp60 enable_msvcp60
18528 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18529 wine_fn_config_dll msvcp70 enable_msvcp70
18530 wine_fn_config_dll msvcp71 enable_msvcp71
18531 wine_fn_config_dll msvcp80 enable_msvcp80
18532 wine_fn_config_dll msvcp90 enable_msvcp90
18533 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18534 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18535 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18536 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18537 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18538 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18539 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18540 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18541 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18542 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18543 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18544 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18545 wine_fn_config_dll msvcrt enable_msvcrt implib
18546 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18547 wine_fn_config_dll msvcrt20 enable_msvcrt20
18548 wine_fn_config_dll msvcrt40 enable_msvcrt40
18549 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18550 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18551 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18552 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18553 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18554 wine_fn_config_dll msvideo.dll16 enable_win16
18555 wine_fn_config_dll mswsock enable_mswsock implib
18556 wine_fn_config_dll msxml enable_msxml clean
18557 wine_fn_config_dll msxml2 enable_msxml2 clean
18558 wine_fn_config_dll msxml3 enable_msxml3 clean
18559 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18560 wine_fn_config_dll msxml4 enable_msxml4 clean
18561 wine_fn_config_dll msxml6 enable_msxml6 clean
18562 wine_fn_config_dll mtxdm enable_mtxdm
18563 wine_fn_config_dll ncrypt enable_ncrypt
18564 wine_fn_config_dll nddeapi enable_nddeapi implib
18565 wine_fn_config_dll ndis.sys enable_ndis_sys
18566 wine_fn_config_dll netapi32 enable_netapi32 implib
18567 wine_fn_config_test dlls/netapi32/tests netapi32_test
18568 wine_fn_config_dll netcfgx enable_netcfgx clean
18569 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18570 wine_fn_config_dll netprofm enable_netprofm clean
18571 wine_fn_config_test dlls/netprofm/tests netprofm_test
18572 wine_fn_config_dll newdev enable_newdev implib
18573 wine_fn_config_dll normaliz enable_normaliz implib
18574 wine_fn_config_dll npmshtml enable_npmshtml
18575 wine_fn_config_dll npptools enable_npptools
18576 wine_fn_config_dll ntdll enable_ntdll implib
18577 wine_fn_config_test dlls/ntdll/tests ntdll_test
18578 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18579 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18580 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18581 wine_fn_config_dll ntprint enable_ntprint
18582 wine_fn_config_test dlls/ntprint/tests ntprint_test
18583 wine_fn_config_dll objsel enable_objsel clean
18584 wine_fn_config_dll odbc32 enable_odbc32 implib
18585 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18586 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18587 wine_fn_config_dll odbccu32 enable_odbccu32
18588 wine_fn_config_dll ole2.dll16 enable_win16
18589 wine_fn_config_dll ole2conv.dll16 enable_win16
18590 wine_fn_config_dll ole2disp.dll16 enable_win16
18591 wine_fn_config_dll ole2nls.dll16 enable_win16
18592 wine_fn_config_dll ole2prox.dll16 enable_win16
18593 wine_fn_config_dll ole2thk.dll16 enable_win16
18594 wine_fn_config_dll ole32 enable_ole32 clean,implib
18595 wine_fn_config_test dlls/ole32/tests ole32_test
18596 wine_fn_config_dll oleacc enable_oleacc clean,implib
18597 wine_fn_config_test dlls/oleacc/tests oleacc_test
18598 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18599 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18600 wine_fn_config_dll olecli.dll16 enable_win16
18601 wine_fn_config_dll olecli32 enable_olecli32 implib
18602 wine_fn_config_dll oledb32 enable_oledb32 clean
18603 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18604 wine_fn_config_dll oledlg enable_oledlg clean,implib
18605 wine_fn_config_test dlls/oledlg/tests oledlg_test
18606 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18607 wine_fn_config_dll olesvr.dll16 enable_win16
18608 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18609 wine_fn_config_dll olethk32 enable_olethk32
18610 wine_fn_config_dll openal32 enable_openal32
18611 wine_fn_config_dll opencl enable_opencl
18612 wine_fn_config_dll opengl32 enable_opengl32 implib
18613 wine_fn_config_test dlls/opengl32/tests opengl32_test
18614 wine_fn_config_dll packager enable_packager clean
18615 wine_fn_config_test dlls/packager/tests packager_test
18616 wine_fn_config_dll pdh enable_pdh implib
18617 wine_fn_config_test dlls/pdh/tests pdh_test
18618 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18619 wine_fn_config_dll pidgen enable_pidgen
18620 wine_fn_config_dll powrprof enable_powrprof implib
18621 wine_fn_config_dll printui enable_printui
18622 wine_fn_config_dll prntvpt enable_prntvpt
18623 wine_fn_config_dll propsys enable_propsys clean,implib
18624 wine_fn_config_test dlls/propsys/tests propsys_test
18625 wine_fn_config_dll psapi enable_psapi implib
18626 wine_fn_config_test dlls/psapi/tests psapi_test
18627 wine_fn_config_dll pstorec enable_pstorec clean
18628 wine_fn_config_test dlls/pstorec/tests pstorec_test
18629 wine_fn_config_dll qcap enable_qcap
18630 wine_fn_config_test dlls/qcap/tests qcap_test
18631 wine_fn_config_dll qedit enable_qedit clean
18632 wine_fn_config_test dlls/qedit/tests qedit_test
18633 wine_fn_config_dll qmgr enable_qmgr clean
18634 wine_fn_config_test dlls/qmgr/tests qmgr_test
18635 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18636 wine_fn_config_dll quartz enable_quartz clean,implib
18637 wine_fn_config_test dlls/quartz/tests quartz_test clean
18638 wine_fn_config_dll query enable_query
18639 wine_fn_config_dll rasapi16.dll16 enable_win16
18640 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18641 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18642 wine_fn_config_dll rasdlg enable_rasdlg implib
18643 wine_fn_config_dll regapi enable_regapi
18644 wine_fn_config_dll resutils enable_resutils implib
18645 wine_fn_config_dll riched20 enable_riched20 clean,implib
18646 wine_fn_config_test dlls/riched20/tests riched20_test
18647 wine_fn_config_dll riched32 enable_riched32
18648 wine_fn_config_test dlls/riched32/tests riched32_test
18649 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18650 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18651 wine_fn_config_dll rsabase enable_rsabase
18652 wine_fn_config_dll rsaenh enable_rsaenh implib
18653 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18654 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18655 wine_fn_config_dll rtutils enable_rtutils implib
18656 wine_fn_config_dll samlib enable_samlib
18657 wine_fn_config_dll sane.ds enable_sane_ds clean
18658 wine_fn_config_dll scarddlg enable_scarddlg
18659 wine_fn_config_dll sccbase enable_sccbase
18660 wine_fn_config_dll schannel enable_schannel
18661 wine_fn_config_test dlls/schannel/tests schannel_test
18662 wine_fn_config_dll schedsvc enable_schedsvc clean
18663 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18664 wine_fn_config_dll scrobj enable_scrobj clean
18665 wine_fn_config_dll scrrun enable_scrrun clean
18666 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18667 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18668 wine_fn_config_dll secur32 enable_secur32 implib
18669 wine_fn_config_test dlls/secur32/tests secur32_test
18670 wine_fn_config_dll security enable_security
18671 wine_fn_config_dll sensapi enable_sensapi implib
18672 wine_fn_config_dll serialui enable_serialui clean
18673 wine_fn_config_test dlls/serialui/tests serialui_test
18674 wine_fn_config_dll setupapi enable_setupapi clean,implib
18675 wine_fn_config_test dlls/setupapi/tests setupapi_test
18676 wine_fn_config_dll setupx.dll16 enable_win16
18677 wine_fn_config_dll sfc enable_sfc implib
18678 wine_fn_config_dll sfc_os enable_sfc_os implib
18679 wine_fn_config_dll shdoclc enable_shdoclc clean
18680 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18681 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18682 wine_fn_config_dll shell.dll16 enable_win16
18683 wine_fn_config_dll shell32 enable_shell32 clean,implib
18684 wine_fn_config_test dlls/shell32/tests shell32_test
18685 wine_fn_config_dll shfolder enable_shfolder implib
18686 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18687 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18688 wine_fn_config_dll slbcsp enable_slbcsp
18689 wine_fn_config_dll slc enable_slc implib
18690 wine_fn_config_test dlls/slc/tests slc_test
18691 wine_fn_config_dll snmpapi enable_snmpapi implib
18692 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18693 wine_fn_config_dll softpub enable_softpub
18694 wine_fn_config_dll sound.drv16 enable_win16
18695 wine_fn_config_dll spoolss enable_spoolss implib
18696 wine_fn_config_test dlls/spoolss/tests spoolss_test
18697 wine_fn_config_dll sspicli enable_sspicli
18698 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18699 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18700 wine_fn_config_dll sti enable_sti clean,implib
18701 wine_fn_config_test dlls/sti/tests sti_test
18702 wine_fn_config_dll storage.dll16 enable_win16
18703 wine_fn_config_dll stress.dll16 enable_win16
18704 wine_fn_config_lib strmbase
18705 wine_fn_config_lib strmiids
18706 wine_fn_config_dll svrapi enable_svrapi
18707 wine_fn_config_dll sxs enable_sxs implib
18708 wine_fn_config_test dlls/sxs/tests sxs_test
18709 wine_fn_config_dll system.drv16 enable_win16
18710 wine_fn_config_dll t2embed enable_t2embed implib
18711 wine_fn_config_test dlls/t2embed/tests t2embed_test
18712 wine_fn_config_dll tapi32 enable_tapi32 implib
18713 wine_fn_config_dll taskschd enable_taskschd clean
18714 wine_fn_config_test dlls/taskschd/tests taskschd_test
18715 wine_fn_config_dll tdh enable_tdh
18716 wine_fn_config_dll tdi.sys enable_tdi_sys
18717 wine_fn_config_dll toolhelp.dll16 enable_win16
18718 wine_fn_config_dll traffic enable_traffic
18719 wine_fn_config_dll twain.dll16 enable_win16
18720 wine_fn_config_dll twain_32 enable_twain_32
18721 wine_fn_config_test dlls/twain_32/tests twain_32_test
18722 wine_fn_config_dll typelib.dll16 enable_win16
18723 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18724 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18725 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18726 wine_fn_config_dll uiribbon enable_uiribbon clean
18727 wine_fn_config_dll unicows enable_unicows implib
18728 wine_fn_config_dll updspapi enable_updspapi
18729 wine_fn_config_dll url enable_url implib
18730 wine_fn_config_dll urlmon enable_urlmon clean,implib
18731 wine_fn_config_test dlls/urlmon/tests urlmon_test
18732 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18733 wine_fn_config_dll user.exe16 enable_win16
18734 wine_fn_config_dll user32 enable_user32 clean,implib
18735 wine_fn_config_test dlls/user32/tests user32_test
18736 wine_fn_config_dll userenv enable_userenv implib
18737 wine_fn_config_test dlls/userenv/tests userenv_test
18738 wine_fn_config_dll usp10 enable_usp10 implib
18739 wine_fn_config_test dlls/usp10/tests usp10_test
18740 wine_fn_config_lib uuid
18741 wine_fn_config_dll uxtheme enable_uxtheme implib
18742 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18743 wine_fn_config_dll vbscript enable_vbscript clean
18744 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18745 wine_fn_config_dll vcomp enable_vcomp
18746 wine_fn_config_test dlls/vcomp/tests vcomp_test
18747 wine_fn_config_dll vcomp100 enable_vcomp100
18748 wine_fn_config_dll vcomp110 enable_vcomp110
18749 wine_fn_config_dll vcomp120 enable_vcomp120
18750 wine_fn_config_dll vcomp140 enable_vcomp140
18751 wine_fn_config_dll vcomp90 enable_vcomp90
18752 wine_fn_config_dll vcruntime140 enable_vcruntime140
18753 wine_fn_config_dll vdhcp.vxd enable_win16
18754 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18755 wine_fn_config_dll ver.dll16 enable_win16
18756 wine_fn_config_dll version enable_version implib
18757 wine_fn_config_test dlls/version/tests version_test
18758 wine_fn_config_dll virtdisk enable_virtdisk
18759 wine_fn_config_dll vmm.vxd enable_win16
18760 wine_fn_config_dll vnbt.vxd enable_win16
18761 wine_fn_config_dll vnetbios.vxd enable_win16
18762 wine_fn_config_dll vssapi enable_vssapi
18763 wine_fn_config_dll vtdapi.vxd enable_win16
18764 wine_fn_config_dll vwin32.vxd enable_win16
18765 wine_fn_config_dll w32skrnl enable_win16
18766 wine_fn_config_dll w32sys.dll16 enable_win16
18767 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18768 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18769 wine_fn_config_dll wbemprox enable_wbemprox clean
18770 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18771 wine_fn_config_dll webservices enable_webservices implib
18772 wine_fn_config_test dlls/webservices/tests webservices_test
18773 wine_fn_config_dll wer enable_wer implib
18774 wine_fn_config_test dlls/wer/tests wer_test
18775 wine_fn_config_dll wevtapi enable_wevtapi
18776 wine_fn_config_dll wiaservc enable_wiaservc clean
18777 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18778 wine_fn_config_dll wimgapi enable_wimgapi
18779 wine_fn_config_dll win32s16.dll16 enable_win16
18780 wine_fn_config_dll win87em.dll16 enable_win16
18781 wine_fn_config_dll winaspi.dll16 enable_win16
18782 wine_fn_config_dll windebug.dll16 enable_win16
18783 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18784 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18785 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18786 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18787 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18788 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18789 wine_fn_config_dll winebus.sys enable_winebus_sys
18790 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18791 wine_fn_config_lib winecrt0
18792 wine_fn_config_dll wined3d enable_wined3d implib
18793 wine_fn_config_dll winegstreamer enable_winegstreamer
18794 wine_fn_config_dll winehid.sys enable_winehid_sys
18795 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18796 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18797 wine_fn_config_dll winemapi enable_winemapi
18798 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18799 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18800 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18801 wine_fn_config_dll wineps16.drv16 enable_win16
18802 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18803 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18804 wine_fn_config_dll winex11.drv enable_winex11_drv
18805 wine_fn_config_dll wing.dll16 enable_win16
18806 wine_fn_config_dll wing32 enable_wing32
18807 wine_fn_config_dll winhttp enable_winhttp clean,implib
18808 wine_fn_config_test dlls/winhttp/tests winhttp_test
18809 wine_fn_config_dll wininet enable_wininet clean,implib
18810 wine_fn_config_test dlls/wininet/tests wininet_test
18811 wine_fn_config_dll winmm enable_winmm clean,implib
18812 wine_fn_config_test dlls/winmm/tests winmm_test
18813 wine_fn_config_dll winnls.dll16 enable_win16
18814 wine_fn_config_dll winnls32 enable_winnls32 implib
18815 wine_fn_config_dll winscard enable_winscard implib
18816 wine_fn_config_dll winsock.dll16 enable_win16
18817 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18818 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18819 wine_fn_config_dll winsta enable_winsta
18820 wine_fn_config_dll wintab.dll16 enable_win16
18821 wine_fn_config_dll wintab32 enable_wintab32 implib
18822 wine_fn_config_test dlls/wintab32/tests wintab32_test
18823 wine_fn_config_dll wintrust enable_wintrust implib
18824 wine_fn_config_test dlls/wintrust/tests wintrust_test
18825 wine_fn_config_dll winusb enable_winusb
18826 wine_fn_config_dll wlanapi enable_wlanapi implib
18827 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18828 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18829 wine_fn_config_test dlls/wldap32/tests wldap32_test
18830 wine_fn_config_dll wmasf enable_wmasf
18831 wine_fn_config_dll wmi enable_wmi
18832 wine_fn_config_dll wmiutils enable_wmiutils clean
18833 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18834 wine_fn_config_dll wmp enable_wmp clean
18835 wine_fn_config_test dlls/wmp/tests wmp_test
18836 wine_fn_config_dll wmphoto enable_wmphoto clean
18837 wine_fn_config_dll wmvcore enable_wmvcore implib
18838 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18839 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18840 wine_fn_config_dll wow32 enable_win16 implib
18841 wine_fn_config_dll wpc enable_wpc clean
18842 wine_fn_config_test dlls/wpc/tests wpc_test
18843 wine_fn_config_dll wpcap enable_wpcap
18844 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18845 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18846 wine_fn_config_dll wsdapi enable_wsdapi implib
18847 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18848 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18849 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18850 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18851 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18852 wine_fn_config_dll wsock32 enable_wsock32 implib
18853 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18854 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18855 wine_fn_config_dll wuapi enable_wuapi clean
18856 wine_fn_config_dll wuaueng enable_wuaueng
18857 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18858 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18859 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18860 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18861 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18862 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18863 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18864 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18865 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18866 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18867 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18868 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18869 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18870 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18871 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18872 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18873 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18874 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18875 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18876 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18877 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18878 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18879 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18880 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18881 wine_fn_config_dll xinput1_1 enable_xinput1_1
18882 wine_fn_config_dll xinput1_2 enable_xinput1_2
18883 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18884 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18885 wine_fn_config_dll xinput1_4 enable_xinput1_4
18886 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18887 wine_fn_config_dll xmllite enable_xmllite implib
18888 wine_fn_config_test dlls/xmllite/tests xmllite_test
18889 wine_fn_config_dll xolehlp enable_xolehlp
18890 wine_fn_config_dll xpsprint enable_xpsprint
18891 wine_fn_config_dll xpssvcs enable_xpssvcs
18892 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18893 wine_fn_config_makefile include enable_include clean,install-dev
18894 wine_fn_config_makefile libs/port enable_libs_port
18895 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18896 wine_fn_config_makefile libs/wpp enable_libs_wpp
18897 wine_fn_config_makefile loader enable_loader clean,install-lib
18898 wine_fn_config_makefile po enable_po clean
18899 wine_fn_config_program arp enable_arp install
18900 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18901 wine_fn_config_program attrib enable_attrib clean,install
18902 wine_fn_config_program cabarc enable_cabarc install
18903 wine_fn_config_program cacls enable_cacls install
18904 wine_fn_config_program clock enable_clock clean,install
18905 wine_fn_config_program cmd enable_cmd clean,install
18906 wine_fn_config_test programs/cmd/tests cmd.exe_test
18907 wine_fn_config_program conhost enable_conhost install
18908 wine_fn_config_program control enable_control install
18909 wine_fn_config_program cscript enable_cscript clean,install
18910 wine_fn_config_program dpnsvr enable_dpnsvr install
18911 wine_fn_config_program dxdiag enable_dxdiag clean,install
18912 wine_fn_config_program eject enable_eject install
18913 wine_fn_config_program expand enable_expand install
18914 wine_fn_config_program explorer enable_explorer clean,install
18915 wine_fn_config_program extrac32 enable_extrac32 install
18916 wine_fn_config_program findstr enable_findstr install
18917 wine_fn_config_program fsutil enable_fsutil install
18918 wine_fn_config_program hh enable_hh install
18919 wine_fn_config_program hostname enable_hostname clean,install
18920 wine_fn_config_program icacls enable_icacls install
18921 wine_fn_config_program icinfo enable_icinfo install
18922 wine_fn_config_program iexplore enable_iexplore install
18923 wine_fn_config_program ipconfig enable_ipconfig clean,install
18924 wine_fn_config_program lodctr enable_lodctr install
18925 wine_fn_config_program mofcomp enable_mofcomp install
18926 wine_fn_config_program mshta enable_mshta install
18927 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18928 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18929 wine_fn_config_program net enable_net clean,install
18930 wine_fn_config_program netsh enable_netsh install
18931 wine_fn_config_program netstat enable_netstat clean,install
18932 wine_fn_config_program ngen enable_ngen install
18933 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18934 wine_fn_config_program oleview enable_oleview clean,install
18935 wine_fn_config_program ping enable_ping install
18936 wine_fn_config_program plugplay enable_plugplay install
18937 wine_fn_config_program powershell enable_powershell install
18938 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18939 wine_fn_config_program progman enable_progman clean,install
18940 wine_fn_config_program reg enable_reg clean,install
18941 wine_fn_config_test programs/reg/tests reg.exe_test
18942 wine_fn_config_program regasm enable_regasm install
18943 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18944 wine_fn_config_test programs/regedit/tests regedit.exe_test
18945 wine_fn_config_program regsvcs enable_regsvcs install
18946 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18947 wine_fn_config_program rpcss enable_rpcss clean,install
18948 wine_fn_config_program rundll.exe16 enable_win16 install
18949 wine_fn_config_program rundll32 enable_rundll32 install
18950 wine_fn_config_program sc enable_sc install
18951 wine_fn_config_program schtasks enable_schtasks install
18952 wine_fn_config_program sdbinst enable_sdbinst install
18953 wine_fn_config_program secedit enable_secedit install
18954 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18955 wine_fn_config_program services enable_services clean,install
18956 wine_fn_config_test programs/services/tests services.exe_test
18957 wine_fn_config_program shutdown enable_shutdown install
18958 wine_fn_config_program spoolsv enable_spoolsv install
18959 wine_fn_config_program start enable_start clean,install
18960 wine_fn_config_program subst enable_subst install
18961 wine_fn_config_program svchost enable_svchost install
18962 wine_fn_config_program systeminfo enable_systeminfo install
18963 wine_fn_config_program taskkill enable_taskkill clean,install
18964 wine_fn_config_program tasklist enable_tasklist install
18965 wine_fn_config_program taskmgr enable_taskmgr clean,install
18966 wine_fn_config_program termsv enable_termsv install
18967 wine_fn_config_program uninstaller enable_uninstaller clean,install
18968 wine_fn_config_program unlodctr enable_unlodctr install
18969 wine_fn_config_program view enable_view clean,install
18970 wine_fn_config_program wevtutil enable_wevtutil install
18971 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18972 wine_fn_config_program winebrowser enable_winebrowser install
18973 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18974 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18975 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18976 wine_fn_config_program winedevice enable_winedevice install
18977 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18978 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18979 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18980 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18981 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18982 wine_fn_config_program winetest enable_winetest clean
18983 wine_fn_config_program winevdm enable_win16 install
18984 wine_fn_config_program winhelp.exe16 enable_win16 install
18985 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18986 wine_fn_config_program winoldap.mod16 enable_win16 install
18987 wine_fn_config_program winver enable_winver install
18988 wine_fn_config_program wmic enable_wmic clean,install
18989 wine_fn_config_program wmplayer enable_wmplayer install
18990 wine_fn_config_program wordpad enable_wordpad clean,install
18991 wine_fn_config_program write enable_write clean,install
18992 wine_fn_config_program wscript enable_wscript clean,install
18993 wine_fn_config_test programs/wscript/tests wscript.exe_test
18994 wine_fn_config_program wusa enable_wusa install
18995 wine_fn_config_program xcopy enable_xcopy clean,install
18996 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18997 wine_fn_config_makefile server enable_server clean,install-lib
18998 wine_fn_config_tool tools clean
18999 wine_fn_config_tool tools/sfnt2fon clean
19000 wine_fn_config_tool tools/widl clean,install-dev
19001 wine_fn_config_tool tools/winebuild clean,install-dev
19002 wine_fn_config_tool tools/winedump clean,install-dev
19003 wine_fn_config_tool tools/winegcc clean,install-dev
19004 wine_fn_config_tool tools/winemaker clean,install-dev
19005 wine_fn_config_tool tools/wmc clean,install-dev
19006 wine_fn_config_tool tools/wrc clean,install-dev
19009 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19010 wine_fn_append_file CONFIGURE_TARGETS "tags"
19011 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19012 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19013 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19014 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19015 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19016 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19018 if test "x$enable_tools" != xno
19019 then
19020 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19021 ac_config_commands="$ac_config_commands tools/makedep"
19025 ac_config_commands="$ac_config_commands Makefile"
19028 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19032 if test "x$enable_maintainer_mode" = xyes
19033 then
19034 wine_fn_append_rule "configure: configure.ac aclocal.m4
19035 autoconf --warnings=all
19036 include/config.h.in: include/stamp-h.in
19037 include/stamp-h.in: configure.ac aclocal.m4
19038 autoheader --warnings=all
19039 @echo timestamp > \$@"
19042 if test "x$enable_tools" != xno
19043 then
19044 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19045 @./config.status tools/makedep
19046 Makefile: tools/makedep$ac_exeext"
19047 else
19048 wine_fn_append_rule "\$(MAKEDEP):
19049 @echo \"You need to run make in $TOOLSDIR first\" && false"
19052 if test -n "$with_wine64"
19053 then
19054 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19055 fonts server:
19056 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19057 $with_wine64/loader/wine:
19058 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19059 $with_wine64/loader/wine-preloader:
19060 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19061 clean::
19062 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19063 else
19064 WINELOADER_INSTALL="wine.inf"
19066 wine_fn_append_rule "install install-lib::
19067 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19068 uninstall::
19069 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19070 case $host_os in
19071 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19072 *) wine_fn_append_rule "install install-lib::
19073 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19074 uninstall::
19075 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19076 esac
19079 $as_echo " done" >&6
19080 cat >confcache <<\_ACEOF
19081 # This file is a shell script that caches the results of configure
19082 # tests run on this system so they can be shared between configure
19083 # scripts and configure runs, see configure's option --config-cache.
19084 # It is not useful on other systems. If it contains results you don't
19085 # want to keep, you may remove or edit it.
19087 # config.status only pays attention to the cache file if you give it
19088 # the --recheck option to rerun configure.
19090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19092 # following values.
19094 _ACEOF
19096 # The following way of writing the cache mishandles newlines in values,
19097 # but we know of no workaround that is simple, portable, and efficient.
19098 # So, we kill variables containing newlines.
19099 # Ultrix sh set writes to stderr and can't be redirected directly,
19100 # and sets the high bit in the cache file unless we assign to the vars.
19102 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19103 eval ac_val=\$$ac_var
19104 case $ac_val in #(
19105 *${as_nl}*)
19106 case $ac_var in #(
19107 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19109 esac
19110 case $ac_var in #(
19111 _ | IFS | as_nl) ;; #(
19112 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19113 *) { eval $ac_var=; unset $ac_var;} ;;
19114 esac ;;
19115 esac
19116 done
19118 (set) 2>&1 |
19119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19120 *${as_nl}ac_space=\ *)
19121 # `set' does not quote correctly, so add quotes: double-quote
19122 # substitution turns \\\\ into \\, and sed turns \\ into \.
19123 sed -n \
19124 "s/'/'\\\\''/g;
19125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19126 ;; #(
19128 # `set' quotes correctly as required by POSIX, so do not add quotes.
19129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19131 esac |
19132 sort
19134 sed '
19135 /^ac_cv_env_/b end
19136 t clear
19137 :clear
19138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19139 t end
19140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19141 :end' >>confcache
19142 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19143 if test -w "$cache_file"; then
19144 if test "x$cache_file" != "x/dev/null"; then
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19146 $as_echo "$as_me: updating cache $cache_file" >&6;}
19147 if test ! -f "$cache_file" || test -h "$cache_file"; then
19148 cat confcache >"$cache_file"
19149 else
19150 case $cache_file in #(
19151 */* | ?:*)
19152 mv -f confcache "$cache_file"$$ &&
19153 mv -f "$cache_file"$$ "$cache_file" ;; #(
19155 mv -f confcache "$cache_file" ;;
19156 esac
19159 else
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19164 rm -f confcache
19166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19167 # Let make expand exec_prefix.
19168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19170 DEFS=-DHAVE_CONFIG_H
19172 ac_libobjs=
19173 ac_ltlibobjs=
19175 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19176 # 1. Remove the extension, and $U if already installed.
19177 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19178 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19179 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19180 # will be set to the directory where LIBOBJS objects are built.
19181 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19182 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19183 done
19184 LIBOBJS=$ac_libobjs
19186 LTLIBOBJS=$ac_ltlibobjs
19190 : "${CONFIG_STATUS=./config.status}"
19191 ac_write_fail=0
19192 ac_clean_files_save=$ac_clean_files
19193 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19195 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19196 as_write_fail=0
19197 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19198 #! $SHELL
19199 # Generated by $as_me.
19200 # Run this file to recreate the current configuration.
19201 # Compiler output produced by configure, useful for debugging
19202 # configure, is in config.log if it exists.
19204 debug=false
19205 ac_cs_recheck=false
19206 ac_cs_silent=false
19208 SHELL=\${CONFIG_SHELL-$SHELL}
19209 export SHELL
19210 _ASEOF
19211 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19212 ## -------------------- ##
19213 ## M4sh Initialization. ##
19214 ## -------------------- ##
19216 # Be more Bourne compatible
19217 DUALCASE=1; export DUALCASE # for MKS sh
19218 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19219 emulate sh
19220 NULLCMD=:
19221 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19222 # is contrary to our usage. Disable this feature.
19223 alias -g '${1+"$@"}'='"$@"'
19224 setopt NO_GLOB_SUBST
19225 else
19226 case `(set -o) 2>/dev/null` in #(
19227 *posix*) :
19228 set -o posix ;; #(
19229 *) :
19231 esac
19235 as_nl='
19237 export as_nl
19238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19239 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19242 # Prefer a ksh shell builtin over an external printf program on Solaris,
19243 # but without wasting forks for bash or zsh.
19244 if test -z "$BASH_VERSION$ZSH_VERSION" \
19245 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19246 as_echo='print -r --'
19247 as_echo_n='print -rn --'
19248 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19249 as_echo='printf %s\n'
19250 as_echo_n='printf %s'
19251 else
19252 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19253 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19254 as_echo_n='/usr/ucb/echo -n'
19255 else
19256 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19257 as_echo_n_body='eval
19258 arg=$1;
19259 case $arg in #(
19260 *"$as_nl"*)
19261 expr "X$arg" : "X\\(.*\\)$as_nl";
19262 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19263 esac;
19264 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19266 export as_echo_n_body
19267 as_echo_n='sh -c $as_echo_n_body as_echo'
19269 export as_echo_body
19270 as_echo='sh -c $as_echo_body as_echo'
19273 # The user is always right.
19274 if test "${PATH_SEPARATOR+set}" != set; then
19275 PATH_SEPARATOR=:
19276 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19277 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19278 PATH_SEPARATOR=';'
19283 # IFS
19284 # We need space, tab and new line, in precisely that order. Quoting is
19285 # there to prevent editors from complaining about space-tab.
19286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19287 # splitting by setting IFS to empty value.)
19288 IFS=" "" $as_nl"
19290 # Find who we are. Look in the path if we contain no directory separator.
19291 as_myself=
19292 case $0 in #((
19293 *[\\/]* ) as_myself=$0 ;;
19294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19295 for as_dir in $PATH
19297 IFS=$as_save_IFS
19298 test -z "$as_dir" && as_dir=.
19299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19300 done
19301 IFS=$as_save_IFS
19304 esac
19305 # We did not find ourselves, most probably we were run as `sh COMMAND'
19306 # in which case we are not to be found in the path.
19307 if test "x$as_myself" = x; then
19308 as_myself=$0
19310 if test ! -f "$as_myself"; then
19311 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19312 exit 1
19315 # Unset variables that we do not need and which cause bugs (e.g. in
19316 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19317 # suppresses any "Segmentation fault" message there. '((' could
19318 # trigger a bug in pdksh 5.2.14.
19319 for as_var in BASH_ENV ENV MAIL MAILPATH
19320 do eval test x\${$as_var+set} = xset \
19321 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19322 done
19323 PS1='$ '
19324 PS2='> '
19325 PS4='+ '
19327 # NLS nuisances.
19328 LC_ALL=C
19329 export LC_ALL
19330 LANGUAGE=C
19331 export LANGUAGE
19333 # CDPATH.
19334 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19337 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19338 # ----------------------------------------
19339 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19340 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19341 # script with STATUS, using 1 if that was 0.
19342 as_fn_error ()
19344 as_status=$1; test $as_status -eq 0 && as_status=1
19345 if test "$4"; then
19346 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19347 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19349 $as_echo "$as_me: error: $2" >&2
19350 as_fn_exit $as_status
19351 } # as_fn_error
19354 # as_fn_set_status STATUS
19355 # -----------------------
19356 # Set $? to STATUS, without forking.
19357 as_fn_set_status ()
19359 return $1
19360 } # as_fn_set_status
19362 # as_fn_exit STATUS
19363 # -----------------
19364 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19365 as_fn_exit ()
19367 set +e
19368 as_fn_set_status $1
19369 exit $1
19370 } # as_fn_exit
19372 # as_fn_unset VAR
19373 # ---------------
19374 # Portably unset VAR.
19375 as_fn_unset ()
19377 { eval $1=; unset $1;}
19379 as_unset=as_fn_unset
19380 # as_fn_append VAR VALUE
19381 # ----------------------
19382 # Append the text in VALUE to the end of the definition contained in VAR. Take
19383 # advantage of any shell optimizations that allow amortized linear growth over
19384 # repeated appends, instead of the typical quadratic growth present in naive
19385 # implementations.
19386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19387 eval 'as_fn_append ()
19389 eval $1+=\$2
19391 else
19392 as_fn_append ()
19394 eval $1=\$$1\$2
19396 fi # as_fn_append
19398 # as_fn_arith ARG...
19399 # ------------------
19400 # Perform arithmetic evaluation on the ARGs, and store the result in the
19401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19402 # must be portable across $(()) and expr.
19403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19404 eval 'as_fn_arith ()
19406 as_val=$(( $* ))
19408 else
19409 as_fn_arith ()
19411 as_val=`expr "$@" || test $? -eq 1`
19413 fi # as_fn_arith
19416 if expr a : '\(a\)' >/dev/null 2>&1 &&
19417 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19418 as_expr=expr
19419 else
19420 as_expr=false
19423 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19424 as_basename=basename
19425 else
19426 as_basename=false
19429 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19430 as_dirname=dirname
19431 else
19432 as_dirname=false
19435 as_me=`$as_basename -- "$0" ||
19436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19437 X"$0" : 'X\(//\)$' \| \
19438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19439 $as_echo X/"$0" |
19440 sed '/^.*\/\([^/][^/]*\)\/*$/{
19441 s//\1/
19444 /^X\/\(\/\/\)$/{
19445 s//\1/
19448 /^X\/\(\/\).*/{
19449 s//\1/
19452 s/.*/./; q'`
19454 # Avoid depending upon Character Ranges.
19455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19458 as_cr_digits='0123456789'
19459 as_cr_alnum=$as_cr_Letters$as_cr_digits
19461 ECHO_C= ECHO_N= ECHO_T=
19462 case `echo -n x` in #(((((
19463 -n*)
19464 case `echo 'xy\c'` in
19465 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19466 xy) ECHO_C='\c';;
19467 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19468 ECHO_T=' ';;
19469 esac;;
19471 ECHO_N='-n';;
19472 esac
19474 rm -f conf$$ conf$$.exe conf$$.file
19475 if test -d conf$$.dir; then
19476 rm -f conf$$.dir/conf$$.file
19477 else
19478 rm -f conf$$.dir
19479 mkdir conf$$.dir 2>/dev/null
19481 if (echo >conf$$.file) 2>/dev/null; then
19482 if ln -s conf$$.file conf$$ 2>/dev/null; then
19483 as_ln_s='ln -s'
19484 # ... but there are two gotchas:
19485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19487 # In both cases, we have to default to `cp -pR'.
19488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19489 as_ln_s='cp -pR'
19490 elif ln conf$$.file conf$$ 2>/dev/null; then
19491 as_ln_s=ln
19492 else
19493 as_ln_s='cp -pR'
19495 else
19496 as_ln_s='cp -pR'
19498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19499 rmdir conf$$.dir 2>/dev/null
19502 # as_fn_mkdir_p
19503 # -------------
19504 # Create "$as_dir" as a directory, including parents if necessary.
19505 as_fn_mkdir_p ()
19508 case $as_dir in #(
19509 -*) as_dir=./$as_dir;;
19510 esac
19511 test -d "$as_dir" || eval $as_mkdir_p || {
19512 as_dirs=
19513 while :; do
19514 case $as_dir in #(
19515 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19516 *) as_qdir=$as_dir;;
19517 esac
19518 as_dirs="'$as_qdir' $as_dirs"
19519 as_dir=`$as_dirname -- "$as_dir" ||
19520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19521 X"$as_dir" : 'X\(//\)[^/]' \| \
19522 X"$as_dir" : 'X\(//\)$' \| \
19523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19524 $as_echo X"$as_dir" |
19525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19526 s//\1/
19529 /^X\(\/\/\)[^/].*/{
19530 s//\1/
19533 /^X\(\/\/\)$/{
19534 s//\1/
19537 /^X\(\/\).*/{
19538 s//\1/
19541 s/.*/./; q'`
19542 test -d "$as_dir" && break
19543 done
19544 test -z "$as_dirs" || eval "mkdir $as_dirs"
19545 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19548 } # as_fn_mkdir_p
19549 if mkdir -p . 2>/dev/null; then
19550 as_mkdir_p='mkdir -p "$as_dir"'
19551 else
19552 test -d ./-p && rmdir ./-p
19553 as_mkdir_p=false
19557 # as_fn_executable_p FILE
19558 # -----------------------
19559 # Test if FILE is an executable regular file.
19560 as_fn_executable_p ()
19562 test -f "$1" && test -x "$1"
19563 } # as_fn_executable_p
19564 as_test_x='test -x'
19565 as_executable_p=as_fn_executable_p
19567 # Sed expression to map a string onto a valid CPP name.
19568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19570 # Sed expression to map a string onto a valid variable name.
19571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19574 exec 6>&1
19575 ## ----------------------------------- ##
19576 ## Main body of $CONFIG_STATUS script. ##
19577 ## ----------------------------------- ##
19578 _ASEOF
19579 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19582 # Save the log message, to keep $0 and so on meaningful, and to
19583 # report actual input values of CONFIG_FILES etc. instead of their
19584 # values after options handling.
19585 ac_log="
19586 This file was extended by Wine $as_me 2.16, which was
19587 generated by GNU Autoconf 2.69. Invocation command line was
19589 CONFIG_FILES = $CONFIG_FILES
19590 CONFIG_HEADERS = $CONFIG_HEADERS
19591 CONFIG_LINKS = $CONFIG_LINKS
19592 CONFIG_COMMANDS = $CONFIG_COMMANDS
19593 $ $0 $@
19595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19598 _ACEOF
19600 case $ac_config_files in *"
19601 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19602 esac
19604 case $ac_config_headers in *"
19605 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19606 esac
19609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19610 # Files that config.status was made for.
19611 config_files="$ac_config_files"
19612 config_headers="$ac_config_headers"
19613 config_links="$ac_config_links"
19614 config_commands="$ac_config_commands"
19616 _ACEOF
19618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19619 ac_cs_usage="\
19620 \`$as_me' instantiates files and other configuration actions
19621 from templates according to the current configuration. Unless the files
19622 and actions are specified as TAGs, all are instantiated by default.
19624 Usage: $0 [OPTION]... [TAG]...
19626 -h, --help print this help, then exit
19627 -V, --version print version number and configuration settings, then exit
19628 --config print configuration, then exit
19629 -q, --quiet, --silent
19630 do not print progress messages
19631 -d, --debug don't remove temporary files
19632 --recheck update $as_me by reconfiguring in the same conditions
19633 --file=FILE[:TEMPLATE]
19634 instantiate the configuration file FILE
19635 --header=FILE[:TEMPLATE]
19636 instantiate the configuration header FILE
19638 Configuration files:
19639 $config_files
19641 Configuration headers:
19642 $config_headers
19644 Configuration links:
19645 $config_links
19647 Configuration commands:
19648 $config_commands
19650 Report bugs to <wine-devel@winehq.org>.
19651 Wine home page: <http://www.winehq.org>."
19653 _ACEOF
19654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19655 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19656 ac_cs_version="\\
19657 Wine config.status 2.16
19658 configured by $0, generated by GNU Autoconf 2.69,
19659 with options \\"\$ac_cs_config\\"
19661 Copyright (C) 2012 Free Software Foundation, Inc.
19662 This config.status script is free software; the Free Software Foundation
19663 gives unlimited permission to copy, distribute and modify it."
19665 ac_pwd='$ac_pwd'
19666 srcdir='$srcdir'
19667 test -n "\$AWK" || AWK=awk
19668 _ACEOF
19670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19671 # The default lists apply if the user does not specify any file.
19672 ac_need_defaults=:
19673 while test $# != 0
19675 case $1 in
19676 --*=?*)
19677 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19678 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19679 ac_shift=:
19681 --*=)
19682 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19683 ac_optarg=
19684 ac_shift=:
19687 ac_option=$1
19688 ac_optarg=$2
19689 ac_shift=shift
19691 esac
19693 case $ac_option in
19694 # Handling of the options.
19695 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19696 ac_cs_recheck=: ;;
19697 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19698 $as_echo "$ac_cs_version"; exit ;;
19699 --config | --confi | --conf | --con | --co | --c )
19700 $as_echo "$ac_cs_config"; exit ;;
19701 --debug | --debu | --deb | --de | --d | -d )
19702 debug=: ;;
19703 --file | --fil | --fi | --f )
19704 $ac_shift
19705 case $ac_optarg in
19706 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19707 '') as_fn_error $? "missing file argument" ;;
19708 esac
19709 as_fn_append CONFIG_FILES " '$ac_optarg'"
19710 ac_need_defaults=false;;
19711 --header | --heade | --head | --hea )
19712 $ac_shift
19713 case $ac_optarg in
19714 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19715 esac
19716 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19717 ac_need_defaults=false;;
19718 --he | --h)
19719 # Conflict between --help and --header
19720 as_fn_error $? "ambiguous option: \`$1'
19721 Try \`$0 --help' for more information.";;
19722 --help | --hel | -h )
19723 $as_echo "$ac_cs_usage"; exit ;;
19724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19725 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19726 ac_cs_silent=: ;;
19728 # This is an error.
19729 -*) as_fn_error $? "unrecognized option: \`$1'
19730 Try \`$0 --help' for more information." ;;
19732 *) as_fn_append ac_config_targets " $1"
19733 ac_need_defaults=false ;;
19735 esac
19736 shift
19737 done
19739 ac_configure_extra_args=
19741 if $ac_cs_silent; then
19742 exec 6>/dev/null
19743 ac_configure_extra_args="$ac_configure_extra_args --silent"
19746 _ACEOF
19747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19748 if \$ac_cs_recheck; then
19749 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19750 shift
19751 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19752 CONFIG_SHELL='$SHELL'
19753 export CONFIG_SHELL
19754 exec "\$@"
19757 _ACEOF
19758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19759 exec 5>>config.log
19761 echo
19762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19763 ## Running $as_me. ##
19764 _ASBOX
19765 $as_echo "$ac_log"
19766 } >&5
19768 _ACEOF
19769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19771 # INIT-COMMANDS
19773 wine_fn_output_makedep ()
19775 as_dir=tools; as_fn_mkdir_p
19776 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19778 wine_fn_output_makefile ()
19780 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19781 `cat $wine_rules_file`
19782 _WINE_EOF
19783 as_fn_error $? "could not create Makefile" "$LINENO" 5
19786 _ACEOF
19788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19790 # Handling of arguments.
19791 for ac_config_target in $ac_config_targets
19793 case $ac_config_target in
19794 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19795 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19796 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19797 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19798 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19799 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19800 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19801 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19802 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19803 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19804 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19805 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19806 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19808 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19809 esac
19810 done
19813 # If the user did not use the arguments to specify the items to instantiate,
19814 # then the envvar interface is used. Set only those that are not.
19815 # We use the long form for the default assignment because of an extremely
19816 # bizarre bug on SunOS 4.1.3.
19817 if $ac_need_defaults; then
19818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19820 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19821 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19824 # Have a temporary directory for convenience. Make it in the build tree
19825 # simply because there is no reason against having it here, and in addition,
19826 # creating and moving files from /tmp can sometimes cause problems.
19827 # Hook for its removal unless debugging.
19828 # Note that there is a small window in which the directory will not be cleaned:
19829 # after its creation but before its name has been assigned to `$tmp'.
19830 $debug ||
19832 tmp= ac_tmp=
19833 trap 'exit_status=$?
19834 : "${ac_tmp:=$tmp}"
19835 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19837 trap 'as_fn_exit 1' 1 2 13 15
19839 # Create a (secure) tmp directory for tmp files.
19842 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19843 test -d "$tmp"
19844 } ||
19846 tmp=./conf$$-$RANDOM
19847 (umask 077 && mkdir "$tmp")
19848 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19849 ac_tmp=$tmp
19851 # Set up the scripts for CONFIG_FILES section.
19852 # No need to generate them if there are no CONFIG_FILES.
19853 # This happens for instance with `./config.status config.h'.
19854 if test -n "$CONFIG_FILES"; then
19857 ac_cr=`echo X | tr X '\015'`
19858 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19859 # But we know of no other shell where ac_cr would be empty at this
19860 # point, so we can use a bashism as a fallback.
19861 if test "x$ac_cr" = x; then
19862 eval ac_cr=\$\'\\r\'
19864 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19865 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19866 ac_cs_awk_cr='\\r'
19867 else
19868 ac_cs_awk_cr=$ac_cr
19871 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19872 _ACEOF
19876 echo "cat >conf$$subs.awk <<_ACEOF" &&
19877 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19878 echo "_ACEOF"
19879 } >conf$$subs.sh ||
19880 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19881 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19882 ac_delim='%!_!# '
19883 for ac_last_try in false false false false false :; do
19884 . ./conf$$subs.sh ||
19885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19887 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19888 if test $ac_delim_n = $ac_delim_num; then
19889 break
19890 elif $ac_last_try; then
19891 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19892 else
19893 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19895 done
19896 rm -f conf$$subs.sh
19898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19899 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19900 _ACEOF
19901 sed -n '
19903 s/^/S["/; s/!.*/"]=/
19906 s/^[^!]*!//
19907 :repl
19908 t repl
19909 s/'"$ac_delim"'$//
19910 t delim
19913 s/\(.\{148\}\)..*/\1/
19914 t more1
19915 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19918 b repl
19919 :more1
19920 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19923 s/.\{148\}//
19924 t nl
19925 :delim
19927 s/\(.\{148\}\)..*/\1/
19928 t more2
19929 s/["\\]/\\&/g; s/^/"/; s/$/"/
19932 :more2
19933 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19936 s/.\{148\}//
19937 t delim
19938 ' <conf$$subs.awk | sed '
19939 /^[^""]/{
19941 s/\n//
19943 ' >>$CONFIG_STATUS || ac_write_fail=1
19944 rm -f conf$$subs.awk
19945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19946 _ACAWK
19947 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19948 for (key in S) S_is_set[key] = 1
19949 FS = "\a"
19953 line = $ 0
19954 nfields = split(line, field, "@")
19955 substed = 0
19956 len = length(field[1])
19957 for (i = 2; i < nfields; i++) {
19958 key = field[i]
19959 keylen = length(key)
19960 if (S_is_set[key]) {
19961 value = S[key]
19962 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19963 len += length(value) + length(field[++i])
19964 substed = 1
19965 } else
19966 len += 1 + keylen
19969 print line
19972 _ACAWK
19973 _ACEOF
19974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19975 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19976 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19977 else
19979 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19980 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19981 _ACEOF
19983 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19984 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19985 # trailing colons and then remove the whole line if VPATH becomes empty
19986 # (actually we leave an empty line to preserve line numbers).
19987 if test "x$srcdir" = x.; then
19988 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19990 s///
19991 s/^/:/
19992 s/[ ]*$/:/
19993 s/:\$(srcdir):/:/g
19994 s/:\${srcdir}:/:/g
19995 s/:@srcdir@:/:/g
19996 s/^:*//
19997 s/:*$//
19999 s/\(=[ ]*\).*/\1/
20001 s/\n//
20002 s/^[^=]*=[ ]*$//
20006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20007 fi # test -n "$CONFIG_FILES"
20009 # Set up the scripts for CONFIG_HEADERS section.
20010 # No need to generate them if there are no CONFIG_HEADERS.
20011 # This happens for instance with `./config.status Makefile'.
20012 if test -n "$CONFIG_HEADERS"; then
20013 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20014 BEGIN {
20015 _ACEOF
20017 # Transform confdefs.h into an awk script `defines.awk', embedded as
20018 # here-document in config.status, that substitutes the proper values into
20019 # config.h.in to produce config.h.
20021 # Create a delimiter string that does not exist in confdefs.h, to ease
20022 # handling of long lines.
20023 ac_delim='%!_!# '
20024 for ac_last_try in false false :; do
20025 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20026 if test -z "$ac_tt"; then
20027 break
20028 elif $ac_last_try; then
20029 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20030 else
20031 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20033 done
20035 # For the awk script, D is an array of macro values keyed by name,
20036 # likewise P contains macro parameters if any. Preserve backslash
20037 # newline sequences.
20039 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20040 sed -n '
20041 s/.\{148\}/&'"$ac_delim"'/g
20042 t rset
20043 :rset
20044 s/^[ ]*#[ ]*define[ ][ ]*/ /
20045 t def
20047 :def
20048 s/\\$//
20049 t bsnl
20050 s/["\\]/\\&/g
20051 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20052 D["\1"]=" \3"/p
20053 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20055 :bsnl
20056 s/["\\]/\\&/g
20057 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20058 D["\1"]=" \3\\\\\\n"\\/p
20059 t cont
20060 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20061 t cont
20063 :cont
20065 s/.\{148\}/&'"$ac_delim"'/g
20066 t clear
20067 :clear
20068 s/\\$//
20069 t bsnlc
20070 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20072 :bsnlc
20073 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20074 b cont
20075 ' <confdefs.h | sed '
20076 s/'"$ac_delim"'/"\\\
20077 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20080 for (key in D) D_is_set[key] = 1
20081 FS = "\a"
20083 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20084 line = \$ 0
20085 split(line, arg, " ")
20086 if (arg[1] == "#") {
20087 defundef = arg[2]
20088 mac1 = arg[3]
20089 } else {
20090 defundef = substr(arg[1], 2)
20091 mac1 = arg[2]
20093 split(mac1, mac2, "(") #)
20094 macro = mac2[1]
20095 prefix = substr(line, 1, index(line, defundef) - 1)
20096 if (D_is_set[macro]) {
20097 # Preserve the white space surrounding the "#".
20098 print prefix "define", macro P[macro] D[macro]
20099 next
20100 } else {
20101 # Replace #undef with comments. This is necessary, for example,
20102 # in the case of _POSIX_SOURCE, which is predefined and required
20103 # on some systems where configure will not decide to define it.
20104 if (defundef == "undef") {
20105 print "/*", prefix defundef, macro, "*/"
20106 next
20110 { print }
20111 _ACAWK
20112 _ACEOF
20113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20114 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20115 fi # test -n "$CONFIG_HEADERS"
20118 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20119 shift
20120 for ac_tag
20122 case $ac_tag in
20123 :[FHLC]) ac_mode=$ac_tag; continue;;
20124 esac
20125 case $ac_mode$ac_tag in
20126 :[FHL]*:*);;
20127 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20128 :[FH]-) ac_tag=-:-;;
20129 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20130 esac
20131 ac_save_IFS=$IFS
20132 IFS=:
20133 set x $ac_tag
20134 IFS=$ac_save_IFS
20135 shift
20136 ac_file=$1
20137 shift
20139 case $ac_mode in
20140 :L) ac_source=$1;;
20141 :[FH])
20142 ac_file_inputs=
20143 for ac_f
20145 case $ac_f in
20146 -) ac_f="$ac_tmp/stdin";;
20147 *) # Look for the file first in the build tree, then in the source tree
20148 # (if the path is not absolute). The absolute path cannot be DOS-style,
20149 # because $ac_f cannot contain `:'.
20150 test -f "$ac_f" ||
20151 case $ac_f in
20152 [\\/$]*) false;;
20153 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20154 esac ||
20155 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20156 esac
20157 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20158 as_fn_append ac_file_inputs " '$ac_f'"
20159 done
20161 # Let's still pretend it is `configure' which instantiates (i.e., don't
20162 # use $as_me), people would be surprised to read:
20163 # /* config.h. Generated by config.status. */
20164 configure_input='Generated from '`
20165 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20166 `' by configure.'
20167 if test x"$ac_file" != x-; then
20168 configure_input="$ac_file. $configure_input"
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20170 $as_echo "$as_me: creating $ac_file" >&6;}
20172 # Neutralize special characters interpreted by sed in replacement strings.
20173 case $configure_input in #(
20174 *\&* | *\|* | *\\* )
20175 ac_sed_conf_input=`$as_echo "$configure_input" |
20176 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20177 *) ac_sed_conf_input=$configure_input;;
20178 esac
20180 case $ac_tag in
20181 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20183 esac
20185 esac
20187 ac_dir=`$as_dirname -- "$ac_file" ||
20188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20189 X"$ac_file" : 'X\(//\)[^/]' \| \
20190 X"$ac_file" : 'X\(//\)$' \| \
20191 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20192 $as_echo X"$ac_file" |
20193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20194 s//\1/
20197 /^X\(\/\/\)[^/].*/{
20198 s//\1/
20201 /^X\(\/\/\)$/{
20202 s//\1/
20205 /^X\(\/\).*/{
20206 s//\1/
20209 s/.*/./; q'`
20210 as_dir="$ac_dir"; as_fn_mkdir_p
20211 ac_builddir=.
20213 case "$ac_dir" in
20214 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20216 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20217 # A ".." for each directory in $ac_dir_suffix.
20218 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20219 case $ac_top_builddir_sub in
20220 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20221 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20222 esac ;;
20223 esac
20224 ac_abs_top_builddir=$ac_pwd
20225 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20226 # for backward compatibility:
20227 ac_top_builddir=$ac_top_build_prefix
20229 case $srcdir in
20230 .) # We are building in place.
20231 ac_srcdir=.
20232 ac_top_srcdir=$ac_top_builddir_sub
20233 ac_abs_top_srcdir=$ac_pwd ;;
20234 [\\/]* | ?:[\\/]* ) # Absolute name.
20235 ac_srcdir=$srcdir$ac_dir_suffix;
20236 ac_top_srcdir=$srcdir
20237 ac_abs_top_srcdir=$srcdir ;;
20238 *) # Relative name.
20239 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20240 ac_top_srcdir=$ac_top_build_prefix$srcdir
20241 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20242 esac
20243 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20246 case $ac_mode in
20249 # CONFIG_FILE
20252 _ACEOF
20254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20255 # If the template does not know about datarootdir, expand it.
20256 # FIXME: This hack should be removed a few years after 2.60.
20257 ac_datarootdir_hack=; ac_datarootdir_seen=
20258 ac_sed_dataroot='
20259 /datarootdir/ {
20263 /@datadir@/p
20264 /@docdir@/p
20265 /@infodir@/p
20266 /@localedir@/p
20267 /@mandir@/p'
20268 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20269 *datarootdir*) ac_datarootdir_seen=yes;;
20270 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20272 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20273 _ACEOF
20274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20275 ac_datarootdir_hack='
20276 s&@datadir@&$datadir&g
20277 s&@docdir@&$docdir&g
20278 s&@infodir@&$infodir&g
20279 s&@localedir@&$localedir&g
20280 s&@mandir@&$mandir&g
20281 s&\\\${datarootdir}&$datarootdir&g' ;;
20282 esac
20283 _ACEOF
20285 # Neutralize VPATH when `$srcdir' = `.'.
20286 # Shell code in configure.ac might set extrasub.
20287 # FIXME: do we really want to maintain this feature?
20288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20289 ac_sed_extra="$ac_vpsub
20290 $extrasub
20291 _ACEOF
20292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20295 s|@configure_input@|$ac_sed_conf_input|;t t
20296 s&@top_builddir@&$ac_top_builddir_sub&;t t
20297 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20298 s&@srcdir@&$ac_srcdir&;t t
20299 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20300 s&@top_srcdir@&$ac_top_srcdir&;t t
20301 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20302 s&@builddir@&$ac_builddir&;t t
20303 s&@abs_builddir@&$ac_abs_builddir&;t t
20304 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20305 $ac_datarootdir_hack
20307 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20308 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20310 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20311 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20312 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20313 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20315 which seems to be undefined. Please make sure it is defined" >&5
20316 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20317 which seems to be undefined. Please make sure it is defined" >&2;}
20319 rm -f "$ac_tmp/stdin"
20320 case $ac_file in
20321 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20322 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20323 esac \
20324 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20328 # CONFIG_HEADER
20330 if test x"$ac_file" != x-; then
20332 $as_echo "/* $configure_input */" \
20333 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20334 } >"$ac_tmp/config.h" \
20335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20336 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20338 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20339 else
20340 rm -f "$ac_file"
20341 mv "$ac_tmp/config.h" "$ac_file" \
20342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20344 else
20345 $as_echo "/* $configure_input */" \
20346 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20347 || as_fn_error $? "could not create -" "$LINENO" 5
20352 # CONFIG_LINK
20355 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20357 else
20358 # Prefer the file from the source tree if names are identical.
20359 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20360 ac_source=$srcdir/$ac_source
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20364 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20366 if test ! -r "$ac_source"; then
20367 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20369 rm -f "$ac_file"
20371 # Try a relative symlink, then a hard link, then a copy.
20372 case $ac_source in
20373 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20374 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20375 esac
20376 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20377 ln "$ac_source" "$ac_file" 2>/dev/null ||
20378 cp -p "$ac_source" "$ac_file" ||
20379 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20382 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20383 $as_echo "$as_me: executing $ac_file commands" >&6;}
20385 esac
20388 case $ac_file$ac_mode in
20389 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20390 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20391 "Makefile":C) wine_fn_output_makefile Makefile ;;
20393 esac
20394 done # for ac_tag
20397 as_fn_exit 0
20398 _ACEOF
20399 ac_clean_files=$ac_clean_files_save
20401 test $ac_write_fail = 0 ||
20402 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20405 # configure is writing to config.log, and then calls config.status.
20406 # config.status does its own redirection, appending to config.log.
20407 # Unfortunately, on DOS this fails, as config.log is still kept open
20408 # by configure, so config.status won't be able to write to it; its
20409 # output is simply discarded. So we exec the FD to /dev/null,
20410 # effectively closing config.log, so it can be properly (re)opened and
20411 # appended to by config.status. When coming back to configure, we
20412 # need to make the FD available again.
20413 if test "$no_create" != yes; then
20414 ac_cs_success=:
20415 ac_config_status_args=
20416 test "$silent" = yes &&
20417 ac_config_status_args="$ac_config_status_args --quiet"
20418 exec 5>/dev/null
20419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20420 exec 5>>config.log
20421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20422 # would make configure fail if this is the last instruction.
20423 $ac_cs_success || as_fn_exit 1
20425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20431 if test "$no_create" = "yes"
20432 then
20433 exit 0
20436 ac_save_IFS="$IFS"
20437 if test "x$wine_notices" != x; then
20438 echo >&6
20439 IFS="|"
20440 for msg in $wine_notices; do
20441 IFS="$ac_save_IFS"
20442 if ${msg:+false} :; then :
20444 else
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20446 $as_echo "$as_me: $msg" >&6;}
20448 done
20450 IFS="|"
20451 for msg in $wine_warnings; do
20452 IFS="$ac_save_IFS"
20453 if ${msg:+false} :; then :
20455 else
20456 echo >&2
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20458 $as_echo "$as_me: WARNING: $msg" >&2;}
20460 done
20461 IFS="$ac_save_IFS"
20463 $as_echo "
20464 $as_me: Finished. Do '${ac_make}' to compile Wine.
20465 " >&6