d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalSphericalLight().
[wine.git] / configure
blobda270ddcdce82bcd98665af9236e76ef594e31d6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.8.
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.8'
584 PACKAGE_STRING='Wine 2.8'
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 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_advapi32
877 enable_advpack
878 enable_amstream
879 enable_api_ms_win_appmodel_identity_l1_1_0
880 enable_api_ms_win_appmodel_runtime_l1_1_1
881 enable_api_ms_win_core_apiquery_l1_1_0
882 enable_api_ms_win_core_appcompat_l1_1_1
883 enable_api_ms_win_core_appinit_l1_1_0
884 enable_api_ms_win_core_atoms_l1_1_0
885 enable_api_ms_win_core_bem_l1_1_0
886 enable_api_ms_win_core_com_l1_1_0
887 enable_api_ms_win_core_com_l1_1_1
888 enable_api_ms_win_core_com_private_l1_1_0
889 enable_api_ms_win_core_console_l1_1_0
890 enable_api_ms_win_core_console_l2_1_0
891 enable_api_ms_win_core_datetime_l1_1_0
892 enable_api_ms_win_core_datetime_l1_1_1
893 enable_api_ms_win_core_debug_l1_1_0
894 enable_api_ms_win_core_debug_l1_1_1
895 enable_api_ms_win_core_delayload_l1_1_0
896 enable_api_ms_win_core_delayload_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_0
898 enable_api_ms_win_core_errorhandling_l1_1_1
899 enable_api_ms_win_core_errorhandling_l1_1_2
900 enable_api_ms_win_core_fibers_l1_1_0
901 enable_api_ms_win_core_fibers_l1_1_1
902 enable_api_ms_win_core_file_l1_1_0
903 enable_api_ms_win_core_file_l1_2_0
904 enable_api_ms_win_core_file_l1_2_1
905 enable_api_ms_win_core_file_l2_1_0
906 enable_api_ms_win_core_file_l2_1_1
907 enable_api_ms_win_core_handle_l1_1_0
908 enable_api_ms_win_core_heap_l1_1_0
909 enable_api_ms_win_core_heap_l1_2_0
910 enable_api_ms_win_core_heap_obsolete_l1_1_0
911 enable_api_ms_win_core_interlocked_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_2_0
913 enable_api_ms_win_core_io_l1_1_0
914 enable_api_ms_win_core_io_l1_1_1
915 enable_api_ms_win_core_job_l1_1_0
916 enable_api_ms_win_core_job_l2_1_0
917 enable_api_ms_win_core_kernel32_legacy_l1_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_1
919 enable_api_ms_win_core_kernel32_private_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_1_0
921 enable_api_ms_win_core_libraryloader_l1_1_1
922 enable_api_ms_win_core_libraryloader_l1_2_0
923 enable_api_ms_win_core_libraryloader_l1_2_2
924 enable_api_ms_win_core_localization_l1_1_0
925 enable_api_ms_win_core_localization_l1_2_0
926 enable_api_ms_win_core_localization_l1_2_1
927 enable_api_ms_win_core_localization_l2_1_0
928 enable_api_ms_win_core_localization_obsolete_l1_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_2_0
930 enable_api_ms_win_core_localization_private_l1_1_0
931 enable_api_ms_win_core_localregistry_l1_1_0
932 enable_api_ms_win_core_memory_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_1
934 enable_api_ms_win_core_memory_l1_1_2
935 enable_api_ms_win_core_misc_l1_1_0
936 enable_api_ms_win_core_namedpipe_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_2_0
938 enable_api_ms_win_core_namespace_l1_1_0
939 enable_api_ms_win_core_normalization_l1_1_0
940 enable_api_ms_win_core_path_l1_1_0
941 enable_api_ms_win_core_privateprofile_l1_1_1
942 enable_api_ms_win_core_processenvironment_l1_1_0
943 enable_api_ms_win_core_processenvironment_l1_2_0
944 enable_api_ms_win_core_processthreads_l1_1_0
945 enable_api_ms_win_core_processthreads_l1_1_1
946 enable_api_ms_win_core_processthreads_l1_1_2
947 enable_api_ms_win_core_profile_l1_1_0
948 enable_api_ms_win_core_psapi_l1_1_0
949 enable_api_ms_win_core_psapi_obsolete_l1_1_0
950 enable_api_ms_win_core_quirks_l1_1_0
951 enable_api_ms_win_core_realtime_l1_1_0
952 enable_api_ms_win_core_registry_l1_1_0
953 enable_api_ms_win_core_registry_l2_1_0
954 enable_api_ms_win_core_registryuserspecific_l1_1_0
955 enable_api_ms_win_core_rtlsupport_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_2_0
957 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
958 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
959 enable_api_ms_win_core_sidebyside_l1_1_0
960 enable_api_ms_win_core_string_l1_1_0
961 enable_api_ms_win_core_string_l2_1_0
962 enable_api_ms_win_core_string_obsolete_l1_1_0
963 enable_api_ms_win_core_stringansi_l1_1_0
964 enable_api_ms_win_core_synch_l1_1_0
965 enable_api_ms_win_core_synch_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_1_0
967 enable_api_ms_win_core_sysinfo_l1_2_0
968 enable_api_ms_win_core_sysinfo_l1_2_1
969 enable_api_ms_win_core_threadpool_l1_1_0
970 enable_api_ms_win_core_threadpool_l1_2_0
971 enable_api_ms_win_core_threadpool_legacy_l1_1_0
972 enable_api_ms_win_core_threadpool_private_l1_1_0
973 enable_api_ms_win_core_timezone_l1_1_0
974 enable_api_ms_win_core_toolhelp_l1_1_0
975 enable_api_ms_win_core_url_l1_1_0
976 enable_api_ms_win_core_util_l1_1_0
977 enable_api_ms_win_core_version_l1_1_0
978 enable_api_ms_win_core_version_private_l1_1_0
979 enable_api_ms_win_core_versionansi_l1_1_0
980 enable_api_ms_win_core_windowserrorreporting_l1_1_0
981 enable_api_ms_win_core_winrt_error_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_1
983 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
984 enable_api_ms_win_core_winrt_l1_1_0
985 enable_api_ms_win_core_winrt_registration_l1_1_0
986 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
987 enable_api_ms_win_core_winrt_string_l1_1_0
988 enable_api_ms_win_core_wow64_l1_1_0
989 enable_api_ms_win_core_xstate_l1_1_0
990 enable_api_ms_win_core_xstate_l2_1_0
991 enable_api_ms_win_crt_conio_l1_1_0
992 enable_api_ms_win_crt_convert_l1_1_0
993 enable_api_ms_win_crt_environment_l1_1_0
994 enable_api_ms_win_crt_filesystem_l1_1_0
995 enable_api_ms_win_crt_heap_l1_1_0
996 enable_api_ms_win_crt_locale_l1_1_0
997 enable_api_ms_win_crt_math_l1_1_0
998 enable_api_ms_win_crt_multibyte_l1_1_0
999 enable_api_ms_win_crt_private_l1_1_0
1000 enable_api_ms_win_crt_process_l1_1_0
1001 enable_api_ms_win_crt_runtime_l1_1_0
1002 enable_api_ms_win_crt_stdio_l1_1_0
1003 enable_api_ms_win_crt_string_l1_1_0
1004 enable_api_ms_win_crt_time_l1_1_0
1005 enable_api_ms_win_crt_utility_l1_1_0
1006 enable_api_ms_win_devices_config_l1_1_1
1007 enable_api_ms_win_devices_query_l1_1_1
1008 enable_api_ms_win_downlevel_advapi32_l1_1_0
1009 enable_api_ms_win_downlevel_advapi32_l2_1_0
1010 enable_api_ms_win_downlevel_normaliz_l1_1_0
1011 enable_api_ms_win_downlevel_ole32_l1_1_0
1012 enable_api_ms_win_downlevel_shell32_l1_1_0
1013 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1015 enable_api_ms_win_downlevel_user32_l1_1_0
1016 enable_api_ms_win_downlevel_version_l1_1_0
1017 enable_api_ms_win_dx_d3dkmt_l1_1_0
1018 enable_api_ms_win_eventing_classicprovider_l1_1_0
1019 enable_api_ms_win_eventing_consumer_l1_1_0
1020 enable_api_ms_win_eventing_controller_l1_1_0
1021 enable_api_ms_win_eventing_provider_l1_1_0
1022 enable_api_ms_win_eventlog_legacy_l1_1_0
1023 enable_api_ms_win_mm_misc_l1_1_1
1024 enable_api_ms_win_mm_mme_l1_1_0
1025 enable_api_ms_win_ntuser_dc_access_l1_1_0
1026 enable_api_ms_win_power_base_l1_1_0
1027 enable_api_ms_win_power_setting_l1_1_0
1028 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1029 enable_api_ms_win_security_audit_l1_1_1
1030 enable_api_ms_win_security_base_l1_1_0
1031 enable_api_ms_win_security_base_l1_2_0
1032 enable_api_ms_win_security_base_private_l1_1_1
1033 enable_api_ms_win_security_grouppolicy_l1_1_0
1034 enable_api_ms_win_security_lsalookup_l1_1_0
1035 enable_api_ms_win_security_lsalookup_l1_1_1
1036 enable_api_ms_win_security_lsalookup_l2_1_1
1037 enable_api_ms_win_security_lsapolicy_l1_1_0
1038 enable_api_ms_win_security_sddl_l1_1_0
1039 enable_api_ms_win_security_systemfunctions_l1_1_0
1040 enable_api_ms_win_service_core_l1_1_0
1041 enable_api_ms_win_service_core_l1_1_1
1042 enable_api_ms_win_service_management_l1_1_0
1043 enable_api_ms_win_service_management_l2_1_0
1044 enable_api_ms_win_service_private_l1_1_1
1045 enable_api_ms_win_service_winsvc_l1_1_0
1046 enable_api_ms_win_service_winsvc_l1_2_0
1047 enable_api_ms_win_shell_shellcom_l1_1_0
1048 enable_api_ms_win_shell_shellfolders_l1_1_0
1049 enable_apphelp
1050 enable_appwiz_cpl
1051 enable_atl
1052 enable_atl100
1053 enable_atl110
1054 enable_atl80
1055 enable_atl90
1056 enable_authz
1057 enable_avicap32
1058 enable_avifil32
1059 enable_avrt
1060 enable_bcrypt
1061 enable_bluetoothapis
1062 enable_browseui
1063 enable_bthprops_cpl
1064 enable_cabinet
1065 enable_capi2032
1066 enable_cards
1067 enable_cfgmgr32
1068 enable_clusapi
1069 enable_combase
1070 enable_comcat
1071 enable_comctl32
1072 enable_comdlg32
1073 enable_compstui
1074 enable_comsvcs
1075 enable_concrt140
1076 enable_connect
1077 enable_credui
1078 enable_crtdll
1079 enable_crypt32
1080 enable_cryptdlg
1081 enable_cryptdll
1082 enable_cryptext
1083 enable_cryptnet
1084 enable_cryptui
1085 enable_ctapi32
1086 enable_ctl3d32
1087 enable_d2d1
1088 enable_d3d10
1089 enable_d3d10_1
1090 enable_d3d10core
1091 enable_d3d11
1092 enable_d3d8
1093 enable_d3d9
1094 enable_d3dcompiler_33
1095 enable_d3dcompiler_34
1096 enable_d3dcompiler_35
1097 enable_d3dcompiler_36
1098 enable_d3dcompiler_37
1099 enable_d3dcompiler_38
1100 enable_d3dcompiler_39
1101 enable_d3dcompiler_40
1102 enable_d3dcompiler_41
1103 enable_d3dcompiler_42
1104 enable_d3dcompiler_43
1105 enable_d3dcompiler_46
1106 enable_d3dcompiler_47
1107 enable_d3dim
1108 enable_d3drm
1109 enable_d3dx10_33
1110 enable_d3dx10_34
1111 enable_d3dx10_35
1112 enable_d3dx10_36
1113 enable_d3dx10_37
1114 enable_d3dx10_38
1115 enable_d3dx10_39
1116 enable_d3dx10_40
1117 enable_d3dx10_41
1118 enable_d3dx10_42
1119 enable_d3dx10_43
1120 enable_d3dx11_42
1121 enable_d3dx11_43
1122 enable_d3dx9_24
1123 enable_d3dx9_25
1124 enable_d3dx9_26
1125 enable_d3dx9_27
1126 enable_d3dx9_28
1127 enable_d3dx9_29
1128 enable_d3dx9_30
1129 enable_d3dx9_31
1130 enable_d3dx9_32
1131 enable_d3dx9_33
1132 enable_d3dx9_34
1133 enable_d3dx9_35
1134 enable_d3dx9_36
1135 enable_d3dx9_37
1136 enable_d3dx9_38
1137 enable_d3dx9_39
1138 enable_d3dx9_40
1139 enable_d3dx9_41
1140 enable_d3dx9_42
1141 enable_d3dx9_43
1142 enable_d3dxof
1143 enable_davclnt
1144 enable_dbgeng
1145 enable_dbghelp
1146 enable_dciman32
1147 enable_ddraw
1148 enable_ddrawex
1149 enable_devenum
1150 enable_dhcpcsvc
1151 enable_difxapi
1152 enable_dinput
1153 enable_dinput8
1154 enable_dispex
1155 enable_dmband
1156 enable_dmcompos
1157 enable_dmime
1158 enable_dmloader
1159 enable_dmscript
1160 enable_dmstyle
1161 enable_dmsynth
1162 enable_dmusic
1163 enable_dmusic32
1164 enable_dnsapi
1165 enable_dplay
1166 enable_dplayx
1167 enable_dpnaddr
1168 enable_dpnet
1169 enable_dpnhpast
1170 enable_dpnlobby
1171 enable_dpvoice
1172 enable_dpwsockx
1173 enable_drmclien
1174 enable_dsound
1175 enable_dssenh
1176 enable_dswave
1177 enable_dwmapi
1178 enable_dwrite
1179 enable_dxdiagn
1180 enable_dxgi
1181 enable_dxva2
1182 enable_esent
1183 enable_evr
1184 enable_explorerframe
1185 enable_ext_ms_win_authz_context_l1_1_0
1186 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1187 enable_ext_ms_win_gdi_dc_create_l1_1_1
1188 enable_ext_ms_win_gdi_dc_l1_2_0
1189 enable_ext_ms_win_gdi_devcaps_l1_1_0
1190 enable_ext_ms_win_gdi_draw_l1_1_1
1191 enable_ext_ms_win_gdi_render_l1_1_0
1192 enable_ext_ms_win_kernel32_package_current_l1_1_0
1193 enable_ext_ms_win_ntuser_message_l1_1_1
1194 enable_ext_ms_win_ntuser_private_l1_1_1
1195 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1196 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1197 enable_ext_ms_win_ntuser_window_l1_1_1
1198 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1199 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1200 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1201 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1202 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1203 enable_faultrep
1204 enable_fltlib
1205 enable_fltmgr_sys
1206 enable_fntcache
1207 enable_fontsub
1208 enable_fusion
1209 enable_fwpuclnt
1210 enable_gameux
1211 enable_gdi32
1212 enable_gdiplus
1213 enable_glu32
1214 enable_gphoto2_ds
1215 enable_gpkcsp
1216 enable_hal
1217 enable_hhctrl_ocx
1218 enable_hid
1219 enable_hidclass_sys
1220 enable_hlink
1221 enable_hnetcfg
1222 enable_httpapi
1223 enable_iccvid
1224 enable_icmp
1225 enable_ieframe
1226 enable_imaadp32_acm
1227 enable_imagehlp
1228 enable_imm32
1229 enable_inetcomm
1230 enable_inetcpl_cpl
1231 enable_inetmib1
1232 enable_infosoft
1233 enable_initpki
1234 enable_inkobj
1235 enable_inseng
1236 enable_iphlpapi
1237 enable_iprop
1238 enable_irprops_cpl
1239 enable_itircl
1240 enable_itss
1241 enable_joy_cpl
1242 enable_jscript
1243 enable_jsproxy
1244 enable_kernel32
1245 enable_kernelbase
1246 enable_ksuser
1247 enable_ktmw32
1248 enable_loadperf
1249 enable_localspl
1250 enable_localui
1251 enable_lz32
1252 enable_mapi32
1253 enable_mapistub
1254 enable_mciavi32
1255 enable_mcicda
1256 enable_mciqtz32
1257 enable_mciseq
1258 enable_mciwave
1259 enable_mf
1260 enable_mf3216
1261 enable_mfplat
1262 enable_mfreadwrite
1263 enable_mgmtapi
1264 enable_midimap
1265 enable_mlang
1266 enable_mmcndmgr
1267 enable_mmdevapi
1268 enable_mountmgr_sys
1269 enable_mpr
1270 enable_mprapi
1271 enable_msacm32_drv
1272 enable_msacm32
1273 enable_msadp32_acm
1274 enable_msasn1
1275 enable_mscat32
1276 enable_mscms
1277 enable_mscoree
1278 enable_msctf
1279 enable_msctfp
1280 enable_msdaps
1281 enable_msdelta
1282 enable_msdmo
1283 enable_msdrm
1284 enable_msftedit
1285 enable_msg711_acm
1286 enable_msgsm32_acm
1287 enable_mshtml_tlb
1288 enable_mshtml
1289 enable_msi
1290 enable_msident
1291 enable_msimg32
1292 enable_msimsg
1293 enable_msimtf
1294 enable_msisip
1295 enable_msisys_ocx
1296 enable_msls31
1297 enable_msnet32
1298 enable_mspatcha
1299 enable_msports
1300 enable_msrle32
1301 enable_msscript_ocx
1302 enable_mssign32
1303 enable_mssip32
1304 enable_mstask
1305 enable_msvcirt
1306 enable_msvcm80
1307 enable_msvcm90
1308 enable_msvcp100
1309 enable_msvcp110
1310 enable_msvcp120
1311 enable_msvcp120_app
1312 enable_msvcp140
1313 enable_msvcp60
1314 enable_msvcp70
1315 enable_msvcp71
1316 enable_msvcp80
1317 enable_msvcp90
1318 enable_msvcr100
1319 enable_msvcr110
1320 enable_msvcr120
1321 enable_msvcr120_app
1322 enable_msvcr70
1323 enable_msvcr71
1324 enable_msvcr80
1325 enable_msvcr90
1326 enable_msvcrt
1327 enable_msvcrt20
1328 enable_msvcrt40
1329 enable_msvcrtd
1330 enable_msvfw32
1331 enable_msvidc32
1332 enable_mswsock
1333 enable_msxml
1334 enable_msxml2
1335 enable_msxml3
1336 enable_msxml4
1337 enable_msxml6
1338 enable_mtxdm
1339 enable_ncrypt
1340 enable_nddeapi
1341 enable_ndis_sys
1342 enable_netapi32
1343 enable_netcfgx
1344 enable_netprofm
1345 enable_newdev
1346 enable_normaliz
1347 enable_npmshtml
1348 enable_npptools
1349 enable_ntdll
1350 enable_ntdsapi
1351 enable_ntoskrnl_exe
1352 enable_ntprint
1353 enable_objsel
1354 enable_odbc32
1355 enable_odbccp32
1356 enable_odbccu32
1357 enable_ole32
1358 enable_oleacc
1359 enable_oleaut32
1360 enable_olecli32
1361 enable_oledb32
1362 enable_oledlg
1363 enable_olepro32
1364 enable_olesvr32
1365 enable_olethk32
1366 enable_openal32
1367 enable_opencl
1368 enable_opengl32
1369 enable_packager
1370 enable_pdh
1371 enable_photometadatahandler
1372 enable_pidgen
1373 enable_powrprof
1374 enable_printui
1375 enable_prntvpt
1376 enable_propsys
1377 enable_psapi
1378 enable_pstorec
1379 enable_qcap
1380 enable_qedit
1381 enable_qmgr
1382 enable_qmgrprxy
1383 enable_quartz
1384 enable_query
1385 enable_rasapi32
1386 enable_rasdlg
1387 enable_regapi
1388 enable_resutils
1389 enable_riched20
1390 enable_riched32
1391 enable_rpcrt4
1392 enable_rsabase
1393 enable_rsaenh
1394 enable_rstrtmgr
1395 enable_rtutils
1396 enable_samlib
1397 enable_sane_ds
1398 enable_scarddlg
1399 enable_sccbase
1400 enable_schannel
1401 enable_schedsvc
1402 enable_scrobj
1403 enable_scrrun
1404 enable_scsiport_sys
1405 enable_secur32
1406 enable_security
1407 enable_sensapi
1408 enable_serialui
1409 enable_setupapi
1410 enable_sfc
1411 enable_sfc_os
1412 enable_shdoclc
1413 enable_shdocvw
1414 enable_shell32
1415 enable_shfolder
1416 enable_shlwapi
1417 enable_slbcsp
1418 enable_slc
1419 enable_snmpapi
1420 enable_softpub
1421 enable_spoolss
1422 enable_sspicli
1423 enable_stdole2_tlb
1424 enable_stdole32_tlb
1425 enable_sti
1426 enable_svrapi
1427 enable_sxs
1428 enable_t2embed
1429 enable_tapi32
1430 enable_taskschd
1431 enable_tdi_sys
1432 enable_traffic
1433 enable_twain_32
1434 enable_ucrtbase
1435 enable_uiautomationcore
1436 enable_unicows
1437 enable_updspapi
1438 enable_url
1439 enable_urlmon
1440 enable_usbd_sys
1441 enable_user32
1442 enable_userenv
1443 enable_usp10
1444 enable_uxtheme
1445 enable_vbscript
1446 enable_vcomp
1447 enable_vcomp100
1448 enable_vcomp110
1449 enable_vcomp120
1450 enable_vcomp140
1451 enable_vcomp90
1452 enable_vcruntime140
1453 enable_vdmdbg
1454 enable_version
1455 enable_virtdisk
1456 enable_vssapi
1457 enable_wbemdisp
1458 enable_wbemprox
1459 enable_webservices
1460 enable_wer
1461 enable_wevtapi
1462 enable_wiaservc
1463 enable_wimgapi
1464 enable_windowscodecs
1465 enable_windowscodecsext
1466 enable_winealsa_drv
1467 enable_winebus_sys
1468 enable_winecoreaudio_drv
1469 enable_wined3d
1470 enable_winegstreamer
1471 enable_winehid_sys
1472 enable_winejoystick_drv
1473 enable_winemac_drv
1474 enable_winemapi
1475 enable_winemp3_acm
1476 enable_wineoss_drv
1477 enable_wineps_drv
1478 enable_winepulse_drv
1479 enable_wineqtdecoder
1480 enable_winex11_drv
1481 enable_wing32
1482 enable_winhttp
1483 enable_wininet
1484 enable_winmm
1485 enable_winnls32
1486 enable_winscard
1487 enable_winspool_drv
1488 enable_winsta
1489 enable_wintab32
1490 enable_wintrust
1491 enable_winusb
1492 enable_wlanapi
1493 enable_wldap32
1494 enable_wmasf
1495 enable_wmi
1496 enable_wmiutils
1497 enable_wmp
1498 enable_wmvcore
1499 enable_wnaspi32
1500 enable_wpc
1501 enable_wpcap
1502 enable_ws2_32
1503 enable_wsdapi
1504 enable_wshom_ocx
1505 enable_wsnmp32
1506 enable_wsock32
1507 enable_wtsapi32
1508 enable_wuapi
1509 enable_wuaueng
1510 enable_x3daudio1_0
1511 enable_x3daudio1_1
1512 enable_x3daudio1_2
1513 enable_x3daudio1_3
1514 enable_x3daudio1_4
1515 enable_x3daudio1_5
1516 enable_x3daudio1_6
1517 enable_x3daudio1_7
1518 enable_xapofx1_1
1519 enable_xapofx1_2
1520 enable_xapofx1_3
1521 enable_xapofx1_4
1522 enable_xapofx1_5
1523 enable_xaudio2_0
1524 enable_xaudio2_1
1525 enable_xaudio2_2
1526 enable_xaudio2_3
1527 enable_xaudio2_4
1528 enable_xaudio2_5
1529 enable_xaudio2_6
1530 enable_xaudio2_7
1531 enable_xaudio2_8
1532 enable_xaudio2_9
1533 enable_xinput1_1
1534 enable_xinput1_2
1535 enable_xinput1_3
1536 enable_xinput1_4
1537 enable_xinput9_1_0
1538 enable_xmllite
1539 enable_xolehlp
1540 enable_xpsprint
1541 enable_xpssvcs
1542 enable_fonts
1543 enable_include
1544 enable_libs_port
1545 enable_libs_wine
1546 enable_libs_wpp
1547 enable_loader
1548 enable_po
1549 enable_arp
1550 enable_aspnet_regiis
1551 enable_attrib
1552 enable_cabarc
1553 enable_cacls
1554 enable_clock
1555 enable_cmd
1556 enable_conhost
1557 enable_control
1558 enable_cscript
1559 enable_dpnsvr
1560 enable_dxdiag
1561 enable_eject
1562 enable_expand
1563 enable_explorer
1564 enable_extrac32
1565 enable_findstr
1566 enable_fsutil
1567 enable_hh
1568 enable_hostname
1569 enable_icacls
1570 enable_icinfo
1571 enable_iexplore
1572 enable_ipconfig
1573 enable_lodctr
1574 enable_mofcomp
1575 enable_mshta
1576 enable_msiexec
1577 enable_msinfo32
1578 enable_net
1579 enable_netsh
1580 enable_netstat
1581 enable_ngen
1582 enable_notepad
1583 enable_oleview
1584 enable_ping
1585 enable_plugplay
1586 enable_presentationfontcache
1587 enable_progman
1588 enable_reg
1589 enable_regasm
1590 enable_regedit
1591 enable_regsvcs
1592 enable_regsvr32
1593 enable_rpcss
1594 enable_rundll32
1595 enable_sc
1596 enable_schtasks
1597 enable_sdbinst
1598 enable_secedit
1599 enable_servicemodelreg
1600 enable_services
1601 enable_shutdown
1602 enable_spoolsv
1603 enable_start
1604 enable_subst
1605 enable_svchost
1606 enable_systeminfo
1607 enable_taskkill
1608 enable_tasklist
1609 enable_taskmgr
1610 enable_termsv
1611 enable_uninstaller
1612 enable_unlodctr
1613 enable_view
1614 enable_wevtutil
1615 enable_wineboot
1616 enable_winebrowser
1617 enable_winecfg
1618 enable_wineconsole
1619 enable_winedbg
1620 enable_winedevice
1621 enable_winefile
1622 enable_winemenubuilder
1623 enable_winemine
1624 enable_winemsibuilder
1625 enable_winepath
1626 enable_winetest
1627 enable_winhlp32
1628 enable_winver
1629 enable_wmic
1630 enable_wmplayer
1631 enable_wordpad
1632 enable_write
1633 enable_wscript
1634 enable_wusa
1635 enable_xcopy
1636 enable_server
1637 enable_tools
1639 ac_precious_vars='build_alias
1640 host_alias
1641 target_alias
1643 CFLAGS
1644 LDFLAGS
1645 LIBS
1646 CPPFLAGS
1648 CXXFLAGS
1651 XMKMF
1652 XML2_CFLAGS
1653 XML2_LIBS
1654 XSLT_CFLAGS
1655 XSLT_LIBS
1656 DBUS_CFLAGS
1657 DBUS_LIBS
1658 HAL_CFLAGS
1659 HAL_LIBS
1660 GNUTLS_CFLAGS
1661 GNUTLS_LIBS
1662 SANE_CFLAGS
1663 SANE_LIBS
1664 GPHOTO2_CFLAGS
1665 GPHOTO2_LIBS
1666 GPHOTO2_PORT_CFLAGS
1667 GPHOTO2_PORT_LIBS
1668 LCMS2_CFLAGS
1669 LCMS2_LIBS
1670 FREETYPE_CFLAGS
1671 FREETYPE_LIBS
1672 PULSE_CFLAGS
1673 PULSE_LIBS
1674 GSTREAMER_CFLAGS
1675 GSTREAMER_LIBS
1676 UDEV_CFLAGS
1677 UDEV_LIBS
1678 CAPI20_CFLAGS
1679 CAPI20_LIBS
1680 FONTCONFIG_CFLAGS
1681 FONTCONFIG_LIBS
1682 JPEG_CFLAGS
1683 JPEG_LIBS
1684 PNG_CFLAGS
1685 PNG_LIBS
1686 TIFF_CFLAGS
1687 TIFF_LIBS
1688 MPG123_CFLAGS
1689 MPG123_LIBS
1690 NETAPI_CFLAGS
1691 NETAPI_LIBS'
1694 # Initialize some variables set by options.
1695 ac_init_help=
1696 ac_init_version=false
1697 ac_unrecognized_opts=
1698 ac_unrecognized_sep=
1699 # The variables have the same names as the options, with
1700 # dashes changed to underlines.
1701 cache_file=/dev/null
1702 exec_prefix=NONE
1703 no_create=
1704 no_recursion=
1705 prefix=NONE
1706 program_prefix=NONE
1707 program_suffix=NONE
1708 program_transform_name=s,x,x,
1709 silent=
1710 site=
1711 srcdir=
1712 verbose=
1713 x_includes=NONE
1714 x_libraries=NONE
1716 # Installation directory options.
1717 # These are left unexpanded so users can "make install exec_prefix=/foo"
1718 # and all the variables that are supposed to be based on exec_prefix
1719 # by default will actually change.
1720 # Use braces instead of parens because sh, perl, etc. also accept them.
1721 # (The list follows the same order as the GNU Coding Standards.)
1722 bindir='${exec_prefix}/bin'
1723 sbindir='${exec_prefix}/sbin'
1724 libexecdir='${exec_prefix}/libexec'
1725 datarootdir='${prefix}/share'
1726 datadir='${datarootdir}'
1727 sysconfdir='${prefix}/etc'
1728 sharedstatedir='${prefix}/com'
1729 localstatedir='${prefix}/var'
1730 runstatedir='${localstatedir}/run'
1731 includedir='${prefix}/include'
1732 oldincludedir='/usr/include'
1733 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1734 infodir='${datarootdir}/info'
1735 htmldir='${docdir}'
1736 dvidir='${docdir}'
1737 pdfdir='${docdir}'
1738 psdir='${docdir}'
1739 libdir='${exec_prefix}/lib'
1740 localedir='${datarootdir}/locale'
1741 mandir='${datarootdir}/man'
1743 ac_prev=
1744 ac_dashdash=
1745 for ac_option
1747 # If the previous option needs an argument, assign it.
1748 if test -n "$ac_prev"; then
1749 eval $ac_prev=\$ac_option
1750 ac_prev=
1751 continue
1754 case $ac_option in
1755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1756 *=) ac_optarg= ;;
1757 *) ac_optarg=yes ;;
1758 esac
1760 # Accept the important Cygnus configure options, so we can diagnose typos.
1762 case $ac_dashdash$ac_option in
1764 ac_dashdash=yes ;;
1766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1767 ac_prev=bindir ;;
1768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1769 bindir=$ac_optarg ;;
1771 -build | --build | --buil | --bui | --bu)
1772 ac_prev=build_alias ;;
1773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1774 build_alias=$ac_optarg ;;
1776 -cache-file | --cache-file | --cache-fil | --cache-fi \
1777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1778 ac_prev=cache_file ;;
1779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1781 cache_file=$ac_optarg ;;
1783 --config-cache | -C)
1784 cache_file=config.cache ;;
1786 -datadir | --datadir | --datadi | --datad)
1787 ac_prev=datadir ;;
1788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1789 datadir=$ac_optarg ;;
1791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1792 | --dataroo | --dataro | --datar)
1793 ac_prev=datarootdir ;;
1794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1796 datarootdir=$ac_optarg ;;
1798 -disable-* | --disable-*)
1799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1800 # Reject names that are not valid shell variable names.
1801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1802 as_fn_error $? "invalid feature name: $ac_useropt"
1803 ac_useropt_orig=$ac_useropt
1804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1805 case $ac_user_opts in
1807 "enable_$ac_useropt"
1808 "*) ;;
1809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1810 ac_unrecognized_sep=', ';;
1811 esac
1812 eval enable_$ac_useropt=no ;;
1814 -docdir | --docdir | --docdi | --doc | --do)
1815 ac_prev=docdir ;;
1816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1817 docdir=$ac_optarg ;;
1819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1820 ac_prev=dvidir ;;
1821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1822 dvidir=$ac_optarg ;;
1824 -enable-* | --enable-*)
1825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1826 # Reject names that are not valid shell variable names.
1827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1828 as_fn_error $? "invalid feature name: $ac_useropt"
1829 ac_useropt_orig=$ac_useropt
1830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1831 case $ac_user_opts in
1833 "enable_$ac_useropt"
1834 "*) ;;
1835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1836 ac_unrecognized_sep=', ';;
1837 esac
1838 eval enable_$ac_useropt=\$ac_optarg ;;
1840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1842 | --exec | --exe | --ex)
1843 ac_prev=exec_prefix ;;
1844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1846 | --exec=* | --exe=* | --ex=*)
1847 exec_prefix=$ac_optarg ;;
1849 -gas | --gas | --ga | --g)
1850 # Obsolete; use --with-gas.
1851 with_gas=yes ;;
1853 -help | --help | --hel | --he | -h)
1854 ac_init_help=long ;;
1855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1856 ac_init_help=recursive ;;
1857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1858 ac_init_help=short ;;
1860 -host | --host | --hos | --ho)
1861 ac_prev=host_alias ;;
1862 -host=* | --host=* | --hos=* | --ho=*)
1863 host_alias=$ac_optarg ;;
1865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1866 ac_prev=htmldir ;;
1867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1868 | --ht=*)
1869 htmldir=$ac_optarg ;;
1871 -includedir | --includedir | --includedi | --included | --include \
1872 | --includ | --inclu | --incl | --inc)
1873 ac_prev=includedir ;;
1874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1875 | --includ=* | --inclu=* | --incl=* | --inc=*)
1876 includedir=$ac_optarg ;;
1878 -infodir | --infodir | --infodi | --infod | --info | --inf)
1879 ac_prev=infodir ;;
1880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1881 infodir=$ac_optarg ;;
1883 -libdir | --libdir | --libdi | --libd)
1884 ac_prev=libdir ;;
1885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1886 libdir=$ac_optarg ;;
1888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1889 | --libexe | --libex | --libe)
1890 ac_prev=libexecdir ;;
1891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1892 | --libexe=* | --libex=* | --libe=*)
1893 libexecdir=$ac_optarg ;;
1895 -localedir | --localedir | --localedi | --localed | --locale)
1896 ac_prev=localedir ;;
1897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1898 localedir=$ac_optarg ;;
1900 -localstatedir | --localstatedir | --localstatedi | --localstated \
1901 | --localstate | --localstat | --localsta | --localst | --locals)
1902 ac_prev=localstatedir ;;
1903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1905 localstatedir=$ac_optarg ;;
1907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1908 ac_prev=mandir ;;
1909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1910 mandir=$ac_optarg ;;
1912 -nfp | --nfp | --nf)
1913 # Obsolete; use --without-fp.
1914 with_fp=no ;;
1916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1917 | --no-cr | --no-c | -n)
1918 no_create=yes ;;
1920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1922 no_recursion=yes ;;
1924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1926 | --oldin | --oldi | --old | --ol | --o)
1927 ac_prev=oldincludedir ;;
1928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1931 oldincludedir=$ac_optarg ;;
1933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1934 ac_prev=prefix ;;
1935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1936 prefix=$ac_optarg ;;
1938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1939 | --program-pre | --program-pr | --program-p)
1940 ac_prev=program_prefix ;;
1941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1943 program_prefix=$ac_optarg ;;
1945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1946 | --program-suf | --program-su | --program-s)
1947 ac_prev=program_suffix ;;
1948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1950 program_suffix=$ac_optarg ;;
1952 -program-transform-name | --program-transform-name \
1953 | --program-transform-nam | --program-transform-na \
1954 | --program-transform-n | --program-transform- \
1955 | --program-transform | --program-transfor \
1956 | --program-transfo | --program-transf \
1957 | --program-trans | --program-tran \
1958 | --progr-tra | --program-tr | --program-t)
1959 ac_prev=program_transform_name ;;
1960 -program-transform-name=* | --program-transform-name=* \
1961 | --program-transform-nam=* | --program-transform-na=* \
1962 | --program-transform-n=* | --program-transform-=* \
1963 | --program-transform=* | --program-transfor=* \
1964 | --program-transfo=* | --program-transf=* \
1965 | --program-trans=* | --program-tran=* \
1966 | --progr-tra=* | --program-tr=* | --program-t=*)
1967 program_transform_name=$ac_optarg ;;
1969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1970 ac_prev=pdfdir ;;
1971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1972 pdfdir=$ac_optarg ;;
1974 -psdir | --psdir | --psdi | --psd | --ps)
1975 ac_prev=psdir ;;
1976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1977 psdir=$ac_optarg ;;
1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1980 | -silent | --silent | --silen | --sile | --sil)
1981 silent=yes ;;
1983 -runstatedir | --runstatedir | --runstatedi | --runstated \
1984 | --runstate | --runstat | --runsta | --runst | --runs \
1985 | --run | --ru | --r)
1986 ac_prev=runstatedir ;;
1987 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1988 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1989 | --run=* | --ru=* | --r=*)
1990 runstatedir=$ac_optarg ;;
1992 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1993 ac_prev=sbindir ;;
1994 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1995 | --sbi=* | --sb=*)
1996 sbindir=$ac_optarg ;;
1998 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1999 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2000 | --sharedst | --shareds | --shared | --share | --shar \
2001 | --sha | --sh)
2002 ac_prev=sharedstatedir ;;
2003 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2004 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2005 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2006 | --sha=* | --sh=*)
2007 sharedstatedir=$ac_optarg ;;
2009 -site | --site | --sit)
2010 ac_prev=site ;;
2011 -site=* | --site=* | --sit=*)
2012 site=$ac_optarg ;;
2014 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2015 ac_prev=srcdir ;;
2016 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2017 srcdir=$ac_optarg ;;
2019 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2020 | --syscon | --sysco | --sysc | --sys | --sy)
2021 ac_prev=sysconfdir ;;
2022 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2023 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2024 sysconfdir=$ac_optarg ;;
2026 -target | --target | --targe | --targ | --tar | --ta | --t)
2027 ac_prev=target_alias ;;
2028 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2029 target_alias=$ac_optarg ;;
2031 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2032 verbose=yes ;;
2034 -version | --version | --versio | --versi | --vers | -V)
2035 ac_init_version=: ;;
2037 -with-* | --with-*)
2038 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2039 # Reject names that are not valid shell variable names.
2040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2041 as_fn_error $? "invalid package name: $ac_useropt"
2042 ac_useropt_orig=$ac_useropt
2043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2044 case $ac_user_opts in
2046 "with_$ac_useropt"
2047 "*) ;;
2048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2049 ac_unrecognized_sep=', ';;
2050 esac
2051 eval with_$ac_useropt=\$ac_optarg ;;
2053 -without-* | --without-*)
2054 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2055 # Reject names that are not valid shell variable names.
2056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2057 as_fn_error $? "invalid package name: $ac_useropt"
2058 ac_useropt_orig=$ac_useropt
2059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2060 case $ac_user_opts in
2062 "with_$ac_useropt"
2063 "*) ;;
2064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2065 ac_unrecognized_sep=', ';;
2066 esac
2067 eval with_$ac_useropt=no ;;
2069 --x)
2070 # Obsolete; use --with-x.
2071 with_x=yes ;;
2073 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2074 | --x-incl | --x-inc | --x-in | --x-i)
2075 ac_prev=x_includes ;;
2076 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2077 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2078 x_includes=$ac_optarg ;;
2080 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2081 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2082 ac_prev=x_libraries ;;
2083 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2084 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2085 x_libraries=$ac_optarg ;;
2087 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2088 Try \`$0 --help' for more information"
2091 *=*)
2092 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2093 # Reject names that are not valid shell variable names.
2094 case $ac_envvar in #(
2095 '' | [0-9]* | *[!_$as_cr_alnum]* )
2096 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2097 esac
2098 eval $ac_envvar=\$ac_optarg
2099 export $ac_envvar ;;
2102 # FIXME: should be removed in autoconf 3.0.
2103 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2104 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2105 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2106 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2109 esac
2110 done
2112 if test -n "$ac_prev"; then
2113 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2114 as_fn_error $? "missing argument to $ac_option"
2117 if test -n "$ac_unrecognized_opts"; then
2118 case $enable_option_checking in
2119 no) ;;
2120 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2121 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2122 esac
2125 # Check all directory arguments for consistency.
2126 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2127 datadir sysconfdir sharedstatedir localstatedir includedir \
2128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2129 libdir localedir mandir runstatedir
2131 eval ac_val=\$$ac_var
2132 # Remove trailing slashes.
2133 case $ac_val in
2134 */ )
2135 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2136 eval $ac_var=\$ac_val;;
2137 esac
2138 # Be sure to have absolute directory names.
2139 case $ac_val in
2140 [\\/$]* | ?:[\\/]* ) continue;;
2141 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2142 esac
2143 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2144 done
2146 # There might be people who depend on the old broken behavior: `$host'
2147 # used to hold the argument of --host etc.
2148 # FIXME: To remove some day.
2149 build=$build_alias
2150 host=$host_alias
2151 target=$target_alias
2153 # FIXME: To remove some day.
2154 if test "x$host_alias" != x; then
2155 if test "x$build_alias" = x; then
2156 cross_compiling=maybe
2157 elif test "x$build_alias" != "x$host_alias"; then
2158 cross_compiling=yes
2162 ac_tool_prefix=
2163 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2165 test "$silent" = yes && exec 6>/dev/null
2168 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2169 ac_ls_di=`ls -di .` &&
2170 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2171 as_fn_error $? "working directory cannot be determined"
2172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2173 as_fn_error $? "pwd does not report name of working directory"
2176 # Find the source files, if location was not specified.
2177 if test -z "$srcdir"; then
2178 ac_srcdir_defaulted=yes
2179 # Try the directory containing this script, then the parent directory.
2180 ac_confdir=`$as_dirname -- "$as_myself" ||
2181 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2182 X"$as_myself" : 'X\(//\)[^/]' \| \
2183 X"$as_myself" : 'X\(//\)$' \| \
2184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2185 $as_echo X"$as_myself" |
2186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2187 s//\1/
2190 /^X\(\/\/\)[^/].*/{
2191 s//\1/
2194 /^X\(\/\/\)$/{
2195 s//\1/
2198 /^X\(\/\).*/{
2199 s//\1/
2202 s/.*/./; q'`
2203 srcdir=$ac_confdir
2204 if test ! -r "$srcdir/$ac_unique_file"; then
2205 srcdir=..
2207 else
2208 ac_srcdir_defaulted=no
2210 if test ! -r "$srcdir/$ac_unique_file"; then
2211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2212 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2214 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2215 ac_abs_confdir=`(
2216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2217 pwd)`
2218 # When building in place, set srcdir=.
2219 if test "$ac_abs_confdir" = "$ac_pwd"; then
2220 srcdir=.
2222 # Remove unnecessary trailing slashes from srcdir.
2223 # Double slashes in file names in object file debugging info
2224 # mess up M-x gdb in Emacs.
2225 case $srcdir in
2226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2227 esac
2228 for ac_var in $ac_precious_vars; do
2229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2230 eval ac_env_${ac_var}_value=\$${ac_var}
2231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2233 done
2236 # Report the --help message.
2238 if test "$ac_init_help" = "long"; then
2239 # Omit some internal or obsolete options to make the list less imposing.
2240 # This message is too long to be a string in the A/UX 3.1 sh.
2241 cat <<_ACEOF
2242 \`configure' configures Wine 2.8 to adapt to many kinds of systems.
2244 Usage: $0 [OPTION]... [VAR=VALUE]...
2246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2247 VAR=VALUE. See below for descriptions of some of the useful variables.
2249 Defaults for the options are specified in brackets.
2251 Configuration:
2252 -h, --help display this help and exit
2253 --help=short display options specific to this package
2254 --help=recursive display the short help of all the included packages
2255 -V, --version display version information and exit
2256 -q, --quiet, --silent do not print \`checking ...' messages
2257 --cache-file=FILE cache test results in FILE [disabled]
2258 -C, --config-cache alias for \`--cache-file=config.cache'
2259 -n, --no-create do not create output files
2260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2262 Installation directories:
2263 --prefix=PREFIX install architecture-independent files in PREFIX
2264 [$ac_default_prefix]
2265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2266 [PREFIX]
2268 By default, \`make install' will install all the files in
2269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2271 for instance \`--prefix=\$HOME'.
2273 For better control, use the options below.
2275 Fine tuning of the installation directories:
2276 --bindir=DIR user executables [EPREFIX/bin]
2277 --sbindir=DIR system admin executables [EPREFIX/sbin]
2278 --libexecdir=DIR program executables [EPREFIX/libexec]
2279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2282 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2283 --libdir=DIR object code libraries [EPREFIX/lib]
2284 --includedir=DIR C header files [PREFIX/include]
2285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2288 --infodir=DIR info documentation [DATAROOTDIR/info]
2289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2290 --mandir=DIR man documentation [DATAROOTDIR/man]
2291 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2292 --htmldir=DIR html documentation [DOCDIR]
2293 --dvidir=DIR dvi documentation [DOCDIR]
2294 --pdfdir=DIR pdf documentation [DOCDIR]
2295 --psdir=DIR ps documentation [DOCDIR]
2296 _ACEOF
2298 cat <<\_ACEOF
2300 X features:
2301 --x-includes=DIR X include files are in DIR
2302 --x-libraries=DIR X library files are in DIR
2304 System types:
2305 --build=BUILD configure for building on BUILD [guessed]
2306 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2307 _ACEOF
2310 if test -n "$ac_init_help"; then
2311 case $ac_init_help in
2312 short | recursive ) echo "Configuration of Wine 2.8:";;
2313 esac
2314 cat <<\_ACEOF
2316 Optional Features:
2317 --disable-option-checking ignore unrecognized --enable/--with options
2318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2320 --disable-win16 do not include Win16 support
2321 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2322 binaries)
2323 --disable-tests do not build the regression tests
2324 --enable-maintainer-mode
2325 enable maintainer-specific build rules
2326 --disable-largefile omit support for large files
2328 Optional Packages:
2329 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2330 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2331 --without-alsa do not use the Alsa sound support
2332 --without-capi do not use CAPI (ISDN support)
2333 --without-cms do not use CMS (color management support)
2334 --without-coreaudio do not use the CoreAudio sound support
2335 --without-cups do not use CUPS
2336 --without-curses do not use (n)curses
2337 --without-dbus do not use DBus (dynamic device support)
2338 --without-fontconfig do not use fontconfig
2339 --without-freetype do not use the FreeType library
2340 --without-gettext do not use gettext
2341 --with-gettextpo use the GetTextPO library to rebuild po files
2342 --without-gphoto do not use gphoto (Digital Camera support)
2343 --without-glu do not use the GLU library
2344 --without-gnutls do not use GnuTLS (schannel support)
2345 --without-gsm do not use libgsm (GSM 06.10 codec support)
2346 --without-gstreamer do not use GStreamer (codecs support)
2347 --without-hal do not use HAL (dynamic device support)
2348 --without-jpeg do not use JPEG
2349 --without-ldap do not use LDAP
2350 --without-mpg123 do not use the mpg123 library
2351 --without-netapi do not use the Samba NetAPI library
2352 --without-openal do not use OpenAL
2353 --without-opencl do not use OpenCL
2354 --without-opengl do not use OpenGL
2355 --without-osmesa do not use the OSMesa library
2356 --without-oss do not use the OSS sound support
2357 --without-pcap do not use the Packet Capture library
2358 --without-png do not use PNG
2359 --without-pthread do not use the pthread library
2360 --without-pulse do not use PulseAudio sound support
2361 --without-sane do not use SANE (scanner support)
2362 --without-tiff do not use TIFF
2363 --without-udev do not use udev (plug and play support)
2364 --without-v4l do not use v4l1 (v4l support)
2365 --without-xcomposite do not use the Xcomposite extension
2366 --without-xcursor do not use the Xcursor extension
2367 --without-xfixes do not use Xfixes for clipboard change notifications
2368 --without-xinerama do not use Xinerama (multi-monitor support)
2369 --without-xinput do not use the Xinput extension
2370 --without-xinput2 do not use the Xinput 2 extension
2371 --without-xml do not use XML
2372 --without-xrandr do not use Xrandr (resolution changes)
2373 --without-xrender do not use the Xrender extension
2374 --without-xshape do not use the Xshape extension
2375 --without-xshm do not use XShm (shared memory extension)
2376 --without-xslt do not use XSLT
2377 --without-xxf86vm do not use XFree video mode extension
2378 --without-zlib do not use Zlib (data compression)
2379 --with-wine-tools=DIR use Wine tools from directory DIR
2380 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2381 --with-x use the X Window System
2383 Some influential environment variables:
2384 CC C compiler command
2385 CFLAGS C compiler flags
2386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2387 nonstandard directory <lib dir>
2388 LIBS libraries to pass to the linker, e.g. -l<library>
2389 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2390 you have headers in a nonstandard directory <include dir>
2391 CXX C++ compiler command
2392 CXXFLAGS C++ compiler flags
2393 CPP C preprocessor
2394 XMKMF Path to xmkmf, Makefile generator for X Window System
2395 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2396 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2397 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2398 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2399 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2400 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2401 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2402 HAL_LIBS Linker flags for hal, overriding pkg-config
2403 GNUTLS_CFLAGS
2404 C compiler flags for gnutls, overriding pkg-config
2405 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2406 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2407 SANE_LIBS Linker flags for libsane, overriding pkg-config
2408 GPHOTO2_CFLAGS
2409 C compiler flags for libgphoto2, overriding pkg-config
2410 GPHOTO2_LIBS
2411 Linker flags for libgphoto2, overriding pkg-config
2412 GPHOTO2_PORT_CFLAGS
2413 C compiler flags for libgphoto2_port, overriding pkg-config
2414 GPHOTO2_PORT_LIBS
2415 Linker flags for libgphoto2_port, overriding pkg-config
2416 LCMS2_CFLAGS
2417 C compiler flags for lcms2, overriding pkg-config
2418 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2419 FREETYPE_CFLAGS
2420 C compiler flags for freetype2, overriding pkg-config
2421 FREETYPE_LIBS
2422 Linker flags for freetype2, overriding pkg-config
2423 PULSE_CFLAGS
2424 C compiler flags for libpulse, overriding pkg-config
2425 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2426 GSTREAMER_CFLAGS
2427 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2428 gstreamer-audio-1.0, overriding pkg-config
2429 GSTREAMER_LIBS
2430 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2431 gstreamer-audio-1.0, overriding pkg-config
2432 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2433 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2434 CAPI20_CFLAGS
2435 C compiler flags for capi20, overriding pkg-config
2436 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2437 FONTCONFIG_CFLAGS
2438 C compiler flags for fontconfig, overriding pkg-config
2439 FONTCONFIG_LIBS
2440 Linker flags for fontconfig, overriding pkg-config
2441 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2442 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2443 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2444 PNG_LIBS Linker flags for libpng, overriding pkg-config
2445 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2446 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2447 MPG123_CFLAGS
2448 C compiler flags for libmpg123, overriding pkg-config
2449 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2450 NETAPI_CFLAGS
2451 C compiler flags for netapi, overriding pkg-config
2452 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2454 Use these variables to override the choices made by `configure' or to help
2455 it to find libraries and programs with nonstandard names/locations.
2457 Report bugs to <wine-devel@winehq.org>.
2458 Wine home page: <http://www.winehq.org>.
2459 _ACEOF
2460 ac_status=$?
2463 if test "$ac_init_help" = "recursive"; then
2464 # If there are subdirs, report their specific --help.
2465 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2466 test -d "$ac_dir" ||
2467 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2468 continue
2469 ac_builddir=.
2471 case "$ac_dir" in
2472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2474 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2475 # A ".." for each directory in $ac_dir_suffix.
2476 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2477 case $ac_top_builddir_sub in
2478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2480 esac ;;
2481 esac
2482 ac_abs_top_builddir=$ac_pwd
2483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2484 # for backward compatibility:
2485 ac_top_builddir=$ac_top_build_prefix
2487 case $srcdir in
2488 .) # We are building in place.
2489 ac_srcdir=.
2490 ac_top_srcdir=$ac_top_builddir_sub
2491 ac_abs_top_srcdir=$ac_pwd ;;
2492 [\\/]* | ?:[\\/]* ) # Absolute name.
2493 ac_srcdir=$srcdir$ac_dir_suffix;
2494 ac_top_srcdir=$srcdir
2495 ac_abs_top_srcdir=$srcdir ;;
2496 *) # Relative name.
2497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2498 ac_top_srcdir=$ac_top_build_prefix$srcdir
2499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2500 esac
2501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2503 cd "$ac_dir" || { ac_status=$?; continue; }
2504 # Check for guested configure.
2505 if test -f "$ac_srcdir/configure.gnu"; then
2506 echo &&
2507 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2508 elif test -f "$ac_srcdir/configure"; then
2509 echo &&
2510 $SHELL "$ac_srcdir/configure" --help=recursive
2511 else
2512 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2513 fi || ac_status=$?
2514 cd "$ac_pwd" || { ac_status=$?; break; }
2515 done
2518 test -n "$ac_init_help" && exit $ac_status
2519 if $ac_init_version; then
2520 cat <<\_ACEOF
2521 Wine configure 2.8
2522 generated by GNU Autoconf 2.69
2524 Copyright (C) 2012 Free Software Foundation, Inc.
2525 This configure script is free software; the Free Software Foundation
2526 gives unlimited permission to copy, distribute and modify it.
2527 _ACEOF
2528 exit
2531 ## ------------------------ ##
2532 ## Autoconf initialization. ##
2533 ## ------------------------ ##
2535 # ac_fn_c_try_compile LINENO
2536 # --------------------------
2537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2538 ac_fn_c_try_compile ()
2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541 rm -f conftest.$ac_objext
2542 if { { ac_try="$ac_compile"
2543 case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_compile") 2>conftest.err
2550 ac_status=$?
2551 if test -s conftest.err; then
2552 grep -v '^ *+' conftest.err >conftest.er1
2553 cat conftest.er1 >&5
2554 mv -f conftest.er1 conftest.err
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } && {
2558 test -z "$ac_c_werror_flag" ||
2559 test ! -s conftest.err
2560 } && test -s conftest.$ac_objext; then :
2561 ac_retval=0
2562 else
2563 $as_echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2566 ac_retval=1
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569 as_fn_set_status $ac_retval
2571 } # ac_fn_c_try_compile
2573 # ac_fn_cxx_try_compile LINENO
2574 # ----------------------------
2575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2576 ac_fn_cxx_try_compile ()
2578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 rm -f conftest.$ac_objext
2580 if { { ac_try="$ac_compile"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compile") 2>conftest.err
2588 ac_status=$?
2589 if test -s conftest.err; then
2590 grep -v '^ *+' conftest.err >conftest.er1
2591 cat conftest.er1 >&5
2592 mv -f conftest.er1 conftest.err
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; } && {
2596 test -z "$ac_cxx_werror_flag" ||
2597 test ! -s conftest.err
2598 } && test -s conftest.$ac_objext; then :
2599 ac_retval=0
2600 else
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2604 ac_retval=1
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 as_fn_set_status $ac_retval
2609 } # ac_fn_cxx_try_compile
2611 # ac_fn_c_try_link LINENO
2612 # -----------------------
2613 # Try to link conftest.$ac_ext, and return whether this succeeded.
2614 ac_fn_c_try_link ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 rm -f conftest.$ac_objext conftest$ac_exeext
2618 if { { ac_try="$ac_link"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_link") 2>conftest.err
2626 ac_status=$?
2627 if test -s conftest.err; then
2628 grep -v '^ *+' conftest.err >conftest.er1
2629 cat conftest.er1 >&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && {
2634 test -z "$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2636 } && test -s conftest$ac_exeext && {
2637 test "$cross_compiling" = yes ||
2638 test -x conftest$ac_exeext
2639 }; then :
2640 ac_retval=0
2641 else
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 ac_retval=1
2647 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2648 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2649 # interfere with the next link command; also delete a directory that is
2650 # left behind by Apple's compiler. We do this before executing the actions.
2651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 as_fn_set_status $ac_retval
2655 } # ac_fn_c_try_link
2657 # ac_fn_c_try_cpp LINENO
2658 # ----------------------
2659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2660 ac_fn_c_try_cpp ()
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 if { { ac_try="$ac_cpp conftest.$ac_ext"
2664 case "(($ac_try" in
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2667 esac
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2671 ac_status=$?
2672 if test -s conftest.err; then
2673 grep -v '^ *+' conftest.err >conftest.er1
2674 cat conftest.er1 >&5
2675 mv -f conftest.er1 conftest.err
2677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2678 test $ac_status = 0; } > conftest.i && {
2679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 }; then :
2682 ac_retval=0
2683 else
2684 $as_echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2687 ac_retval=1
2689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2690 as_fn_set_status $ac_retval
2692 } # ac_fn_c_try_cpp
2694 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2695 # -------------------------------------------------------
2696 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2697 # the include files in INCLUDES and setting the cache variable VAR
2698 # accordingly.
2699 ac_fn_c_check_header_mongrel ()
2701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2702 if eval \${$3+:} false; then :
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2704 $as_echo_n "checking for $2... " >&6; }
2705 if eval \${$3+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 eval ac_res=\$$3
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 else
2712 # Is the header compilable?
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2714 $as_echo_n "checking $2 usability... " >&6; }
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2718 #include <$2>
2719 _ACEOF
2720 if ac_fn_c_try_compile "$LINENO"; then :
2721 ac_header_compiler=yes
2722 else
2723 ac_header_compiler=no
2725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2727 $as_echo "$ac_header_compiler" >&6; }
2729 # Is the header present?
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2731 $as_echo_n "checking $2 presence... " >&6; }
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2734 #include <$2>
2735 _ACEOF
2736 if ac_fn_c_try_cpp "$LINENO"; then :
2737 ac_header_preproc=yes
2738 else
2739 ac_header_preproc=no
2741 rm -f conftest.err conftest.i conftest.$ac_ext
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2743 $as_echo "$ac_header_preproc" >&6; }
2745 # So? What about this header?
2746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2747 yes:no: )
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2749 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2751 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2753 no:yes:* )
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2755 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2757 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2759 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2761 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2763 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2764 ( $as_echo "## ------------------------------------ ##
2765 ## Report this to wine-devel@winehq.org ##
2766 ## ------------------------------------ ##"
2767 ) | sed "s/^/$as_me: WARNING: /" >&2
2769 esac
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \${$3+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 eval "$3=\$ac_header_compiler"
2777 eval ac_res=\$$3
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2779 $as_echo "$ac_res" >&6; }
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 } # ac_fn_c_check_header_mongrel
2785 # ac_fn_c_try_run LINENO
2786 # ----------------------
2787 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2788 # that executables *can* be run.
2789 ac_fn_c_try_run ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 if { { ac_try="$ac_link"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_link") 2>&5
2800 ac_status=$?
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2803 { { case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_try") 2>&5
2810 ac_status=$?
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; }; }; then :
2813 ac_retval=0
2814 else
2815 $as_echo "$as_me: program exited with status $ac_status" >&5
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=$ac_status
2821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 as_fn_set_status $ac_retval
2825 } # ac_fn_c_try_run
2827 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2828 # -------------------------------------------------------
2829 # Tests whether HEADER exists and can be compiled using the include files in
2830 # INCLUDES, setting the cache variable VAR accordingly.
2831 ac_fn_c_check_header_compile ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2835 $as_echo_n "checking for $2... " >&6; }
2836 if eval \${$3+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2842 #include <$2>
2843 _ACEOF
2844 if ac_fn_c_try_compile "$LINENO"; then :
2845 eval "$3=yes"
2846 else
2847 eval "$3=no"
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 eval ac_res=\$$3
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2853 $as_echo "$ac_res" >&6; }
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 } # ac_fn_c_check_header_compile
2858 # ac_fn_c_check_func LINENO FUNC VAR
2859 # ----------------------------------
2860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2861 ac_fn_c_check_func ()
2863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2865 $as_echo_n "checking for $2... " >&6; }
2866 if eval \${$3+:} false; then :
2867 $as_echo_n "(cached) " >&6
2868 else
2869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870 /* end confdefs.h. */
2871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2873 #define $2 innocuous_$2
2875 /* System header to define __stub macros and hopefully few prototypes,
2876 which can conflict with char $2 (); below.
2877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2878 <limits.h> exists even on freestanding compilers. */
2880 #ifdef __STDC__
2881 # include <limits.h>
2882 #else
2883 # include <assert.h>
2884 #endif
2886 #undef $2
2888 /* Override any GCC internal prototype to avoid an error.
2889 Use char because int might match the return type of a GCC
2890 builtin and then its argument prototype would still apply. */
2891 #ifdef __cplusplus
2892 extern "C"
2893 #endif
2894 char $2 ();
2895 /* The GNU C library defines this for functions which it implements
2896 to always fail with ENOSYS. Some functions are actually named
2897 something starting with __ and the normal name is an alias. */
2898 #if defined __stub_$2 || defined __stub___$2
2899 choke me
2900 #endif
2903 main ()
2905 return $2 ();
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_link "$LINENO"; then :
2911 eval "$3=yes"
2912 else
2913 eval "$3=no"
2915 rm -f core conftest.err conftest.$ac_objext \
2916 conftest$ac_exeext conftest.$ac_ext
2918 eval ac_res=\$$3
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2920 $as_echo "$ac_res" >&6; }
2921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 } # ac_fn_c_check_func
2925 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2926 # ----------------------------------------------------
2927 # Tries to find if the field MEMBER exists in type AGGR, after including
2928 # INCLUDES, setting cache variable VAR accordingly.
2929 ac_fn_c_check_member ()
2931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2933 $as_echo_n "checking for $2.$3... " >&6; }
2934 if eval \${$4+:} false; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 main ()
2943 static $2 ac_aggr;
2944 if (ac_aggr.$3)
2945 return 0;
2947 return 0;
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 eval "$4=yes"
2952 else
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2957 main ()
2959 static $2 ac_aggr;
2960 if (sizeof ac_aggr.$3)
2961 return 0;
2963 return 0;
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 eval "$4=yes"
2968 else
2969 eval "$4=no"
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 eval ac_res=\$$4
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 $as_echo "$ac_res" >&6; }
2978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 } # ac_fn_c_check_member
2982 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2983 # -------------------------------------------
2984 # Tests whether TYPE exists after having included INCLUDES, setting cache
2985 # variable VAR accordingly.
2986 ac_fn_c_check_type ()
2988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2990 $as_echo_n "checking for $2... " >&6; }
2991 if eval \${$3+:} false; then :
2992 $as_echo_n "(cached) " >&6
2993 else
2994 eval "$3=no"
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2999 main ()
3001 if (sizeof ($2))
3002 return 0;
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3012 main ()
3014 if (sizeof (($2)))
3015 return 0;
3017 return 0;
3019 _ACEOF
3020 if ac_fn_c_try_compile "$LINENO"; then :
3022 else
3023 eval "$3=yes"
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 eval ac_res=\$$3
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3031 $as_echo "$ac_res" >&6; }
3032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3034 } # ac_fn_c_check_type
3035 cat >config.log <<_ACEOF
3036 This file contains any messages produced by compilers while
3037 running configure, to aid debugging if configure makes a mistake.
3039 It was created by Wine $as_me 2.8, which was
3040 generated by GNU Autoconf 2.69. Invocation command line was
3042 $ $0 $@
3044 _ACEOF
3045 exec 5>>config.log
3047 cat <<_ASUNAME
3048 ## --------- ##
3049 ## Platform. ##
3050 ## --------- ##
3052 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3053 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3054 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3055 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3056 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3058 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3059 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3061 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3062 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3063 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3064 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3065 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3066 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3067 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3069 _ASUNAME
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3074 IFS=$as_save_IFS
3075 test -z "$as_dir" && as_dir=.
3076 $as_echo "PATH: $as_dir"
3077 done
3078 IFS=$as_save_IFS
3080 } >&5
3082 cat >&5 <<_ACEOF
3085 ## ----------- ##
3086 ## Core tests. ##
3087 ## ----------- ##
3089 _ACEOF
3092 # Keep a trace of the command line.
3093 # Strip out --no-create and --no-recursion so they do not pile up.
3094 # Strip out --silent because we don't want to record it for future runs.
3095 # Also quote any args containing shell meta-characters.
3096 # Make two passes to allow for proper duplicate-argument suppression.
3097 ac_configure_args=
3098 ac_configure_args0=
3099 ac_configure_args1=
3100 ac_must_keep_next=false
3101 for ac_pass in 1 2
3103 for ac_arg
3105 case $ac_arg in
3106 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3108 | -silent | --silent | --silen | --sile | --sil)
3109 continue ;;
3110 *\'*)
3111 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3112 esac
3113 case $ac_pass in
3114 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3116 as_fn_append ac_configure_args1 " '$ac_arg'"
3117 if test $ac_must_keep_next = true; then
3118 ac_must_keep_next=false # Got value, back to normal.
3119 else
3120 case $ac_arg in
3121 *=* | --config-cache | -C | -disable-* | --disable-* \
3122 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3123 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3124 | -with-* | --with-* | -without-* | --without-* | --x)
3125 case "$ac_configure_args0 " in
3126 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3127 esac
3129 -* ) ac_must_keep_next=true ;;
3130 esac
3132 as_fn_append ac_configure_args " '$ac_arg'"
3134 esac
3135 done
3136 done
3137 { ac_configure_args0=; unset ac_configure_args0;}
3138 { ac_configure_args1=; unset ac_configure_args1;}
3140 # When interrupted or exit'd, cleanup temporary files, and complete
3141 # config.log. We remove comments because anyway the quotes in there
3142 # would cause problems or look ugly.
3143 # WARNING: Use '\'' to represent an apostrophe within the trap.
3144 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3145 trap 'exit_status=$?
3146 # Save into config.log some information that might help in debugging.
3148 echo
3150 $as_echo "## ---------------- ##
3151 ## Cache variables. ##
3152 ## ---------------- ##"
3153 echo
3154 # The following way of writing the cache mishandles newlines in values,
3156 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3157 eval ac_val=\$$ac_var
3158 case $ac_val in #(
3159 *${as_nl}*)
3160 case $ac_var in #(
3161 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3162 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3163 esac
3164 case $ac_var in #(
3165 _ | IFS | as_nl) ;; #(
3166 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3167 *) { eval $ac_var=; unset $ac_var;} ;;
3168 esac ;;
3169 esac
3170 done
3171 (set) 2>&1 |
3172 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3173 *${as_nl}ac_space=\ *)
3174 sed -n \
3175 "s/'\''/'\''\\\\'\'''\''/g;
3176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3177 ;; #(
3179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3181 esac |
3182 sort
3184 echo
3186 $as_echo "## ----------------- ##
3187 ## Output variables. ##
3188 ## ----------------- ##"
3189 echo
3190 for ac_var in $ac_subst_vars
3192 eval ac_val=\$$ac_var
3193 case $ac_val in
3194 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3195 esac
3196 $as_echo "$ac_var='\''$ac_val'\''"
3197 done | sort
3198 echo
3200 if test -n "$ac_subst_files"; then
3201 $as_echo "## ------------------- ##
3202 ## File substitutions. ##
3203 ## ------------------- ##"
3204 echo
3205 for ac_var in $ac_subst_files
3207 eval ac_val=\$$ac_var
3208 case $ac_val in
3209 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3210 esac
3211 $as_echo "$ac_var='\''$ac_val'\''"
3212 done | sort
3213 echo
3216 if test -s confdefs.h; then
3217 $as_echo "## ----------- ##
3218 ## confdefs.h. ##
3219 ## ----------- ##"
3220 echo
3221 cat confdefs.h
3222 echo
3224 test "$ac_signal" != 0 &&
3225 $as_echo "$as_me: caught signal $ac_signal"
3226 $as_echo "$as_me: exit $exit_status"
3227 } >&5
3228 rm -f core *.core core.conftest.* &&
3229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3230 exit $exit_status
3232 for ac_signal in 1 2 13 15; do
3233 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3234 done
3235 ac_signal=0
3237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3238 rm -f -r conftest* confdefs.h
3240 $as_echo "/* confdefs.h */" > confdefs.h
3242 # Predefined preprocessor variables.
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_NAME "$PACKAGE_NAME"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_STRING "$PACKAGE_STRING"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3262 _ACEOF
3264 cat >>confdefs.h <<_ACEOF
3265 #define PACKAGE_URL "$PACKAGE_URL"
3266 _ACEOF
3269 # Let the site file select an alternate cache file if it wants to.
3270 # Prefer an explicitly selected file to automatically selected ones.
3271 ac_site_file1=NONE
3272 ac_site_file2=NONE
3273 if test -n "$CONFIG_SITE"; then
3274 # We do not want a PATH search for config.site.
3275 case $CONFIG_SITE in #((
3276 -*) ac_site_file1=./$CONFIG_SITE;;
3277 */*) ac_site_file1=$CONFIG_SITE;;
3278 *) ac_site_file1=./$CONFIG_SITE;;
3279 esac
3280 elif test "x$prefix" != xNONE; then
3281 ac_site_file1=$prefix/share/config.site
3282 ac_site_file2=$prefix/etc/config.site
3283 else
3284 ac_site_file1=$ac_default_prefix/share/config.site
3285 ac_site_file2=$ac_default_prefix/etc/config.site
3287 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3289 test "x$ac_site_file" = xNONE && continue
3290 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3292 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3293 sed 's/^/| /' "$ac_site_file" >&5
3294 . "$ac_site_file" \
3295 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "failed to load site script $ac_site_file
3298 See \`config.log' for more details" "$LINENO" 5; }
3300 done
3302 if test -r "$cache_file"; then
3303 # Some versions of bash will fail to source /dev/null (special files
3304 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3305 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3307 $as_echo "$as_me: loading cache $cache_file" >&6;}
3308 case $cache_file in
3309 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3310 *) . "./$cache_file";;
3311 esac
3313 else
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3315 $as_echo "$as_me: creating cache $cache_file" >&6;}
3316 >$cache_file
3319 # Check that the precious variables saved in the cache have kept the same
3320 # value.
3321 ac_cache_corrupted=false
3322 for ac_var in $ac_precious_vars; do
3323 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3324 eval ac_new_set=\$ac_env_${ac_var}_set
3325 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3326 eval ac_new_val=\$ac_env_${ac_var}_value
3327 case $ac_old_set,$ac_new_set in
3328 set,)
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3330 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3331 ac_cache_corrupted=: ;;
3332 ,set)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3334 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3335 ac_cache_corrupted=: ;;
3336 ,);;
3338 if test "x$ac_old_val" != "x$ac_new_val"; then
3339 # differences in whitespace do not lead to failure.
3340 ac_old_val_w=`echo x $ac_old_val`
3341 ac_new_val_w=`echo x $ac_new_val`
3342 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3344 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3345 ac_cache_corrupted=:
3346 else
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3348 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3349 eval $ac_var=\$ac_old_val
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3352 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3354 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3355 fi;;
3356 esac
3357 # Pass precious variables to config.status.
3358 if test "$ac_new_set" = set; then
3359 case $ac_new_val in
3360 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3361 *) ac_arg=$ac_var=$ac_new_val ;;
3362 esac
3363 case " $ac_configure_args " in
3364 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3365 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3366 esac
3368 done
3369 if $ac_cache_corrupted; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3373 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3374 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3376 ## -------------------- ##
3377 ## Main body of script. ##
3378 ## -------------------- ##
3380 ac_ext=c
3381 ac_cpp='$CPP $CPPFLAGS'
3382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3388 ac_config_headers="$ac_config_headers include/config.h"
3390 ac_aux_dir=
3391 for ac_dir in tools "$srcdir"/tools; do
3392 if test -f "$ac_dir/install-sh"; then
3393 ac_aux_dir=$ac_dir
3394 ac_install_sh="$ac_aux_dir/install-sh -c"
3395 break
3396 elif test -f "$ac_dir/install.sh"; then
3397 ac_aux_dir=$ac_dir
3398 ac_install_sh="$ac_aux_dir/install.sh -c"
3399 break
3400 elif test -f "$ac_dir/shtool"; then
3401 ac_aux_dir=$ac_dir
3402 ac_install_sh="$ac_aux_dir/shtool install -c"
3403 break
3405 done
3406 if test -z "$ac_aux_dir"; then
3407 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3410 # These three variables are undocumented and unsupported,
3411 # and are intended to be withdrawn in a future Autoconf release.
3412 # They can cause serious problems if a builder's source tree is in a directory
3413 # whose full name contains unusual characters.
3414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3420 libwine_version="1.0"
3424 # Check whether --enable-win16 was given.
3425 if test "${enable_win16+set}" = set; then :
3426 enableval=$enable_win16;
3429 # Check whether --enable-win64 was given.
3430 if test "${enable_win64+set}" = set; then :
3431 enableval=$enable_win64;
3434 # Check whether --enable-tests was given.
3435 if test "${enable_tests+set}" = set; then :
3436 enableval=$enable_tests;
3439 # Check whether --enable-maintainer-mode was given.
3440 if test "${enable_maintainer_mode+set}" = set; then :
3441 enableval=$enable_maintainer_mode;
3446 # Check whether --with-alsa was given.
3447 if test "${with_alsa+set}" = set; then :
3448 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3452 # Check whether --with-capi was given.
3453 if test "${with_capi+set}" = set; then :
3454 withval=$with_capi;
3458 # Check whether --with-cms was given.
3459 if test "${with_cms+set}" = set; then :
3460 withval=$with_cms;
3464 # Check whether --with-coreaudio was given.
3465 if test "${with_coreaudio+set}" = set; then :
3466 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3470 # Check whether --with-cups was given.
3471 if test "${with_cups+set}" = set; then :
3472 withval=$with_cups;
3476 # Check whether --with-curses was given.
3477 if test "${with_curses+set}" = set; then :
3478 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3482 # Check whether --with-dbus was given.
3483 if test "${with_dbus+set}" = set; then :
3484 withval=$with_dbus;
3488 # Check whether --with-fontconfig was given.
3489 if test "${with_fontconfig+set}" = set; then :
3490 withval=$with_fontconfig;
3494 # Check whether --with-freetype was given.
3495 if test "${with_freetype+set}" = set; then :
3496 withval=$with_freetype;
3500 # Check whether --with-gettext was given.
3501 if test "${with_gettext+set}" = set; then :
3502 withval=$with_gettext;
3506 # Check whether --with-gettextpo was given.
3507 if test "${with_gettextpo+set}" = set; then :
3508 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3512 # Check whether --with-gphoto was given.
3513 if test "${with_gphoto+set}" = set; then :
3514 withval=$with_gphoto;
3518 # Check whether --with-glu was given.
3519 if test "${with_glu+set}" = set; then :
3520 withval=$with_glu;
3524 # Check whether --with-gnutls was given.
3525 if test "${with_gnutls+set}" = set; then :
3526 withval=$with_gnutls;
3530 # Check whether --with-gsm was given.
3531 if test "${with_gsm+set}" = set; then :
3532 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3536 # Check whether --with-gstreamer was given.
3537 if test "${with_gstreamer+set}" = set; then :
3538 withval=$with_gstreamer;
3542 # Check whether --with-hal was given.
3543 if test "${with_hal+set}" = set; then :
3544 withval=$with_hal;
3548 # Check whether --with-jpeg was given.
3549 if test "${with_jpeg+set}" = set; then :
3550 withval=$with_jpeg;
3554 # Check whether --with-ldap was given.
3555 if test "${with_ldap+set}" = set; then :
3556 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3560 # Check whether --with-mpg123 was given.
3561 if test "${with_mpg123+set}" = set; then :
3562 withval=$with_mpg123;
3566 # Check whether --with-netapi was given.
3567 if test "${with_netapi+set}" = set; then :
3568 withval=$with_netapi;
3572 # Check whether --with-openal was given.
3573 if test "${with_openal+set}" = set; then :
3574 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3578 # Check whether --with-opencl was given.
3579 if test "${with_opencl+set}" = set; then :
3580 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3584 # Check whether --with-opengl was given.
3585 if test "${with_opengl+set}" = set; then :
3586 withval=$with_opengl;
3590 # Check whether --with-osmesa was given.
3591 if test "${with_osmesa+set}" = set; then :
3592 withval=$with_osmesa;
3596 # Check whether --with-oss was given.
3597 if test "${with_oss+set}" = set; then :
3598 withval=$with_oss;
3602 # Check whether --with-pcap was given.
3603 if test "${with_pcap+set}" = set; then :
3604 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3608 # Check whether --with-png was given.
3609 if test "${with_png+set}" = set; then :
3610 withval=$with_png;
3614 # Check whether --with-pthread was given.
3615 if test "${with_pthread+set}" = set; then :
3616 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3620 # Check whether --with-pulse was given.
3621 if test "${with_pulse+set}" = set; then :
3622 withval=$with_pulse;
3626 # Check whether --with-sane was given.
3627 if test "${with_sane+set}" = set; then :
3628 withval=$with_sane;
3632 # Check whether --with-tiff was given.
3633 if test "${with_tiff+set}" = set; then :
3634 withval=$with_tiff;
3638 # Check whether --with-udev was given.
3639 if test "${with_udev+set}" = set; then :
3640 withval=$with_udev;
3644 # Check whether --with-v4l was given.
3645 if test "${with_v4l+set}" = set; then :
3646 withval=$with_v4l;
3650 # Check whether --with-xcomposite was given.
3651 if test "${with_xcomposite+set}" = set; then :
3652 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3656 # Check whether --with-xcursor was given.
3657 if test "${with_xcursor+set}" = set; then :
3658 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3662 # Check whether --with-xfixes was given.
3663 if test "${with_xfixes+set}" = set; then :
3664 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3668 # Check whether --with-xinerama was given.
3669 if test "${with_xinerama+set}" = set; then :
3670 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3674 # Check whether --with-xinput was given.
3675 if test "${with_xinput+set}" = set; then :
3676 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3680 # Check whether --with-xinput2 was given.
3681 if test "${with_xinput2+set}" = set; then :
3682 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3686 # Check whether --with-xml was given.
3687 if test "${with_xml+set}" = set; then :
3688 withval=$with_xml;
3692 # Check whether --with-xrandr was given.
3693 if test "${with_xrandr+set}" = set; then :
3694 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3698 # Check whether --with-xrender was given.
3699 if test "${with_xrender+set}" = set; then :
3700 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3704 # Check whether --with-xshape was given.
3705 if test "${with_xshape+set}" = set; then :
3706 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3710 # Check whether --with-xshm was given.
3711 if test "${with_xshm+set}" = set; then :
3712 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3716 # Check whether --with-xslt was given.
3717 if test "${with_xslt+set}" = set; then :
3718 withval=$with_xslt;
3722 # Check whether --with-xxf86vm was given.
3723 if test "${with_xxf86vm+set}" = set; then :
3724 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
3728 # Check whether --with-zlib was given.
3729 if test "${with_zlib+set}" = set; then :
3730 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3735 # Check whether --with-wine-tools was given.
3736 if test "${with_wine_tools+set}" = set; then :
3737 withval=$with_wine_tools;
3741 # Check whether --with-wine64 was given.
3742 if test "${with_wine64+set}" = set; then :
3743 withval=$with_wine64;
3747 # Make sure we can run config.sub.
3748 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3749 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3752 $as_echo_n "checking build system type... " >&6; }
3753 if ${ac_cv_build+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 ac_build_alias=$build_alias
3757 test "x$ac_build_alias" = x &&
3758 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3759 test "x$ac_build_alias" = x &&
3760 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3761 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3762 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3766 $as_echo "$ac_cv_build" >&6; }
3767 case $ac_cv_build in
3768 *-*-*) ;;
3769 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3770 esac
3771 build=$ac_cv_build
3772 ac_save_IFS=$IFS; IFS='-'
3773 set x $ac_cv_build
3774 shift
3775 build_cpu=$1
3776 build_vendor=$2
3777 shift; shift
3778 # Remember, the first character of IFS is used to create $*,
3779 # except with old shells:
3780 build_os=$*
3781 IFS=$ac_save_IFS
3782 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3786 $as_echo_n "checking host system type... " >&6; }
3787 if ${ac_cv_host+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test "x$host_alias" = x; then
3791 ac_cv_host=$ac_cv_build
3792 else
3793 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3799 $as_echo "$ac_cv_host" >&6; }
3800 case $ac_cv_host in
3801 *-*-*) ;;
3802 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3803 esac
3804 host=$ac_cv_host
3805 ac_save_IFS=$IFS; IFS='-'
3806 set x $ac_cv_host
3807 shift
3808 host_cpu=$1
3809 host_vendor=$2
3810 shift; shift
3811 # Remember, the first character of IFS is used to create $*,
3812 # except with old shells:
3813 host_os=$*
3814 IFS=$ac_save_IFS
3815 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3819 case "$srcdir" in
3820 .) ;;
3821 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3822 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3823 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3824 fi ;;
3825 esac
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3829 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3830 set x ${MAKE-make}
3831 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3832 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 cat >conftest.make <<\_ACEOF
3836 SHELL = /bin/sh
3837 all:
3838 @echo '@@@%%%=$(MAKE)=@@@%%%'
3839 _ACEOF
3840 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3842 *@@@%%%=?*=@@@%%%*)
3843 eval ac_cv_prog_make_${ac_make}_set=yes;;
3845 eval ac_cv_prog_make_${ac_make}_set=no;;
3846 esac
3847 rm -f conftest.make
3849 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3851 $as_echo "yes" >&6; }
3852 SET_MAKE=
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3856 SET_MAKE="MAKE=${MAKE-make}"
3859 ac_ext=c
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864 if test -n "$ac_tool_prefix"; then
3865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3866 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_prog_CC+:} false; then :
3870 $as_echo_n "(cached) " >&6
3871 else
3872 if test -n "$CC"; then
3873 ac_cv_prog_CC="$CC" # Let the user override the test.
3874 else
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH
3878 IFS=$as_save_IFS
3879 test -z "$as_dir" && as_dir=.
3880 for ac_exec_ext in '' $ac_executable_extensions; do
3881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 break 2
3886 done
3887 done
3888 IFS=$as_save_IFS
3892 CC=$ac_cv_prog_CC
3893 if test -n "$CC"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3895 $as_echo "$CC" >&6; }
3896 else
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3903 if test -z "$ac_cv_prog_CC"; then
3904 ac_ct_CC=$CC
3905 # Extract the first word of "gcc", so it can be a program name with args.
3906 set dummy gcc; ac_word=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3910 $as_echo_n "(cached) " >&6
3911 else
3912 if test -n "$ac_ct_CC"; then
3913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3914 else
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH
3918 IFS=$as_save_IFS
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_ac_ct_CC="gcc"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 break 2
3926 done
3927 done
3928 IFS=$as_save_IFS
3932 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3933 if test -n "$ac_ct_CC"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3935 $as_echo "$ac_ct_CC" >&6; }
3936 else
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3941 if test "x$ac_ct_CC" = x; then
3942 CC=""
3943 else
3944 case $cross_compiling:$ac_tool_warned in
3945 yes:)
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3948 ac_tool_warned=yes ;;
3949 esac
3950 CC=$ac_ct_CC
3952 else
3953 CC="$ac_cv_prog_CC"
3956 if test -z "$CC"; then
3957 if test -n "$ac_tool_prefix"; then
3958 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3959 set dummy ${ac_tool_prefix}cc; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_CC+:} false; then :
3963 $as_echo_n "(cached) " >&6
3964 else
3965 if test -n "$CC"; then
3966 ac_cv_prog_CC="$CC" # Let the user override the test.
3967 else
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 for as_dir in $PATH
3971 IFS=$as_save_IFS
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_prog_CC="${ac_tool_prefix}cc"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 break 2
3979 done
3980 done
3981 IFS=$as_save_IFS
3985 CC=$ac_cv_prog_CC
3986 if test -n "$CC"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3988 $as_echo "$CC" >&6; }
3989 else
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3997 if test -z "$CC"; then
3998 # Extract the first word of "cc", so it can be a program name with args.
3999 set dummy cc; ac_word=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if ${ac_cv_prog_CC+:} false; then :
4003 $as_echo_n "(cached) " >&6
4004 else
4005 if test -n "$CC"; then
4006 ac_cv_prog_CC="$CC" # Let the user override the test.
4007 else
4008 ac_prog_rejected=no
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4017 ac_prog_rejected=yes
4018 continue
4020 ac_cv_prog_CC="cc"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4024 done
4025 done
4026 IFS=$as_save_IFS
4028 if test $ac_prog_rejected = yes; then
4029 # We found a bogon in the path, so make sure we never use it.
4030 set dummy $ac_cv_prog_CC
4031 shift
4032 if test $# != 0; then
4033 # We chose a different compiler from the bogus one.
4034 # However, it has the same basename, so the bogon will be chosen
4035 # first if we set CC to just the basename; use the full file name.
4036 shift
4037 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4042 CC=$ac_cv_prog_CC
4043 if test -n "$CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4045 $as_echo "$CC" >&6; }
4046 else
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4053 if test -z "$CC"; then
4054 if test -n "$ac_tool_prefix"; then
4055 for ac_prog in cl.exe
4057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if ${ac_cv_prog_CC+:} false; then :
4062 $as_echo_n "(cached) " >&6
4063 else
4064 if test -n "$CC"; then
4065 ac_cv_prog_CC="$CC" # Let the user override the test.
4066 else
4067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH
4070 IFS=$as_save_IFS
4071 test -z "$as_dir" && as_dir=.
4072 for ac_exec_ext in '' $ac_executable_extensions; do
4073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4074 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4084 CC=$ac_cv_prog_CC
4085 if test -n "$CC"; then
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4087 $as_echo "$CC" >&6; }
4088 else
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4094 test -n "$CC" && break
4095 done
4097 if test -z "$CC"; then
4098 ac_ct_CC=$CC
4099 for ac_prog in cl.exe
4101 # Extract the first word of "$ac_prog", so it can be a program name with args.
4102 set dummy $ac_prog; ac_word=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4106 $as_echo_n "(cached) " >&6
4107 else
4108 if test -n "$ac_ct_CC"; then
4109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4110 else
4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 for as_dir in $PATH
4114 IFS=$as_save_IFS
4115 test -z "$as_dir" && as_dir=.
4116 for ac_exec_ext in '' $ac_executable_extensions; do
4117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_ac_ct_CC="$ac_prog"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 break 2
4122 done
4123 done
4124 IFS=$as_save_IFS
4128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4129 if test -n "$ac_ct_CC"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4131 $as_echo "$ac_ct_CC" >&6; }
4132 else
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4138 test -n "$ac_ct_CC" && break
4139 done
4141 if test "x$ac_ct_CC" = x; then
4142 CC=""
4143 else
4144 case $cross_compiling:$ac_tool_warned in
4145 yes:)
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4148 ac_tool_warned=yes ;;
4149 esac
4150 CC=$ac_ct_CC
4157 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $? "no acceptable C compiler found in \$PATH
4160 See \`config.log' for more details" "$LINENO" 5; }
4162 # Provide some information about the compiler.
4163 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4164 set X $ac_compile
4165 ac_compiler=$2
4166 for ac_option in --version -v -V -qversion; do
4167 { { ac_try="$ac_compiler $ac_option >&5"
4168 case "(($ac_try" in
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4171 esac
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4175 ac_status=$?
4176 if test -s conftest.err; then
4177 sed '10a\
4178 ... rest of stderr output deleted ...
4179 10q' conftest.err >conftest.er1
4180 cat conftest.er1 >&5
4182 rm -f conftest.er1 conftest.err
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }
4185 done
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 ac_clean_files_save=$ac_clean_files
4199 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4200 # Try to create an executable without -o first, disregard a.out.
4201 # It will help us diagnose broken compilers, and finding out an intuition
4202 # of exeext.
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4204 $as_echo_n "checking whether the C compiler works... " >&6; }
4205 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4207 # The possible output files:
4208 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4210 ac_rmfiles=
4211 for ac_file in $ac_files
4213 case $ac_file in
4214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4215 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4216 esac
4217 done
4218 rm -f $ac_rmfiles
4220 if { { ac_try="$ac_link_default"
4221 case "(($ac_try" in
4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4224 esac
4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4226 $as_echo "$ac_try_echo"; } >&5
4227 (eval "$ac_link_default") 2>&5
4228 ac_status=$?
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; then :
4231 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4232 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4233 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4234 # so that the user can short-circuit this test for compilers unknown to
4235 # Autoconf.
4236 for ac_file in $ac_files ''
4238 test -f "$ac_file" || continue
4239 case $ac_file in
4240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4242 [ab].out )
4243 # We found the default executable, but exeext='' is most
4244 # certainly right.
4245 break;;
4246 *.* )
4247 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4248 then :; else
4249 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4251 # We set ac_cv_exeext here because the later test for it is not
4252 # safe: cross compilers may not add the suffix if given an `-o'
4253 # argument, so we may need to know it at that point already.
4254 # Even if this section looks crufty: it has the advantage of
4255 # actually working.
4256 break;;
4258 break;;
4259 esac
4260 done
4261 test "$ac_cv_exeext" = no && ac_cv_exeext=
4263 else
4264 ac_file=''
4266 if test -z "$ac_file"; then :
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4269 $as_echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.$ac_ext >&5
4272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274 as_fn_error 77 "C compiler cannot create executables
4275 See \`config.log' for more details" "$LINENO" 5; }
4276 else
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4278 $as_echo "yes" >&6; }
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4281 $as_echo_n "checking for C compiler default output file name... " >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4283 $as_echo "$ac_file" >&6; }
4284 ac_exeext=$ac_cv_exeext
4286 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4287 ac_clean_files=$ac_clean_files_save
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4289 $as_echo_n "checking for suffix of executables... " >&6; }
4290 if { { ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4296 $as_echo "$ac_try_echo"; } >&5
4297 (eval "$ac_link") 2>&5
4298 ac_status=$?
4299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4300 test $ac_status = 0; }; then :
4301 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4302 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4303 # work properly (i.e., refer to `conftest.exe'), while it won't with
4304 # `rm'.
4305 for ac_file in conftest.exe conftest conftest.*; do
4306 test -f "$ac_file" || continue
4307 case $ac_file in
4308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4309 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4310 break;;
4311 * ) break;;
4312 esac
4313 done
4314 else
4315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4317 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4318 See \`config.log' for more details" "$LINENO" 5; }
4320 rm -f conftest conftest$ac_cv_exeext
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4322 $as_echo "$ac_cv_exeext" >&6; }
4324 rm -f conftest.$ac_ext
4325 EXEEXT=$ac_cv_exeext
4326 ac_exeext=$EXEEXT
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4329 #include <stdio.h>
4331 main ()
4333 FILE *f = fopen ("conftest.out", "w");
4334 return ferror (f) || fclose (f) != 0;
4337 return 0;
4339 _ACEOF
4340 ac_clean_files="$ac_clean_files conftest.out"
4341 # Check that the compiler produces executables we can run. If not, either
4342 # the compiler is broken, or we cross compile.
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4344 $as_echo_n "checking whether we are cross compiling... " >&6; }
4345 if test "$cross_compiling" != yes; then
4346 { { ac_try="$ac_link"
4347 case "(($ac_try" in
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4350 esac
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_link") 2>&5
4354 ac_status=$?
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4356 test $ac_status = 0; }
4357 if { ac_try='./conftest$ac_cv_exeext'
4358 { { case "(($ac_try" in
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4361 esac
4362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4363 $as_echo "$ac_try_echo"; } >&5
4364 (eval "$ac_try") 2>&5
4365 ac_status=$?
4366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4367 test $ac_status = 0; }; }; then
4368 cross_compiling=no
4369 else
4370 if test "$cross_compiling" = maybe; then
4371 cross_compiling=yes
4372 else
4373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "cannot run C compiled programs.
4376 If you meant to cross compile, use \`--host'.
4377 See \`config.log' for more details" "$LINENO" 5; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4382 $as_echo "$cross_compiling" >&6; }
4384 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4385 ac_clean_files=$ac_clean_files_save
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4387 $as_echo_n "checking for suffix of object files... " >&6; }
4388 if ${ac_cv_objext+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4395 main ()
4399 return 0;
4401 _ACEOF
4402 rm -f conftest.o conftest.obj
4403 if { { ac_try="$ac_compile"
4404 case "(($ac_try" in
4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4407 esac
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_compile") 2>&5
4411 ac_status=$?
4412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4413 test $ac_status = 0; }; then :
4414 for ac_file in conftest.o conftest.obj conftest.*; do
4415 test -f "$ac_file" || continue;
4416 case $ac_file in
4417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4418 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4419 break;;
4420 esac
4421 done
4422 else
4423 $as_echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4428 as_fn_error $? "cannot compute suffix of object files: cannot compile
4429 See \`config.log' for more details" "$LINENO" 5; }
4431 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4434 $as_echo "$ac_cv_objext" >&6; }
4435 OBJEXT=$ac_cv_objext
4436 ac_objext=$OBJEXT
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4438 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4439 if ${ac_cv_c_compiler_gnu+:} false; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 main ()
4448 #ifndef __GNUC__
4449 choke me
4450 #endif
4453 return 0;
4455 _ACEOF
4456 if ac_fn_c_try_compile "$LINENO"; then :
4457 ac_compiler_gnu=yes
4458 else
4459 ac_compiler_gnu=no
4461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4466 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4467 if test $ac_compiler_gnu = yes; then
4468 GCC=yes
4469 else
4470 GCC=
4472 ac_test_CFLAGS=${CFLAGS+set}
4473 ac_save_CFLAGS=$CFLAGS
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4475 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4476 if ${ac_cv_prog_cc_g+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 ac_save_c_werror_flag=$ac_c_werror_flag
4480 ac_c_werror_flag=yes
4481 ac_cv_prog_cc_g=no
4482 CFLAGS="-g"
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4487 main ()
4491 return 0;
4493 _ACEOF
4494 if ac_fn_c_try_compile "$LINENO"; then :
4495 ac_cv_prog_cc_g=yes
4496 else
4497 CFLAGS=""
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4502 main ()
4506 return 0;
4508 _ACEOF
4509 if ac_fn_c_try_compile "$LINENO"; then :
4511 else
4512 ac_c_werror_flag=$ac_save_c_werror_flag
4513 CFLAGS="-g"
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 if ac_fn_c_try_compile "$LINENO"; then :
4526 ac_cv_prog_cc_g=yes
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 ac_c_werror_flag=$ac_save_c_werror_flag
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4536 $as_echo "$ac_cv_prog_cc_g" >&6; }
4537 if test "$ac_test_CFLAGS" = set; then
4538 CFLAGS=$ac_save_CFLAGS
4539 elif test $ac_cv_prog_cc_g = yes; then
4540 if test "$GCC" = yes; then
4541 CFLAGS="-g -O2"
4542 else
4543 CFLAGS="-g"
4545 else
4546 if test "$GCC" = yes; then
4547 CFLAGS="-O2"
4548 else
4549 CFLAGS=
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4553 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4554 if ${ac_cv_prog_cc_c89+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 ac_cv_prog_cc_c89=no
4558 ac_save_CC=$CC
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561 #include <stdarg.h>
4562 #include <stdio.h>
4563 struct stat;
4564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4565 struct buf { int x; };
4566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4567 static char *e (p, i)
4568 char **p;
4569 int i;
4571 return p[i];
4573 static char *f (char * (*g) (char **, int), char **p, ...)
4575 char *s;
4576 va_list v;
4577 va_start (v,p);
4578 s = g (p, va_arg (v,int));
4579 va_end (v);
4580 return s;
4583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4584 function prototypes and stuff, but not '\xHH' hex character constants.
4585 These don't provoke an error unfortunately, instead are silently treated
4586 as 'x'. The following induces an error, until -std is added to get
4587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4588 array size at least. It's necessary to write '\x00'==0 to get something
4589 that's true only with -std. */
4590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4593 inside strings and character constants. */
4594 #define FOO(x) 'x'
4595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4597 int test (int i, double x);
4598 struct s1 {int (*f) (int a);};
4599 struct s2 {int (*f) (double a);};
4600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4601 int argc;
4602 char **argv;
4604 main ()
4606 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4608 return 0;
4610 _ACEOF
4611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4612 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4614 CC="$ac_save_CC $ac_arg"
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 ac_cv_prog_cc_c89=$ac_arg
4618 rm -f core conftest.err conftest.$ac_objext
4619 test "x$ac_cv_prog_cc_c89" != "xno" && break
4620 done
4621 rm -f conftest.$ac_ext
4622 CC=$ac_save_CC
4625 # AC_CACHE_VAL
4626 case "x$ac_cv_prog_cc_c89" in
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4629 $as_echo "none needed" >&6; } ;;
4630 xno)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4632 $as_echo "unsupported" >&6; } ;;
4634 CC="$CC $ac_cv_prog_cc_c89"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4636 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4637 esac
4638 if test "x$ac_cv_prog_cc_c89" != xno; then :
4642 ac_ext=c
4643 ac_cpp='$CPP $CPPFLAGS'
4644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648 ac_ext=cpp
4649 ac_cpp='$CXXCPP $CPPFLAGS'
4650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4653 if test -z "$CXX"; then
4654 if test -n "$CCC"; then
4655 CXX=$CCC
4656 else
4657 if test -n "$ac_tool_prefix"; then
4658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_CXX+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 if test -n "$CXX"; then
4668 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4683 IFS=$as_save_IFS
4687 CXX=$ac_cv_prog_CXX
4688 if test -n "$CXX"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4690 $as_echo "$CXX" >&6; }
4691 else
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4697 test -n "$CXX" && break
4698 done
4700 if test -z "$CXX"; then
4701 ac_ct_CXX=$CXX
4702 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4704 # Extract the first word of "$ac_prog", so it can be a program name with args.
4705 set dummy $ac_prog; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 if test -n "$ac_ct_CXX"; then
4712 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_ac_ct_CXX="$ac_prog"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 break 2
4725 done
4726 done
4727 IFS=$as_save_IFS
4731 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4732 if test -n "$ac_ct_CXX"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4734 $as_echo "$ac_ct_CXX" >&6; }
4735 else
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4741 test -n "$ac_ct_CXX" && break
4742 done
4744 if test "x$ac_ct_CXX" = x; then
4745 CXX="g++"
4746 else
4747 case $cross_compiling:$ac_tool_warned in
4748 yes:)
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4751 ac_tool_warned=yes ;;
4752 esac
4753 CXX=$ac_ct_CXX
4759 # Provide some information about the compiler.
4760 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4761 set X $ac_compile
4762 ac_compiler=$2
4763 for ac_option in --version -v -V -qversion; do
4764 { { ac_try="$ac_compiler $ac_option >&5"
4765 case "(($ac_try" in
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4768 esac
4769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4770 $as_echo "$ac_try_echo"; } >&5
4771 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4772 ac_status=$?
4773 if test -s conftest.err; then
4774 sed '10a\
4775 ... rest of stderr output deleted ...
4776 10q' conftest.err >conftest.er1
4777 cat conftest.er1 >&5
4779 rm -f conftest.er1 conftest.err
4780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4781 test $ac_status = 0; }
4782 done
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4785 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4786 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4787 $as_echo_n "(cached) " >&6
4788 else
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4793 main ()
4795 #ifndef __GNUC__
4796 choke me
4797 #endif
4800 return 0;
4802 _ACEOF
4803 if ac_fn_cxx_try_compile "$LINENO"; then :
4804 ac_compiler_gnu=yes
4805 else
4806 ac_compiler_gnu=no
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4813 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4814 if test $ac_compiler_gnu = yes; then
4815 GXX=yes
4816 else
4817 GXX=
4819 ac_test_CXXFLAGS=${CXXFLAGS+set}
4820 ac_save_CXXFLAGS=$CXXFLAGS
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4822 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4823 if ${ac_cv_prog_cxx_g+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4827 ac_cxx_werror_flag=yes
4828 ac_cv_prog_cxx_g=no
4829 CXXFLAGS="-g"
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4834 main ()
4838 return 0;
4840 _ACEOF
4841 if ac_fn_cxx_try_compile "$LINENO"; then :
4842 ac_cv_prog_cxx_g=yes
4843 else
4844 CXXFLAGS=""
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4849 main ()
4853 return 0;
4855 _ACEOF
4856 if ac_fn_cxx_try_compile "$LINENO"; then :
4858 else
4859 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4860 CXXFLAGS="-g"
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4865 main ()
4869 return 0;
4871 _ACEOF
4872 if ac_fn_cxx_try_compile "$LINENO"; then :
4873 ac_cv_prog_cxx_g=yes
4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4883 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4884 if test "$ac_test_CXXFLAGS" = set; then
4885 CXXFLAGS=$ac_save_CXXFLAGS
4886 elif test $ac_cv_prog_cxx_g = yes; then
4887 if test "$GXX" = yes; then
4888 CXXFLAGS="-g -O2"
4889 else
4890 CXXFLAGS="-g"
4892 else
4893 if test "$GXX" = yes; then
4894 CXXFLAGS="-O2"
4895 else
4896 CXXFLAGS=
4899 ac_ext=c
4900 ac_cpp='$CPP $CPPFLAGS'
4901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4905 if test -n "$ac_tool_prefix"; then
4906 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4907 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_CPPBIN+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 if test -n "$CPPBIN"; then
4914 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4919 IFS=$as_save_IFS
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 break 2
4927 done
4928 done
4929 IFS=$as_save_IFS
4933 CPPBIN=$ac_cv_prog_CPPBIN
4934 if test -n "$CPPBIN"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4936 $as_echo "$CPPBIN" >&6; }
4937 else
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4944 if test -z "$ac_cv_prog_CPPBIN"; then
4945 ac_ct_CPPBIN=$CPPBIN
4946 # Extract the first word of "cpp", so it can be a program name with args.
4947 set dummy cpp; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 if test -n "$ac_ct_CPPBIN"; then
4954 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4959 IFS=$as_save_IFS
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963 ac_cv_prog_ac_ct_CPPBIN="cpp"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 break 2
4967 done
4968 done
4969 IFS=$as_save_IFS
4973 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4974 if test -n "$ac_ct_CPPBIN"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4976 $as_echo "$ac_ct_CPPBIN" >&6; }
4977 else
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4982 if test "x$ac_ct_CPPBIN" = x; then
4983 CPPBIN="cpp"
4984 else
4985 case $cross_compiling:$ac_tool_warned in
4986 yes:)
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4989 ac_tool_warned=yes ;;
4990 esac
4991 CPPBIN=$ac_ct_CPPBIN
4993 else
4994 CPPBIN="$ac_cv_prog_CPPBIN"
4998 cat >>confdefs.h <<_ACEOF
4999 #define EXEEXT "$ac_exeext"
5000 _ACEOF
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5004 set dummy ${ac_tool_prefix}ld; ac_word=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_LD+:} false; then :
5008 $as_echo_n "(cached) " >&6
5009 else
5010 if test -n "$LD"; then
5011 ac_cv_prog_LD="$LD" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5016 IFS=$as_save_IFS
5017 test -z "$as_dir" && as_dir=.
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_LD="${ac_tool_prefix}ld"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 break 2
5024 done
5025 done
5026 IFS=$as_save_IFS
5030 LD=$ac_cv_prog_LD
5031 if test -n "$LD"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5033 $as_echo "$LD" >&6; }
5034 else
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5041 if test -z "$ac_cv_prog_LD"; then
5042 ac_ct_LD=$LD
5043 # Extract the first word of "ld", so it can be a program name with args.
5044 set dummy ld; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 if test -n "$ac_ct_LD"; then
5051 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5056 IFS=$as_save_IFS
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_ac_ct_LD="ld"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5071 if test -n "$ac_ct_LD"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5073 $as_echo "$ac_ct_LD" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5079 if test "x$ac_ct_LD" = x; then
5080 LD=""
5081 else
5082 case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088 LD=$ac_ct_LD
5090 else
5091 LD="$ac_cv_prog_LD"
5095 case $host in
5096 *-darwin*)
5097 with_fontconfig=${with_fontconfig:-no}
5099 *-mingw32*|*-cygwin*)
5100 enable_win16=${enable_win16:-no}
5101 CFLAGS="$CFLAGS -D_WIN32"
5103 esac
5105 case $host in
5106 x86_64*|amd64*)
5107 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5108 then
5109 CC="$CC -m32"
5110 CXX="$CXX -m32"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5112 $as_echo_n "checking whether $CC works... " >&6; }
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5118 main ()
5122 return 0;
5124 _ACEOF
5125 if ac_fn_c_try_link "$LINENO"; then :
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5127 $as_echo "yes" >&6; }
5128 else
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5131 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 host_cpu="i386"
5136 notice_platform="32-bit "
5137 TARGETFLAGS="-m32"
5139 enable_win16=${enable_win16:-yes}
5140 else
5141 if test "x${GCC}" = "xyes"
5142 then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5144 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5147 #include <stdarg.h>
5149 main ()
5151 void func(__builtin_ms_va_list *args);
5153 return 0;
5155 _ACEOF
5156 if ac_fn_c_try_compile "$LINENO"; then :
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5158 $as_echo "yes" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5162 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5166 CC="$CC -m64"
5167 CXX="$CXX -m64"
5168 host_cpu="x86_64"
5169 notice_platform="64-bit "
5170 TARGETFLAGS="-m64"
5174 arm*)
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5176 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5179 int ac_test(int i) { return i; }
5181 main ()
5183 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5185 return 0;
5187 _ACEOF
5188 if ac_fn_c_try_link "$LINENO"; then :
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5190 $as_echo "yes" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5196 rm -f core conftest.err conftest.$ac_objext \
5197 conftest$ac_exeext conftest.$ac_ext
5198 CFLAGS="$CFLAGS -marm"
5199 TARGETFLAGS="-marm"
5202 i[3456789]86*)
5203 enable_win16=${enable_win16:-yes}
5205 esac
5207 enable_win16=${enable_win16:-no}
5208 enable_win64=${enable_win64:-no}
5210 enable_winetest=${enable_winetest:-$enable_tests}
5212 if test -n "$with_wine64"
5213 then
5214 if test "x$enable_win64" = "xyes"
5215 then
5216 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5217 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5219 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5220 You should create a separate build directory and run configure from there." "$LINENO" 5
5221 enable_fonts=${enable_fonts:-no}
5222 enable_server=${enable_server:-no}
5223 elif test "x$enable_win64" = "xyes"
5224 then
5225 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5229 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5230 if ${wine_cv_toolsdir+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 wine_cv_toolsdir="$with_wine_tools"
5234 if test -z "$with_wine_tools"; then
5235 if test "$cross_compiling" = "yes"; then
5236 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5237 elif test -n "$with_wine64"; then
5238 wine_cv_toolsdir="$with_wine64"
5241 if test -z "$wine_cv_toolsdir"; then
5242 wine_makedep=tools/makedep
5243 wine_cv_toolsdir="\$(top_builddir)"
5244 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5245 wine_makedep=$wine_cv_toolsdir/tools/makedep
5246 case "$wine_cv_toolsdir" in
5247 /*) ;;
5248 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5249 esac
5250 enable_tools=${enable_tools:-no}
5251 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5252 else
5253 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5257 $as_echo "$wine_cv_toolsdir" >&6; }
5258 TOOLSDIR=$wine_cv_toolsdir
5260 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5261 then
5262 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5266 for ac_prog in flex
5268 # Extract the first word of "$ac_prog", so it can be a program name with args.
5269 set dummy $ac_prog; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_FLEX+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$FLEX"; then
5276 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_FLEX="$ac_prog"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 FLEX=$ac_cv_prog_FLEX
5296 if test -n "$FLEX"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5298 $as_echo "$FLEX" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 test -n "$FLEX" && break
5306 done
5307 test -n "$FLEX" || FLEX="none"
5309 if test "$FLEX" = "none"
5310 then
5311 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5314 $as_echo_n "checking whether flex is recent enough... " >&6; }
5315 cat >conftest.l <<EOF
5316 %top{
5317 #include "prediluvian.h"
5321 if $FLEX -t conftest.l >/dev/null 2>&5
5322 then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5324 $as_echo "yes" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5328 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5331 for ac_prog in bison
5333 # Extract the first word of "$ac_prog", so it can be a program name with args.
5334 set dummy $ac_prog; ac_word=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if ${ac_cv_prog_BISON+:} false; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 if test -n "$BISON"; then
5341 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5342 else
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 for as_dir in $PATH
5346 IFS=$as_save_IFS
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_BISON="$ac_prog"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 break 2
5354 done
5355 done
5356 IFS=$as_save_IFS
5360 BISON=$ac_cv_prog_BISON
5361 if test -n "$BISON"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5363 $as_echo "$BISON" >&6; }
5364 else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5370 test -n "$BISON" && break
5371 done
5372 test -n "$BISON" || BISON="none"
5374 if test "$BISON" = "none"
5375 then
5376 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5379 if test -n "$ac_tool_prefix"; then
5380 for ac_prog in ar gar
5382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_prog_AR+:} false; then :
5387 $as_echo_n "(cached) " >&6
5388 else
5389 if test -n "$AR"; then
5390 ac_cv_prog_AR="$AR" # Let the user override the test.
5391 else
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5395 IFS=$as_save_IFS
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 break 2
5403 done
5404 done
5405 IFS=$as_save_IFS
5409 AR=$ac_cv_prog_AR
5410 if test -n "$AR"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5412 $as_echo "$AR" >&6; }
5413 else
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5419 test -n "$AR" && break
5420 done
5422 if test -z "$AR"; then
5423 ac_ct_AR=$AR
5424 for ac_prog in ar gar
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$ac_ct_AR"; then
5434 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_AR="$ac_prog"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5454 if test -n "$ac_ct_AR"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5456 $as_echo "$ac_ct_AR" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5463 test -n "$ac_ct_AR" && break
5464 done
5466 if test "x$ac_ct_AR" = x; then
5467 AR="ar"
5468 else
5469 case $cross_compiling:$ac_tool_warned in
5470 yes:)
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5473 ac_tool_warned=yes ;;
5474 esac
5475 AR=$ac_ct_AR
5479 if test -n "$ac_tool_prefix"; then
5480 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5481 set dummy ${ac_tool_prefix}strip; ac_word=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_STRIP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if test -n "$STRIP"; then
5488 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 STRIP=$ac_cv_prog_STRIP
5508 if test -n "$STRIP"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5510 $as_echo "$STRIP" >&6; }
5511 else
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5518 if test -z "$ac_cv_prog_STRIP"; then
5519 ac_ct_STRIP=$STRIP
5520 # Extract the first word of "strip", so it can be a program name with args.
5521 set dummy strip; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$ac_ct_STRIP"; then
5528 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_ac_ct_STRIP="strip"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5548 if test -n "$ac_ct_STRIP"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5550 $as_echo "$ac_ct_STRIP" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5556 if test "x$ac_ct_STRIP" = x; then
5557 STRIP="strip"
5558 else
5559 case $cross_compiling:$ac_tool_warned in
5560 yes:)
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5563 ac_tool_warned=yes ;;
5564 esac
5565 STRIP=$ac_ct_STRIP
5567 else
5568 STRIP="$ac_cv_prog_STRIP"
5571 ARFLAGS=rc
5573 if test -n "$ac_tool_prefix"; then
5574 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5575 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_RANLIB+:} false; then :
5579 $as_echo_n "(cached) " >&6
5580 else
5581 if test -n "$RANLIB"; then
5582 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5583 else
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 for as_dir in $PATH
5587 IFS=$as_save_IFS
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 break 2
5595 done
5596 done
5597 IFS=$as_save_IFS
5601 RANLIB=$ac_cv_prog_RANLIB
5602 if test -n "$RANLIB"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5604 $as_echo "$RANLIB" >&6; }
5605 else
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5612 if test -z "$ac_cv_prog_RANLIB"; then
5613 ac_ct_RANLIB=$RANLIB
5614 # Extract the first word of "ranlib", so it can be a program name with args.
5615 set dummy ranlib; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -n "$ac_ct_RANLIB"; then
5622 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5627 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_ac_ct_RANLIB="ranlib"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 break 2
5635 done
5636 done
5637 IFS=$as_save_IFS
5641 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5642 if test -n "$ac_ct_RANLIB"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5644 $as_echo "$ac_ct_RANLIB" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5650 if test "x$ac_ct_RANLIB" = x; then
5651 RANLIB=":"
5652 else
5653 case $cross_compiling:$ac_tool_warned in
5654 yes:)
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5657 ac_tool_warned=yes ;;
5658 esac
5659 RANLIB=$ac_ct_RANLIB
5661 else
5662 RANLIB="$ac_cv_prog_RANLIB"
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5666 $as_echo_n "checking whether ln -s works... " >&6; }
5667 LN_S=$as_ln_s
5668 if test "$LN_S" = "ln -s"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5670 $as_echo "yes" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5673 $as_echo "no, using $LN_S" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5677 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5678 if ${ac_cv_path_GREP+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -z "$GREP"; then
5682 ac_path_GREP_found=false
5683 # Loop through the user's path and test for each of PROGNAME-LIST
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_prog in grep ggrep; do
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5692 as_fn_executable_p "$ac_path_GREP" || continue
5693 # Check for GNU ac_path_GREP and select it if it is found.
5694 # Check for GNU $ac_path_GREP
5695 case `"$ac_path_GREP" --version 2>&1` in
5696 *GNU*)
5697 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5699 ac_count=0
5700 $as_echo_n 0123456789 >"conftest.in"
5701 while :
5703 cat "conftest.in" "conftest.in" >"conftest.tmp"
5704 mv "conftest.tmp" "conftest.in"
5705 cp "conftest.in" "conftest.nl"
5706 $as_echo 'GREP' >> "conftest.nl"
5707 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5708 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5709 as_fn_arith $ac_count + 1 && ac_count=$as_val
5710 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5711 # Best one so far, save it but keep looking for a better one
5712 ac_cv_path_GREP="$ac_path_GREP"
5713 ac_path_GREP_max=$ac_count
5715 # 10*(2^10) chars as input seems more than enough
5716 test $ac_count -gt 10 && break
5717 done
5718 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5719 esac
5721 $ac_path_GREP_found && break 3
5722 done
5723 done
5724 done
5725 IFS=$as_save_IFS
5726 if test -z "$ac_cv_path_GREP"; then
5727 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5729 else
5730 ac_cv_path_GREP=$GREP
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5735 $as_echo "$ac_cv_path_GREP" >&6; }
5736 GREP="$ac_cv_path_GREP"
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5740 $as_echo_n "checking for egrep... " >&6; }
5741 if ${ac_cv_path_EGREP+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5745 then ac_cv_path_EGREP="$GREP -E"
5746 else
5747 if test -z "$EGREP"; then
5748 ac_path_EGREP_found=false
5749 # Loop through the user's path and test for each of PROGNAME-LIST
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_prog in egrep; do
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5758 as_fn_executable_p "$ac_path_EGREP" || continue
5759 # Check for GNU ac_path_EGREP and select it if it is found.
5760 # Check for GNU $ac_path_EGREP
5761 case `"$ac_path_EGREP" --version 2>&1` in
5762 *GNU*)
5763 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5765 ac_count=0
5766 $as_echo_n 0123456789 >"conftest.in"
5767 while :
5769 cat "conftest.in" "conftest.in" >"conftest.tmp"
5770 mv "conftest.tmp" "conftest.in"
5771 cp "conftest.in" "conftest.nl"
5772 $as_echo 'EGREP' >> "conftest.nl"
5773 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5774 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5775 as_fn_arith $ac_count + 1 && ac_count=$as_val
5776 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5777 # Best one so far, save it but keep looking for a better one
5778 ac_cv_path_EGREP="$ac_path_EGREP"
5779 ac_path_EGREP_max=$ac_count
5781 # 10*(2^10) chars as input seems more than enough
5782 test $ac_count -gt 10 && break
5783 done
5784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5785 esac
5787 $ac_path_EGREP_found && break 3
5788 done
5789 done
5790 done
5791 IFS=$as_save_IFS
5792 if test -z "$ac_cv_path_EGREP"; then
5793 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5795 else
5796 ac_cv_path_EGREP=$EGREP
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5802 $as_echo "$ac_cv_path_EGREP" >&6; }
5803 EGREP="$ac_cv_path_EGREP"
5806 # Extract the first word of "ldconfig", so it can be a program name with args.
5807 set dummy ldconfig; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_path_LDCONFIG+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 case $LDCONFIG in
5814 [\\/]* | ?:[\\/]*)
5815 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in /sbin /usr/sbin $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5833 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5835 esac
5837 LDCONFIG=$ac_cv_path_LDCONFIG
5838 if test -n "$LDCONFIG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5840 $as_echo "$LDCONFIG" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 for ac_prog in msgfmt
5849 # Extract the first word of "$ac_prog", so it can be a program name with args.
5850 set dummy $ac_prog; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_prog_MSGFMT+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 if test -n "$MSGFMT"; then
5857 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_MSGFMT="$ac_prog"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5876 MSGFMT=$ac_cv_prog_MSGFMT
5877 if test -n "$MSGFMT"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5879 $as_echo "$MSGFMT" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5886 test -n "$MSGFMT" && break
5887 done
5888 test -n "$MSGFMT" || MSGFMT="false"
5890 if ${ac_tool_prefix+:} false; then :
5891 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5892 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$PKG_CONFIG"; then
5899 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5919 if test -n "$PKG_CONFIG"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5921 $as_echo "$PKG_CONFIG" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5929 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5930 if test "x$cross_compiling" = xyes; then :
5932 else
5933 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5934 # Extract the first word of "pkg-config", so it can be a program name with args.
5935 set dummy pkg-config; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$PKG_CONFIG"; then
5942 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_PKG_CONFIG="pkg-config"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5962 if test -n "$PKG_CONFIG"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5964 $as_echo "$PKG_CONFIG" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 else
5973 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5976 if test "x$enable_maintainer_mode" != "xyes"
5977 then
5978 FONTFORGE=""
5979 RSVG=""
5980 CONVERT=""
5981 ICOTOOL=""
5982 else
5983 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5984 for ac_prog in fontforge
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_FONTFORGE+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$FONTFORGE"; then
5994 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_FONTFORGE="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 FONTFORGE=$ac_cv_prog_FONTFORGE
6014 if test -n "$FONTFORGE"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6016 $as_echo "$FONTFORGE" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$FONTFORGE" && break
6024 done
6025 test -n "$FONTFORGE" || FONTFORGE="false"
6027 for ac_prog in rsvg-convert rsvg
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_RSVG+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$RSVG"; then
6037 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_RSVG="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 RSVG=$ac_cv_prog_RSVG
6057 if test -n "$RSVG"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6059 $as_echo "$RSVG" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$RSVG" && break
6067 done
6068 test -n "$RSVG" || RSVG="false"
6070 for ac_prog in convert
6072 # Extract the first word of "$ac_prog", so it can be a program name with args.
6073 set dummy $ac_prog; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_CONVERT+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$CONVERT"; then
6080 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_CONVERT="$ac_prog"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 CONVERT=$ac_cv_prog_CONVERT
6100 if test -n "$CONVERT"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6102 $as_echo "$CONVERT" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6109 test -n "$CONVERT" && break
6110 done
6111 test -n "$CONVERT" || CONVERT="false"
6113 for ac_prog in icotool
6115 # Extract the first word of "$ac_prog", so it can be a program name with args.
6116 set dummy $ac_prog; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if ${ac_cv_prog_ICOTOOL+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 if test -n "$ICOTOOL"; then
6123 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ICOTOOL="$ac_prog"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ICOTOOL=$ac_cv_prog_ICOTOOL
6143 if test -n "$ICOTOOL"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6145 $as_echo "$ICOTOOL" >&6; }
6146 else
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6152 test -n "$ICOTOOL" && break
6153 done
6154 test -n "$ICOTOOL" || ICOTOOL="false"
6156 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6157 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6159 if test "$CONVERT" = false
6160 then
6161 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6164 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6165 convert_version=`convert --version | head -n1`
6166 if test "x$convert_version" != "x"
6167 then
6168 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6169 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6170 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6171 then
6172 CONVERT=false
6175 if test "$CONVERT" = false
6176 then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6178 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6179 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6182 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6186 if test "$ICOTOOL" = false
6187 then
6188 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6191 $as_echo_n "checking for recent enough icotool... " >&6; }
6192 icotool_version=`icotool --version | head -n1`
6193 if test "x$icotool_version" != "x"
6194 then
6195 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6196 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6197 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6198 then
6199 ICOTOOL=false
6200 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6203 if test "$ICOTOOL" = false
6204 then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6206 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6207 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6210 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6214 with_gettext=yes
6215 with_gettextpo=yes
6216 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6219 test "x$with_gettext" != xno || MSGFMT=false
6220 if test "$MSGFMT" != "false"
6221 then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6223 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6224 cat >conftest.po <<EOF
6225 # comment
6226 msgctxt "ctxt"
6227 msgid "id"
6228 msgstr "str"
6230 if $MSGFMT -o /dev/null conftest.po 2>&5
6231 then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6233 $as_echo "yes" >&6; }
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6237 MSGFMT=false
6240 if test "$MSGFMT" = false; then :
6241 case "x$with_gettext" in
6242 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6243 xno) ;;
6244 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6245 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6246 esac
6247 enable_po=${enable_po:-no}
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6252 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6253 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-li386 $LIBS"
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6261 /* Override any GCC internal prototype to avoid an error.
6262 Use char because int might match the return type of a GCC
6263 builtin and then its argument prototype would still apply. */
6264 #ifdef __cplusplus
6265 extern "C"
6266 #endif
6267 char i386_set_ldt ();
6269 main ()
6271 return i386_set_ldt ();
6273 return 0;
6275 _ACEOF
6276 if ac_fn_c_try_link "$LINENO"; then :
6277 ac_cv_lib_i386_i386_set_ldt=yes
6278 else
6279 ac_cv_lib_i386_i386_set_ldt=no
6281 rm -f core conftest.err conftest.$ac_objext \
6282 conftest$ac_exeext conftest.$ac_ext
6283 LIBS=$ac_check_lib_save_LIBS
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6286 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6287 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6288 cat >>confdefs.h <<_ACEOF
6289 #define HAVE_LIBI386 1
6290 _ACEOF
6292 LIBS="-li386 $LIBS"
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6297 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6298 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 ac_check_lib_save_LIBS=$LIBS
6302 LIBS="-lossaudio $LIBS"
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6306 /* Override any GCC internal prototype to avoid an error.
6307 Use char because int might match the return type of a GCC
6308 builtin and then its argument prototype would still apply. */
6309 #ifdef __cplusplus
6310 extern "C"
6311 #endif
6312 char _oss_ioctl ();
6314 main ()
6316 return _oss_ioctl ();
6318 return 0;
6320 _ACEOF
6321 if ac_fn_c_try_link "$LINENO"; then :
6322 ac_cv_lib_ossaudio__oss_ioctl=yes
6323 else
6324 ac_cv_lib_ossaudio__oss_ioctl=no
6326 rm -f core conftest.err conftest.$ac_objext \
6327 conftest$ac_exeext conftest.$ac_ext
6328 LIBS=$ac_check_lib_save_LIBS
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6331 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6332 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6333 cat >>confdefs.h <<_ACEOF
6334 #define HAVE_LIBOSSAUDIO 1
6335 _ACEOF
6337 LIBS="-lossaudio $LIBS"
6342 OPENGL_LIBS=""
6346 # Check whether --enable-largefile was given.
6347 if test "${enable_largefile+set}" = set; then :
6348 enableval=$enable_largefile;
6351 if test "$enable_largefile" != no; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6354 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6355 if ${ac_cv_sys_largefile_CC+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 ac_cv_sys_largefile_CC=no
6359 if test "$GCC" != yes; then
6360 ac_save_CC=$CC
6361 while :; do
6362 # IRIX 6.2 and later do not support large files by default,
6363 # so use the C compiler's -n32 option if that helps.
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <sys/types.h>
6367 /* Check that off_t can represent 2**63 - 1 correctly.
6368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6369 since some C++ compilers masquerading as C compilers
6370 incorrectly reject 9223372036854775807. */
6371 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6373 && LARGE_OFF_T % 2147483647 == 1)
6374 ? 1 : -1];
6376 main ()
6380 return 0;
6382 _ACEOF
6383 if ac_fn_c_try_compile "$LINENO"; then :
6384 break
6386 rm -f core conftest.err conftest.$ac_objext
6387 CC="$CC -n32"
6388 if ac_fn_c_try_compile "$LINENO"; then :
6389 ac_cv_sys_largefile_CC=' -n32'; break
6391 rm -f core conftest.err conftest.$ac_objext
6392 break
6393 done
6394 CC=$ac_save_CC
6395 rm -f conftest.$ac_ext
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6399 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6400 if test "$ac_cv_sys_largefile_CC" != no; then
6401 CC=$CC$ac_cv_sys_largefile_CC
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6405 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6406 if ${ac_cv_sys_file_offset_bits+:} false; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6409 while :; do
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #include <sys/types.h>
6413 /* Check that off_t can represent 2**63 - 1 correctly.
6414 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6415 since some C++ compilers masquerading as C compilers
6416 incorrectly reject 9223372036854775807. */
6417 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6419 && LARGE_OFF_T % 2147483647 == 1)
6420 ? 1 : -1];
6422 main ()
6426 return 0;
6428 _ACEOF
6429 if ac_fn_c_try_compile "$LINENO"; then :
6430 ac_cv_sys_file_offset_bits=no; break
6432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6435 #define _FILE_OFFSET_BITS 64
6436 #include <sys/types.h>
6437 /* Check that off_t can represent 2**63 - 1 correctly.
6438 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6439 since some C++ compilers masquerading as C compilers
6440 incorrectly reject 9223372036854775807. */
6441 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6442 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6443 && LARGE_OFF_T % 2147483647 == 1)
6444 ? 1 : -1];
6446 main ()
6450 return 0;
6452 _ACEOF
6453 if ac_fn_c_try_compile "$LINENO"; then :
6454 ac_cv_sys_file_offset_bits=64; break
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6457 ac_cv_sys_file_offset_bits=unknown
6458 break
6459 done
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6462 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6463 case $ac_cv_sys_file_offset_bits in #(
6464 no | unknown) ;;
6466 cat >>confdefs.h <<_ACEOF
6467 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6468 _ACEOF
6470 esac
6471 rm -rf conftest*
6472 if test $ac_cv_sys_file_offset_bits = unknown; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6474 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6475 if ${ac_cv_sys_large_files+:} false; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 while :; do
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #include <sys/types.h>
6482 /* Check that off_t can represent 2**63 - 1 correctly.
6483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6484 since some C++ compilers masquerading as C compilers
6485 incorrectly reject 9223372036854775807. */
6486 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6488 && LARGE_OFF_T % 2147483647 == 1)
6489 ? 1 : -1];
6491 main ()
6495 return 0;
6497 _ACEOF
6498 if ac_fn_c_try_compile "$LINENO"; then :
6499 ac_cv_sys_large_files=no; break
6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #define _LARGE_FILES 1
6505 #include <sys/types.h>
6506 /* Check that off_t can represent 2**63 - 1 correctly.
6507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6508 since some C++ compilers masquerading as C compilers
6509 incorrectly reject 9223372036854775807. */
6510 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6512 && LARGE_OFF_T % 2147483647 == 1)
6513 ? 1 : -1];
6515 main ()
6519 return 0;
6521 _ACEOF
6522 if ac_fn_c_try_compile "$LINENO"; then :
6523 ac_cv_sys_large_files=1; break
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 ac_cv_sys_large_files=unknown
6527 break
6528 done
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6531 $as_echo "$ac_cv_sys_large_files" >&6; }
6532 case $ac_cv_sys_large_files in #(
6533 no | unknown) ;;
6535 cat >>confdefs.h <<_ACEOF
6536 #define _LARGE_FILES $ac_cv_sys_large_files
6537 _ACEOF
6539 esac
6540 rm -rf conftest*
6547 ac_ext=c
6548 ac_cpp='$CPP $CPPFLAGS'
6549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6553 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6554 # On Suns, sometimes $CPP names a directory.
6555 if test -n "$CPP" && test -d "$CPP"; then
6556 CPP=
6558 if test -z "$CPP"; then
6559 if ${ac_cv_prog_CPP+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 # Double quotes because CPP needs to be expanded
6563 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6565 ac_preproc_ok=false
6566 for ac_c_preproc_warn_flag in '' yes
6568 # Use a header file that comes with gcc, so configuring glibc
6569 # with a fresh cross-compiler works.
6570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6571 # <limits.h> exists even on freestanding compilers.
6572 # On the NeXT, cc -E runs the code through the compiler's parser,
6573 # not just through cpp. "Syntax error" is here to catch this case.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #ifdef __STDC__
6577 # include <limits.h>
6578 #else
6579 # include <assert.h>
6580 #endif
6581 Syntax error
6582 _ACEOF
6583 if ac_fn_c_try_cpp "$LINENO"; then :
6585 else
6586 # Broken: fails on valid input.
6587 continue
6589 rm -f conftest.err conftest.i conftest.$ac_ext
6591 # OK, works on sane cases. Now check whether nonexistent headers
6592 # can be detected and how.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <ac_nonexistent.h>
6596 _ACEOF
6597 if ac_fn_c_try_cpp "$LINENO"; then :
6598 # Broken: success on invalid input.
6599 continue
6600 else
6601 # Passes both tests.
6602 ac_preproc_ok=:
6603 break
6605 rm -f conftest.err conftest.i conftest.$ac_ext
6607 done
6608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6609 rm -f conftest.i conftest.err conftest.$ac_ext
6610 if $ac_preproc_ok; then :
6611 break
6614 done
6615 ac_cv_prog_CPP=$CPP
6618 CPP=$ac_cv_prog_CPP
6619 else
6620 ac_cv_prog_CPP=$CPP
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6623 $as_echo "$CPP" >&6; }
6624 ac_preproc_ok=false
6625 for ac_c_preproc_warn_flag in '' yes
6627 # Use a header file that comes with gcc, so configuring glibc
6628 # with a fresh cross-compiler works.
6629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6630 # <limits.h> exists even on freestanding compilers.
6631 # On the NeXT, cc -E runs the code through the compiler's parser,
6632 # not just through cpp. "Syntax error" is here to catch this case.
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #ifdef __STDC__
6636 # include <limits.h>
6637 #else
6638 # include <assert.h>
6639 #endif
6640 Syntax error
6641 _ACEOF
6642 if ac_fn_c_try_cpp "$LINENO"; then :
6644 else
6645 # Broken: fails on valid input.
6646 continue
6648 rm -f conftest.err conftest.i conftest.$ac_ext
6650 # OK, works on sane cases. Now check whether nonexistent headers
6651 # can be detected and how.
6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6654 #include <ac_nonexistent.h>
6655 _ACEOF
6656 if ac_fn_c_try_cpp "$LINENO"; then :
6657 # Broken: success on invalid input.
6658 continue
6659 else
6660 # Passes both tests.
6661 ac_preproc_ok=:
6662 break
6664 rm -f conftest.err conftest.i conftest.$ac_ext
6666 done
6667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6668 rm -f conftest.i conftest.err conftest.$ac_ext
6669 if $ac_preproc_ok; then :
6671 else
6672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6674 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6675 See \`config.log' for more details" "$LINENO" 5; }
6678 ac_ext=c
6679 ac_cpp='$CPP $CPPFLAGS'
6680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6686 $as_echo_n "checking for ANSI C header files... " >&6; }
6687 if ${ac_cv_header_stdc+:} false; then :
6688 $as_echo_n "(cached) " >&6
6689 else
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 #include <stdlib.h>
6693 #include <stdarg.h>
6694 #include <string.h>
6695 #include <float.h>
6698 main ()
6702 return 0;
6704 _ACEOF
6705 if ac_fn_c_try_compile "$LINENO"; then :
6706 ac_cv_header_stdc=yes
6707 else
6708 ac_cv_header_stdc=no
6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712 if test $ac_cv_header_stdc = yes; then
6713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <string.h>
6718 _ACEOF
6719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6720 $EGREP "memchr" >/dev/null 2>&1; then :
6722 else
6723 ac_cv_header_stdc=no
6725 rm -f conftest*
6729 if test $ac_cv_header_stdc = yes; then
6730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <stdlib.h>
6735 _ACEOF
6736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6737 $EGREP "free" >/dev/null 2>&1; then :
6739 else
6740 ac_cv_header_stdc=no
6742 rm -f conftest*
6746 if test $ac_cv_header_stdc = yes; then
6747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6748 if test "$cross_compiling" = yes; then :
6750 else
6751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h. */
6753 #include <ctype.h>
6754 #include <stdlib.h>
6755 #if ((' ' & 0x0FF) == 0x020)
6756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6758 #else
6759 # define ISLOWER(c) \
6760 (('a' <= (c) && (c) <= 'i') \
6761 || ('j' <= (c) && (c) <= 'r') \
6762 || ('s' <= (c) && (c) <= 'z'))
6763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6764 #endif
6766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6768 main ()
6770 int i;
6771 for (i = 0; i < 256; i++)
6772 if (XOR (islower (i), ISLOWER (i))
6773 || toupper (i) != TOUPPER (i))
6774 return 2;
6775 return 0;
6777 _ACEOF
6778 if ac_fn_c_try_run "$LINENO"; then :
6780 else
6781 ac_cv_header_stdc=no
6783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6784 conftest.$ac_objext conftest.beam conftest.$ac_ext
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6790 $as_echo "$ac_cv_header_stdc" >&6; }
6791 if test $ac_cv_header_stdc = yes; then
6793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6799 inttypes.h stdint.h unistd.h
6800 do :
6801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6807 _ACEOF
6811 done
6814 for ac_header in \
6815 AL/al.h \
6816 ApplicationServices/ApplicationServices.h \
6817 AudioToolbox/AudioConverter.h \
6818 AudioUnit/AudioUnit.h \
6819 AudioUnit/AudioComponent.h \
6820 CL/cl.h \
6821 Carbon/Carbon.h \
6822 CommonCrypto/CommonDigest.h \
6823 CoreAudio/CoreAudio.h \
6824 CoreServices/CoreServices.h \
6825 DiskArbitration/DiskArbitration.h \
6826 IOKit/IOKitLib.h \
6827 IOKit/hid/IOHIDLib.h \
6828 OpenAL/al.h \
6829 OpenCL/opencl.h \
6830 QuickTime/ImageCompression.h \
6831 Security/Security.h \
6832 alias.h \
6833 alsa/asoundlib.h \
6834 arpa/inet.h \
6835 arpa/nameser.h \
6836 asm/types.h \
6837 asm/user.h \
6838 curses.h \
6839 direct.h \
6840 dirent.h \
6841 dlfcn.h \
6842 elf.h \
6843 float.h \
6844 fnmatch.h \
6845 getopt.h \
6846 gettext-po.h \
6847 grp.h \
6848 gsm.h \
6849 gsm/gsm.h \
6850 ieeefp.h \
6851 inet/mib2.h \
6852 io.h \
6853 kstat.h \
6854 lber.h \
6855 ldap.h \
6856 libproc.h \
6857 link.h \
6858 linux/cdrom.h \
6859 linux/compiler.h \
6860 linux/filter.h \
6861 linux/hdreg.h \
6862 linux/hidraw.h \
6863 linux/input.h \
6864 linux/ioctl.h \
6865 linux/joystick.h \
6866 linux/major.h \
6867 linux/param.h \
6868 linux/serial.h \
6869 linux/types.h \
6870 linux/ucdrom.h \
6871 lwp.h \
6872 mach-o/nlist.h \
6873 mach-o/loader.h \
6874 mach/mach.h \
6875 mach/machine.h \
6876 machine/cpu.h \
6877 machine/limits.h \
6878 machine/sysarch.h \
6879 mntent.h \
6880 ncurses.h \
6881 netdb.h \
6882 netinet/in.h \
6883 netinet/in_systm.h \
6884 netinet/tcp.h \
6885 netinet/tcp_fsm.h \
6886 pcap/pcap.h \
6887 poll.h \
6888 port.h \
6889 process.h \
6890 pthread.h \
6891 pwd.h \
6892 sched.h \
6893 scsi/scsi.h \
6894 scsi/scsi_ioctl.h \
6895 scsi/sg.h \
6896 stdbool.h \
6897 stdint.h \
6898 stropts.h \
6899 sys/asoundlib.h \
6900 sys/attr.h \
6901 sys/auxv.h \
6902 sys/cdio.h \
6903 sys/elf32.h \
6904 sys/epoll.h \
6905 sys/event.h \
6906 sys/exec_elf.h \
6907 sys/filio.h \
6908 sys/inotify.h \
6909 sys/ioctl.h \
6910 sys/ipc.h \
6911 sys/limits.h \
6912 sys/link.h \
6913 sys/mman.h \
6914 sys/modem.h \
6915 sys/msg.h \
6916 sys/mtio.h \
6917 sys/param.h \
6918 sys/poll.h \
6919 sys/prctl.h \
6920 sys/protosw.h \
6921 sys/ptrace.h \
6922 sys/queue.h \
6923 sys/resource.h \
6924 sys/scsiio.h \
6925 sys/shm.h \
6926 sys/signal.h \
6927 sys/socket.h \
6928 sys/socketvar.h \
6929 sys/sockio.h \
6930 sys/statvfs.h \
6931 sys/strtio.h \
6932 sys/syscall.h \
6933 sys/sysinfo.h \
6934 sys/tihdr.h \
6935 sys/time.h \
6936 sys/timeout.h \
6937 sys/times.h \
6938 sys/uio.h \
6939 sys/user.h \
6940 sys/utsname.h \
6941 sys/vm86.h \
6942 sys/vnode.h \
6943 sys/wait.h \
6944 syscall.h \
6945 termios.h \
6946 unistd.h \
6947 utime.h \
6948 valgrind/memcheck.h \
6949 valgrind/valgrind.h \
6950 zlib.h
6952 do :
6953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6956 cat >>confdefs.h <<_ACEOF
6957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 _ACEOF
6962 done
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6965 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6966 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968 else
6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h. */
6971 #include <sys/types.h>
6973 main ()
6975 return makedev(0, 0);
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_link "$LINENO"; then :
6981 ac_cv_header_sys_types_h_makedev=yes
6982 else
6983 ac_cv_header_sys_types_h_makedev=no
6985 rm -f core conftest.err conftest.$ac_objext \
6986 conftest$ac_exeext conftest.$ac_ext
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6990 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6992 if test $ac_cv_header_sys_types_h_makedev = no; then
6993 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6994 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6996 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7002 if test $ac_cv_header_sys_mkdev_h = no; then
7003 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7004 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7006 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7015 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7016 if ${ac_cv_header_stat_broken+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7022 #include <sys/stat.h>
7024 #if defined S_ISBLK && defined S_IFDIR
7025 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7026 #endif
7028 #if defined S_ISBLK && defined S_IFCHR
7029 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7030 #endif
7032 #if defined S_ISLNK && defined S_IFREG
7033 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7034 #endif
7036 #if defined S_ISSOCK && defined S_IFREG
7037 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7038 #endif
7040 _ACEOF
7041 if ac_fn_c_try_compile "$LINENO"; then :
7042 ac_cv_header_stat_broken=no
7043 else
7044 ac_cv_header_stat_broken=yes
7046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7049 $as_echo "$ac_cv_header_stat_broken" >&6; }
7050 if test $ac_cv_header_stat_broken = yes; then
7052 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7058 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7059 do :
7060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7062 #ifdef HAVE_SYS_PARAM_H
7063 # include <sys/param.h>
7064 #endif
7066 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7067 cat >>confdefs.h <<_ACEOF
7068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7069 _ACEOF
7073 done
7076 for ac_header in \
7077 netinet/ip.h \
7078 net/if.h \
7079 net/if_arp.h \
7080 net/if_dl.h \
7081 net/if_types.h \
7082 net/route.h \
7083 netinet/if_ether.h \
7084 netinet/if_inarp.h \
7085 netinet/in_pcb.h \
7086 netinet/ip_icmp.h \
7087 netinet/ip_var.h \
7088 netinet/udp.h \
7089 netipx/ipx.h \
7090 sys/un.h \
7092 do :
7093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7095 #ifdef HAVE_SYS_SOCKET_H
7096 # include <sys/socket.h>
7097 #endif
7098 #ifdef HAVE_SYS_SOCKETVAR_H
7099 # include <sys/socketvar.h>
7100 #endif
7101 #ifdef HAVE_NET_ROUTE_H
7102 # include <net/route.h>
7103 #endif
7104 #ifdef HAVE_NETINET_IN_H
7105 # include <netinet/in.h>
7106 #endif
7107 #ifdef HAVE_NETINET_IN_SYSTM_H
7108 # include <netinet/in_systm.h>
7109 #endif
7110 #ifdef HAVE_NET_IF_H
7111 # include <net/if.h>
7112 #endif
7113 #ifdef HAVE_NETINET_IP_H
7114 # include <netinet/ip.h>
7115 #endif
7117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7118 cat >>confdefs.h <<_ACEOF
7119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7120 _ACEOF
7124 done
7127 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7128 do :
7129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7130 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7131 #ifdef HAVE_ALIAS_H
7132 # include <alias.h>
7133 #endif
7134 #ifdef HAVE_SYS_SOCKET_H
7135 # include <sys/socket.h>
7136 #endif
7137 #ifdef HAVE_SYS_SOCKETVAR_H
7138 # include <sys/socketvar.h>
7139 #endif
7140 #ifdef HAVE_SYS_TIMEOUT_H
7141 # include <sys/timeout.h>
7142 #endif
7143 #ifdef HAVE_NETINET_IN_H
7144 # include <netinet/in.h>
7145 #endif
7146 #ifdef HAVE_NETINET_IN_SYSTM_H
7147 # include <netinet/in_systm.h>
7148 #endif
7149 #ifdef HAVE_NETINET_IP_H
7150 # include <netinet/ip.h>
7151 #endif
7152 #ifdef HAVE_NETINET_IP_VAR_H
7153 # include <netinet/ip_var.h>
7154 #endif
7155 #ifdef HAVE_NETINET_IP_ICMP_H
7156 # include <netinet/ip_icmp.h>
7157 #endif
7158 #ifdef HAVE_NETINET_UDP_H
7159 # include <netinet/udp.h>
7160 #endif
7161 #ifdef HAVE_NETINET_TCP_H
7162 # include <netinet/tcp.h>
7163 #endif
7164 #ifdef HAVE_NETINET_TCP_TIMER_H
7165 #include <netinet/tcp_timer.h>
7166 #endif
7168 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7169 cat >>confdefs.h <<_ACEOF
7170 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7171 _ACEOF
7175 done
7178 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7179 do :
7180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7181 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7182 #ifdef HAVE_ASM_TYPES_H
7183 # include <asm/types.h>
7184 #endif
7185 #ifdef HAVE_SYS_SOCKET_H
7186 # include <sys/socket.h>
7187 #endif
7188 #ifdef HAVE_LINUX_TYPES_H
7189 # include <linux/types.h>
7190 #endif
7192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7193 cat >>confdefs.h <<_ACEOF
7194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7195 _ACEOF
7199 done
7202 for ac_header in mach-o/dyld_images.h
7203 do :
7204 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7205 # include <stdbool.h>
7206 #endif
7207 #ifdef HAVE_STDINT_H
7208 # include <stdint.h>
7209 #endif
7211 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7214 _ACEOF
7218 done
7221 for ac_header in resolv.h
7222 do :
7223 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7224 #ifdef HAVE_SYS_SOCKET_H
7225 # include <sys/socket.h>
7226 #endif
7227 #ifdef HAVE_NETINET_IN_H
7228 # include <netinet/in.h>
7229 #endif
7230 #ifdef HAVE_ARPA_NAMESER_H
7231 # include <arpa/nameser.h>
7232 #endif
7234 if test "x$ac_cv_header_resolv_h" = xyes; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define HAVE_RESOLV_H 1
7237 _ACEOF
7241 done
7244 for ac_header in ifaddrs.h
7245 do :
7246 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7248 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7249 cat >>confdefs.h <<_ACEOF
7250 #define HAVE_IFADDRS_H 1
7251 _ACEOF
7255 done
7258 for ac_header in sys/ucontext.h
7259 do :
7260 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7262 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7263 cat >>confdefs.h <<_ACEOF
7264 #define HAVE_SYS_UCONTEXT_H 1
7265 _ACEOF
7269 done
7272 for ac_header in sys/thr.h
7273 do :
7274 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7275 #ifdef HAVE_SYS_UCONTEXT_H
7276 #include <sys/ucontext.h>
7277 #endif
7279 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7280 cat >>confdefs.h <<_ACEOF
7281 #define HAVE_SYS_THR_H 1
7282 _ACEOF
7286 done
7289 for ac_header in pthread_np.h
7290 do :
7291 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7292 #include <pthread.h>
7293 #endif
7295 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define HAVE_PTHREAD_NP_H 1
7298 _ACEOF
7302 done
7305 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7306 do :
7307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7309 #include <sys/time.h>
7310 #endif
7311 #include <sys/types.h>
7312 #ifdef HAVE_ASM_TYPES_H
7313 #include <asm/types.h>
7314 #endif
7316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7317 cat >>confdefs.h <<_ACEOF
7318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7319 _ACEOF
7323 done
7326 for ac_header in libprocstat.h
7327 do :
7328 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7329 #include <sys/param.h>
7330 #endif
7331 #ifdef HAVE_SYS_QUEUE_H
7332 #include <sys/queue.h>
7333 #endif
7334 #ifdef HAVE_SYS_SOCKET_H
7335 #include <sys/socket.h>
7336 #endif
7338 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define HAVE_LIBPROCSTAT_H 1
7341 _ACEOF
7345 done
7349 dlldir="\${libdir}/wine"
7351 DLLFLAGS="-D_REENTRANT"
7353 LDRPATH_INSTALL=""
7355 LDRPATH_LOCAL=""
7357 LDEXECFLAGS=""
7359 WINELOADER_LDFLAGS=""
7361 LIBEXT="so"
7362 DLLEXT=".so"
7363 IMPLIBEXT="def"
7364 # Extract the first word of "ldd", so it can be a program name with args.
7365 set dummy ldd; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_path_LDD+:} false; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 case $LDD in
7372 [\\/]* | ?:[\\/]*)
7373 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 as_dummy="/sbin:/usr/sbin:$PATH"
7378 for as_dir in $as_dummy
7380 IFS=$as_save_IFS
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7392 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7394 esac
7396 LDD=$ac_cv_path_LDD
7397 if test -n "$LDD"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7399 $as_echo "$LDD" >&6; }
7400 else
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7406 if test -n "$ac_tool_prefix"; then
7407 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7408 set dummy ${ac_tool_prefix}otool; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_OTOOL+:} false; then :
7412 $as_echo_n "(cached) " >&6
7413 else
7414 if test -n "$OTOOL"; then
7415 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7416 else
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 for as_dir in $PATH
7420 IFS=$as_save_IFS
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7434 OTOOL=$ac_cv_prog_OTOOL
7435 if test -n "$OTOOL"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7437 $as_echo "$OTOOL" >&6; }
7438 else
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7445 if test -z "$ac_cv_prog_OTOOL"; then
7446 ac_ct_OTOOL=$OTOOL
7447 # Extract the first word of "otool", so it can be a program name with args.
7448 set dummy otool; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7452 $as_echo_n "(cached) " >&6
7453 else
7454 if test -n "$ac_ct_OTOOL"; then
7455 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7456 else
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 for as_dir in $PATH
7460 IFS=$as_save_IFS
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_ac_ct_OTOOL="otool"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 break 2
7468 done
7469 done
7470 IFS=$as_save_IFS
7474 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7475 if test -n "$ac_ct_OTOOL"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7477 $as_echo "$ac_ct_OTOOL" >&6; }
7478 else
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7483 if test "x$ac_ct_OTOOL" = x; then
7484 OTOOL="otool"
7485 else
7486 case $cross_compiling:$ac_tool_warned in
7487 yes:)
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7490 ac_tool_warned=yes ;;
7491 esac
7492 OTOOL=$ac_ct_OTOOL
7494 else
7495 OTOOL="$ac_cv_prog_OTOOL"
7498 if test -n "$ac_tool_prefix"; then
7499 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7500 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_READELF+:} false; then :
7504 $as_echo_n "(cached) " >&6
7505 else
7506 if test -n "$READELF"; then
7507 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7508 else
7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7510 for as_dir in $PATH
7512 IFS=$as_save_IFS
7513 test -z "$as_dir" && as_dir=.
7514 for ac_exec_ext in '' $ac_executable_extensions; do
7515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 break 2
7520 done
7521 done
7522 IFS=$as_save_IFS
7526 READELF=$ac_cv_prog_READELF
7527 if test -n "$READELF"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7529 $as_echo "$READELF" >&6; }
7530 else
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7537 if test -z "$ac_cv_prog_READELF"; then
7538 ac_ct_READELF=$READELF
7539 # Extract the first word of "readelf", so it can be a program name with args.
7540 set dummy readelf; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7544 $as_echo_n "(cached) " >&6
7545 else
7546 if test -n "$ac_ct_READELF"; then
7547 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7548 else
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 for as_dir in $PATH
7552 IFS=$as_save_IFS
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_ac_ct_READELF="readelf"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 break 2
7560 done
7561 done
7562 IFS=$as_save_IFS
7566 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7567 if test -n "$ac_ct_READELF"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7569 $as_echo "$ac_ct_READELF" >&6; }
7570 else
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7575 if test "x$ac_ct_READELF" = x; then
7576 READELF="true"
7577 else
7578 case $cross_compiling:$ac_tool_warned in
7579 yes:)
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7582 ac_tool_warned=yes ;;
7583 esac
7584 READELF=$ac_ct_READELF
7586 else
7587 READELF="$ac_cv_prog_READELF"
7590 wine_rules_file=conf$$rules.make
7591 rm -f $wine_rules_file
7592 SUBDIRS=""
7594 DISABLED_SUBDIRS=""
7596 CONFIGURE_TARGETS=""
7598 ALL_TEST_RESOURCES=""
7601 wine_fn_append_file ()
7603 as_fn_append $1 " \\$as_nl $2"
7606 wine_fn_append_rule ()
7608 $as_echo "$1" >>$wine_rules_file
7611 wine_fn_has_flag ()
7613 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7616 wine_fn_all_rules ()
7618 wine_fn_append_file SUBDIRS $ac_dir
7619 wine_fn_append_rule \
7620 "all: $ac_dir
7621 .PHONY: $ac_dir
7622 $ac_dir: dummy
7623 @cd $ac_dir && \$(MAKE)"
7626 wine_fn_install_rules ()
7628 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7630 wine_fn_append_rule \
7631 ".PHONY: $ac_dir/install $ac_dir/uninstall
7632 $ac_dir/install:: $ac_dir
7633 @cd $ac_dir && \$(MAKE) install
7634 $ac_dir/uninstall::
7635 @cd $ac_dir && \$(MAKE) uninstall
7636 install:: $ac_dir/install
7637 __uninstall__: $ac_dir/uninstall"
7639 if wine_fn_has_flag install-lib
7640 then
7641 wine_fn_append_rule \
7642 ".PHONY: $ac_dir/install-lib
7643 $ac_dir/install-lib:: $ac_dir
7644 @cd $ac_dir && \$(MAKE) install-lib
7645 install-lib:: $ac_dir/install-lib"
7648 if wine_fn_has_flag install-dev
7649 then
7650 wine_fn_append_rule \
7651 ".PHONY: $ac_dir/install-dev
7652 $ac_dir/install-dev:: $ac_dir
7653 @cd $ac_dir && \$(MAKE) install-dev
7654 install-dev:: $ac_dir/install-dev"
7658 wine_fn_clean_rules ()
7660 ac_clean=$@
7662 if wine_fn_has_flag clean
7663 then
7664 wine_fn_append_rule \
7665 "$ac_dir/clean: dummy
7666 @cd $ac_dir && \$(MAKE) clean"
7667 else
7668 wine_fn_append_rule \
7669 "$ac_dir/clean: dummy
7670 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7672 wine_fn_append_rule \
7673 "__clean__: $ac_dir/clean
7674 .PHONY: $ac_dir/clean"
7677 wine_fn_disabled_rules ()
7679 ac_clean=$@
7681 wine_fn_append_file SUBDIRS $ac_dir
7682 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7683 wine_fn_append_rule \
7684 "__clean__: $ac_dir/clean
7685 .PHONY: $ac_dir/clean
7686 $ac_dir/clean: dummy
7687 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7690 wine_fn_config_makefile ()
7692 ac_dir=$1
7693 ac_enable=$2
7694 ac_flags=$3
7696 case $ac_dir in
7697 fonts|server) test -z "$with_wine64" || return ;;
7698 esac
7699 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7700 wine_fn_disabled_rules; return
7702 wine_fn_all_rules
7703 wine_fn_install_rules
7704 wine_fn_clean_rules
7707 wine_fn_config_lib ()
7709 ac_name=$1
7710 ac_flags=$2
7711 ac_dir=dlls/$ac_name
7712 ac_deps="include"
7714 if test "x$enable_tools" = xno; then :
7716 else
7717 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7719 wine_fn_all_rules
7720 wine_fn_clean_rules
7722 wine_fn_append_rule \
7723 ".PHONY: $ac_dir/install $ac_dir/uninstall
7724 $ac_dir/install:: $ac_dir
7725 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7728 install install-dev:: $ac_dir/install
7729 __uninstall__: $ac_dir/uninstall
7730 __builddeps__: $ac_dir
7731 $ac_dir: $ac_deps"
7734 wine_fn_config_dll ()
7736 ac_name=$1
7737 ac_dir=dlls/$ac_name
7738 ac_enable=$2
7739 ac_flags=$3
7740 ac_implib=${4:-$ac_name}
7741 ac_file=$ac_dir/lib$ac_implib
7742 ac_dll=$ac_name
7743 ac_deps="include"
7744 ac_implibflags=""
7746 if test "x$enable_tools" = xno; then :
7748 else
7749 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7751 case $ac_name in
7752 *.*16) ac_implibflags=" -m16" ;;
7753 *.*) ;;
7754 *) ac_dll=$ac_dll.dll ;;
7755 esac
7757 ac_clean=
7758 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7759 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7761 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7762 if test "$ac_enable" != enable_win16
7763 then
7764 wine_fn_clean_rules $ac_clean
7765 wine_fn_append_file SUBDIRS $ac_dir
7766 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7767 else
7768 wine_fn_disabled_rules $ac_clean
7769 return
7771 else
7772 wine_fn_all_rules
7773 wine_fn_clean_rules $ac_clean
7774 wine_fn_append_rule \
7775 "$ac_dir: __builddeps__
7776 manpages htmlpages sgmlpages xmlpages::
7777 @cd $ac_dir && \$(MAKE) \$@
7778 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7779 install install-lib:: $ac_dir/install-lib
7780 __uninstall__: $ac_dir/uninstall"
7781 if test -n "$DLLEXT"
7782 then
7783 wine_fn_append_rule \
7784 "$ac_dir/install-lib:: $ac_dir
7785 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7786 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7787 $ac_dir/uninstall::
7788 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7789 else
7790 wine_fn_append_rule \
7791 "$ac_dir/install-lib:: $ac_dir
7792 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7793 $ac_dir/uninstall::
7794 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7798 if wine_fn_has_flag staticimplib
7799 then
7800 wine_fn_append_rule \
7801 "__builddeps__: $ac_file.a
7802 $ac_file.a $ac_file.cross.a: $ac_deps
7803 $ac_file.a: dummy
7804 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7805 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7806 $ac_dir/install-dev:: $ac_file.a
7807 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7810 install install-dev:: $ac_dir/install-dev
7811 __uninstall__: $ac_dir/uninstall"
7813 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7814 then
7815 wine_fn_append_rule \
7816 "__builddeps__: $ac_file.cross.a
7817 $ac_file.cross.a: dummy
7818 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7821 elif wine_fn_has_flag implib
7822 then
7823 wine_fn_append_rule \
7824 "__builddeps__: $ac_file.$IMPLIBEXT
7825 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7826 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7827 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7828 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7829 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7830 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7831 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7832 $ac_dir/uninstall::
7833 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7834 install install-dev:: $ac_dir/install-dev
7835 __uninstall__: $ac_dir/uninstall"
7836 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7837 then
7838 wine_fn_append_rule \
7839 "__builddeps__: $ac_file.cross.a
7840 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7841 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7846 wine_fn_config_program ()
7848 ac_name=$1
7849 ac_dir=programs/$ac_name
7850 ac_enable=$2
7851 ac_flags=$3
7852 ac_program=$ac_name
7854 case $ac_name in
7855 *.*) ;;
7856 *) ac_program=$ac_program.exe ;;
7857 esac
7859 ac_clean=
7860 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7861 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7863 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7864 wine_fn_disabled_rules $ac_clean; return
7867 wine_fn_all_rules
7868 wine_fn_clean_rules $ac_clean
7869 wine_fn_append_rule "$ac_dir: __builddeps__"
7871 wine_fn_has_flag install || return
7872 wine_fn_append_rule \
7873 ".PHONY: $ac_dir/install $ac_dir/uninstall
7874 install install-lib:: $ac_dir/install
7875 __uninstall__: $ac_dir/uninstall"
7877 if test -n "$DLLEXT"
7878 then
7879 wine_fn_append_rule \
7880 "$ac_dir/install:: $ac_dir
7881 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7882 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7886 if test -z "$with_wine64" && wine_fn_has_flag installbin
7887 then
7888 wine_fn_append_rule \
7889 "$ac_dir/install:: __tooldeps__
7890 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7891 $ac_dir/uninstall::
7892 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7894 else
7895 wine_fn_append_rule \
7896 "$ac_dir/install:: $ac_dir
7897 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7902 if test -z "$with_wine64" && wine_fn_has_flag manpage
7903 then
7904 wine_fn_append_rule \
7905 "$ac_dir/install:: $ac_dir
7906 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7907 $ac_dir/uninstall::
7908 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7912 wine_fn_config_test ()
7914 ac_dir=$1
7915 ac_name=$2
7916 ac_flags=$3
7918 ac_clean=
7919 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7920 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7922 if test "x$enable_tests" = xno; then :
7923 wine_fn_disabled_rules $ac_clean; return
7926 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7927 wine_fn_all_rules
7928 wine_fn_clean_rules $ac_clean
7930 wine_fn_append_rule \
7931 "$ac_dir: __builddeps__
7932 programs/winetest: $ac_dir
7933 check test: $ac_dir/test
7934 .PHONY: $ac_dir/test
7935 $ac_dir/test: dummy
7936 @cd $ac_dir && \$(MAKE) test
7937 testclean::
7938 \$(RM) $ac_dir/*.ok"
7940 if test -n "$CROSSTARGET"
7941 then
7942 wine_fn_append_rule \
7943 "crosstest: $ac_dir/crosstest
7944 .PHONY: $ac_dir/crosstest
7945 $ac_dir/crosstest: __builddeps__ dummy
7946 @cd $ac_dir && \$(MAKE) crosstest"
7950 wine_fn_config_tool ()
7952 ac_dir=$1
7953 ac_flags=$2
7954 if test "x$enable_tools" = xno; then :
7955 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7958 wine_fn_all_rules
7959 wine_fn_install_rules
7960 wine_fn_clean_rules
7962 wine_fn_append_rule "__tooldeps__: $ac_dir"
7963 wine_fn_append_rule "$ac_dir: libs/port"
7964 case $ac_dir in
7965 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7966 esac
7969 wine_fn_config_symlink ()
7971 ac_linkdir=
7972 if test "x$1" = "x-d"
7973 then
7974 ac_linkdir=$2
7975 shift; shift
7977 ac_links=$@
7978 wine_fn_append_rule \
7979 "$ac_links:
7980 @./config.status \$@"
7981 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7982 test -n "$ac_linkdir" || return
7983 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7986 wine_binary="wine"
7987 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7988 WINELOADER_PROGRAMS="$wine_binary"
7990 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7992 case $host_os in
7993 cygwin*|mingw32*)
7994 if test -n "$ac_tool_prefix"; then
7995 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7996 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_DLLTOOL+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 if test -n "$DLLTOOL"; then
8003 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8004 else
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 for as_dir in $PATH
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8022 DLLTOOL=$ac_cv_prog_DLLTOOL
8023 if test -n "$DLLTOOL"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8025 $as_echo "$DLLTOOL" >&6; }
8026 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8033 if test -z "$ac_cv_prog_DLLTOOL"; then
8034 ac_ct_DLLTOOL=$DLLTOOL
8035 # Extract the first word of "dlltool", so it can be a program name with args.
8036 set dummy dlltool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$ac_ct_DLLTOOL"; then
8043 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8063 if test -n "$ac_ct_DLLTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8065 $as_echo "$ac_ct_DLLTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8071 if test "x$ac_ct_DLLTOOL" = x; then
8072 DLLTOOL="false"
8073 else
8074 case $cross_compiling:$ac_tool_warned in
8075 yes:)
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8078 ac_tool_warned=yes ;;
8079 esac
8080 DLLTOOL=$ac_ct_DLLTOOL
8082 else
8083 DLLTOOL="$ac_cv_prog_DLLTOOL"
8086 LIBEXT="dll"
8087 DLLEXT=""
8088 IMPLIBEXT="a"
8089 enable_iphlpapi=${enable_iphlpapi:-no}
8090 enable_kernel32=${enable_kernel32:-no}
8091 enable_msvcrt=${enable_msvcrt:-no}
8092 enable_ntdll=${enable_ntdll:-no}
8093 enable_ws2_32=${enable_ws2_32:-no}
8094 enable_loader=${enable_loader:-no}
8095 enable_server=${enable_server:-no}
8096 with_x=${with_x:-no}
8097 with_pthread=${with_pthread:-no}
8099 crtlibs=""
8100 case $host_os in
8101 mingw32*)
8102 crtlibs="-lmsvcrt"
8103 SOCKET_LIBS="-lws2_32"
8105 esac
8107 LIBWINE_SHAREDLIB="libwine.dll"
8109 LIBWINE_IMPORTLIB="libwine.a"
8111 LIBWINE_INSTALL_LIB="libwine.dll"
8113 LIBWINE_INSTALL_DEV="libwine.a"
8115 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8117 LIBWINE_DEPENDS="wine.def"
8121 darwin*|macosx*)
8122 for ac_header in libunwind.h
8123 do :
8124 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8126 cat >>confdefs.h <<_ACEOF
8127 #define HAVE_LIBUNWIND_H 1
8128 _ACEOF
8132 done
8134 LIBEXT="dylib"
8135 DLLFLAGS="$DLLFLAGS -fPIC"
8136 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8137 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8138 COREFOUNDATION_LIBS="-framework CoreFoundation"
8140 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8142 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8144 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8146 CORESERVICES_LIBS="-framework CoreServices"
8148 APPKIT_LIBS="-framework AppKit"
8150 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8152 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8153 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 ac_wine_try_cflags_saved=$CFLAGS
8157 CFLAGS="$CFLAGS -Wl,-no_pie"
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8161 _ACEOF
8162 if ac_fn_c_try_link "$LINENO"; then :
8163 ac_cv_cflags__Wl__no_pie=yes
8164 else
8165 ac_cv_cflags__Wl__no_pie=no
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 CFLAGS=$ac_wine_try_cflags_saved
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8172 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8173 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8174 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8176 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8177 then
8178 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8181 if test "$ac_cv_header_Security_Security_h" = "yes"
8182 then
8183 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8185 ac_save_LIBS="$LIBS"
8186 LIBS="$LIBS $SECURITY_LIBS"
8187 for ac_func in SSLCopyPeerCertificates
8188 do :
8189 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8190 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8191 cat >>confdefs.h <<_ACEOF
8192 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8193 _ACEOF
8196 done
8198 LIBS="$ac_save_LIBS"
8199 with_gnutls=${with_gnutls:-no}
8201 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8202 then
8203 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8204 then
8205 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8207 else
8208 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8211 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8212 ac_save_LIBS="$LIBS"
8213 LIBS="$LIBS $COREAUDIO_LIBS"
8214 for ac_func in AUGraphAddNode
8215 do :
8216 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8217 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_AUGRAPHADDNODE 1
8220 _ACEOF
8223 done
8225 LIBS="$ac_save_LIBS"
8227 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8228 then
8229 OPENAL_LIBS="-framework OpenAL"
8232 cat >>confdefs.h <<_ACEOF
8233 #define HAVE_OPENAL 1
8234 _ACEOF
8236 ac_cv_lib_openal=yes
8238 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8239 then
8240 OPENCL_LIBS="-framework OpenCL"
8242 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8244 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8245 then
8246 ac_save_LIBS="$LIBS"
8247 LIBS="$LIBS $IOKIT_LIBS"
8248 for ac_func in IOHIDManagerCreate
8249 do :
8250 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8251 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8252 cat >>confdefs.h <<_ACEOF
8253 #define HAVE_IOHIDMANAGERCREATE 1
8254 _ACEOF
8257 done
8259 LIBS="$ac_save_LIBS"
8261 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8262 then
8263 ac_save_LIBS="$LIBS"
8264 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8266 $as_echo_n "checking for the QuickTime framework... " >&6; }
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 #include <QuickTime/ImageCompression.h>
8271 main ()
8273 CodecManagerVersion(NULL);
8275 return 0;
8277 _ACEOF
8278 if ac_fn_c_try_link "$LINENO"; then :
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8280 $as_echo "yes" >&6; }
8281 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8283 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 ac_cv_header_QuickTime_ImageCompression_h=no
8289 rm -f core conftest.err conftest.$ac_objext \
8290 conftest$ac_exeext conftest.$ac_ext
8291 LIBS="$ac_save_LIBS"
8293 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8294 then
8295 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8297 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8298 then
8299 CARBON_LIBS="-framework Carbon"
8303 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8304 then
8305 ac_save_LIBS="$LIBS"
8306 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8307 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8308 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8309 enable_winemac_drv=${enable_winemac_drv:-yes}
8312 LIBS="$ac_save_LIBS"
8315 if test "x$enable_win16" = "xyes"
8316 then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8318 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8319 if test "$cross_compiling" = yes; then :
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8321 $as_echo "cross-compiling, assuming yes" >&6; }
8322 else
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 asm(".text\n"
8326 "bad:\tnop;nop\n"
8327 "good:\tnop;nop\n\t"
8328 ".globl _testfunc\n"
8329 "_testfunc:\tcallw good");
8330 extern void testfunc();
8332 main ()
8334 unsigned short *p = (unsigned short *)testfunc;
8335 return p[0] != 0xe866 || p[1] != 0xfffa
8337 return 0;
8339 _ACEOF
8340 if ac_fn_c_try_run "$LINENO"; then :
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8342 $as_echo "yes" >&6; }
8343 else
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8346 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
8348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8349 conftest.$ac_objext conftest.beam conftest.$ac_ext
8354 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8356 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8358 LIBWINE_INSTALL_DEV="libwine.dylib"
8360 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8362 WINELOADER_DEPENDS="wine_info.plist"
8366 linux-android*)
8367 DLLFLAGS="$DLLFLAGS -fPIC"
8368 LDEXECFLAGS="-Wl,-pie"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8370 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8371 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 ac_wine_try_cflags_saved=$CFLAGS
8375 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8379 _ACEOF
8380 if ac_fn_c_try_link "$LINENO"; then :
8381 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8382 else
8383 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8385 rm -f core conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8390 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8391 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8392 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8394 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8397 if eval \${$as_ac_var+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 eval "$as_ac_var=yes"
8408 else
8409 eval "$as_ac_var=no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 eval ac_res=\$$as_ac_var
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8417 $as_echo "$ac_res" >&6; }
8418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8419 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8420 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8421 else
8422 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8425 if eval \${$as_ac_var+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 eval "$as_ac_var=yes"
8436 else
8437 eval "$as_ac_var=no"
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 eval ac_res=\$$as_ac_var
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8445 $as_echo "$ac_res" >&6; }
8446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8447 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8448 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8452 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8453 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 ac_wine_try_cflags_saved=$CFLAGS
8457 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 int main(int argc, char **argv) { return 0; }
8461 _ACEOF
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 ac_cv_cflags__Wl___enable_new_dtags=yes
8464 else
8465 ac_cv_cflags__Wl___enable_new_dtags=no
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 CFLAGS=$ac_wine_try_cflags_saved
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8472 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8473 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8474 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8477 LIBWINE_SHAREDLIB="libwine.so"
8479 LIBWINE_INSTALL_LIB="libwine.so"
8481 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8486 DLLFLAGS="$DLLFLAGS -fPIC"
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8488 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8489 if ${ac_cv_c_dll_gnuelf+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_wine_try_cflags_saved=$CFLAGS
8493 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 void myfunc() {}
8497 _ACEOF
8498 if ac_fn_c_try_link "$LINENO"; then :
8499 ac_cv_c_dll_gnuelf="yes"
8500 else
8501 ac_cv_c_dll_gnuelf="no"
8503 rm -f core conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 CFLAGS=$ac_wine_try_cflags_saved
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8508 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8509 if test "$ac_cv_c_dll_gnuelf" = "yes"
8510 then
8511 LIBWINE_LDFLAGS="-shared"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8513 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8514 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_wine_try_cflags_saved=$CFLAGS
8518 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 int main(int argc, char **argv) { return 0; }
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8525 else
8526 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 CFLAGS=$ac_wine_try_cflags_saved
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8533 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8534 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8535 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8539 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8550 else
8551 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8560 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8564 echo '{ global: *; };' >conftest.map
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8566 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8567 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8578 else
8579 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8586 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8587 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8588 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8590 rm -f conftest.map
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8593 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8594 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8605 else
8606 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8613 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8614 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8615 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8618 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8620 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8621 if eval \${$as_ac_var+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 ac_wine_try_cflags_saved=$CFLAGS
8625 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 int main(int argc, char **argv) { return 0; }
8629 _ACEOF
8630 if ac_fn_c_try_link "$LINENO"; then :
8631 eval "$as_ac_var=yes"
8632 else
8633 eval "$as_ac_var=no"
8635 rm -f core conftest.err conftest.$ac_objext \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 eval ac_res=\$$as_ac_var
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8641 $as_echo "$ac_res" >&6; }
8642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8643 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8645 else
8646 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8648 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8649 if eval \${$as_ac_var+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 int main(int argc, char **argv) { return 0; }
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 eval "$as_ac_var=yes"
8660 else
8661 eval "$as_ac_var=no"
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 eval ac_res=\$$as_ac_var
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8669 $as_echo "$ac_res" >&6; }
8670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8671 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8672 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8678 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl___enable_new_dtags=yes
8689 else
8690 ac_cv_cflags__Wl___enable_new_dtags=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8697 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8698 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8699 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8702 case $host_cpu in
8703 *i[3456789]86* | x86_64)
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8705 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8706 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 int main(int argc, char **argv) { return 0; }
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8717 else
8718 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8720 rm -f core conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8725 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8726 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8727 case $host_os in
8728 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8729 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8730 esac
8731 else
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8733 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8734 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 int main(int argc, char **argv) { return 0; }
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8745 else
8746 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8748 rm -f core conftest.err conftest.$ac_objext \
8749 conftest$ac_exeext conftest.$ac_ext
8750 CFLAGS=$ac_wine_try_cflags_saved
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8753 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8754 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8755 case $host_os in
8756 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8757 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8758 esac
8760 # Extract the first word of "prelink", so it can be a program name with args.
8761 set dummy prelink; ac_word=$2
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8763 $as_echo_n "checking for $ac_word... " >&6; }
8764 if ${ac_cv_path_PRELINK+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 case $PRELINK in
8768 [\\/]* | ?:[\\/]*)
8769 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8773 for as_dir in /sbin /usr/sbin $PATH
8775 IFS=$as_save_IFS
8776 test -z "$as_dir" && as_dir=.
8777 for ac_exec_ext in '' $ac_executable_extensions; do
8778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8779 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8781 break 2
8783 done
8784 done
8785 IFS=$as_save_IFS
8787 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8789 esac
8791 PRELINK=$ac_cv_path_PRELINK
8792 if test -n "$PRELINK"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8794 $as_echo "$PRELINK" >&6; }
8795 else
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 $as_echo "no" >&6; }
8801 if test "x$PRELINK" = xfalse
8802 then
8803 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8807 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8808 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8819 else
8820 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8827 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8828 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8829 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8832 esac
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8836 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8837 if ${ac_cv_c_dll_unixware+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 void myfunc() {}
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_c_dll_unixware="yes"
8848 else
8849 ac_cv_c_dll_unixware="no"
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8856 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8857 if test "$ac_cv_c_dll_unixware" = "yes"
8858 then
8859 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8862 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8864 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8866 LIBWINE_INSTALL_DEV="libwine.so"
8868 LIBWINE_DEPENDS="wine.map"
8871 esac
8873 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8874 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8875 enable_winemac_drv=${enable_winemac_drv:-no}
8876 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8878 CROSSTARGET=""
8880 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8881 then
8882 case "$host_cpu" in
8883 arm*)
8884 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8885 i[3456789]86*)
8886 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
8887 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8888 mingw32-gcc" ;;
8889 x86_64)
8890 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
8891 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8893 ac_prefix_list="" ;;
8894 esac
8895 for ac_prog in $ac_prefix_list
8897 # Extract the first word of "$ac_prog", so it can be a program name with args.
8898 set dummy $ac_prog; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900 $as_echo_n "checking for $ac_word... " >&6; }
8901 if ${ac_cv_prog_CROSSCC+:} false; then :
8902 $as_echo_n "(cached) " >&6
8903 else
8904 if test -n "$CROSSCC"; then
8905 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8906 else
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 for as_dir in $PATH
8910 IFS=$as_save_IFS
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8914 ac_cv_prog_CROSSCC="$ac_prog"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 break 2
8918 done
8919 done
8920 IFS=$as_save_IFS
8924 CROSSCC=$ac_cv_prog_CROSSCC
8925 if test -n "$CROSSCC"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8927 $as_echo "$CROSSCC" >&6; }
8928 else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8934 test -n "$CROSSCC" && break
8935 done
8936 test -n "$CROSSCC" || CROSSCC="false"
8938 if test "$CROSSCC" != "false"
8939 then
8940 ac_save_CC="$CC"
8941 CC="$CROSSCC"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8943 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8948 main ()
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_compile "$LINENO"; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8957 $as_echo "yes" >&6; }
8958 set x $CROSSCC
8959 shift
8960 while test $# -ge 1
8962 case "$1" in
8963 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8964 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8965 esac
8966 shift
8967 done
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8973 CC="$ac_save_CC"
8978 if test "$ac_cv_header_pthread_h" = "yes"
8979 then
8980 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8981 if test "x$ac_cv_func_pthread_create" = xyes; then :
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8985 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8986 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 ac_check_lib_save_LIBS=$LIBS
8990 LIBS="-lpthread $LIBS"
8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8994 /* Override any GCC internal prototype to avoid an error.
8995 Use char because int might match the return type of a GCC
8996 builtin and then its argument prototype would still apply. */
8997 #ifdef __cplusplus
8998 extern "C"
8999 #endif
9000 char pthread_create ();
9002 main ()
9004 return pthread_create ();
9006 return 0;
9008 _ACEOF
9009 if ac_fn_c_try_link "$LINENO"; then :
9010 ac_cv_lib_pthread_pthread_create=yes
9011 else
9012 ac_cv_lib_pthread_pthread_create=no
9014 rm -f core conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 LIBS=$ac_check_lib_save_LIBS
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9019 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9020 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9021 PTHREAD_LIBS="-lpthread"
9028 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9029 case "x$with_pthread" in
9030 xno) ;;
9031 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9032 Wine cannot support threads without libpthread.
9033 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9034 esac
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9040 $as_echo_n "checking for X... " >&6; }
9043 # Check whether --with-x was given.
9044 if test "${with_x+set}" = set; then :
9045 withval=$with_x;
9048 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9049 if test "x$with_x" = xno; then
9050 # The user explicitly disabled X.
9051 have_x=disabled
9052 else
9053 case $x_includes,$x_libraries in #(
9054 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9055 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 # One or both of the vars are not set, and there is no cached value.
9059 ac_x_includes=no ac_x_libraries=no
9060 rm -f -r conftest.dir
9061 if mkdir conftest.dir; then
9062 cd conftest.dir
9063 cat >Imakefile <<'_ACEOF'
9064 incroot:
9065 @echo incroot='${INCROOT}'
9066 usrlibdir:
9067 @echo usrlibdir='${USRLIBDIR}'
9068 libdir:
9069 @echo libdir='${LIBDIR}'
9070 _ACEOF
9071 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9072 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9073 for ac_var in incroot usrlibdir libdir; do
9074 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9075 done
9076 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9077 for ac_extension in a so sl dylib la dll; do
9078 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9079 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9080 ac_im_usrlibdir=$ac_im_libdir; break
9082 done
9083 # Screen out bogus values from the imake configuration. They are
9084 # bogus both because they are the default anyway, and because
9085 # using them would break gcc on systems where it needs fixed includes.
9086 case $ac_im_incroot in
9087 /usr/include) ac_x_includes= ;;
9088 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9089 esac
9090 case $ac_im_usrlibdir in
9091 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9092 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9093 esac
9095 cd ..
9096 rm -f -r conftest.dir
9099 # Standard set of common directories for X headers.
9100 # Check X11 before X11Rn because it is often a symlink to the current release.
9101 ac_x_header_dirs='
9102 /usr/X11/include
9103 /usr/X11R7/include
9104 /usr/X11R6/include
9105 /usr/X11R5/include
9106 /usr/X11R4/include
9108 /usr/include/X11
9109 /usr/include/X11R7
9110 /usr/include/X11R6
9111 /usr/include/X11R5
9112 /usr/include/X11R4
9114 /usr/local/X11/include
9115 /usr/local/X11R7/include
9116 /usr/local/X11R6/include
9117 /usr/local/X11R5/include
9118 /usr/local/X11R4/include
9120 /usr/local/include/X11
9121 /usr/local/include/X11R7
9122 /usr/local/include/X11R6
9123 /usr/local/include/X11R5
9124 /usr/local/include/X11R4
9126 /usr/X386/include
9127 /usr/x386/include
9128 /usr/XFree86/include/X11
9130 /usr/include
9131 /usr/local/include
9132 /usr/unsupported/include
9133 /usr/athena/include
9134 /usr/local/x11r5/include
9135 /usr/lpp/Xamples/include
9137 /usr/openwin/include
9138 /usr/openwin/share/include'
9140 if test "$ac_x_includes" = no; then
9141 # Guess where to find include files, by looking for Xlib.h.
9142 # First, try using that file with no special directory specified.
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 #include <X11/Xlib.h>
9146 _ACEOF
9147 if ac_fn_c_try_cpp "$LINENO"; then :
9148 # We can compile using X headers with no special include directory.
9149 ac_x_includes=
9150 else
9151 for ac_dir in $ac_x_header_dirs; do
9152 if test -r "$ac_dir/X11/Xlib.h"; then
9153 ac_x_includes=$ac_dir
9154 break
9156 done
9158 rm -f conftest.err conftest.i conftest.$ac_ext
9159 fi # $ac_x_includes = no
9161 if test "$ac_x_libraries" = no; then
9162 # Check for the libraries.
9163 # See if we find them without any special options.
9164 # Don't add to $LIBS permanently.
9165 ac_save_LIBS=$LIBS
9166 LIBS="-lX11 $LIBS"
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9169 #include <X11/Xlib.h>
9171 main ()
9173 XrmInitialize ()
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 LIBS=$ac_save_LIBS
9180 # We can link X programs with no special library path.
9181 ac_x_libraries=
9182 else
9183 LIBS=$ac_save_LIBS
9184 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9186 # Don't even attempt the hair of trying to link an X program!
9187 for ac_extension in a so sl dylib la dll; do
9188 if test -r "$ac_dir/libX11.$ac_extension"; then
9189 ac_x_libraries=$ac_dir
9190 break 2
9192 done
9193 done
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 fi # $ac_x_libraries = no
9199 case $ac_x_includes,$ac_x_libraries in #(
9200 no,* | *,no | *\'*)
9201 # Didn't find X, or a directory has "'" in its name.
9202 ac_cv_have_x="have_x=no";; #(
9204 # Record where we found X for the cache.
9205 ac_cv_have_x="have_x=yes\
9206 ac_x_includes='$ac_x_includes'\
9207 ac_x_libraries='$ac_x_libraries'"
9208 esac
9210 ;; #(
9211 *) have_x=yes;;
9212 esac
9213 eval "$ac_cv_have_x"
9214 fi # $with_x != no
9216 if test "$have_x" != yes; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9218 $as_echo "$have_x" >&6; }
9219 no_x=yes
9220 else
9221 # If each of the values was on the command line, it overrides each guess.
9222 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9223 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9224 # Update the cache value to reflect the command line values.
9225 ac_cv_have_x="have_x=yes\
9226 ac_x_includes='$x_includes'\
9227 ac_x_libraries='$x_libraries'"
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9229 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9232 if test "$no_x" = yes; then
9233 # Not all programs may use this symbol, but it does not hurt to define it.
9235 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9237 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9238 else
9239 if test -n "$x_includes"; then
9240 X_CFLAGS="$X_CFLAGS -I$x_includes"
9243 # It would also be nice to do this for all -L options, not just this one.
9244 if test -n "$x_libraries"; then
9245 X_LIBS="$X_LIBS -L$x_libraries"
9246 # For Solaris; some versions of Sun CC require a space after -R and
9247 # others require no space. Words are not sufficient . . . .
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9249 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9250 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9251 ac_xsave_c_werror_flag=$ac_c_werror_flag
9252 ac_c_werror_flag=yes
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9257 main ()
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 $as_echo "no" >&6; }
9267 X_LIBS="$X_LIBS -R$x_libraries"
9268 else
9269 LIBS="$ac_xsave_LIBS -R $x_libraries"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9274 main ()
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9283 $as_echo "yes" >&6; }
9284 X_LIBS="$X_LIBS -R $x_libraries"
9285 else
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9287 $as_echo "neither works" >&6; }
9289 rm -f core conftest.err conftest.$ac_objext \
9290 conftest$ac_exeext conftest.$ac_ext
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 ac_c_werror_flag=$ac_xsave_c_werror_flag
9295 LIBS=$ac_xsave_LIBS
9298 # Check for system-dependent libraries X programs must link with.
9299 # Do this before checking for the system-independent R6 libraries
9300 # (-lICE), since we may need -lsocket or whatever for X linking.
9302 if test "$ISC" = yes; then
9303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9304 else
9305 # Martyn Johnson says this is needed for Ultrix, if the X
9306 # libraries were built with DECnet support. And Karl Berry says
9307 # the Alpha needs dnet_stub (dnet does not exist).
9308 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9315 #ifdef __cplusplus
9316 extern "C"
9317 #endif
9318 char XOpenDisplay ();
9320 main ()
9322 return XOpenDisplay ();
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9329 else
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9331 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9332 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_check_lib_save_LIBS=$LIBS
9336 LIBS="-ldnet $LIBS"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9343 #ifdef __cplusplus
9344 extern "C"
9345 #endif
9346 char dnet_ntoa ();
9348 main ()
9350 return dnet_ntoa ();
9352 return 0;
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 ac_cv_lib_dnet_dnet_ntoa=yes
9357 else
9358 ac_cv_lib_dnet_dnet_ntoa=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_lib_save_LIBS
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9365 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9366 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9367 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9370 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9372 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9373 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_check_lib_save_LIBS=$LIBS
9377 LIBS="-ldnet_stub $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char dnet_ntoa ();
9389 main ()
9391 return dnet_ntoa ();
9393 return 0;
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9398 else
9399 ac_cv_lib_dnet_stub_dnet_ntoa=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_lib_save_LIBS
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9406 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9407 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS="$ac_xsave_LIBS"
9417 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9418 # to get the SysV transport functions.
9419 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9420 # needs -lnsl.
9421 # The nsl library prevents programs from opening the X display
9422 # on Irix 5.2, according to T.E. Dickey.
9423 # The functions gethostbyname, getservbyname, and inet_addr are
9424 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9425 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9426 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9430 if test $ac_cv_func_gethostbyname = no; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9432 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9433 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_check_lib_save_LIBS=$LIBS
9437 LIBS="-lnsl $LIBS"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9444 #ifdef __cplusplus
9445 extern "C"
9446 #endif
9447 char gethostbyname ();
9449 main ()
9451 return gethostbyname ();
9453 return 0;
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_lib_nsl_gethostbyname=yes
9458 else
9459 ac_cv_lib_nsl_gethostbyname=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_lib_save_LIBS
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9466 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9467 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9468 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9471 if test $ac_cv_lib_nsl_gethostbyname = no; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9473 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9474 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_check_lib_save_LIBS=$LIBS
9478 LIBS="-lbsd $LIBS"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9485 #ifdef __cplusplus
9486 extern "C"
9487 #endif
9488 char gethostbyname ();
9490 main ()
9492 return gethostbyname ();
9494 return 0;
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_lib_bsd_gethostbyname=yes
9499 else
9500 ac_cv_lib_bsd_gethostbyname=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 LIBS=$ac_check_lib_save_LIBS
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9507 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9508 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9509 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9515 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9516 # socket/setsockopt and other routines are undefined under SCO ODT
9517 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9518 # on later versions), says Simon Leinen: it contains gethostby*
9519 # variants that don't use the name server (or something). -lsocket
9520 # must be given before -lnsl if both are needed. We assume that
9521 # if connect needs -lnsl, so does gethostbyname.
9522 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9523 if test "x$ac_cv_func_connect" = xyes; then :
9527 if test $ac_cv_func_connect = no; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9529 $as_echo_n "checking for connect in -lsocket... " >&6; }
9530 if ${ac_cv_lib_socket_connect+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_lib_save_LIBS=$LIBS
9534 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char connect ();
9546 main ()
9548 return connect ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_lib_socket_connect=yes
9555 else
9556 ac_cv_lib_socket_connect=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9563 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9564 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9565 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9570 # Guillermo Gomez says -lposix is necessary on A/UX.
9571 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9572 if test "x$ac_cv_func_remove" = xyes; then :
9576 if test $ac_cv_func_remove = no; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9578 $as_echo_n "checking for remove in -lposix... " >&6; }
9579 if ${ac_cv_lib_posix_remove+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lposix $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char remove ();
9595 main ()
9597 return remove ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_posix_remove=yes
9604 else
9605 ac_cv_lib_posix_remove=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9612 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9613 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9619 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9620 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9621 if test "x$ac_cv_func_shmat" = xyes; then :
9625 if test $ac_cv_func_shmat = no; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9627 $as_echo_n "checking for shmat in -lipc... " >&6; }
9628 if ${ac_cv_lib_ipc_shmat+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_check_lib_save_LIBS=$LIBS
9632 LIBS="-lipc $LIBS"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9639 #ifdef __cplusplus
9640 extern "C"
9641 #endif
9642 char shmat ();
9644 main ()
9646 return shmat ();
9648 return 0;
9650 _ACEOF
9651 if ac_fn_c_try_link "$LINENO"; then :
9652 ac_cv_lib_ipc_shmat=yes
9653 else
9654 ac_cv_lib_ipc_shmat=no
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 LIBS=$ac_check_lib_save_LIBS
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9661 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9662 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9669 # Check for libraries that X11R6 Xt/Xaw programs need.
9670 ac_save_LDFLAGS=$LDFLAGS
9671 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9672 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9673 # check for ICE first), but we must link in the order -lSM -lICE or
9674 # we get undefined symbols. So assume we have SM if we have ICE.
9675 # These have to be linked with before -lX11, unlike the other
9676 # libraries we check for below, so use a different variable.
9677 # John Interrante, Karl Berry
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9679 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9680 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 ac_check_lib_save_LIBS=$LIBS
9684 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char IceConnectionNumber ();
9696 main ()
9698 return IceConnectionNumber ();
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 ac_cv_lib_ICE_IceConnectionNumber=yes
9705 else
9706 ac_cv_lib_ICE_IceConnectionNumber=no
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9713 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9714 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9715 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9718 LDFLAGS=$ac_save_LDFLAGS
9723 if test "$have_x" = "yes"
9724 then
9725 ac_save_CPPFLAGS="$CPPFLAGS"
9726 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9729 $as_echo_n "checking for -lX11... " >&6; }
9730 if ${ac_cv_lib_soname_X11+:} false; then :
9731 $as_echo_n "(cached) " >&6
9732 else
9733 ac_check_soname_save_LIBS=$LIBS
9734 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char XCreateWindow ();
9746 main ()
9748 return XCreateWindow ();
9750 return 0;
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 case "$LIBEXT" in
9755 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9758 if ${ac_cv_lib_soname_X11:+false} :; then :
9759 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9760 fi ;;
9761 esac
9763 rm -f core conftest.err conftest.$ac_objext \
9764 conftest$ac_exeext conftest.$ac_ext
9765 LIBS=$ac_check_soname_save_LIBS
9767 if ${ac_cv_lib_soname_X11:+false} :; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9769 $as_echo "not found" >&6; }
9771 else
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9773 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9775 cat >>confdefs.h <<_ACEOF
9776 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9777 _ACEOF
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9782 $as_echo_n "checking for -lXext... " >&6; }
9783 if ${ac_cv_lib_soname_Xext+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_check_soname_save_LIBS=$LIBS
9787 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9791 /* Override any GCC internal prototype to avoid an error.
9792 Use char because int might match the return type of a GCC
9793 builtin and then its argument prototype would still apply. */
9794 #ifdef __cplusplus
9795 extern "C"
9796 #endif
9797 char XextCreateExtension ();
9799 main ()
9801 return XextCreateExtension ();
9803 return 0;
9805 _ACEOF
9806 if ac_fn_c_try_link "$LINENO"; then :
9807 case "$LIBEXT" in
9808 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9809 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'` ;;
9810 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9811 if ${ac_cv_lib_soname_Xext:+false} :; then :
9812 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9813 fi ;;
9814 esac
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 LIBS=$ac_check_soname_save_LIBS
9820 if ${ac_cv_lib_soname_Xext:+false} :; then :
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9822 $as_echo "not found" >&6; }
9824 else
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9826 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9828 cat >>confdefs.h <<_ACEOF
9829 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9830 _ACEOF
9832 X_LIBS="$X_LIBS -lXext"
9834 X_LIBS="$X_LIBS -lX11"
9836 for ac_header in X11/Xlib.h \
9837 X11/XKBlib.h \
9838 X11/Xutil.h \
9839 X11/Xcursor/Xcursor.h \
9840 X11/extensions/shape.h \
9841 X11/extensions/XInput.h \
9842 X11/extensions/XInput2.h \
9843 X11/extensions/XShm.h \
9844 X11/extensions/Xcomposite.h \
9845 X11/extensions/Xfixes.h \
9846 X11/extensions/Xinerama.h \
9847 X11/extensions/Xrandr.h \
9848 X11/extensions/Xrender.h \
9849 X11/extensions/xf86vmode.h \
9850 X11/extensions/xf86vmproto.h
9851 do :
9852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9854 # include <X11/Xlib.h>
9855 #endif
9856 #ifdef HAVE_X11_XUTIL_H
9857 # include <X11/Xutil.h>
9858 #endif
9860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9861 cat >>confdefs.h <<_ACEOF
9862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9863 _ACEOF
9867 done
9870 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9871 then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9873 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9874 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_lib_save_LIBS=$LIBS
9878 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XkbQueryExtension ();
9890 main ()
9892 return XkbQueryExtension ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_lib_X11_XkbQueryExtension=yes
9899 else
9900 ac_cv_lib_X11_XkbQueryExtension=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9907 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9908 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9910 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9916 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9917 then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9919 $as_echo_n "checking for -lXcursor... " >&6; }
9920 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XcursorImageLoadCursor ();
9936 main ()
9938 return XcursorImageLoadCursor ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 case "$LIBEXT" in
9945 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9946 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'` ;;
9947 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9950 fi ;;
9951 esac
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_soname_save_LIBS
9957 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9959 $as_echo "not found" >&6; }
9961 else
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9963 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9965 cat >>confdefs.h <<_ACEOF
9966 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9967 _ACEOF
9972 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9973 case "x$with_xcursor" in
9974 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9975 xno) ;;
9976 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9977 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9978 esac
9982 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9983 then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9985 $as_echo_n "checking for -lXi... " >&6; }
9986 if ${ac_cv_lib_soname_Xi+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 #ifdef __cplusplus
9998 extern "C"
9999 #endif
10000 char XOpenDevice ();
10002 main ()
10004 return XOpenDevice ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 case "$LIBEXT" in
10011 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 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'` ;;
10013 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10016 fi ;;
10017 esac
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_Xi:+false} :; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 $as_echo "not found" >&6; }
10027 else
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10029 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10031 cat >>confdefs.h <<_ACEOF
10032 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10033 _ACEOF
10038 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10039 case "x$with_xinput" in
10040 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10041 xno) ;;
10042 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10043 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10044 esac
10048 if test "x$ac_cv_lib_soname_Xi" != x
10049 then
10050 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10051 case "x$with_xinput2" in
10052 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10053 xno) ;;
10054 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10055 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10056 esac
10061 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10062 then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10064 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10065 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XShmQueryExtension ();
10081 main ()
10083 return XShmQueryExtension ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_Xext_XShmQueryExtension=yes
10090 else
10091 ac_cv_lib_Xext_XShmQueryExtension=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10098 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10099 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10101 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10106 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10107 case "x$with_xshm" in
10108 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10111 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10112 esac
10116 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10117 then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10119 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10120 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char XShapeQueryExtension ();
10136 main ()
10138 return XShapeQueryExtension ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_Xext_XShapeQueryExtension=yes
10145 else
10146 ac_cv_lib_Xext_XShapeQueryExtension=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10153 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10154 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10156 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10161 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10162 case "x$with_xshape" in
10163 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10164 xno) ;;
10165 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10166 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10167 esac
10171 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10172 then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10174 $as_echo_n "checking for -lXxf86vm... " >&6; }
10175 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_soname_save_LIBS=$LIBS
10179 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XF86VidModeQueryExtension ();
10191 main ()
10193 return XF86VidModeQueryExtension ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 case "$LIBEXT" in
10200 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10201 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'` ;;
10202 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 fi ;;
10206 esac
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_soname_save_LIBS
10212 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10214 $as_echo "not found" >&6; }
10216 else
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10218 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10220 cat >>confdefs.h <<_ACEOF
10221 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10222 _ACEOF
10227 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10228 case "x$with_xxf86vm" in
10229 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10230 xno) ;;
10231 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10232 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10233 esac
10237 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10238 then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10240 $as_echo_n "checking for -lXrender... " >&6; }
10241 if ${ac_cv_lib_soname_Xrender+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XRenderQueryExtension ();
10257 main ()
10259 return XRenderQueryExtension ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 case "$LIBEXT" in
10266 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 fi ;;
10272 esac
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10282 else
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10284 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10286 cat >>confdefs.h <<_ACEOF
10287 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10288 _ACEOF
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10291 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10292 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10293 $as_echo_n "(cached) " >&6
10294 else
10295 ac_check_lib_save_LIBS=$LIBS
10296 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char XRenderSetPictureTransform ();
10308 main ()
10310 return XRenderSetPictureTransform ();
10312 return 0;
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10317 else
10318 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 LIBS=$ac_check_lib_save_LIBS
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10325 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10326 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10328 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10333 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10334 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_check_lib_save_LIBS=$LIBS
10338 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10345 #ifdef __cplusplus
10346 extern "C"
10347 #endif
10348 char XRenderCreateLinearGradient ();
10350 main ()
10352 return XRenderCreateLinearGradient ();
10354 return 0;
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10359 else
10360 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 LIBS=$ac_check_lib_save_LIBS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10367 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10368 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10370 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10377 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10378 case "x$with_xrender" in
10379 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10380 xno) ;;
10381 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10382 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10383 esac
10387 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10388 then
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xrandr.h>
10394 main ()
10396 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_compile "$LINENO"; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10403 $as_echo_n "checking for -lXrandr... " >&6; }
10404 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XRRQueryExtension ();
10420 main ()
10422 return XRRQueryExtension ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10447 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10451 _ACEOF
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 #include <X11/Xlib.h>
10456 #include <X11/extensions/Xrandr.h>
10458 main ()
10460 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_compile "$LINENO"; then :
10467 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10476 case "x$with_xrandr" in
10477 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10478 xno) ;;
10479 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10480 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10481 esac
10485 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10486 then
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xfixes.h>
10492 main ()
10494 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10496 return 0;
10498 _ACEOF
10499 if ac_fn_c_try_compile "$LINENO"; then :
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10501 $as_echo_n "checking for -lXfixes... " >&6; }
10502 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_soname_save_LIBS=$LIBS
10506 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char XFixesQueryVersion ();
10518 main ()
10520 return XFixesQueryVersion ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 case "$LIBEXT" in
10527 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10528 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'` ;;
10529 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10530 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10531 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10532 fi ;;
10533 esac
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_soname_save_LIBS
10539 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10541 $as_echo "not found" >&6; }
10543 else
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10545 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10547 cat >>confdefs.h <<_ACEOF
10548 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10549 _ACEOF
10554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10556 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10557 case "x$with_xfixes" in
10558 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10559 xno) ;;
10560 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10561 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10562 esac
10566 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10567 then
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10570 #include <X11/Xlib.h>
10571 #include <X11/extensions/Xinerama.h>
10573 main ()
10575 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_compile "$LINENO"; then :
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10582 $as_echo_n "checking for -lXinerama... " >&6; }
10583 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_check_soname_save_LIBS=$LIBS
10587 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10594 #ifdef __cplusplus
10595 extern "C"
10596 #endif
10597 char XineramaQueryScreens ();
10599 main ()
10601 return XineramaQueryScreens ();
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 case "$LIBEXT" in
10608 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10609 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'` ;;
10610 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10611 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10612 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10613 fi ;;
10614 esac
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_soname_save_LIBS
10620 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10622 $as_echo "not found" >&6; }
10624 else
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10626 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10628 cat >>confdefs.h <<_ACEOF
10629 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10630 _ACEOF
10635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10637 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10638 case "x$with_xinerama" in
10639 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10640 xno) ;;
10641 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10642 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10643 esac
10647 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10648 then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10650 $as_echo_n "checking for -lXcomposite... " >&6; }
10651 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_soname_save_LIBS=$LIBS
10655 LIBS="-lXcomposite $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 XCompositeRedirectWindow ();
10667 main ()
10669 return XCompositeRedirectWindow ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 case "$LIBEXT" in
10676 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 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'` ;;
10678 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10680 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$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_Xcomposite:+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_Xcomposite" >&5
10694 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10698 _ACEOF
10703 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10704 case "x$with_xcomposite" in
10705 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10706 xno) ;;
10707 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10708 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10709 esac
10713 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10714 #include <X11/Xlib.h>
10715 #endif
10717 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10719 cat >>confdefs.h <<_ACEOF
10720 #define HAVE_XICCALLBACK_CALLBACK 1
10721 _ACEOF
10725 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10726 #include <X11/Xlib.h>
10727 #endif
10729 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10731 cat >>confdefs.h <<_ACEOF
10732 #define HAVE_XEVENT_XCOOKIE 1
10733 _ACEOF
10740 opengl_msg=""
10741 if test "x$with_opengl" != "xno"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10744 $as_echo_n "checking for -lGL... " >&6; }
10745 if ${ac_cv_lib_soname_GL+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_soname_save_LIBS=$LIBS
10749 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char glXCreateContext ();
10761 main ()
10763 return glXCreateContext ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 case "$LIBEXT" in
10770 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10771 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'` ;;
10772 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10773 if ${ac_cv_lib_soname_GL:+false} :; then :
10774 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10775 fi ;;
10776 esac
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_soname_save_LIBS
10782 if ${ac_cv_lib_soname_GL:+false} :; then :
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10784 $as_echo "not found" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10786 $as_echo_n "checking for -lGL... " >&6; }
10787 if ${ac_cv_lib_soname_GL+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_soname_save_LIBS=$LIBS
10791 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"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char glXCreateContext ();
10803 main ()
10805 return glXCreateContext ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 case "$LIBEXT" in
10812 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10813 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'` ;;
10814 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10815 if ${ac_cv_lib_soname_GL:+false} :; then :
10816 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10817 fi ;;
10818 esac
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_soname_save_LIBS
10824 if ${ac_cv_lib_soname_GL:+false} :; then :
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10826 $as_echo "not found" >&6; }
10827 if test -f /usr/X11R6/lib/libGL.a
10828 then
10829 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10830 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10831 else
10832 opengl_msg="No OpenGL library found on this system."
10834 else
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10836 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10838 cat >>confdefs.h <<_ACEOF
10839 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10840 _ACEOF
10842 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"
10844 else
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10846 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10848 cat >>confdefs.h <<_ACEOF
10849 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10850 _ACEOF
10852 OPENGL_LIBS="-lGL"
10854 if test "x$with_glu" != "xno"
10855 then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10857 $as_echo_n "checking for -lGLU... " >&6; }
10858 if ${ac_cv_lib_soname_GLU+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_soname_save_LIBS=$LIBS
10862 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char gluLookAt ();
10874 main ()
10876 return gluLookAt ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 case "$LIBEXT" in
10883 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10884 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'` ;;
10885 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10886 if ${ac_cv_lib_soname_GLU:+false} :; then :
10887 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10888 fi ;;
10889 esac
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS=$ac_check_soname_save_LIBS
10895 if ${ac_cv_lib_soname_GLU:+false} :; then :
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10897 $as_echo "not found" >&6; }
10899 else
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10901 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10903 cat >>confdefs.h <<_ACEOF
10904 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10905 _ACEOF
10909 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10910 case "x$with_glu" in
10911 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10912 xno) ;;
10913 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10914 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10915 esac
10920 if test "x$with_osmesa" != "xno"
10921 then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10923 $as_echo_n "checking for -lOSMesa... " >&6; }
10924 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_soname_save_LIBS=$LIBS
10928 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char OSMesaGetProcAddress ();
10940 main ()
10942 return OSMesaGetProcAddress ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 case "$LIBEXT" in
10949 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10952 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10953 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10954 fi ;;
10955 esac
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_soname_save_LIBS
10961 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10963 $as_echo "not found" >&6; }
10965 else
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10967 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10969 cat >>confdefs.h <<_ACEOF
10970 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10971 _ACEOF
10975 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10976 case "x$with_osmesa" in
10977 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10978 xno) ;;
10979 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10980 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10981 esac
10986 if test -n "$opengl_msg"; then :
10987 case "x$with_opengl" in
10988 x) as_fn_append wine_warnings "|$opengl_msg
10989 OpenGL and Direct3D won't be supported." ;;
10990 xno) ;;
10991 *) as_fn_error $? "$opengl_msg
10992 OpenGL and Direct3D won't be supported.
10993 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10994 esac
10998 CPPFLAGS="$ac_save_CPPFLAGS"
10999 else
11000 X_CFLAGS=""
11001 X_LIBS=""
11004 if test "$enable_winemac_drv" = "no"
11005 then
11006 if test "x$X_LIBS" = "x"; then :
11007 case "x$with_x" in
11008 xno) ;;
11009 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11010 without X support, which probably isn't what you want. You will need
11011 to install ${notice_platform}development packages of Xlib at the very least.
11012 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11013 esac
11014 enable_winex11_drv=${enable_winex11_drv:-no}
11016 else
11017 if test "x$X_LIBS" = "x"; then :
11018 case "x$with_x" in
11019 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11020 xno) ;;
11021 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11022 This is an error since --with-x was requested." "$LINENO" 5 ;;
11023 esac
11024 enable_winex11_drv=${enable_winex11_drv:-no}
11028 if test "$ac_cv_header_CL_cl_h" = "yes"
11029 then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11031 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11032 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11033 $as_echo_n "(cached) " >&6
11034 else
11035 ac_check_lib_save_LIBS=$LIBS
11036 LIBS="-lOpenCL $LIBS"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11043 #ifdef __cplusplus
11044 extern "C"
11045 #endif
11046 char clGetPlatformInfo ();
11048 main ()
11050 return clGetPlatformInfo ();
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_link "$LINENO"; then :
11056 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11057 else
11058 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11060 rm -f core conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11065 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11066 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11067 OPENCL_LIBS="-lOpenCL"
11072 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11073 case "x$with_opencl" in
11074 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11075 xno) ;;
11076 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11077 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11078 esac
11079 enable_opencl=${enable_opencl:-no}
11082 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11083 then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11085 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11086 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11087 $as_echo_n "(cached) " >&6
11088 else
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lpcap $LIBS"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char pcap_create ();
11102 main ()
11104 return pcap_create ();
11106 return 0;
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"; then :
11110 ac_cv_lib_pcap_pcap_create=yes
11111 else
11112 ac_cv_lib_pcap_pcap_create=no
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_lib_save_LIBS
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11119 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11120 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11121 PCAP_LIBS="-lpcap"
11126 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11127 case "x$with_pcap" in
11128 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11129 xno) ;;
11130 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11131 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11132 esac
11133 enable_wpcap=${enable_wpcap:-no}
11137 if test "x$with_xml" != "xno"
11138 then
11139 if ${XML2_CFLAGS:+false} :; then :
11140 if ${PKG_CONFIG+:} false; then :
11141 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11144 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11145 if ${XML2_LIBS:+false} :; then :
11146 if ${PKG_CONFIG+:} false; then :
11147 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11150 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11151 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11152 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11153 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11154 ac_save_CPPFLAGS=$CPPFLAGS
11155 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11156 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11157 do :
11158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11159 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11161 cat >>confdefs.h <<_ACEOF
11162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11163 _ACEOF
11167 done
11169 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"
11170 then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11172 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11173 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lxml2 $XML2_LIBS $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char xmlParseMemory ();
11189 main ()
11191 return xmlParseMemory ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_xml2_xmlParseMemory=yes
11198 else
11199 ac_cv_lib_xml2_xmlParseMemory=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11206 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11207 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11209 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11211 else
11212 XML2_LIBS=""
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11216 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11217 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lxml2 $XML2_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char xmlReadMemory ();
11233 main ()
11235 return xmlReadMemory ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_xml2_xmlReadMemory=yes
11242 else
11243 ac_cv_lib_xml2_xmlReadMemory=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11250 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11251 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11253 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11258 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11259 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lxml2 $XML2_LIBS $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char xmlNewDocPI ();
11275 main ()
11277 return xmlNewDocPI ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_xml2_xmlNewDocPI=yes
11284 else
11285 ac_cv_lib_xml2_xmlNewDocPI=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11292 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11293 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11295 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11300 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11301 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lxml2 $XML2_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char xmlSchemaSetParserStructuredErrors ();
11317 main ()
11319 return xmlSchemaSetParserStructuredErrors ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11326 else
11327 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11334 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11335 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11337 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11342 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11343 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lxml2 $XML2_LIBS $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char xmlSchemaSetValidStructuredErrors ();
11359 main ()
11361 return xmlSchemaSetValidStructuredErrors ();
11363 return 0;
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11368 else
11369 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11376 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11377 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11379 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11384 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11385 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-lxml2 $XML2_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char xmlFirstElementChild ();
11401 main ()
11403 return xmlFirstElementChild ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_xml2_xmlFirstElementChild=yes
11410 else
11411 ac_cv_lib_xml2_xmlFirstElementChild=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11418 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11419 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11421 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11425 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11427 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11429 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11433 else
11434 XML2_CFLAGS=""
11435 XML2_LIBS=""
11437 CPPFLAGS=$ac_save_CPPFLAGS
11438 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11439 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11442 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11443 case "x$with_xml" in
11444 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11445 xno) ;;
11446 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11447 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11448 esac
11452 if test "x$with_xslt" != "xno"
11453 then
11454 if ${XSLT_CFLAGS:+false} :; then :
11455 if ${PKG_CONFIG+:} false; then :
11456 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11459 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11460 if ${XSLT_LIBS:+false} :; then :
11461 if ${PKG_CONFIG+:} false; then :
11462 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11465 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11466 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11467 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11468 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11469 ac_save_CPPFLAGS=$CPPFLAGS
11470 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11471 for ac_header in libxslt/pattern.h libxslt/transform.h
11472 do :
11473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11475 # include <libxslt/pattern.h>
11476 #endif
11478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11479 cat >>confdefs.h <<_ACEOF
11480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11481 _ACEOF
11485 done
11487 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11488 then
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11490 $as_echo_n "checking for -lxslt... " >&6; }
11491 if ${ac_cv_lib_soname_xslt+:} false; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 ac_check_soname_save_LIBS=$LIBS
11495 LIBS="-lxslt $XSLT_LIBS $LIBS"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11502 #ifdef __cplusplus
11503 extern "C"
11504 #endif
11505 char xsltCompilePattern ();
11507 main ()
11509 return xsltCompilePattern ();
11511 return 0;
11513 _ACEOF
11514 if ac_fn_c_try_link "$LINENO"; then :
11515 case "$LIBEXT" in
11516 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11517 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'` ;;
11518 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11519 if ${ac_cv_lib_soname_xslt:+false} :; then :
11520 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11521 fi ;;
11522 esac
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_soname_save_LIBS
11528 if ${ac_cv_lib_soname_xslt:+false} :; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11530 $as_echo "not found" >&6; }
11532 else
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11534 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11536 cat >>confdefs.h <<_ACEOF
11537 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11538 _ACEOF
11542 else
11543 XSLT_CFLAGS=""
11545 CPPFLAGS=$ac_save_CPPFLAGS
11546 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11547 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11550 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11551 case "x$with_xslt" in
11552 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11553 xno) ;;
11554 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11555 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11556 esac
11560 if test "x$with_dbus" != "xno"
11561 then
11562 if ${DBUS_CFLAGS:+false} :; then :
11563 if ${PKG_CONFIG+:} false; then :
11564 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11568 if ${DBUS_LIBS:+false} :; then :
11569 if ${PKG_CONFIG+:} false; then :
11570 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11575 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11576 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11577 ac_save_CPPFLAGS=$CPPFLAGS
11578 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11579 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11580 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11582 $as_echo_n "checking for -ldbus-1... " >&6; }
11583 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char dbus_connection_close ();
11599 main ()
11601 return dbus_connection_close ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) 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'`
11611 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11612 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11623 DBUS_CFLAGS=""
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11626 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11630 _ACEOF
11634 else
11635 DBUS_CFLAGS=""
11639 CPPFLAGS=$ac_save_CPPFLAGS
11640 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11641 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11644 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11645 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11646 case "x$with_dbus" in
11647 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11648 xno) ;;
11649 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11650 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11651 esac
11655 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11656 then
11657 if ${HAL_CFLAGS:+false} :; then :
11658 if ${PKG_CONFIG+:} false; then :
11659 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11663 if ${HAL_LIBS:+false} :; then :
11664 if ${PKG_CONFIG+:} false; then :
11665 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11669 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11670 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11672 ac_save_CPPFLAGS=$CPPFLAGS
11673 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11674 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11675 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11677 $as_echo_n "checking for -lhal... " >&6; }
11678 if ${ac_cv_lib_soname_hal+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lhal $HAL_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char libhal_ctx_new ();
11694 main ()
11696 return libhal_ctx_new ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11706 if ${ac_cv_lib_soname_hal:+false} :; then :
11707 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11708 fi ;;
11709 esac
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_soname_save_LIBS
11715 if ${ac_cv_lib_soname_hal:+false} :; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11718 HAL_CFLAGS=""
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11721 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11723 cat >>confdefs.h <<_ACEOF
11724 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11725 _ACEOF
11729 else
11730 HAL_CFLAGS=""
11734 CPPFLAGS=$ac_save_CPPFLAGS
11735 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11736 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11738 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11739 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11740 case "x$with_hal" in
11741 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11742 xno) ;;
11743 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11744 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11745 esac
11750 if test "x$with_gnutls" != "xno"
11751 then
11752 if ${GNUTLS_CFLAGS:+false} :; then :
11753 if ${PKG_CONFIG+:} false; then :
11754 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11758 if ${GNUTLS_LIBS:+false} :; then :
11759 if ${PKG_CONFIG+:} false; then :
11760 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11765 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11766 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11767 ac_save_CPPFLAGS=$CPPFLAGS
11768 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11769 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11770 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11773 #include <gnutls/gnutls.h>
11774 #include <gnutls/crypto.h>
11776 main ()
11778 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11780 return 0;
11782 _ACEOF
11783 if ac_fn_c_try_compile "$LINENO"; then :
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11785 $as_echo_n "checking for -lgnutls... " >&6; }
11786 if ${ac_cv_lib_soname_gnutls+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797 #ifdef __cplusplus
11798 extern "C"
11799 #endif
11800 char gnutls_global_init ();
11802 main ()
11804 return gnutls_global_init ();
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 case "$LIBEXT" in
11811 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11812 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'` ;;
11813 *) 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'`
11814 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11815 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'`
11816 fi ;;
11817 esac
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_soname_save_LIBS
11823 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11825 $as_echo "not found" >&6; }
11826 GNUTLS_CFLAGS=""
11827 else
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11829 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11831 cat >>confdefs.h <<_ACEOF
11832 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11833 _ACEOF
11837 ac_wine_check_funcs_save_LIBS="$LIBS"
11838 LIBS="$LIBS $GNUTLS_LIBS"
11839 for ac_func in gnutls_hash
11840 do :
11841 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11842 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11843 cat >>confdefs.h <<_ACEOF
11844 #define HAVE_GNUTLS_HASH 1
11845 _ACEOF
11847 else
11848 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11850 done
11852 LIBS="$ac_wine_check_funcs_save_LIBS"
11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11855 else
11856 GNUTLS_CFLAGS=""
11860 CPPFLAGS=$ac_save_CPPFLAGS
11861 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11862 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11865 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11866 case "x$with_gnutls" in
11867 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11868 xno) ;;
11869 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11870 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11871 esac
11875 CURSES_LIBS=""
11876 if test "$ac_cv_header_ncurses_h" = "yes"
11877 then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11879 $as_echo_n "checking for -lncurses... " >&6; }
11880 if ${ac_cv_lib_soname_ncurses+:} false; then :
11881 $as_echo_n "(cached) " >&6
11882 else
11883 ac_check_soname_save_LIBS=$LIBS
11884 LIBS="-lncurses $LIBS"
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11891 #ifdef __cplusplus
11892 extern "C"
11893 #endif
11894 char waddch ();
11896 main ()
11898 return waddch ();
11900 return 0;
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"; then :
11904 case "$LIBEXT" in
11905 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11906 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'` ;;
11907 *) 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'`
11908 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11909 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11910 fi ;;
11911 esac
11913 rm -f core conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_soname_save_LIBS
11917 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11919 $as_echo "not found" >&6; }
11921 else
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11923 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11925 cat >>confdefs.h <<_ACEOF
11926 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11927 _ACEOF
11929 CURSES_LIBS="-lncurses"
11931 elif test "$ac_cv_header_curses_h" = "yes"
11932 then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11934 $as_echo_n "checking for -lcurses... " >&6; }
11935 if ${ac_cv_lib_soname_curses+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_check_soname_save_LIBS=$LIBS
11939 LIBS="-lcurses $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 waddch ();
11951 main ()
11953 return waddch ();
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 case "$LIBEXT" in
11960 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11961 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'` ;;
11962 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11963 if ${ac_cv_lib_soname_curses:+false} :; then :
11964 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$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_curses:+false} :; then :
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11974 $as_echo "not found" >&6; }
11976 else
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11978 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11980 cat >>confdefs.h <<_ACEOF
11981 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11982 _ACEOF
11984 CURSES_LIBS="-lcurses"
11987 ac_save_LIBS="$LIBS"
11988 LIBS="$LIBS $CURSES_LIBS"
11989 for ac_func in mousemask
11990 do :
11991 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11992 if test "x$ac_cv_func_mousemask" = xyes; then :
11993 cat >>confdefs.h <<_ACEOF
11994 #define HAVE_MOUSEMASK 1
11995 _ACEOF
11998 done
12000 LIBS="$ac_save_LIBS"
12001 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12002 case "x$with_curses" in
12003 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12004 xno) ;;
12005 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12006 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12007 esac
12011 if test "x$with_sane" != "xno"
12012 then
12013 if ${SANE_CFLAGS:+false} :; then :
12014 if ${PKG_CONFIG+:} false; then :
12015 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12018 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12019 if ${SANE_LIBS:+false} :; then :
12020 if ${PKG_CONFIG+:} false; then :
12021 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12024 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12026 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12027 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12028 ac_save_CPPFLAGS=$CPPFLAGS
12029 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12030 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12031 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12033 $as_echo_n "checking for -lsane... " >&6; }
12034 if ${ac_cv_lib_soname_sane+:} false; then :
12035 $as_echo_n "(cached) " >&6
12036 else
12037 ac_check_soname_save_LIBS=$LIBS
12038 LIBS="-lsane $SANE_LIBS $LIBS"
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12045 #ifdef __cplusplus
12046 extern "C"
12047 #endif
12048 char sane_init ();
12050 main ()
12052 return sane_init ();
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_link "$LINENO"; then :
12058 case "$LIBEXT" in
12059 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12060 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'` ;;
12061 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12062 if ${ac_cv_lib_soname_sane:+false} :; then :
12063 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12064 fi ;;
12065 esac
12067 rm -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_soname_save_LIBS
12071 if ${ac_cv_lib_soname_sane:+false} :; then :
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12073 $as_echo "not found" >&6; }
12074 SANE_CFLAGS=""
12075 else
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12077 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12079 cat >>confdefs.h <<_ACEOF
12080 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12081 _ACEOF
12085 else
12086 SANE_CFLAGS=""
12090 CPPFLAGS=$ac_save_CPPFLAGS
12091 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12092 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12095 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12096 case "x$with_sane" in
12097 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12098 xno) ;;
12099 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12100 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12101 esac
12105 if test "x$with_v4l" != "xno"
12106 then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12108 $as_echo_n "checking for -lv4l1... " >&6; }
12109 if ${ac_cv_lib_soname_v4l1+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_check_soname_save_LIBS=$LIBS
12113 LIBS="-lv4l1 $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char v4l1_open ();
12125 main ()
12127 return v4l1_open ();
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 case "$LIBEXT" in
12134 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12135 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'` ;;
12136 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12137 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12138 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12139 fi ;;
12140 esac
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_soname_save_LIBS
12146 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12148 $as_echo "not found" >&6; }
12150 else
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12152 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12154 cat >>confdefs.h <<_ACEOF
12155 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12156 _ACEOF
12161 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12162 case "x$with_v4l" in
12163 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12164 xno) ;;
12165 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12166 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12167 esac
12171 if test "x$with_gphoto" != "xno"
12172 then
12173 if ${GPHOTO2_CFLAGS:+false} :; then :
12174 if ${PKG_CONFIG+:} false; then :
12175 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12178 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12179 if ${GPHOTO2_LIBS:+false} :; then :
12180 if ${PKG_CONFIG+:} false; then :
12181 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12184 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12185 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12186 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12187 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12188 ac_save_CPPFLAGS=$CPPFLAGS
12189 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12190 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12191 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12193 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12194 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char gp_camera_new ();
12210 main ()
12212 return gp_camera_new ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 ac_cv_lib_gphoto2_gp_camera_new=yes
12219 else
12220 ac_cv_lib_gphoto2_gp_camera_new=no
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12227 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12228 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12230 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12232 else
12233 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12236 else
12237 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12242 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12243 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12245 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12246 if ${PKG_CONFIG+:} false; then :
12247 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12250 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12251 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12252 if ${PKG_CONFIG+:} false; then :
12253 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12256 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12257 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12258 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12259 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12260 ac_save_CPPFLAGS=$CPPFLAGS
12261 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12262 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12263 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12265 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12266 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_lib_save_LIBS=$LIBS
12270 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char gp_port_info_list_new ();
12282 main ()
12284 return gp_port_info_list_new ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12291 else
12292 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12299 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12300 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12302 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12304 else
12305 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12308 else
12309 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12313 CPPFLAGS=$ac_save_CPPFLAGS
12314 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12315 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12318 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12319 case "x$with_gphoto" in
12320 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12321 xno) ;;
12322 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12323 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12324 esac
12327 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12328 case "x$with_gphoto" in
12329 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12330 xno) ;;
12331 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12332 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12333 esac
12338 if test "$ac_cv_header_resolv_h" = "yes"
12339 then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12341 $as_echo_n "checking for resolver library... " >&6; }
12342 if ${ac_cv_have_resolv+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_save_LIBS="$LIBS"
12346 for lib in '' -lresolv
12348 LIBS="$lib $ac_save_LIBS"
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12351 #ifdef HAVE_NETINET_IN_H
12352 #include <netinet/in.h>
12353 #endif
12354 #include <resolv.h>
12356 main ()
12358 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12360 return 0;
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_have_resolv=${lib:-"none required"}
12365 else
12366 ac_cv_have_resolv="not found"
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 test "x$ac_cv_have_resolv" = "xnot found" || break
12371 done
12372 LIBS="$ac_save_LIBS"
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12375 $as_echo "$ac_cv_have_resolv" >&6; }
12377 case "$ac_cv_have_resolv" in
12378 "not found") ;;
12379 "none required")
12381 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12384 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12386 RESOLV_LIBS=$ac_cv_have_resolv
12388 esac
12391 if test "x$with_cms" != "xno"
12392 then
12393 if ${LCMS2_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12399 if ${LCMS2_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12405 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12410 for ac_header in lcms2.h
12411 do :
12412 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12413 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12414 cat >>confdefs.h <<_ACEOF
12415 #define HAVE_LCMS2_H 1
12416 _ACEOF
12420 done
12422 if test "$ac_cv_header_lcms2_h" = "yes"
12423 then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12425 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12426 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_lib_save_LIBS=$LIBS
12430 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char cmsOpenProfileFromFile ();
12442 main ()
12444 return cmsOpenProfileFromFile ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12451 else
12452 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_lib_save_LIBS
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12459 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12460 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12462 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12464 else
12465 LCMS2_LIBS=""
12468 else
12469 LCMS2_CFLAGS=""
12470 LCMS2_LIBS=""
12472 CPPFLAGS=$ac_save_CPPFLAGS
12473 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12474 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12477 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12478 case "x$with_cms" in
12479 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12480 xno) ;;
12481 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12482 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12483 esac
12487 if test "x$with_freetype" != "xno"
12488 then
12489 if ${FREETYPE_CFLAGS:+false} :; then :
12490 if ${PKG_CONFIG+:} false; then :
12491 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12494 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12495 if ${FREETYPE_LIBS:+false} :; then :
12496 if ${PKG_CONFIG+:} false; then :
12497 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12500 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12501 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12502 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12504 ac_save_CPPFLAGS=$CPPFLAGS
12505 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12506 for ac_header in ft2build.h
12507 do :
12508 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12509 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12510 cat >>confdefs.h <<_ACEOF
12511 #define HAVE_FT2BUILD_H 1
12512 _ACEOF
12516 done
12518 if test "$ac_cv_header_ft2build_h" = "yes"
12519 then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12521 $as_echo_n "checking for -lfreetype... " >&6; }
12522 if ${ac_cv_lib_soname_freetype+:} false; then :
12523 $as_echo_n "(cached) " >&6
12524 else
12525 ac_check_soname_save_LIBS=$LIBS
12526 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char FT_Init_FreeType ();
12538 main ()
12540 return FT_Init_FreeType ();
12542 return 0;
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 case "$LIBEXT" in
12547 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12548 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'` ;;
12549 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12550 if ${ac_cv_lib_soname_freetype:+false} :; then :
12551 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12552 fi ;;
12553 esac
12555 rm -f core conftest.err conftest.$ac_objext \
12556 conftest$ac_exeext conftest.$ac_ext
12557 LIBS=$ac_check_soname_save_LIBS
12559 if ${ac_cv_lib_soname_freetype:+false} :; then :
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12561 $as_echo "not found" >&6; }
12562 FREETYPE_LIBS=""
12563 else
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12565 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12567 cat >>confdefs.h <<_ACEOF
12568 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12569 _ACEOF
12572 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12574 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12575 #include FT_MODULE_H
12577 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12579 cat >>confdefs.h <<_ACEOF
12580 #define HAVE_FT_TRUETYPEENGINETYPE 1
12581 _ACEOF
12587 else
12588 FREETYPE_CFLAGS=""
12589 FREETYPE_LIBS=""
12591 CPPFLAGS=$ac_save_CPPFLAGS
12592 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12593 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12596 if test "x$ac_cv_lib_soname_freetype" = x; then :
12597 case "x$with_freetype" in
12598 xno) ;;
12599 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12600 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12601 esac
12602 enable_fonts=${enable_fonts:-no}
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12606 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12607 if ${ac_cv_c_ppdev+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12612 #ifdef HAVE_SYS_IOCTL_H
12613 # include <sys/ioctl.h>
12614 #endif
12615 #include <linux/ppdev.h>
12617 main ()
12619 ioctl (1,PPCLAIM,0)
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_compile "$LINENO"; then :
12625 ac_cv_c_ppdev="yes"
12626 else
12627 ac_cv_c_ppdev="no"
12629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12632 $as_echo "$ac_cv_c_ppdev" >&6; }
12633 if test "$ac_cv_c_ppdev" = "yes"
12634 then
12636 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12640 ac_wine_check_funcs_save_LIBS="$LIBS"
12641 LIBS="$LIBS $PTHREAD_LIBS"
12642 for ac_func in \
12643 pthread_attr_get_np \
12644 pthread_getattr_np \
12645 pthread_getthreadid_np \
12646 pthread_get_stackaddr_np \
12647 pthread_get_stacksize_np
12648 do :
12649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12651 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12652 cat >>confdefs.h <<_ACEOF
12653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12654 _ACEOF
12657 done
12659 LIBS="$ac_wine_check_funcs_save_LIBS"
12661 if test "$ac_cv_header_zlib_h" = "yes"
12662 then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12664 $as_echo_n "checking for inflate in -lz... " >&6; }
12665 if ${ac_cv_lib_z_inflate+:} false; then :
12666 $as_echo_n "(cached) " >&6
12667 else
12668 ac_check_lib_save_LIBS=$LIBS
12669 LIBS="-lz $LIBS"
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12676 #ifdef __cplusplus
12677 extern "C"
12678 #endif
12679 char inflate ();
12681 main ()
12683 return inflate ();
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_link "$LINENO"; then :
12689 ac_cv_lib_z_inflate=yes
12690 else
12691 ac_cv_lib_z_inflate=no
12693 rm -f core conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_lib_save_LIBS
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12698 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12699 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12701 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12703 Z_LIBS="-lz"
12708 if test "x$Z_LIBS" = "x"; then :
12709 case "x$with_zlib" in
12710 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12711 xno) ;;
12712 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12713 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12714 esac
12718 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12719 then
12720 if test "$ac_cv_header_gettext_po_h" = "yes"
12721 then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12723 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12724 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lgettextpo $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char po_message_msgctxt ();
12740 main ()
12742 return po_message_msgctxt ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12749 else
12750 ac_cv_lib_gettextpo_po_message_msgctxt=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12757 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12758 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12760 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12762 GETTEXTPO_LIBS="-lgettextpo"
12767 if test "x$GETTEXTPO_LIBS" = "x"; then :
12768 case "x$with_gettextpo" in
12769 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12770 xno) ;;
12771 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12772 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12773 esac
12776 if test "$srcdir" != .; then :
12777 case "x$with_gettextpo" in
12778 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12779 xno) ;;
12780 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12781 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12782 esac
12787 if test "x$with_pulse" != "xno";
12788 then
12789 if ${PULSE_CFLAGS:+false} :; then :
12790 if ${PKG_CONFIG+:} false; then :
12791 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12795 if ${PULSE_LIBS:+false} :; then :
12796 if ${PKG_CONFIG+:} false; then :
12797 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12802 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12803 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12804 ac_save_CPPFLAGS=$CPPFLAGS
12805 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12806 for ac_header in pulse/pulseaudio.h
12807 do :
12808 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12809 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12810 cat >>confdefs.h <<_ACEOF
12811 #define HAVE_PULSE_PULSEAUDIO_H 1
12812 _ACEOF
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12814 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12815 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12816 $as_echo_n "(cached) " >&6
12817 else
12818 ac_check_lib_save_LIBS=$LIBS
12819 LIBS="-lpulse $PULSE_LIBS $LIBS"
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12823 /* Override any GCC internal prototype to avoid an error.
12824 Use char because int might match the return type of a GCC
12825 builtin and then its argument prototype would still apply. */
12826 #ifdef __cplusplus
12827 extern "C"
12828 #endif
12829 char pa_stream_is_corked ();
12831 main ()
12833 return pa_stream_is_corked ();
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_link "$LINENO"; then :
12839 ac_cv_lib_pulse_pa_stream_is_corked=yes
12840 else
12841 ac_cv_lib_pulse_pa_stream_is_corked=no
12843 rm -f core conftest.err conftest.$ac_objext \
12844 conftest$ac_exeext conftest.$ac_ext
12845 LIBS=$ac_check_lib_save_LIBS
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12848 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12849 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12851 else
12852 PULSE_LIBS=""
12855 else
12856 PULSE_LIBS=""
12859 done
12861 CPPFLAGS=$ac_save_CPPFLAGS
12862 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12863 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12866 if test -z "$PULSE_LIBS"; then :
12867 case "x$with_pulse" in
12868 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12869 xno) ;;
12870 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12871 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12872 esac
12873 enable_winepulse_drv=${enable_winepulse_drv:-no}
12876 if test "x$with_gstreamer" != "xno"
12877 then
12878 if ${GSTREAMER_CFLAGS:+false} :; then :
12879 if ${PKG_CONFIG+:} false; then :
12880 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12884 if ${GSTREAMER_LIBS:+false} :; then :
12885 if ${PKG_CONFIG+:} false; then :
12886 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12891 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12892 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12893 ac_save_CPPFLAGS=$CPPFLAGS
12894 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12895 ac_gst_incl=""
12896 for i in $GSTREAMER_CFLAGS
12898 case "$i" in
12899 -I*) ac_gst_incl="$ac_gst_incl $i";;
12900 esac
12901 done
12902 GSTREAMER_CFLAGS=$ac_gst_incl
12903 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12904 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12905 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12907 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 #include <gst/gst.h>
12912 main ()
12914 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_compile "$LINENO"; then :
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12921 $as_echo "yes" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12923 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12924 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12925 $as_echo_n "(cached) " >&6
12926 else
12927 ac_check_lib_save_LIBS=$LIBS
12928 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12935 #ifdef __cplusplus
12936 extern "C"
12937 #endif
12938 char gst_pad_new ();
12940 main ()
12942 return gst_pad_new ();
12944 return 0;
12946 _ACEOF
12947 if ac_fn_c_try_link "$LINENO"; then :
12948 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12949 else
12950 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12952 rm -f core conftest.err conftest.$ac_objext \
12953 conftest$ac_exeext conftest.$ac_ext
12954 LIBS=$ac_check_lib_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12957 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12958 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12962 else
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965 ac_glib2_broken=yes
12966 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12972 CPPFLAGS=$ac_save_CPPFLAGS
12973 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12974 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12977 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 :
12978 case "x$with_gstreamer" in
12979 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12980 xno) ;;
12981 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12982 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12983 esac
12986 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12988 ALSA_LIBS=""
12990 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12991 then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12993 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12994 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12995 $as_echo_n "(cached) " >&6
12996 else
12997 ac_check_lib_save_LIBS=$LIBS
12998 LIBS="-lasound $LIBS"
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13005 #ifdef __cplusplus
13006 extern "C"
13007 #endif
13008 char snd_pcm_hw_params_get_access_mask ();
13010 main ()
13012 return snd_pcm_hw_params_get_access_mask ();
13014 return 0;
13016 _ACEOF
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13019 else
13020 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13027 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13028 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13031 #ifdef HAVE_ALSA_ASOUNDLIB_H
13032 #include <alsa/asoundlib.h>
13033 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13034 #include <sys/asoundlib.h>
13035 #endif
13037 main ()
13039 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_compile "$LINENO"; then :
13045 ALSA_LIBS="-lasound"
13047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13051 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13053 if test "x$with_oss" != xno
13054 then
13055 ac_save_CPPFLAGS="$CPPFLAGS"
13056 if test -f /etc/oss.conf
13057 then
13058 . /etc/oss.conf
13060 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13061 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13062 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13063 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13064 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13066 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13068 cat >>confdefs.h <<_ACEOF
13069 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13070 _ACEOF
13072 OSS4_CFLAGS="$ac_oss_incl"
13079 CPPFLAGS="$ac_save_CPPFLAGS"
13081 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13082 case "x$with_oss" in
13083 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13084 xno) ;;
13085 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13086 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13087 esac
13088 enable_wineoss_drv=${enable_wineoss_drv:-no}
13091 if test "x$with_udev" != "xno"
13092 then
13093 if ${UDEV_CFLAGS:+false} :; then :
13094 if ${PKG_CONFIG+:} false; then :
13095 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13099 if ${UDEV_LIBS:+false} :; then :
13100 if ${PKG_CONFIG+:} false; then :
13101 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13105 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13106 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13107 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13108 ac_save_CPPFLAGS=$CPPFLAGS
13109 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13110 for ac_header in libudev.h
13111 do :
13112 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13113 if test "x$ac_cv_header_libudev_h" = xyes; then :
13114 cat >>confdefs.h <<_ACEOF
13115 #define HAVE_LIBUDEV_H 1
13116 _ACEOF
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13118 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13119 if ${ac_cv_lib_udev_udev_new+:} false; then :
13120 $as_echo_n "(cached) " >&6
13121 else
13122 ac_check_lib_save_LIBS=$LIBS
13123 LIBS="-ludev $UDEV_LIBS $LIBS"
13124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13127 /* Override any GCC internal prototype to avoid an error.
13128 Use char because int might match the return type of a GCC
13129 builtin and then its argument prototype would still apply. */
13130 #ifdef __cplusplus
13131 extern "C"
13132 #endif
13133 char udev_new ();
13135 main ()
13137 return udev_new ();
13139 return 0;
13141 _ACEOF
13142 if ac_fn_c_try_link "$LINENO"; then :
13143 ac_cv_lib_udev_udev_new=yes
13144 else
13145 ac_cv_lib_udev_udev_new=no
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_lib_save_LIBS
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13152 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13153 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13155 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13157 else
13158 UDEV_LIBS=""
13161 else
13162 UDEV_LIBS=""
13165 done
13167 CPPFLAGS=$ac_save_CPPFLAGS
13168 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13169 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13172 if test "x$UDEV_LIBS" = "x"; then :
13173 case "x$with_udev" in
13174 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13175 xno) ;;
13176 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13177 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13178 esac
13182 if test "x$with_capi" != "xno"
13183 then
13184 if ${CAPI20_CFLAGS:+false} :; then :
13185 if ${PKG_CONFIG+:} false; then :
13186 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13190 if ${CAPI20_LIBS:+false} :; then :
13191 if ${PKG_CONFIG+:} false; then :
13192 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13197 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13198 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13199 ac_save_CPPFLAGS=$CPPFLAGS
13200 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13201 for ac_header in capi20.h linux/capi.h
13202 do :
13203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13204 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13206 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13207 cat >>confdefs.h <<_ACEOF
13208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13209 _ACEOF
13213 done
13215 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13216 then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13218 $as_echo_n "checking for -lcapi20... " >&6; }
13219 if ${ac_cv_lib_soname_capi20+:} false; then :
13220 $as_echo_n "(cached) " >&6
13221 else
13222 ac_check_soname_save_LIBS=$LIBS
13223 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13227 /* Override any GCC internal prototype to avoid an error.
13228 Use char because int might match the return type of a GCC
13229 builtin and then its argument prototype would still apply. */
13230 #ifdef __cplusplus
13231 extern "C"
13232 #endif
13233 char capi20_register ();
13235 main ()
13237 return capi20_register ();
13239 return 0;
13241 _ACEOF
13242 if ac_fn_c_try_link "$LINENO"; then :
13243 case "$LIBEXT" in
13244 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13245 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'` ;;
13246 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13247 if ${ac_cv_lib_soname_capi20:+false} :; then :
13248 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13249 fi ;;
13250 esac
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_soname_save_LIBS
13256 if ${ac_cv_lib_soname_capi20:+false} :; then :
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13258 $as_echo "not found" >&6; }
13260 else
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13262 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13264 cat >>confdefs.h <<_ACEOF
13265 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13266 _ACEOF
13271 CPPFLAGS=$ac_save_CPPFLAGS
13272 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13273 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13276 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13277 case "x$with_capi" in
13278 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13279 xno) ;;
13280 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13281 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13282 esac
13286 CUPS_CFLAGS=""
13288 if test "x$with_cups" != "xno"
13289 then
13290 ac_save_CPPFLAGS="$CPPFLAGS"
13291 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13292 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13293 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13294 for ac_header in cups/cups.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_CUPS_CUPS_H 1
13300 _ACEOF
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13302 $as_echo_n "checking for -lcups... " >&6; }
13303 if ${ac_cv_lib_soname_cups+:} false; then :
13304 $as_echo_n "(cached) " >&6
13305 else
13306 ac_check_soname_save_LIBS=$LIBS
13307 LIBS="-lcups $ac_cups_libs $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 char cupsGetDefault ();
13319 main ()
13321 return cupsGetDefault ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"; then :
13327 case "$LIBEXT" in
13328 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13329 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'` ;;
13330 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13331 if ${ac_cv_lib_soname_cups:+false} :; then :
13332 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13333 fi ;;
13334 esac
13336 rm -f core conftest.err conftest.$ac_objext \
13337 conftest$ac_exeext conftest.$ac_ext
13338 LIBS=$ac_check_soname_save_LIBS
13340 if ${ac_cv_lib_soname_cups:+false} :; then :
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13342 $as_echo "not found" >&6; }
13344 else
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13346 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13348 cat >>confdefs.h <<_ACEOF
13349 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13350 _ACEOF
13352 CUPS_CFLAGS="$ac_cups_cflags"
13354 for ac_header in cups/ppd.h
13355 do :
13356 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13357 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13358 cat >>confdefs.h <<_ACEOF
13359 #define HAVE_CUPS_PPD_H 1
13360 _ACEOF
13364 done
13368 done
13370 CPPFLAGS="$ac_save_CPPFLAGS"
13372 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13373 case "x$with_cups" in
13374 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13375 xno) ;;
13376 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13377 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13378 esac
13382 if test "x$with_fontconfig" != "xno"
13383 then
13384 if ${FONTCONFIG_CFLAGS:+false} :; then :
13385 if ${PKG_CONFIG+:} false; then :
13386 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13389 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13390 if ${FONTCONFIG_LIBS:+false} :; then :
13391 if ${PKG_CONFIG+:} false; then :
13392 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13395 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13397 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13398 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13399 ac_save_CPPFLAGS=$CPPFLAGS
13400 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13401 for ac_header in fontconfig/fontconfig.h
13402 do :
13403 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13404 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13405 cat >>confdefs.h <<_ACEOF
13406 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13407 _ACEOF
13411 done
13413 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13414 then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13416 $as_echo_n "checking for -lfontconfig... " >&6; }
13417 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13418 $as_echo_n "(cached) " >&6
13419 else
13420 ac_check_soname_save_LIBS=$LIBS
13421 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13428 #ifdef __cplusplus
13429 extern "C"
13430 #endif
13431 char FcInit ();
13433 main ()
13435 return FcInit ();
13437 return 0;
13439 _ACEOF
13440 if ac_fn_c_try_link "$LINENO"; then :
13441 case "$LIBEXT" in
13442 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13443 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'` ;;
13444 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13445 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13446 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13447 fi ;;
13448 esac
13450 rm -f core conftest.err conftest.$ac_objext \
13451 conftest$ac_exeext conftest.$ac_ext
13452 LIBS=$ac_check_soname_save_LIBS
13454 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13456 $as_echo "not found" >&6; }
13457 FONTCONFIG_CFLAGS=""
13458 else
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13460 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13462 cat >>confdefs.h <<_ACEOF
13463 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13464 _ACEOF
13468 else
13469 FONTCONFIG_CFLAGS=""
13471 CPPFLAGS=$ac_save_CPPFLAGS
13472 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13473 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13476 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13477 case "x$with_fontconfig" in
13478 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13479 xno) ;;
13480 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13481 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13482 esac
13486 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13487 then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13489 $as_echo_n "checking for -lgsm... " >&6; }
13490 if ${ac_cv_lib_soname_gsm+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_soname_save_LIBS=$LIBS
13494 LIBS="-lgsm $LIBS"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char gsm_create ();
13506 main ()
13508 return gsm_create ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 case "$LIBEXT" in
13515 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 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'` ;;
13517 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13518 if ${ac_cv_lib_soname_gsm:+false} :; then :
13519 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13520 fi ;;
13521 esac
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_gsm:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13531 else
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13533 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13537 _ACEOF
13542 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13543 case "x$with_gsm" in
13544 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13545 xno) ;;
13546 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13547 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13548 esac
13552 if test "x$with_jpeg" != "xno"
13553 then
13554 if ${JPEG_CFLAGS:+false} :; then :
13555 if ${PKG_CONFIG+:} false; then :
13556 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13560 if ${JPEG_LIBS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13568 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13569 ac_save_CPPFLAGS=$CPPFLAGS
13570 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13571 for ac_header in jpeglib.h
13572 do :
13573 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13574 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13575 cat >>confdefs.h <<_ACEOF
13576 #define HAVE_JPEGLIB_H 1
13577 _ACEOF
13581 done
13583 if test "$ac_cv_header_jpeglib_h" = "yes"
13584 then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13586 $as_echo_n "checking for -ljpeg... " >&6; }
13587 if ${ac_cv_lib_soname_jpeg+:} false; then :
13588 $as_echo_n "(cached) " >&6
13589 else
13590 ac_check_soname_save_LIBS=$LIBS
13591 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13595 /* Override any GCC internal prototype to avoid an error.
13596 Use char because int might match the return type of a GCC
13597 builtin and then its argument prototype would still apply. */
13598 #ifdef __cplusplus
13599 extern "C"
13600 #endif
13601 char jpeg_start_decompress ();
13603 main ()
13605 return jpeg_start_decompress ();
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 case "$LIBEXT" in
13612 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13613 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'` ;;
13614 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13615 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13616 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13617 fi ;;
13618 esac
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 LIBS=$ac_check_soname_save_LIBS
13624 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13626 $as_echo "not found" >&6; }
13627 JPEG_CFLAGS=""
13628 else
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13630 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13632 cat >>confdefs.h <<_ACEOF
13633 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13634 _ACEOF
13638 else
13639 JPEG_CFLAGS=""
13641 CPPFLAGS=$ac_save_CPPFLAGS
13642 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13643 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13646 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13647 case "x$with_jpeg" in
13648 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13649 xno) ;;
13650 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13651 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13652 esac
13656 if test "x$with_png" != "xno"
13657 then
13658 if ${PNG_CFLAGS:+false} :; then :
13659 if ${PKG_CONFIG+:} false; then :
13660 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13663 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13664 if ${PNG_LIBS:+false} :; then :
13665 if ${PKG_CONFIG+:} false; then :
13666 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13669 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13671 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13672 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13673 ac_save_CPPFLAGS=$CPPFLAGS
13674 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13675 for ac_header in png.h
13676 do :
13677 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_png_h" = xyes; then :
13679 cat >>confdefs.h <<_ACEOF
13680 #define HAVE_PNG_H 1
13681 _ACEOF
13685 done
13687 if test "$ac_cv_header_png_h" = "yes"
13688 then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13690 $as_echo_n "checking for -lpng... " >&6; }
13691 if ${ac_cv_lib_soname_png+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_check_soname_save_LIBS=$LIBS
13695 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13702 #ifdef __cplusplus
13703 extern "C"
13704 #endif
13705 char png_create_read_struct ();
13707 main ()
13709 return png_create_read_struct ();
13711 return 0;
13713 _ACEOF
13714 if ac_fn_c_try_link "$LINENO"; then :
13715 case "$LIBEXT" in
13716 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13717 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'` ;;
13718 *) 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'`
13719 if ${ac_cv_lib_soname_png:+false} :; then :
13720 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13721 fi ;;
13722 esac
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726 LIBS=$ac_check_soname_save_LIBS
13728 if ${ac_cv_lib_soname_png:+false} :; then :
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13730 $as_echo "not found" >&6; }
13731 PNG_CFLAGS=""
13732 else
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13734 $as_echo "$ac_cv_lib_soname_png" >&6; }
13736 cat >>confdefs.h <<_ACEOF
13737 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13738 _ACEOF
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #include <png.h>
13744 main ()
13746 typeof(png_set_expand_gray_1_2_4_to_8) *p
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_compile "$LINENO"; then :
13753 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13758 else
13759 PNG_CFLAGS=""
13761 CPPFLAGS=$ac_save_CPPFLAGS
13762 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13763 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13766 if test "x$ac_cv_lib_soname_png" = "x"; then :
13767 case "x$with_png" in
13768 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13769 xno) ;;
13770 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13771 This is an error since --with-png was requested." "$LINENO" 5 ;;
13772 esac
13776 if test "x$with_tiff" != "xno"
13777 then
13778 if ${TIFF_CFLAGS:+false} :; then :
13779 if ${PKG_CONFIG+:} false; then :
13780 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13784 if ${TIFF_LIBS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13791 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13793 ac_save_CPPFLAGS=$CPPFLAGS
13794 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13795 for ac_header in tiffio.h
13796 do :
13797 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13798 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13799 cat >>confdefs.h <<_ACEOF
13800 #define HAVE_TIFFIO_H 1
13801 _ACEOF
13805 done
13807 if test "$ac_cv_header_tiffio_h" = "yes"
13808 then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13810 $as_echo_n "checking for -ltiff... " >&6; }
13811 if ${ac_cv_lib_soname_tiff+:} false; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 ac_check_soname_save_LIBS=$LIBS
13815 LIBS="-ltiff $TIFF_LIBS $LIBS"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 #ifdef __cplusplus
13823 extern "C"
13824 #endif
13825 char TIFFClientOpen ();
13827 main ()
13829 return TIFFClientOpen ();
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 case "$LIBEXT" in
13836 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13837 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'` ;;
13838 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13839 if ${ac_cv_lib_soname_tiff:+false} :; then :
13840 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13841 fi ;;
13842 esac
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_soname_save_LIBS
13848 if ${ac_cv_lib_soname_tiff:+false} :; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13850 $as_echo "not found" >&6; }
13852 else
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13854 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13856 cat >>confdefs.h <<_ACEOF
13857 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13858 _ACEOF
13863 CPPFLAGS=$ac_save_CPPFLAGS
13864 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13865 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13868 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13869 case "x$with_tiff" in
13870 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13871 xno) ;;
13872 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13873 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13874 esac
13878 if test "x$with_mpg123" != "xno"
13879 then
13880 if ${MPG123_CFLAGS:+false} :; then :
13881 if ${PKG_CONFIG+:} false; then :
13882 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13886 if ${MPG123_LIBS:+false} :; then :
13887 if ${PKG_CONFIG+:} false; then :
13888 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13892 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13893 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13894 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13895 ac_save_CPPFLAGS=$CPPFLAGS
13896 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13897 for ac_header in mpg123.h
13898 do :
13899 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13900 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13901 cat >>confdefs.h <<_ACEOF
13902 #define HAVE_MPG123_H 1
13903 _ACEOF
13907 done
13909 if test "$ac_cv_header_mpg123_h" = "yes"
13910 then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13912 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13913 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_lib_save_LIBS=$LIBS
13917 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char mpg123_feed ();
13929 main ()
13931 return mpg123_feed ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 ac_cv_lib_mpg123_mpg123_feed=yes
13938 else
13939 ac_cv_lib_mpg123_mpg123_feed=no
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 LIBS=$ac_check_lib_save_LIBS
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13946 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13947 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13949 else
13950 MPG123_LIBS=""
13953 else
13954 MPG123_CFLAGS=""
13955 MPG123_LIBS=""
13957 CPPFLAGS=$ac_save_CPPFLAGS
13958 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13959 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13962 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13963 case "x$with_mpg123" in
13964 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13965 xno) ;;
13966 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13967 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13968 esac
13969 enable_winemp3_acm=${enable_winemp3_acm:-no}
13972 if test "$ac_cv_header_AL_al_h" = "yes"
13973 then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13975 $as_echo_n "checking for -lopenal... " >&6; }
13976 if ${ac_cv_lib_soname_openal+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_check_soname_save_LIBS=$LIBS
13980 LIBS="-lopenal $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 #ifdef __cplusplus
13988 extern "C"
13989 #endif
13990 char alGetSource3i ();
13992 main ()
13994 return alGetSource3i ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 case "$LIBEXT" in
14001 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14002 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'` ;;
14003 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14004 if ${ac_cv_lib_soname_openal:+false} :; then :
14005 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14006 fi ;;
14007 esac
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_soname_save_LIBS
14013 if ${ac_cv_lib_soname_openal:+false} :; then :
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14015 $as_echo "not found" >&6; }
14017 else
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14019 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14021 cat >>confdefs.h <<_ACEOF
14022 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14023 _ACEOF
14025 OPENAL_LIBS="-lopenal"
14027 ac_cv_lib_openal=yes
14029 cat >>confdefs.h <<_ACEOF
14030 #define HAVE_OPENAL 1
14031 _ACEOF
14035 if test "x$ac_cv_lib_openal" != xyes; then :
14036 case "x$with_openal" in
14037 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14038 xno) ;;
14039 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14040 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14041 esac
14042 enable_openal32=${enable_openal32:-no}
14045 if test "x$ac_cv_lib_openal" = xyes
14046 then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14048 $as_echo_n "checking for openal-soft... " >&6; }
14049 if ${ac_cv_have_openalsoft+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 #include <AL/al.h>
14055 #include <AL/alc.h>
14056 #include <AL/alext.h>
14057 LPALCRENDERSAMPLESSOFT x;
14059 main ()
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_compile "$LINENO"; then :
14067 ac_cv_have_openalsoft=yes
14068 else
14069 ac_cv_have_openalsoft=no
14071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14074 $as_echo "$ac_cv_have_openalsoft" >&6; }
14076 if test "x$ac_cv_have_openalsoft" != xyes
14077 then
14078 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14079 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14080 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14081 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14082 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14083 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14084 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14085 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14086 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14087 enable_xapofx1_1=${enable_xapofx1_1:-no}
14088 enable_xapofx1_2=${enable_xapofx1_2:-no}
14089 enable_xapofx1_3=${enable_xapofx1_3:-no}
14090 enable_xapofx1_4=${enable_xapofx1_4:-no}
14091 enable_xapofx1_5=${enable_xapofx1_5:-no}
14092 enable_xaudio2_0=${enable_xaudio2_0:-no}
14093 enable_xaudio2_1=${enable_xaudio2_1:-no}
14094 enable_xaudio2_2=${enable_xaudio2_2:-no}
14095 enable_xaudio2_3=${enable_xaudio2_3:-no}
14096 enable_xaudio2_4=${enable_xaudio2_4:-no}
14097 enable_xaudio2_5=${enable_xaudio2_5:-no}
14098 enable_xaudio2_6=${enable_xaudio2_6:-no}
14099 enable_xaudio2_7=${enable_xaudio2_7:-no}
14100 enable_xaudio2_8=${enable_xaudio2_8:-no}
14101 enable_xaudio2_9=${enable_xaudio2_9:-no}
14104 if test "$ac_cv_header_kstat_h" = "yes"
14105 then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14107 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14108 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 ac_check_lib_save_LIBS=$LIBS
14112 LIBS="-lkstat $LIBS"
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14119 #ifdef __cplusplus
14120 extern "C"
14121 #endif
14122 char kstat_open ();
14124 main ()
14126 return kstat_open ();
14128 return 0;
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_lib_kstat_kstat_open=yes
14133 else
14134 ac_cv_lib_kstat_kstat_open=no
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_lib_save_LIBS
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14141 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14142 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14144 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14146 KSTAT_LIBS="-lkstat"
14152 if test "$ac_cv_header_libprocstat_h" = "yes"
14153 then
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14155 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14156 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_check_lib_save_LIBS=$LIBS
14160 LIBS="-lprocstat $LIBS"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 #ifdef __cplusplus
14168 extern "C"
14169 #endif
14170 char procstat_open_sysctl ();
14172 main ()
14174 return procstat_open_sysctl ();
14176 return 0;
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_lib_procstat_procstat_open_sysctl=yes
14181 else
14182 ac_cv_lib_procstat_procstat_open_sysctl=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 LIBS=$ac_check_lib_save_LIBS
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14189 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14190 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14192 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14194 PROCSTAT_LIBS="-lprocstat"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14201 $as_echo_n "checking for -lodbc... " >&6; }
14202 if ${ac_cv_lib_soname_odbc+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_check_soname_save_LIBS=$LIBS
14206 LIBS="-lodbc $LIBS"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14210 /* Override any GCC internal prototype to avoid an error.
14211 Use char because int might match the return type of a GCC
14212 builtin and then its argument prototype would still apply. */
14213 #ifdef __cplusplus
14214 extern "C"
14215 #endif
14216 char SQLConnect ();
14218 main ()
14220 return SQLConnect ();
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"; then :
14226 case "$LIBEXT" in
14227 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14228 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'` ;;
14229 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14230 if ${ac_cv_lib_soname_odbc:+false} :; then :
14231 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14232 fi ;;
14233 esac
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14237 LIBS=$ac_check_soname_save_LIBS
14239 if ${ac_cv_lib_soname_odbc:+false} :; then :
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14241 $as_echo "not found" >&6; }
14242 cat >>confdefs.h <<_ACEOF
14243 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14244 _ACEOF
14246 else
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14248 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14250 cat >>confdefs.h <<_ACEOF
14251 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14252 _ACEOF
14257 if test "x$with_netapi" != "xno"
14258 then
14259 if ${NETAPI_CFLAGS:+false} :; then :
14260 if ${PKG_CONFIG+:} false; then :
14261 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14265 if ${NETAPI_LIBS:+false} :; then :
14266 if ${PKG_CONFIG+:} false; then :
14267 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14272 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14273 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14274 ac_save_CPPFLAGS=$CPPFLAGS
14275 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14277 $as_echo_n "checking for -lnetapi... " >&6; }
14278 if ${ac_cv_lib_soname_netapi+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_check_soname_save_LIBS=$LIBS
14282 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 #ifdef __cplusplus
14290 extern "C"
14291 #endif
14292 char libnetapi_init ();
14294 main ()
14296 return libnetapi_init ();
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"; then :
14302 case "$LIBEXT" in
14303 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14304 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'` ;;
14305 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14306 if ${ac_cv_lib_soname_netapi:+false} :; then :
14307 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14308 fi ;;
14309 esac
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext conftest.$ac_ext
14313 LIBS=$ac_check_soname_save_LIBS
14315 if ${ac_cv_lib_soname_netapi:+false} :; then :
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14317 $as_echo "not found" >&6; }
14318 cat >>confdefs.h <<_ACEOF
14319 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14320 _ACEOF
14322 else
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14324 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14326 cat >>confdefs.h <<_ACEOF
14327 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14328 _ACEOF
14332 CPPFLAGS=$ac_save_CPPFLAGS
14333 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14334 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14338 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14339 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14340 then
14341 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14345 EXTRACFLAGS=""
14347 if test "x${GCC}" = "xyes"
14348 then
14349 EXTRACFLAGS="-Wall -pipe"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14352 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14353 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14354 $as_echo_n "(cached) " >&6
14355 else
14356 if test "$cross_compiling" = yes; then :
14357 ac_cv_c_gcc_strength_bug="no"
14358 else
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 int L[4] = {0,1,2,3};
14363 main ()
14365 static int Array[3];
14366 unsigned int B = 3;
14367 int i;
14368 for(i=0; i<B; i++) Array[i] = i - 3;
14369 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14370 L[i] = 4;
14371 return (Array[1] != -2 || L[2] != 3)
14373 return 0;
14375 _ACEOF
14376 if ac_fn_c_try_run "$LINENO"; then :
14377 ac_cv_c_gcc_strength_bug="no"
14378 else
14379 ac_cv_c_gcc_strength_bug="yes"
14381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14382 conftest.$ac_objext conftest.beam conftest.$ac_ext
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14387 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14388 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14389 then
14390 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14394 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14395 if ${ac_cv_cflags__fno_builtin+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_wine_try_cflags_saved=$CFLAGS
14399 CFLAGS="$CFLAGS -fno-builtin"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14402 int main(int argc, char **argv) { return 0; }
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_cflags__fno_builtin=yes
14406 else
14407 ac_cv_cflags__fno_builtin=no
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 CFLAGS=$ac_wine_try_cflags_saved
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14414 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14415 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14416 BUILTINFLAG="-fno-builtin"
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14420 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14421 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 ac_wine_try_cflags_saved=$CFLAGS
14425 CFLAGS="$CFLAGS -fno-strict-aliasing"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int main(int argc, char **argv) { return 0; }
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 ac_cv_cflags__fno_strict_aliasing=yes
14432 else
14433 ac_cv_cflags__fno_strict_aliasing=no
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14437 CFLAGS=$ac_wine_try_cflags_saved
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14440 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14441 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14442 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14445 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14446 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_wine_try_cflags_saved=$CFLAGS
14450 CFLAGS="$CFLAGS -fexcess-precision=standard"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14453 int main(int argc, char **argv) { return 0; }
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"; then :
14456 ac_cv_cflags__fexcess_precision_standard=yes
14457 else
14458 ac_cv_cflags__fexcess_precision_standard=no
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 CFLAGS=$ac_wine_try_cflags_saved
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14465 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14466 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14467 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14470 saved_CFLAGS=$CFLAGS
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14472 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14473 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_wine_try_cflags_saved=$CFLAGS
14477 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14480 int main(int argc, char **argv) { return 0; }
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_cflags__Werror_unknown_warning_option=yes
14484 else
14485 ac_cv_cflags__Werror_unknown_warning_option=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 CFLAGS=$ac_wine_try_cflags_saved
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14492 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14493 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14494 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14497 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14498 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 ac_wine_try_cflags_saved=$CFLAGS
14502 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 int main(int argc, char **argv) { return 0; }
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508 ac_cv_cflags__Wdeclaration_after_statement=yes
14509 else
14510 ac_cv_cflags__Wdeclaration_after_statement=no
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14514 CFLAGS=$ac_wine_try_cflags_saved
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14517 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14518 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14519 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14522 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14523 if ${ac_cv_cflags__Wempty_body+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_wine_try_cflags_saved=$CFLAGS
14527 CFLAGS="$CFLAGS -Wempty-body"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 int main(int argc, char **argv) { return 0; }
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 ac_cv_cflags__Wempty_body=yes
14534 else
14535 ac_cv_cflags__Wempty_body=no
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 CFLAGS=$ac_wine_try_cflags_saved
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14542 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14543 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14544 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14547 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14548 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 ac_wine_try_cflags_saved=$CFLAGS
14552 CFLAGS="$CFLAGS -Wignored-qualifiers"
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 int main(int argc, char **argv) { return 0; }
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 ac_cv_cflags__Wignored_qualifiers=yes
14559 else
14560 ac_cv_cflags__Wignored_qualifiers=no
14562 rm -f core conftest.err conftest.$ac_objext \
14563 conftest$ac_exeext conftest.$ac_ext
14564 CFLAGS=$ac_wine_try_cflags_saved
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14567 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14568 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14569 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14572 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14573 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_wine_try_cflags_saved=$CFLAGS
14577 CFLAGS="$CFLAGS -Wshift-overflow=2"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14580 int main(int argc, char **argv) { return 0; }
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_cflags__Wshift_overflow_2=yes
14584 else
14585 ac_cv_cflags__Wshift_overflow_2=no
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 CFLAGS=$ac_wine_try_cflags_saved
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14592 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14593 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14594 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14597 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14598 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 ac_wine_try_cflags_saved=$CFLAGS
14602 CFLAGS="$CFLAGS -Wstrict-prototypes"
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14605 int main(int argc, char **argv) { return 0; }
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 ac_cv_cflags__Wstrict_prototypes=yes
14609 else
14610 ac_cv_cflags__Wstrict_prototypes=no
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 CFLAGS=$ac_wine_try_cflags_saved
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14617 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14618 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14619 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14622 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14623 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14624 $as_echo_n "(cached) " >&6
14625 else
14626 ac_wine_try_cflags_saved=$CFLAGS
14627 CFLAGS="$CFLAGS -Wtype-limits"
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 int main(int argc, char **argv) { return 0; }
14631 _ACEOF
14632 if ac_fn_c_try_link "$LINENO"; then :
14633 ac_cv_cflags__Wtype_limits=yes
14634 else
14635 ac_cv_cflags__Wtype_limits=no
14637 rm -f core conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14639 CFLAGS=$ac_wine_try_cflags_saved
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14642 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14643 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14644 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14647 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14648 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_wine_try_cflags_saved=$CFLAGS
14652 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14655 int main(int argc, char **argv) { return 0; }
14656 _ACEOF
14657 if ac_fn_c_try_link "$LINENO"; then :
14658 ac_cv_cflags__Wunused_but_set_parameter=yes
14659 else
14660 ac_cv_cflags__Wunused_but_set_parameter=no
14662 rm -f core conftest.err conftest.$ac_objext \
14663 conftest$ac_exeext conftest.$ac_ext
14664 CFLAGS=$ac_wine_try_cflags_saved
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14667 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14668 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14669 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14672 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14673 if ${ac_cv_cflags__Wvla+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 ac_wine_try_cflags_saved=$CFLAGS
14677 CFLAGS="$CFLAGS -Wvla"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14680 int main(int argc, char **argv) { return 0; }
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_cflags__Wvla=yes
14684 else
14685 ac_cv_cflags__Wvla=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 CFLAGS=$ac_wine_try_cflags_saved
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14692 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14693 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14694 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14697 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14698 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_wine_try_cflags_saved=$CFLAGS
14702 CFLAGS="$CFLAGS -Wwrite-strings"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 int main(int argc, char **argv) { return 0; }
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_cflags__Wwrite_strings=yes
14709 else
14710 ac_cv_cflags__Wwrite_strings=no
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 CFLAGS=$ac_wine_try_cflags_saved
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14717 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14718 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14719 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14723 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14724 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_wine_try_cflags_saved=$CFLAGS
14728 CFLAGS="$CFLAGS -Wpointer-arith"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14731 int main(int argc, char **argv) { return 0; }
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_cflags__Wpointer_arith=yes
14735 else
14736 ac_cv_cflags__Wpointer_arith=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 CFLAGS=$ac_wine_try_cflags_saved
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14743 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14744 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14745 saved_string_h_CFLAGS=$CFLAGS
14746 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14748 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14749 if ${ac_cv_c_string_h_warnings+:} false; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 #include <string.h>
14756 main ()
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_compile "$LINENO"; then :
14764 ac_cv_c_string_h_warnings=no
14765 else
14766 ac_cv_c_string_h_warnings=yes
14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14771 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14772 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14773 CFLAGS=$saved_string_h_CFLAGS
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14777 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14778 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 ac_wine_try_cflags_saved=$CFLAGS
14782 CFLAGS="$CFLAGS -Wlogical-op"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_cflags__Wlogical_op=yes
14789 else
14790 ac_cv_cflags__Wlogical_op=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 CFLAGS=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14797 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14798 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14799 saved_string_h_CFLAGS=$CFLAGS
14800 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14802 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14803 if ${ac_cv_c_logicalop_noisy+:} false; then :
14804 $as_echo_n "(cached) " >&6
14805 else
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 #include <string.h>
14809 char*f(const char *h,char n) {return strchr(h,n);}
14811 main ()
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819 ac_cv_c_logicalop_noisy=no
14820 else
14821 ac_cv_c_logicalop_noisy=yes
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14826 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14827 CFLAGS=$saved_string_h_CFLAGS
14828 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14831 CFLAGS=$saved_CFLAGS
14833 for ac_flag in $CFLAGS; do
14834 case $ac_flag in
14835 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14836 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14837 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_wine_try_cflags_saved=$CFLAGS
14841 CFLAGS="$CFLAGS -gdwarf-2"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14844 int main(int argc, char **argv) { return 0; }
14845 _ACEOF
14846 if ac_fn_c_try_link "$LINENO"; then :
14847 ac_cv_cflags__gdwarf_2=yes
14848 else
14849 ac_cv_cflags__gdwarf_2=no
14851 rm -f core conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext conftest.$ac_ext
14853 CFLAGS=$ac_wine_try_cflags_saved
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14856 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14857 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14858 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14861 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14862 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 ac_wine_try_cflags_saved=$CFLAGS
14866 CFLAGS="$CFLAGS -gstrict-dwarf"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14869 int main(int argc, char **argv) { return 0; }
14870 _ACEOF
14871 if ac_fn_c_try_link "$LINENO"; then :
14872 ac_cv_cflags__gstrict_dwarf=yes
14873 else
14874 ac_cv_cflags__gstrict_dwarf=no
14876 rm -f core conftest.err conftest.$ac_objext \
14877 conftest$ac_exeext conftest.$ac_ext
14878 CFLAGS=$ac_wine_try_cflags_saved
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14881 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14882 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14883 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14884 fi ;;
14885 esac
14886 done
14888 case $host_cpu in
14889 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14890 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14891 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 ac_wine_try_cflags_saved=$CFLAGS
14895 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 int main(int argc, char **argv) { return 0; }
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_cflags__fno_omit_frame_pointer=yes
14902 else
14903 ac_cv_cflags__fno_omit_frame_pointer=no
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 CFLAGS=$ac_wine_try_cflags_saved
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14910 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14911 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14912 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14913 fi ;;
14914 esac
14916 case $host in
14917 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14918 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14919 if ${ac_cv_cflags__Wno_format+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 ac_wine_try_cflags_saved=$CFLAGS
14923 CFLAGS="$CFLAGS -Wno-format"
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 int main(int argc, char **argv) { return 0; }
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 ac_cv_cflags__Wno_format=yes
14930 else
14931 ac_cv_cflags__Wno_format=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14935 CFLAGS=$ac_wine_try_cflags_saved
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14938 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14939 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14940 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14941 fi ;;
14942 esac
14944 if test "x$enable_maintainer_mode" = "xyes"
14945 then
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14947 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14948 if ${ac_cv_cflags__Werror+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 ac_wine_try_cflags_saved=$CFLAGS
14952 CFLAGS="$CFLAGS -Werror"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 int main(int argc, char **argv) { return 0; }
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_cflags__Werror=yes
14959 else
14960 ac_cv_cflags__Werror=no
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 CFLAGS=$ac_wine_try_cflags_saved
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14967 $as_echo "$ac_cv_cflags__Werror" >&6; }
14968 if test "x$ac_cv_cflags__Werror" = xyes; then :
14969 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14973 saved_CFLAGS="$CFLAGS"
14974 CFLAGS="$CFLAGS -Werror"
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14976 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14977 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14984 main ()
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_compile "$LINENO"; then :
14992 ac_cv_have_ms_hook_prologue="yes"
14993 else
14994 ac_cv_have_ms_hook_prologue="no"
14996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14999 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15000 CFLAGS="$saved_CFLAGS"
15001 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15002 then
15004 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15006 else
15007 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15014 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15015 if ${ac_cv_c_fortify_enabled+:} false; then :
15016 $as_echo_n "(cached) " >&6
15017 else
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15020 #include <string.h>
15022 main ()
15024 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15025 #error Fortify enabled
15026 #endif
15028 return 0;
15030 _ACEOF
15031 if ac_fn_c_try_compile "$LINENO"; then :
15032 ac_cv_c_fortify_enabled=no
15033 else
15034 ac_cv_c_fortify_enabled=yes
15036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15039 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15040 if test "$ac_cv_c_fortify_enabled" = yes
15041 then
15042 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15047 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15048 if ${ac_cv_c_extern_prefix+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15053 extern int ac_test;
15055 main ()
15057 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_c_extern_prefix="yes"
15064 else
15065 ac_cv_c_extern_prefix="no"
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15071 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15073 case $host_cpu in
15074 *i[3456789]86*)
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15076 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15077 if ${ac_cv_c_stdcall_suffix+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 #ifndef _MSC_VER
15083 #define __stdcall __attribute__((__stdcall__))
15084 #endif
15085 int __stdcall ac_test(int i) { return i; }
15087 main ()
15089 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15091 return 0;
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_c_stdcall_suffix="yes"
15096 else
15097 ac_cv_c_stdcall_suffix="no"
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15103 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15104 *) ac_cv_c_stdcall_suffix="no" ;;
15105 esac
15108 if test "$ac_cv_c_extern_prefix" = "yes"
15109 then
15110 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15112 asm_name_prefix="_"
15113 else
15114 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15116 asm_name_prefix=""
15120 if test "$ac_cv_c_stdcall_suffix" = "yes"
15121 then
15122 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15124 else
15125 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15131 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15132 if ${ac_cv_asm_func_def+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15139 main ()
15141 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 ac_cv_asm_func_def=".def"
15148 else
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15153 main ()
15155 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"; then :
15161 ac_cv_asm_func_def=".type @function"
15162 else
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15167 main ()
15169 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_asm_func_def=".type 2"
15176 else
15177 ac_cv_asm_func_def="unknown"
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext conftest.$ac_ext
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext conftest.$ac_ext
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15189 $as_echo "$ac_cv_asm_func_def" >&6; }
15192 case "$ac_cv_asm_func_def" in
15193 ".def")
15194 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15196 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15197 ".type @function")
15198 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15200 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15201 ".type 2")
15202 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15204 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15206 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15208 asm_func_header="" ;;
15209 esac
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15212 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15213 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 asm(".text\n\t.long 0");
15220 main ()
15224 return 0;
15226 _ACEOF
15227 if ac_fn_c_try_compile "$LINENO"; then :
15228 ac_cv_c_asm_outside_funcs="yes"
15229 else
15230 ac_cv_c_asm_outside_funcs="no"
15232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15235 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15238 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15239 if ${ac_cv_c_dot_previous+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15246 main ()
15248 asm(".text\nac_test:\t.long 0\n\t.previous");
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 ac_cv_c_dot_previous="yes"
15255 else
15256 ac_cv_c_dot_previous="no"
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15262 $as_echo "$ac_cv_c_dot_previous" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15265 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15266 if ${ac_cv_c_cfi_support+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15271 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15273 main ()
15277 return 0;
15279 _ACEOF
15280 if ac_fn_c_try_compile "$LINENO"; then :
15281 ac_cv_c_cfi_support="yes"
15282 else
15283 ac_cv_c_cfi_support="no"
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15288 $as_echo "$ac_cv_c_cfi_support" >&6; }
15290 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15291 asm_func_trailer=""
15292 if test "$ac_cv_c_dot_previous" = "yes"
15293 then
15294 asm_func_trailer="\\n\\t.previous"
15296 if test "$ac_cv_c_cfi_support" = "yes"
15297 then
15298 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15299 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15301 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15303 UNWINDFLAGS=-fasynchronous-unwind-tables
15305 else
15306 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15308 if test "x$enable_win64" = "xyes"
15309 then
15310 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15314 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15317 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15318 then
15319 cat >>confdefs.h <<_ACEOF
15320 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15321 _ACEOF
15323 else
15324 cat >>confdefs.h <<_ACEOF
15325 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15326 _ACEOF
15330 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15333 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15337 case $build_os in
15338 cygwin*|mingw32*) TOOLSEXT=".exe"
15340 esac
15342 case $host_os in
15343 linux*)
15344 case $host_cpu in
15345 *i[3456789]86*|x86_64*)
15346 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15347 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15349 esac
15351 esac
15354 ac_save_CFLAGS="$CFLAGS"
15355 CFLAGS="$CFLAGS $BUILTINFLAG"
15356 for ac_func in \
15357 __res_get_state \
15358 __res_getservers \
15359 _finite \
15360 _isnan \
15361 _pclose \
15362 _popen \
15363 _snprintf \
15364 _spawnvp \
15365 _strdup \
15366 _stricmp \
15367 _strnicmp \
15368 _strtoi64 \
15369 _strtoui64 \
15370 _vsnprintf \
15371 asctime_r \
15372 chsize \
15373 dlopen \
15374 epoll_create \
15375 ffs \
15376 finitef \
15377 fnmatch \
15378 fork \
15379 fpclass \
15380 fstatfs \
15381 fstatvfs \
15382 ftruncate \
15383 futimens \
15384 futimes \
15385 futimesat \
15386 getattrlist \
15387 getauxval \
15388 getopt_long_only \
15389 getpwuid \
15390 gettimeofday \
15391 getuid \
15392 isnanf \
15393 kqueue \
15394 lstat \
15395 memmove \
15396 mmap \
15397 pclose \
15398 pipe2 \
15399 poll \
15400 popen \
15401 port_create \
15402 prctl \
15403 pread \
15404 proc_pidinfo \
15405 pwrite \
15406 readdir \
15407 readlink \
15408 sched_yield \
15409 select \
15410 setproctitle \
15411 setprogname \
15412 setrlimit \
15413 settimeofday \
15414 sigaltstack \
15415 sigprocmask \
15416 snprintf \
15417 statfs \
15418 statvfs \
15419 strcasecmp \
15420 strdup \
15421 strerror \
15422 strncasecmp \
15423 strtold \
15424 strtoll \
15425 strtoull \
15426 symlink \
15427 sysinfo \
15428 tcdrain \
15429 thr_kill2 \
15430 timegm \
15431 usleep \
15432 vsnprintf
15434 do :
15435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15438 cat >>confdefs.h <<_ACEOF
15439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15440 _ACEOF
15443 done
15445 CFLAGS="$ac_save_CFLAGS"
15447 if test "$ac_cv_func_dlopen" = no
15448 then
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15450 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15451 if ${ac_cv_lib_dl_dlopen+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_check_lib_save_LIBS=$LIBS
15455 LIBS="-ldl $LIBS"
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15459 /* Override any GCC internal prototype to avoid an error.
15460 Use char because int might match the return type of a GCC
15461 builtin and then its argument prototype would still apply. */
15462 #ifdef __cplusplus
15463 extern "C"
15464 #endif
15465 char dlopen ();
15467 main ()
15469 return dlopen ();
15471 return 0;
15473 _ACEOF
15474 if ac_fn_c_try_link "$LINENO"; then :
15475 ac_cv_lib_dl_dlopen=yes
15476 else
15477 ac_cv_lib_dl_dlopen=no
15479 rm -f core conftest.err conftest.$ac_objext \
15480 conftest$ac_exeext conftest.$ac_ext
15481 LIBS=$ac_check_lib_save_LIBS
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15484 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15485 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15486 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15487 DL_LIBS="-ldl"
15492 ac_wine_check_funcs_save_LIBS="$LIBS"
15493 LIBS="$LIBS $DL_LIBS"
15494 for ac_func in dladdr
15495 do :
15496 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15497 if test "x$ac_cv_func_dladdr" = xyes; then :
15498 cat >>confdefs.h <<_ACEOF
15499 #define HAVE_DLADDR 1
15500 _ACEOF
15503 done
15505 LIBS="$ac_wine_check_funcs_save_LIBS"
15507 if test "$ac_cv_func_poll" = no
15508 then
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15510 $as_echo_n "checking for poll in -lpoll... " >&6; }
15511 if ${ac_cv_lib_poll_poll+:} false; then :
15512 $as_echo_n "(cached) " >&6
15513 else
15514 ac_check_lib_save_LIBS=$LIBS
15515 LIBS="-lpoll $LIBS"
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15519 /* Override any GCC internal prototype to avoid an error.
15520 Use char because int might match the return type of a GCC
15521 builtin and then its argument prototype would still apply. */
15522 #ifdef __cplusplus
15523 extern "C"
15524 #endif
15525 char poll ();
15527 main ()
15529 return poll ();
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 ac_cv_lib_poll_poll=yes
15536 else
15537 ac_cv_lib_poll_poll=no
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_lib_save_LIBS
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15544 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15545 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15546 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15547 POLL_LIBS="-lpoll"
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15554 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15555 if ${ac_cv_search_gethostbyname+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 ac_func_search_save_LIBS=$LIBS
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15565 #ifdef __cplusplus
15566 extern "C"
15567 #endif
15568 char gethostbyname ();
15570 main ()
15572 return gethostbyname ();
15574 return 0;
15576 _ACEOF
15577 for ac_lib in '' nsl; do
15578 if test -z "$ac_lib"; then
15579 ac_res="none required"
15580 else
15581 ac_res=-l$ac_lib
15582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15584 if ac_fn_c_try_link "$LINENO"; then :
15585 ac_cv_search_gethostbyname=$ac_res
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext
15589 if ${ac_cv_search_gethostbyname+:} false; then :
15590 break
15592 done
15593 if ${ac_cv_search_gethostbyname+:} false; then :
15595 else
15596 ac_cv_search_gethostbyname=no
15598 rm conftest.$ac_ext
15599 LIBS=$ac_func_search_save_LIBS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15602 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15603 ac_res=$ac_cv_search_gethostbyname
15604 if test "$ac_res" != no; then :
15605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15611 $as_echo_n "checking for library containing connect... " >&6; }
15612 if ${ac_cv_search_connect+:} false; then :
15613 $as_echo_n "(cached) " >&6
15614 else
15615 ac_func_search_save_LIBS=$LIBS
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15619 /* Override any GCC internal prototype to avoid an error.
15620 Use char because int might match the return type of a GCC
15621 builtin and then its argument prototype would still apply. */
15622 #ifdef __cplusplus
15623 extern "C"
15624 #endif
15625 char connect ();
15627 main ()
15629 return connect ();
15631 return 0;
15633 _ACEOF
15634 for ac_lib in '' socket; do
15635 if test -z "$ac_lib"; then
15636 ac_res="none required"
15637 else
15638 ac_res=-l$ac_lib
15639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15641 if ac_fn_c_try_link "$LINENO"; then :
15642 ac_cv_search_connect=$ac_res
15644 rm -f core conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext
15646 if ${ac_cv_search_connect+:} false; then :
15647 break
15649 done
15650 if ${ac_cv_search_connect+:} false; then :
15652 else
15653 ac_cv_search_connect=no
15655 rm conftest.$ac_ext
15656 LIBS=$ac_func_search_save_LIBS
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15659 $as_echo "$ac_cv_search_connect" >&6; }
15660 ac_res=$ac_cv_search_connect
15661 if test "$ac_res" != no; then :
15662 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15668 $as_echo_n "checking for library containing inet_aton... " >&6; }
15669 if ${ac_cv_search_inet_aton+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 ac_func_search_save_LIBS=$LIBS
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 char inet_aton ();
15684 main ()
15686 return inet_aton ();
15688 return 0;
15690 _ACEOF
15691 for ac_lib in '' resolv; do
15692 if test -z "$ac_lib"; then
15693 ac_res="none required"
15694 else
15695 ac_res=-l$ac_lib
15696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 ac_cv_search_inet_aton=$ac_res
15701 rm -f core conftest.err conftest.$ac_objext \
15702 conftest$ac_exeext
15703 if ${ac_cv_search_inet_aton+:} false; then :
15704 break
15706 done
15707 if ${ac_cv_search_inet_aton+:} false; then :
15709 else
15710 ac_cv_search_inet_aton=no
15712 rm conftest.$ac_ext
15713 LIBS=$ac_func_search_save_LIBS
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15716 $as_echo "$ac_cv_search_inet_aton" >&6; }
15717 ac_res=$ac_cv_search_inet_aton
15718 if test "$ac_res" != no; then :
15719 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15724 for ac_func in \
15725 getaddrinfo \
15726 getnameinfo \
15727 getnetbyname \
15728 getprotobyname \
15729 getprotobynumber \
15730 getservbyport \
15731 inet_addr \
15732 inet_network \
15733 inet_ntop \
15734 inet_pton \
15735 sendmsg \
15736 socketpair \
15738 do :
15739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15741 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15744 _ACEOF
15747 done
15750 ac_save_LIBS=$LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15752 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15753 if ${ac_cv_search_clock_gettime+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 ac_func_search_save_LIBS=$LIBS
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 char clock_gettime ();
15768 main ()
15770 return clock_gettime ();
15772 return 0;
15774 _ACEOF
15775 for ac_lib in '' rt; do
15776 if test -z "$ac_lib"; then
15777 ac_res="none required"
15778 else
15779 ac_res=-l$ac_lib
15780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 ac_cv_search_clock_gettime=$ac_res
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext
15787 if ${ac_cv_search_clock_gettime+:} false; then :
15788 break
15790 done
15791 if ${ac_cv_search_clock_gettime+:} false; then :
15793 else
15794 ac_cv_search_clock_gettime=no
15796 rm conftest.$ac_ext
15797 LIBS=$ac_func_search_save_LIBS
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15800 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15801 ac_res=$ac_cv_search_clock_gettime
15802 if test "$ac_res" != no; then :
15803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15805 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15807 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15811 LIBS=$ac_save_LIBS
15813 LDAP_LIBS=""
15815 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15816 then
15817 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15819 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15821 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15822 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15823 $as_echo_n "(cached) " >&6
15824 else
15825 ac_check_lib_save_LIBS=$LIBS
15826 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15830 /* Override any GCC internal prototype to avoid an error.
15831 Use char because int might match the return type of a GCC
15832 builtin and then its argument prototype would still apply. */
15833 #ifdef __cplusplus
15834 extern "C"
15835 #endif
15836 char ldap_initialize ();
15838 main ()
15840 return ldap_initialize ();
15842 return 0;
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 ac_cv_lib_ldap_r_ldap_initialize=yes
15847 else
15848 ac_cv_lib_ldap_r_ldap_initialize=no
15850 rm -f core conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15852 LIBS=$ac_check_lib_save_LIBS
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15855 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15856 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15858 $as_echo_n "checking for ber_init in -llber... " >&6; }
15859 if ${ac_cv_lib_lber_ber_init+:} false; then :
15860 $as_echo_n "(cached) " >&6
15861 else
15862 ac_check_lib_save_LIBS=$LIBS
15863 LIBS="-llber $PTHREAD_LIBS $LIBS"
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15867 /* Override any GCC internal prototype to avoid an error.
15868 Use char because int might match the return type of a GCC
15869 builtin and then its argument prototype would still apply. */
15870 #ifdef __cplusplus
15871 extern "C"
15872 #endif
15873 char ber_init ();
15875 main ()
15877 return ber_init ();
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_link "$LINENO"; then :
15883 ac_cv_lib_lber_ber_init=yes
15884 else
15885 ac_cv_lib_lber_ber_init=no
15887 rm -f core conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15889 LIBS=$ac_check_lib_save_LIBS
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15892 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15893 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15895 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15897 LDAP_LIBS="-lldap_r -llber"
15904 ac_wine_check_funcs_save_LIBS="$LIBS"
15905 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15906 for ac_func in \
15907 ldap_count_references \
15908 ldap_first_reference \
15909 ldap_next_reference \
15910 ldap_parse_reference \
15911 ldap_parse_sort_control \
15912 ldap_parse_sortresponse_control \
15913 ldap_parse_vlv_control \
15914 ldap_parse_vlvresponse_control
15915 do :
15916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15921 _ACEOF
15924 done
15926 LIBS="$ac_wine_check_funcs_save_LIBS"
15928 if test "x$LDAP_LIBS" = "x"; then :
15929 case "x$with_ldap" in
15930 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15931 xno) ;;
15932 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15933 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15934 esac
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15939 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15940 if ${wine_cv_one_arg_mkdir+:} false; then :
15941 $as_echo_n "(cached) " >&6
15942 else
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15945 #include <sys/stat.h>
15947 main ()
15949 mkdir("foo");
15951 return 0;
15953 _ACEOF
15954 if ac_fn_c_try_compile "$LINENO"; then :
15955 wine_cv_one_arg_mkdir=yes
15956 else
15957 wine_cv_one_arg_mkdir=no
15959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15962 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15963 if test "$wine_cv_one_arg_mkdir" = "yes"
15964 then
15966 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15971 $as_echo_n "checking for sched_setaffinity... " >&6; }
15972 if ${wine_cv_have_sched_setaffinity+:} false; then :
15973 $as_echo_n "(cached) " >&6
15974 else
15975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15977 #define _GNU_SOURCE
15978 #include <sched.h>
15980 main ()
15982 sched_setaffinity(0, 0, 0);
15984 return 0;
15986 _ACEOF
15987 if ac_fn_c_try_link "$LINENO"; then :
15988 wine_cv_have_sched_setaffinity=yes
15989 else
15990 wine_cv_have_sched_setaffinity=no
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext conftest.$ac_ext
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15996 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15997 if test "$wine_cv_have_sched_setaffinity" = "yes"
15998 then
16000 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16005 $as_echo_n "checking for fallocate... " >&6; }
16006 if ${wine_cv_have_fallocate+:} false; then :
16007 $as_echo_n "(cached) " >&6
16008 else
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16011 #define _GNU_SOURCE
16012 #include <fcntl.h>
16014 main ()
16016 fallocate(-1, 0, 0, 0);
16018 return 0;
16020 _ACEOF
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 wine_cv_have_fallocate=yes
16023 else
16024 wine_cv_have_fallocate=no
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext conftest.$ac_ext
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16030 $as_echo "$wine_cv_have_fallocate" >&6; }
16031 if test "$wine_cv_have_fallocate" = "yes"
16032 then
16034 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16040 $as_echo_n "checking for inline... " >&6; }
16041 if ${ac_cv_c_inline+:} false; then :
16042 $as_echo_n "(cached) " >&6
16043 else
16044 ac_cv_c_inline=no
16045 for ac_kw in inline __inline__ __inline; do
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16048 #ifndef __cplusplus
16049 typedef int foo_t;
16050 static $ac_kw foo_t static_foo () {return 0; }
16051 $ac_kw foo_t foo () {return 0; }
16052 #endif
16054 _ACEOF
16055 if ac_fn_c_try_compile "$LINENO"; then :
16056 ac_cv_c_inline=$ac_kw
16058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16059 test "$ac_cv_c_inline" != no && break
16060 done
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16064 $as_echo "$ac_cv_c_inline" >&6; }
16066 case $ac_cv_c_inline in
16067 inline | yes) ;;
16069 case $ac_cv_c_inline in
16070 no) ac_val=;;
16071 *) ac_val=$ac_cv_c_inline;;
16072 esac
16073 cat >>confdefs.h <<_ACEOF
16074 #ifndef __cplusplus
16075 #define inline $ac_val
16076 #endif
16077 _ACEOF
16079 esac
16081 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16082 if test "x$ac_cv_type_mode_t" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_MODE_T 1
16086 _ACEOF
16090 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16091 if test "x$ac_cv_type_off_t" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_OFF_T 1
16095 _ACEOF
16099 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16100 if test "x$ac_cv_type_pid_t" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_PID_T 1
16104 _ACEOF
16108 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16109 if test "x$ac_cv_type_size_t" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_SIZE_T 1
16113 _ACEOF
16117 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16118 if test "x$ac_cv_type_ssize_t" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_SSIZE_T 1
16122 _ACEOF
16126 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16127 if test "x$ac_cv_type_long_long" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_LONG_LONG 1
16131 _ACEOF
16135 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16136 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_FSBLKCNT_T 1
16140 _ACEOF
16144 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16145 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_FSFILCNT_T 1
16149 _ACEOF
16154 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16155 #include <signal.h>
16157 if test "x$ac_cv_type_sigset_t" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_SIGSET_T 1
16161 _ACEOF
16166 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16168 if test "x$ac_cv_type_request_sense" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_REQUEST_SENSE 1
16172 _ACEOF
16178 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_SOCKET_H
16180 #include <sys/socket.h>
16181 #endif
16182 #ifdef HAVE_SYS_SOCKETVAR_H
16183 #include <sys/socketvar.h>
16184 #endif
16185 #ifdef HAVE_NET_ROUTE_H
16186 #include <net/route.h>
16187 #endif
16188 #ifdef HAVE_NETINET_IN_H
16189 #include <netinet/in.h>
16190 #endif
16191 #ifdef HAVE_NETINET_IN_SYSTM_H
16192 #include <netinet/in_systm.h>
16193 #endif
16194 #ifdef HAVE_NETINET_IP_H
16195 #include <netinet/ip.h>
16196 #endif
16197 #ifdef HAVE_NETINET_IN_PCB_H
16198 #include <netinet/in_pcb.h>
16199 #endif
16201 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_STRUCT_XINPGEN 1
16205 _ACEOF
16211 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16212 #include <link.h>
16213 #endif
16214 #ifdef HAVE_SYS_LINK_H
16215 #include <sys/link.h>
16216 #endif
16218 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_STRUCT_R_DEBUG 1
16222 _ACEOF
16226 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16227 #include <link.h>
16228 #endif
16229 #ifdef HAVE_SYS_LINK_H
16230 #include <sys/link.h>
16231 #endif
16233 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16235 cat >>confdefs.h <<_ACEOF
16236 #define HAVE_STRUCT_LINK_MAP 1
16237 _ACEOF
16243 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16244 #include <linux/input.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16251 _ACEOF
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16258 $as_echo_n "checking for if_nameindex... " >&6; }
16259 if ${wine_cv_have_if_nameindex+:} false; then :
16260 $as_echo_n "(cached) " >&6
16261 else
16262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16264 #ifdef HAVE_SYS_TYPES_H
16265 #include <sys/types.h>
16266 #endif
16267 #ifdef HAVE_NET_IF_H
16268 # include <net/if.h>
16269 #endif
16271 main ()
16273 struct if_nameindex *p = if_nameindex(); return p->if_index;
16275 return 0;
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"; then :
16279 wine_cv_have_if_nameindex=yes
16280 else
16281 wine_cv_have_if_nameindex=no
16283 rm -f core conftest.err conftest.$ac_objext \
16284 conftest$ac_exeext conftest.$ac_ext
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16287 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16288 if test "$wine_cv_have_if_nameindex" = "yes"
16289 then
16291 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16296 $as_echo_n "checking for sigaddset... " >&6; }
16297 if ${wine_cv_have_sigaddset+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #include <signal.h>
16304 main ()
16306 sigset_t set; sigaddset(&set,SIGTERM);
16308 return 0;
16310 _ACEOF
16311 if ac_fn_c_try_link "$LINENO"; then :
16312 wine_cv_have_sigaddset=yes
16313 else
16314 wine_cv_have_sigaddset=no
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext conftest.$ac_ext
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16320 $as_echo "$wine_cv_have_sigaddset" >&6; }
16321 if test "$wine_cv_have_sigaddset" = "yes"
16322 then
16324 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16330 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16331 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16336 #include <netdb.h>
16338 main ()
16341 char *name=0;
16342 struct hostent he;
16343 struct hostent *result;
16344 char *buf=0;
16345 int bufsize=0;
16346 int errnr;
16347 char *addr=0;
16348 int addrlen=0;
16349 int addrtype=0;
16350 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16351 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 wine_cv_linux_gethostbyname_r_6=yes
16359 else
16360 wine_cv_linux_gethostbyname_r_6=no
16363 rm -f core conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16368 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16369 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16370 then
16372 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16376 if test "$ac_cv_header_linux_joystick_h" = "yes"
16377 then
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16379 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16380 if ${wine_cv_linux_joystick_22_api+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 #include <sys/ioctl.h>
16387 #include <sys/types.h>
16388 #include <linux/joystick.h>
16390 struct js_event blub;
16391 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16392 #error "no 2.2 header"
16393 #endif
16396 main ()
16398 /*empty*/
16400 return 0;
16402 _ACEOF
16403 if ac_fn_c_try_compile "$LINENO"; then :
16404 wine_cv_linux_joystick_22_api=yes
16405 else
16406 wine_cv_linux_joystick_22_api=no
16408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16412 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16413 if test "$wine_cv_linux_joystick_22_api" = "yes"
16414 then
16416 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16422 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_PARAM_H
16424 # include <sys/param.h>
16425 #endif
16426 #ifdef HAVE_SYS_MOUNT_H
16427 # include <sys/mount.h>
16428 #endif
16429 #ifdef HAVE_SYS_VFS_H
16430 # include <sys/vfs.h>
16431 #endif
16432 #ifdef HAVE_SYS_STATFS_H
16433 # include <sys/statfs.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_STATFS_F_BFREE 1
16440 _ACEOF
16444 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16445 #ifdef HAVE_SYS_PARAM_H
16446 # include <sys/param.h>
16447 #endif
16448 #ifdef HAVE_SYS_MOUNT_H
16449 # include <sys/mount.h>
16450 #endif
16451 #ifdef HAVE_SYS_VFS_H
16452 # include <sys/vfs.h>
16453 #endif
16454 #ifdef HAVE_SYS_STATFS_H
16455 # include <sys/statfs.h>
16456 #endif
16458 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16462 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16467 #ifdef HAVE_SYS_PARAM_H
16468 # include <sys/param.h>
16469 #endif
16470 #ifdef HAVE_SYS_MOUNT_H
16471 # include <sys/mount.h>
16472 #endif
16473 #ifdef HAVE_SYS_VFS_H
16474 # include <sys/vfs.h>
16475 #endif
16476 #ifdef HAVE_SYS_STATFS_H
16477 # include <sys/statfs.h>
16478 #endif
16480 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16484 _ACEOF
16488 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16489 #ifdef HAVE_SYS_PARAM_H
16490 # include <sys/param.h>
16491 #endif
16492 #ifdef HAVE_SYS_MOUNT_H
16493 # include <sys/mount.h>
16494 #endif
16495 #ifdef HAVE_SYS_VFS_H
16496 # include <sys/vfs.h>
16497 #endif
16498 #ifdef HAVE_SYS_STATFS_H
16499 # include <sys/statfs.h>
16500 #endif
16502 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_STATFS_F_FFREE 1
16506 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16511 #ifdef HAVE_SYS_PARAM_H
16512 # include <sys/param.h>
16513 #endif
16514 #ifdef HAVE_SYS_MOUNT_H
16515 # include <sys/mount.h>
16516 #endif
16517 #ifdef HAVE_SYS_VFS_H
16518 # include <sys/vfs.h>
16519 #endif
16520 #ifdef HAVE_SYS_STATFS_H
16521 # include <sys/statfs.h>
16522 #endif
16524 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16528 _ACEOF
16532 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16533 #ifdef HAVE_SYS_PARAM_H
16534 # include <sys/param.h>
16535 #endif
16536 #ifdef HAVE_SYS_MOUNT_H
16537 # include <sys/mount.h>
16538 #endif
16539 #ifdef HAVE_SYS_VFS_H
16540 # include <sys/vfs.h>
16541 #endif
16542 #ifdef HAVE_SYS_STATFS_H
16543 # include <sys/statfs.h>
16544 #endif
16546 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16550 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16557 #include <sys/statvfs.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16571 #include <dirent.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16578 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16585 #ifdef HAVE_SYS_SOCKET_H
16586 # include <sys/socket.h>
16587 #endif
16588 #ifdef HAVE_SYS_UN_H
16589 # include <sys/un.h>
16590 #endif
16592 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16596 _ACEOF
16600 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16601 #ifdef HAVE_SYS_SOCKET_H
16602 # include <sys/socket.h>
16603 #endif
16604 #ifdef HAVE_SYS_UN_H
16605 # include <sys/un.h>
16606 #endif
16608 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16617 #ifdef HAVE_SYS_SOCKET_H
16618 # include <sys/socket.h>
16619 #endif
16620 #ifdef HAVE_SYS_UN_H
16621 # include <sys/un.h>
16622 #endif
16624 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16628 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16635 #ifdef HAVE_SCSI_SG_H
16636 #include <scsi/sg.h>
16637 #endif
16639 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_SCSIREQ_T_CMD 1
16643 _ACEOF
16647 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>
16648 #ifdef HAVE_SCSI_SG_H
16649 #include <scsi/sg.h>
16650 #endif
16652 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16656 _ACEOF
16662 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16664 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_SIGINFO_T_SI_FD 1
16668 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16675 #ifdef HAVE_SYS_MTIO_H
16676 #include <sys/mtio.h>
16677 #endif
16679 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16683 _ACEOF
16687 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16688 #ifdef HAVE_SYS_MTIO_H
16689 #include <sys/mtio.h>
16690 #endif
16692 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16696 _ACEOF
16700 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16701 #ifdef HAVE_SYS_MTIO_H
16702 #include <sys/mtio.h>
16703 #endif
16705 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16709 _ACEOF
16715 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16716 #include <getopt.h>
16717 #endif
16719 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT_OPTION_NAME 1
16723 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16730 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16734 _ACEOF
16738 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16739 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_STAT_ST_MTIM 1
16743 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16748 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16752 _ACEOF
16756 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16757 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_STRUCT_STAT_ST_CTIM 1
16761 _ACEOF
16765 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16766 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16770 _ACEOF
16774 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16775 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_STRUCT_STAT_ST_ATIM 1
16779 _ACEOF
16783 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16784 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16788 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16793 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16797 _ACEOF
16801 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16802 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16804 cat >>confdefs.h <<_ACEOF
16805 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16806 _ACEOF
16810 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16811 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16813 cat >>confdefs.h <<_ACEOF
16814 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16815 _ACEOF
16819 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16820 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16824 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16829 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16833 _ACEOF
16839 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
16840 #include <sys/types.h>
16841 #endif
16842 #ifdef HAVE_NETINET_IN_H
16843 #include <netinet/in.h>
16844 #endif
16846 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16850 _ACEOF
16856 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16857 #include <sys/types.h>
16858 #endif
16859 #ifdef HAVE_NETINET_IN_H
16860 #include <netinet/in.h>
16861 #endif
16862 #ifdef HAVE_RESOLV_H
16863 #include <resolv.h>
16864 #endif
16866 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT___RES_STATE 1
16870 _ACEOF
16876 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
16877 #include <resolv.h>
16878 #endif
16880 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16884 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16891 #include <sys/types.h>
16892 #endif
16893 #ifdef HAVE_NETINET_IN_H
16894 # include <netinet/in.h>
16895 #endif
16896 #ifdef HAVE_ARPA_NAMESER_H
16897 # include <arpa/nameser.h>
16898 #endif
16900 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_NS_MSG__MSG_PTR 1
16904 _ACEOF
16910 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16911 #include <sys/types.h>
16912 #endif
16913 #ifdef HAVE_NETINET_IN_H
16914 #include <netinet/in.h>
16915 #endif
16916 #ifdef HAVE_NETINET_IP_H
16917 #include <netinet/ip.h>
16918 #endif
16919 #ifdef HAVE_NETINET_IP_ICMP_H
16920 #include <netinet/ip_icmp.h>
16921 #endif
16922 #ifdef HAVE_NETINET_ICMP_VAR_H
16923 #include <netinet/icmp_var.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16930 _ACEOF
16936 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16937 #include <sys/types.h>
16938 #endif
16939 #ifdef HAVE_ALIAS_H
16940 #include <alias.h>
16941 #endif
16942 #ifdef HAVE_SYS_SOCKET_H
16943 #include <sys/socket.h>
16944 #endif
16945 #ifdef HAVE_SYS_SOCKETVAR_H
16946 #include <sys/socketvar.h>
16947 #endif
16948 #ifdef HAVE_SYS_TIMEOUT_H
16949 #include <sys/timeout.h>
16950 #endif
16951 #ifdef HAVE_NETINET_IN_H
16952 #include <netinet/in.h>
16953 #endif
16954 #ifdef HAVE_NETINET_IN_SYSTM_H
16955 #include <netinet/in_systm.h>
16956 #endif
16957 #ifdef HAVE_NETINET_IP_H
16958 #include <netinet/ip.h>
16959 #endif
16960 #ifdef HAVE_NETINET_IP_VAR_H
16961 #include <netinet/ip_var.h>
16962 #endif
16963 #ifdef HAVE_NETINET_IP_ICMP_H
16964 #include <netinet/ip_icmp.h>
16965 #endif
16966 #ifdef HAVE_NETINET_ICMP_VAR_H
16967 #include <netinet/icmp_var.h>
16968 #endif
16970 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16974 _ACEOF
16980 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16981 #include <sys/types.h>
16982 #endif
16983 #ifdef HAVE_SYS_SOCKETVAR_H
16984 #include <sys/socketvar.h>
16985 #endif
16986 #ifdef HAVE_NETINET_IN_H
16987 #include <netinet/in.h>
16988 #endif
16989 #ifdef HAVE_NETINET_IP_VAR_H
16990 #include <netinet/ip_var.h>
16991 #endif
16993 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16995 cat >>confdefs.h <<_ACEOF
16996 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16997 _ACEOF
17003 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
17004 #include <netinet/ip_var.h>
17005 #endif
17007 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17011 _ACEOF
17017 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17018 #include <sys/types.h>
17019 #endif
17020 #ifdef HAVE_SYS_SOCKETVAR_H
17021 #include <sys/socketvar.h>
17022 #endif
17023 #ifdef HAVE_NETINET_IN_H
17024 #include <netinet/in.h>
17025 #endif
17026 #ifdef HAVE_NETINET_TCP_H
17027 #include <netinet/tcp.h>
17028 #endif
17029 #ifdef HAVE_NETINET_TCP_VAR_H
17030 #include <netinet/tcp_var.h>
17031 #endif
17033 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17035 cat >>confdefs.h <<_ACEOF
17036 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17037 _ACEOF
17043 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
17044 #include <netinet/tcp_var.h>
17045 #endif
17047 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17051 _ACEOF
17057 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17058 #include <sys/types.h>
17059 #endif
17060 #ifdef HAVE_NETINET_IN_H
17061 #include <netinet/in.h>
17062 #endif
17063 #ifdef HAVE_NETINET_IP_VAR_H
17064 #include <netinet/ip_var.h>
17065 #endif
17066 #ifdef HAVE_NETINET_UDP_H
17067 #include <netinet/udp.h>
17068 #endif
17069 #ifdef HAVE_NETINET_UDP_VAR_H
17070 #include <netinet/udp_var.h>
17071 #endif
17073 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17084 #include <sys/types.h>
17085 #endif
17086 #ifdef HAVE_NET_IF_H
17087 # include <net/if.h>
17088 #endif
17090 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17092 cat >>confdefs.h <<_ACEOF
17093 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17094 _ACEOF
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17101 $as_echo_n "checking for timezone variable... " >&6; }
17102 if ${ac_cv_have_timezone+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <time.h>
17109 main ()
17111 timezone = 1
17113 return 0;
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_have_timezone="yes"
17118 else
17119 ac_cv_have_timezone="no"
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17125 $as_echo "$ac_cv_have_timezone" >&6; }
17126 if test "$ac_cv_have_timezone" = "yes"
17127 then
17129 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17133 $as_echo_n "checking for daylight variable... " >&6; }
17134 if ${ac_cv_have_daylight+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 #include <time.h>
17141 main ()
17143 daylight = 1
17145 return 0;
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"; then :
17149 ac_cv_have_daylight="yes"
17150 else
17151 ac_cv_have_daylight="no"
17153 rm -f core conftest.err conftest.$ac_objext \
17154 conftest$ac_exeext conftest.$ac_ext
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17157 $as_echo "$ac_cv_have_daylight" >&6; }
17158 if test "$ac_cv_have_daylight" = "yes"
17159 then
17161 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17165 ac_save_LIBS="$LIBS"
17166 LIBS="$LIBS -lm"
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17168 $as_echo_n "checking for isfinite... " >&6; }
17169 if ${ac_cv_have_isfinite+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #define _GNU_SOURCE
17175 #include <math.h>
17177 main ()
17179 float f = 0.0; return isfinite(f)
17181 return 0;
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_have_isfinite="yes"
17186 else
17187 ac_cv_have_isfinite="no"
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17193 $as_echo "$ac_cv_have_isfinite" >&6; }
17194 if test "$ac_cv_have_isfinite" = "yes"
17195 then
17197 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17202 $as_echo_n "checking for isinf... " >&6; }
17203 if ${ac_cv_have_isinf+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 #include <math.h>
17210 main ()
17212 float f = 0.0; return isinf(f)
17214 return 0;
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_have_isinf="yes"
17219 else
17220 ac_cv_have_isinf="no"
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17226 $as_echo "$ac_cv_have_isinf" >&6; }
17227 if test "$ac_cv_have_isinf" = "yes"
17228 then
17230 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17235 $as_echo_n "checking for isnan... " >&6; }
17236 if ${ac_cv_have_isnan+:} false; then :
17237 $as_echo_n "(cached) " >&6
17238 else
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 #include <math.h>
17243 main ()
17245 float f = 0.0; return isnan(f)
17247 return 0;
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_have_isnan="yes"
17252 else
17253 ac_cv_have_isnan="no"
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17259 $as_echo "$ac_cv_have_isnan" >&6; }
17260 if test "$ac_cv_have_isnan" = "yes"
17261 then
17263 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17267 for ac_func in \
17268 asinh \
17269 asinhf \
17270 cbrt \
17271 cbrtf \
17272 erf \
17273 erff \
17274 exp2 \
17275 exp2f \
17276 lgamma \
17277 lgammaf \
17278 llrint \
17279 llrintf \
17280 llround \
17281 llroundf \
17282 log2 \
17283 log2f \
17284 lrint \
17285 lrintf \
17286 lround \
17287 lroundf \
17288 nearbyint \
17289 nearbyintf \
17290 powl \
17291 remainder \
17292 remainderf \
17293 rint \
17294 rintf \
17295 round \
17296 roundf \
17297 trunc \
17298 truncf
17300 do :
17301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17304 cat >>confdefs.h <<_ACEOF
17305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17306 _ACEOF
17309 done
17311 LIBS="$ac_save_LIBS"
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17314 $as_echo_n "checking for __builtin_clz... " >&6; }
17315 if ${ac_cv_have___builtin_clz+:} false; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17322 main ()
17324 return __builtin_clz(1)
17326 return 0;
17328 _ACEOF
17329 if ac_fn_c_try_link "$LINENO"; then :
17330 ac_cv_have___builtin_clz="yes"
17331 else
17332 ac_cv_have___builtin_clz="no"
17334 rm -f core conftest.err conftest.$ac_objext \
17335 conftest$ac_exeext conftest.$ac_ext
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17338 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17339 if test "$ac_cv_have___builtin_clz" = "yes"
17340 then
17342 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17347 $as_echo_n "checking for __builtin_popcount... " >&6; }
17348 if ${ac_cv_have___builtin_popcount+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17355 main ()
17357 return __builtin_popcount(1)
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 ac_cv_have___builtin_popcount="yes"
17364 else
17365 ac_cv_have___builtin_popcount="no"
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17371 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17372 if test "$ac_cv_have___builtin_popcount" = "yes"
17373 then
17375 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17380 case $host_cpu in
17381 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17382 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17383 if ${ac_cv_cpp_def___i386__+:} false; then :
17384 $as_echo_n "(cached) " >&6
17385 else
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #ifndef __i386__
17390 #endif
17391 _ACEOF
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "yes" >/dev/null 2>&1; then :
17394 ac_cv_cpp_def___i386__=yes
17395 else
17396 ac_cv_cpp_def___i386__=no
17398 rm -f conftest*
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17402 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17403 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17404 CFLAGS="$CFLAGS -D__i386__"
17405 LINTFLAGS="$LINTFLAGS -D__i386__"
17406 fi ;;
17407 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17408 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17409 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #ifndef __x86_64__
17416 #endif
17417 _ACEOF
17418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17419 $EGREP "yes" >/dev/null 2>&1; then :
17420 ac_cv_cpp_def___x86_64__=yes
17421 else
17422 ac_cv_cpp_def___x86_64__=no
17424 rm -f conftest*
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17428 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17429 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17430 CFLAGS="$CFLAGS -D__x86_64__"
17431 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17432 fi ;;
17433 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17434 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17435 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #ifndef __sparc64__
17442 #endif
17443 _ACEOF
17444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17445 $EGREP "yes" >/dev/null 2>&1; then :
17446 ac_cv_cpp_def___sparc64__=yes
17447 else
17448 ac_cv_cpp_def___sparc64__=no
17450 rm -f conftest*
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17454 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17455 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17456 CFLAGS="$CFLAGS -D__sparc64__"
17457 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17458 fi ;;
17459 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17460 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17461 if ${ac_cv_cpp_def___sparc__+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #ifndef __sparc__
17468 #endif
17469 _ACEOF
17470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17471 $EGREP "yes" >/dev/null 2>&1; then :
17472 ac_cv_cpp_def___sparc__=yes
17473 else
17474 ac_cv_cpp_def___sparc__=no
17476 rm -f conftest*
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17480 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17481 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17482 CFLAGS="$CFLAGS -D__sparc__"
17483 LINTFLAGS="$LINTFLAGS -D__sparc__"
17484 fi ;;
17485 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17486 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17487 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 #ifndef __powerpc64__
17494 #endif
17495 _ACEOF
17496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17497 $EGREP "yes" >/dev/null 2>&1; then :
17498 ac_cv_cpp_def___powerpc64__=yes
17499 else
17500 ac_cv_cpp_def___powerpc64__=no
17502 rm -f conftest*
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17506 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17507 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17508 CFLAGS="$CFLAGS -D__powerpc64__"
17509 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17510 fi ;;
17511 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17512 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17513 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #ifndef __powerpc__
17520 #endif
17521 _ACEOF
17522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17523 $EGREP "yes" >/dev/null 2>&1; then :
17524 ac_cv_cpp_def___powerpc__=yes
17525 else
17526 ac_cv_cpp_def___powerpc__=no
17528 rm -f conftest*
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17532 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17533 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17534 CFLAGS="$CFLAGS -D__powerpc__"
17535 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17536 fi ;;
17537 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17538 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17539 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #ifndef __aarch64__
17546 #endif
17547 _ACEOF
17548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17549 $EGREP "yes" >/dev/null 2>&1; then :
17550 ac_cv_cpp_def___aarch64__=yes
17551 else
17552 ac_cv_cpp_def___aarch64__=no
17554 rm -f conftest*
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17558 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17559 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17560 CFLAGS="$CFLAGS -D__aarch64__"
17561 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17562 fi ;;
17563 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17564 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17565 if ${ac_cv_cpp_def___arm__+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #ifndef __arm__
17572 #endif
17573 _ACEOF
17574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17575 $EGREP "yes" >/dev/null 2>&1; then :
17576 ac_cv_cpp_def___arm__=yes
17577 else
17578 ac_cv_cpp_def___arm__=no
17580 rm -f conftest*
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17584 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17585 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17586 CFLAGS="$CFLAGS -D__arm__"
17587 LINTFLAGS="$LINTFLAGS -D__arm__"
17588 fi ;;
17589 esac
17591 case $host_vendor in
17592 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17593 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17594 if ${ac_cv_cpp_def___sun__+:} false; then :
17595 $as_echo_n "(cached) " >&6
17596 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #ifndef __sun__
17601 #endif
17602 _ACEOF
17603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17604 $EGREP "yes" >/dev/null 2>&1; then :
17605 ac_cv_cpp_def___sun__=yes
17606 else
17607 ac_cv_cpp_def___sun__=no
17609 rm -f conftest*
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17613 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17614 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17615 CFLAGS="$CFLAGS -D__sun__"
17616 LINTFLAGS="$LINTFLAGS -D__sun__"
17617 fi ;;
17618 esac
17624 ac_config_commands="$ac_config_commands include/stamp-h"
17626 $as_echo_n "creating Makefile rules..." >&6
17628 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17629 SOCKET_LIBS = $SOCKET_LIBS
17630 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17631 IOKIT_LIBS = $IOKIT_LIBS
17632 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17633 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17634 CORESERVICES_LIBS = $CORESERVICES_LIBS
17635 APPKIT_LIBS = $APPKIT_LIBS
17636 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17637 SECURITY_LIBS = $SECURITY_LIBS
17638 COREAUDIO_LIBS = $COREAUDIO_LIBS
17639 OPENAL_LIBS = $OPENAL_LIBS
17640 OPENCL_LIBS = $OPENCL_LIBS
17641 QUICKTIME_LIBS = $QUICKTIME_LIBS
17642 CARBON_LIBS = $CARBON_LIBS
17643 PTHREAD_LIBS = $PTHREAD_LIBS
17644 X_CFLAGS = $X_CFLAGS
17645 X_PRE_LIBS = $X_PRE_LIBS
17646 X_LIBS = $X_LIBS
17647 X_EXTRA_LIBS = $X_EXTRA_LIBS
17648 PCAP_LIBS = $PCAP_LIBS
17649 XML2_CFLAGS = $XML2_CFLAGS
17650 XML2_LIBS = $XML2_LIBS
17651 XSLT_CFLAGS = $XSLT_CFLAGS
17652 XSLT_LIBS = $XSLT_LIBS
17653 DBUS_CFLAGS = $DBUS_CFLAGS
17654 DBUS_LIBS = $DBUS_LIBS
17655 HAL_CFLAGS = $HAL_CFLAGS
17656 HAL_LIBS = $HAL_LIBS
17657 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17658 GNUTLS_LIBS = $GNUTLS_LIBS
17659 SANE_CFLAGS = $SANE_CFLAGS
17660 SANE_LIBS = $SANE_LIBS
17661 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17662 GPHOTO2_LIBS = $GPHOTO2_LIBS
17663 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17664 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17665 RESOLV_LIBS = $RESOLV_LIBS
17666 LCMS2_CFLAGS = $LCMS2_CFLAGS
17667 LCMS2_LIBS = $LCMS2_LIBS
17668 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17669 FREETYPE_LIBS = $FREETYPE_LIBS
17670 Z_LIBS = $Z_LIBS
17671 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17672 PULSE_CFLAGS = $PULSE_CFLAGS
17673 PULSE_LIBS = $PULSE_LIBS
17674 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17675 GSTREAMER_LIBS = $GSTREAMER_LIBS
17676 ALSA_LIBS = $ALSA_LIBS
17677 OSS4_CFLAGS = $OSS4_CFLAGS
17678 UDEV_CFLAGS = $UDEV_CFLAGS
17679 UDEV_LIBS = $UDEV_LIBS
17680 CAPI20_CFLAGS = $CAPI20_CFLAGS
17681 CAPI20_LIBS = $CAPI20_LIBS
17682 CUPS_CFLAGS = $CUPS_CFLAGS
17683 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17684 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17685 JPEG_CFLAGS = $JPEG_CFLAGS
17686 JPEG_LIBS = $JPEG_LIBS
17687 PNG_CFLAGS = $PNG_CFLAGS
17688 PNG_LIBS = $PNG_LIBS
17689 TIFF_CFLAGS = $TIFF_CFLAGS
17690 TIFF_LIBS = $TIFF_LIBS
17691 MPG123_CFLAGS = $MPG123_CFLAGS
17692 MPG123_LIBS = $MPG123_LIBS
17693 KSTAT_LIBS = $KSTAT_LIBS
17694 PROCSTAT_LIBS = $PROCSTAT_LIBS
17695 NETAPI_CFLAGS = $NETAPI_CFLAGS
17696 NETAPI_LIBS = $NETAPI_LIBS
17697 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17698 DL_LIBS = $DL_LIBS
17699 POLL_LIBS = $POLL_LIBS
17700 RT_LIBS = $RT_LIBS
17701 LDAP_LIBS = $LDAP_LIBS
17706 wine_fn_append_rule "
17707 # Rules automatically generated by configure
17709 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17711 .INIT: Makefile
17712 .MAKEFILEDEPS:
17713 all: Makefile
17714 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17715 @./config.status Make.tmp Makefile
17716 depend: \$(MAKEDEP) dummy
17717 \$(MAKEDEP)"
17719 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17720 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17722 if test "x$enable_fonts" != xno; then
17723 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17724 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17725 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17726 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17727 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17728 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17730 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17731 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17732 ac_config_links="$ac_config_links wine:tools/winewrapper"
17733 wine_fn_config_symlink wine
17734 if test "x$enable_win64" != xno; then
17735 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17736 wine_fn_config_symlink wine64
17739 wine_fn_config_dll acledit enable_acledit
17740 wine_fn_config_dll aclui enable_aclui implib
17741 wine_fn_config_dll activeds enable_activeds implib
17742 wine_fn_config_dll actxprxy enable_actxprxy clean
17743 wine_fn_config_lib adsiid
17744 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17745 wine_fn_config_test dlls/advapi32/tests advapi32_test
17746 wine_fn_config_dll advpack enable_advpack implib
17747 wine_fn_config_test dlls/advpack/tests advpack_test
17748 wine_fn_config_dll amstream enable_amstream clean
17749 wine_fn_config_test dlls/amstream/tests amstream_test
17750 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17751 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17752 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17753 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17754 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17755 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17756 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17757 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17758 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17759 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17760 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17761 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17762 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17763 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17764 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17765 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17766 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17767 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17768 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17769 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17770 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17771 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17772 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17773 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17774 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17775 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17776 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17777 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17778 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17779 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17780 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17781 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17782 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17783 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17784 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17785 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17786 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17787 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17788 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17789 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17790 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17791 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17792 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17793 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17794 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17795 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17796 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17797 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17798 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17799 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17800 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17801 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17802 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17803 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17804 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17805 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17806 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17807 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17808 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17809 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17810 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17811 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17812 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17813 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17814 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17815 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17816 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17817 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17818 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17819 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17820 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17821 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17822 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17823 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17824 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17825 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17826 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17827 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17828 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17829 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17830 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17831 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17832 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17833 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17834 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17835 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17836 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17837 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17838 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17839 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17840 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17841 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17842 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17843 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17844 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17845 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17846 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17847 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17848 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17849 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17850 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17851 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17852 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17853 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17854 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17855 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17856 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17857 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17858 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17859 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17860 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17861 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17862 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17863 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17864 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17865 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17866 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17867 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17868 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17869 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17870 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17871 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17872 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17873 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17874 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17875 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17876 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17877 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17878 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17879 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17880 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17881 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17882 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17883 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17884 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17885 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17886 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17887 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17888 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17889 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17890 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17891 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17892 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17893 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17894 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17895 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17896 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17897 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17898 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17899 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17900 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17901 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17902 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17903 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17904 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17905 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17906 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17907 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17908 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17909 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17910 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17911 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17912 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17913 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17914 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17915 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17916 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17917 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17918 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17919 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17920 wine_fn_config_dll apphelp enable_apphelp
17921 wine_fn_config_test dlls/apphelp/tests apphelp_test
17922 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17923 wine_fn_config_dll atl enable_atl clean,implib
17924 wine_fn_config_test dlls/atl/tests atl_test
17925 wine_fn_config_dll atl100 enable_atl100 clean,implib
17926 wine_fn_config_test dlls/atl100/tests atl100_test
17927 wine_fn_config_dll atl110 enable_atl110 clean
17928 wine_fn_config_dll atl80 enable_atl80 clean,implib
17929 wine_fn_config_test dlls/atl80/tests atl80_test
17930 wine_fn_config_dll atl90 enable_atl90 clean
17931 wine_fn_config_dll authz enable_authz
17932 wine_fn_config_dll avicap32 enable_avicap32 implib
17933 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17934 wine_fn_config_test dlls/avifil32/tests avifil32_test
17935 wine_fn_config_dll avifile.dll16 enable_win16
17936 wine_fn_config_dll avrt enable_avrt implib
17937 wine_fn_config_dll bcrypt enable_bcrypt implib
17938 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17939 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17940 wine_fn_config_dll browseui enable_browseui clean
17941 wine_fn_config_test dlls/browseui/tests browseui_test
17942 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17943 wine_fn_config_dll cabinet enable_cabinet implib
17944 wine_fn_config_test dlls/cabinet/tests cabinet_test
17945 wine_fn_config_dll capi2032 enable_capi2032 implib
17946 wine_fn_config_dll cards enable_cards implib
17947 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17948 wine_fn_config_dll clusapi enable_clusapi implib
17949 wine_fn_config_dll combase enable_combase
17950 wine_fn_config_test dlls/combase/tests combase_test
17951 wine_fn_config_dll comcat enable_comcat
17952 wine_fn_config_test dlls/comcat/tests comcat_test
17953 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17954 wine_fn_config_test dlls/comctl32/tests comctl32_test
17955 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17956 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17957 wine_fn_config_dll comm.drv16 enable_win16
17958 wine_fn_config_dll commdlg.dll16 enable_win16
17959 wine_fn_config_dll compobj.dll16 enable_win16
17960 wine_fn_config_dll compstui enable_compstui implib
17961 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17962 wine_fn_config_dll concrt140 enable_concrt140
17963 wine_fn_config_dll connect enable_connect
17964 wine_fn_config_dll credui enable_credui clean,implib
17965 wine_fn_config_test dlls/credui/tests credui_test
17966 wine_fn_config_dll crtdll enable_crtdll
17967 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17968 wine_fn_config_test dlls/crypt32/tests crypt32_test
17969 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17970 wine_fn_config_dll cryptdll enable_cryptdll implib
17971 wine_fn_config_dll cryptext enable_cryptext
17972 wine_fn_config_dll cryptnet enable_cryptnet implib
17973 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17974 wine_fn_config_dll cryptui enable_cryptui clean,implib
17975 wine_fn_config_test dlls/cryptui/tests cryptui_test
17976 wine_fn_config_dll ctapi32 enable_ctapi32
17977 wine_fn_config_dll ctl3d.dll16 enable_win16
17978 wine_fn_config_dll ctl3d32 enable_ctl3d32
17979 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17980 wine_fn_config_dll d2d1 enable_d2d1 implib
17981 wine_fn_config_test dlls/d2d1/tests d2d1_test
17982 wine_fn_config_dll d3d10 enable_d3d10 implib
17983 wine_fn_config_test dlls/d3d10/tests d3d10_test
17984 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17985 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17986 wine_fn_config_dll d3d10core enable_d3d10core implib
17987 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17988 wine_fn_config_dll d3d11 enable_d3d11 implib
17989 wine_fn_config_test dlls/d3d11/tests d3d11_test
17990 wine_fn_config_dll d3d8 enable_d3d8 implib
17991 wine_fn_config_test dlls/d3d8/tests d3d8_test
17992 wine_fn_config_dll d3d9 enable_d3d9 implib
17993 wine_fn_config_test dlls/d3d9/tests d3d9_test
17994 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17995 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17996 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17997 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17998 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17999 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18000 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18001 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18002 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18003 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18004 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18005 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18006 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18007 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18008 wine_fn_config_dll d3dim enable_d3dim
18009 wine_fn_config_dll d3drm enable_d3drm implib
18010 wine_fn_config_test dlls/d3drm/tests d3drm_test
18011 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18012 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18013 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18014 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18015 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18016 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18017 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18018 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18019 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18020 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18021 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18022 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18023 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18024 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18025 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18026 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18027 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18028 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18029 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18030 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18031 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18032 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18033 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18034 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18035 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18036 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18037 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18038 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18039 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18040 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18041 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18042 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18043 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18044 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18045 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18046 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18047 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18048 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18049 wine_fn_config_dll davclnt enable_davclnt
18050 wine_fn_config_dll dbgeng enable_dbgeng implib
18051 wine_fn_config_dll dbghelp enable_dbghelp implib
18052 wine_fn_config_dll dciman32 enable_dciman32 implib
18053 wine_fn_config_dll ddeml.dll16 enable_win16
18054 wine_fn_config_dll ddraw enable_ddraw clean,implib
18055 wine_fn_config_test dlls/ddraw/tests ddraw_test
18056 wine_fn_config_dll ddrawex enable_ddrawex clean
18057 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18058 wine_fn_config_dll devenum enable_devenum clean
18059 wine_fn_config_test dlls/devenum/tests devenum_test
18060 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18061 wine_fn_config_dll difxapi enable_difxapi
18062 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18063 wine_fn_config_test dlls/dinput/tests dinput_test
18064 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18065 wine_fn_config_test dlls/dinput8/tests dinput8_test
18066 wine_fn_config_dll dispdib.dll16 enable_win16
18067 wine_fn_config_dll dispex enable_dispex clean
18068 wine_fn_config_test dlls/dispex/tests dispex_test
18069 wine_fn_config_dll display.drv16 enable_win16
18070 wine_fn_config_dll dmband enable_dmband clean
18071 wine_fn_config_test dlls/dmband/tests dmband_test
18072 wine_fn_config_dll dmcompos enable_dmcompos clean
18073 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18074 wine_fn_config_dll dmime enable_dmime clean
18075 wine_fn_config_test dlls/dmime/tests dmime_test
18076 wine_fn_config_dll dmloader enable_dmloader clean
18077 wine_fn_config_test dlls/dmloader/tests dmloader_test
18078 wine_fn_config_dll dmscript enable_dmscript clean
18079 wine_fn_config_test dlls/dmscript/tests dmscript_test
18080 wine_fn_config_dll dmstyle enable_dmstyle clean
18081 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18082 wine_fn_config_dll dmsynth enable_dmsynth clean
18083 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18084 wine_fn_config_dll dmusic enable_dmusic clean
18085 wine_fn_config_test dlls/dmusic/tests dmusic_test
18086 wine_fn_config_dll dmusic32 enable_dmusic32
18087 wine_fn_config_dll dnsapi enable_dnsapi implib
18088 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18089 wine_fn_config_dll dplay enable_dplay
18090 wine_fn_config_dll dplayx enable_dplayx clean,implib
18091 wine_fn_config_test dlls/dplayx/tests dplayx_test
18092 wine_fn_config_dll dpnaddr enable_dpnaddr
18093 wine_fn_config_dll dpnet enable_dpnet clean,implib
18094 wine_fn_config_test dlls/dpnet/tests dpnet_test
18095 wine_fn_config_dll dpnhpast enable_dpnhpast
18096 wine_fn_config_dll dpnlobby enable_dpnlobby
18097 wine_fn_config_dll dpvoice enable_dpvoice clean
18098 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18099 wine_fn_config_dll dpwsockx enable_dpwsockx
18100 wine_fn_config_dll drmclien enable_drmclien
18101 wine_fn_config_dll dsound enable_dsound clean,implib
18102 wine_fn_config_test dlls/dsound/tests dsound_test
18103 wine_fn_config_dll dssenh enable_dssenh
18104 wine_fn_config_test dlls/dssenh/tests dssenh_test
18105 wine_fn_config_dll dswave enable_dswave clean
18106 wine_fn_config_test dlls/dswave/tests dswave_test
18107 wine_fn_config_dll dwmapi enable_dwmapi implib
18108 wine_fn_config_dll dwrite enable_dwrite implib
18109 wine_fn_config_test dlls/dwrite/tests dwrite_test
18110 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18111 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18112 wine_fn_config_lib dxerr8
18113 wine_fn_config_lib dxerr9
18114 wine_fn_config_dll dxgi enable_dxgi implib
18115 wine_fn_config_test dlls/dxgi/tests dxgi_test
18116 wine_fn_config_lib dxguid
18117 wine_fn_config_dll dxva2 enable_dxva2
18118 wine_fn_config_dll esent enable_esent
18119 wine_fn_config_dll evr enable_evr
18120 wine_fn_config_dll explorerframe enable_explorerframe clean
18121 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18122 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18123 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18124 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18125 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18126 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18127 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18128 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18129 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18130 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18131 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18132 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18133 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18134 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18135 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18136 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18137 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
18138 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18139 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18140 wine_fn_config_dll faultrep enable_faultrep implib
18141 wine_fn_config_test dlls/faultrep/tests faultrep_test
18142 wine_fn_config_dll fltlib enable_fltlib
18143 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18144 wine_fn_config_dll fntcache enable_fntcache
18145 wine_fn_config_dll fontsub enable_fontsub
18146 wine_fn_config_dll fusion enable_fusion
18147 wine_fn_config_test dlls/fusion/tests fusion_test
18148 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18149 wine_fn_config_dll gameux enable_gameux clean
18150 wine_fn_config_test dlls/gameux/tests gameux_test
18151 wine_fn_config_dll gdi.exe16 enable_win16
18152 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18153 wine_fn_config_test dlls/gdi32/tests gdi32_test
18154 wine_fn_config_dll gdiplus enable_gdiplus implib
18155 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18156 wine_fn_config_dll glu32 enable_glu32 implib
18157 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18158 wine_fn_config_dll gpkcsp enable_gpkcsp
18159 wine_fn_config_dll hal enable_hal
18160 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18161 wine_fn_config_dll hid enable_hid implib
18162 wine_fn_config_test dlls/hid/tests hid_test
18163 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18164 wine_fn_config_dll hlink enable_hlink clean,implib
18165 wine_fn_config_test dlls/hlink/tests hlink_test
18166 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18167 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18168 wine_fn_config_dll httpapi enable_httpapi
18169 wine_fn_config_dll iccvid enable_iccvid clean
18170 wine_fn_config_dll icmp enable_icmp
18171 wine_fn_config_dll ieframe enable_ieframe clean,implib
18172 wine_fn_config_test dlls/ieframe/tests ieframe_test
18173 wine_fn_config_dll ifsmgr.vxd enable_win16
18174 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18175 wine_fn_config_dll imagehlp enable_imagehlp implib
18176 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18177 wine_fn_config_dll imm.dll16 enable_win16
18178 wine_fn_config_dll imm32 enable_imm32 implib
18179 wine_fn_config_test dlls/imm32/tests imm32_test
18180 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18181 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18182 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18183 wine_fn_config_dll inetmib1 enable_inetmib1
18184 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18185 wine_fn_config_dll infosoft enable_infosoft clean
18186 wine_fn_config_test dlls/infosoft/tests infosoft_test
18187 wine_fn_config_dll initpki enable_initpki
18188 wine_fn_config_dll inkobj enable_inkobj
18189 wine_fn_config_dll inseng enable_inseng clean
18190 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18191 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18192 wine_fn_config_dll iprop enable_iprop
18193 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18194 wine_fn_config_dll itircl enable_itircl
18195 wine_fn_config_dll itss enable_itss clean
18196 wine_fn_config_test dlls/itss/tests itss_test
18197 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18198 wine_fn_config_dll jscript enable_jscript clean
18199 wine_fn_config_test dlls/jscript/tests jscript_test
18200 wine_fn_config_dll jsproxy enable_jsproxy implib
18201 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18202 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18203 wine_fn_config_test dlls/kernel32/tests kernel32_test
18204 wine_fn_config_dll kernelbase enable_kernelbase
18205 wine_fn_config_dll keyboard.drv16 enable_win16
18206 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18207 wine_fn_config_dll ksuser enable_ksuser
18208 wine_fn_config_dll ktmw32 enable_ktmw32
18209 wine_fn_config_dll loadperf enable_loadperf implib
18210 wine_fn_config_dll localspl enable_localspl clean
18211 wine_fn_config_test dlls/localspl/tests localspl_test
18212 wine_fn_config_dll localui enable_localui clean
18213 wine_fn_config_test dlls/localui/tests localui_test
18214 wine_fn_config_dll lz32 enable_lz32 implib
18215 wine_fn_config_test dlls/lz32/tests lz32_test
18216 wine_fn_config_dll lzexpand.dll16 enable_win16
18217 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18218 wine_fn_config_test dlls/mapi32/tests mapi32_test
18219 wine_fn_config_dll mapistub enable_mapistub
18220 wine_fn_config_dll mciavi32 enable_mciavi32
18221 wine_fn_config_dll mcicda enable_mcicda
18222 wine_fn_config_dll mciqtz32 enable_mciqtz32
18223 wine_fn_config_dll mciseq enable_mciseq
18224 wine_fn_config_dll mciwave enable_mciwave
18225 wine_fn_config_dll mf enable_mf
18226 wine_fn_config_dll mf3216 enable_mf3216
18227 wine_fn_config_dll mfplat enable_mfplat implib
18228 wine_fn_config_test dlls/mfplat/tests mfplat_test
18229 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18230 wine_fn_config_dll mgmtapi enable_mgmtapi
18231 wine_fn_config_dll midimap enable_midimap
18232 wine_fn_config_dll mlang enable_mlang clean,implib
18233 wine_fn_config_test dlls/mlang/tests mlang_test
18234 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18235 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18236 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18237 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18238 wine_fn_config_dll mmdevldr.vxd enable_win16
18239 wine_fn_config_dll mmsystem.dll16 enable_win16
18240 wine_fn_config_dll monodebg.vxd enable_win16
18241 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18242 wine_fn_config_dll mouse.drv16 enable_win16
18243 wine_fn_config_dll mpr enable_mpr clean,implib
18244 wine_fn_config_test dlls/mpr/tests mpr_test
18245 wine_fn_config_dll mprapi enable_mprapi implib
18246 wine_fn_config_dll msacm.dll16 enable_win16
18247 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18248 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18249 wine_fn_config_test dlls/msacm32/tests msacm32_test
18250 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18251 wine_fn_config_dll msasn1 enable_msasn1 implib
18252 wine_fn_config_dll mscat32 enable_mscat32
18253 wine_fn_config_dll mscms enable_mscms implib
18254 wine_fn_config_test dlls/mscms/tests mscms_test
18255 wine_fn_config_dll mscoree enable_mscoree clean
18256 wine_fn_config_test dlls/mscoree/tests mscoree_test
18257 wine_fn_config_dll msctf enable_msctf clean
18258 wine_fn_config_test dlls/msctf/tests msctf_test
18259 wine_fn_config_dll msctfp enable_msctfp clean
18260 wine_fn_config_dll msdaps enable_msdaps clean
18261 wine_fn_config_dll msdelta enable_msdelta
18262 wine_fn_config_dll msdmo enable_msdmo implib
18263 wine_fn_config_test dlls/msdmo/tests msdmo_test
18264 wine_fn_config_dll msdrm enable_msdrm
18265 wine_fn_config_dll msftedit enable_msftedit
18266 wine_fn_config_dll msg711.acm enable_msg711_acm
18267 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18268 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18269 wine_fn_config_dll mshtml enable_mshtml clean,implib
18270 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18271 wine_fn_config_dll msi enable_msi clean,implib
18272 wine_fn_config_test dlls/msi/tests msi_test
18273 wine_fn_config_dll msident enable_msident clean
18274 wine_fn_config_dll msimg32 enable_msimg32 implib
18275 wine_fn_config_dll msimsg enable_msimsg
18276 wine_fn_config_dll msimtf enable_msimtf clean
18277 wine_fn_config_dll msisip enable_msisip
18278 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18279 wine_fn_config_dll msls31 enable_msls31
18280 wine_fn_config_dll msnet32 enable_msnet32
18281 wine_fn_config_dll mspatcha enable_mspatcha implib
18282 wine_fn_config_dll msports enable_msports
18283 wine_fn_config_dll msrle32 enable_msrle32 clean
18284 wine_fn_config_test dlls/msrle32/tests msrle32_test
18285 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18286 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18287 wine_fn_config_dll mssign32 enable_mssign32
18288 wine_fn_config_dll mssip32 enable_mssip32
18289 wine_fn_config_dll mstask enable_mstask clean
18290 wine_fn_config_test dlls/mstask/tests mstask_test
18291 wine_fn_config_dll msvcirt enable_msvcirt
18292 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18293 wine_fn_config_dll msvcm80 enable_msvcm80
18294 wine_fn_config_dll msvcm90 enable_msvcm90
18295 wine_fn_config_dll msvcp100 enable_msvcp100
18296 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18297 wine_fn_config_dll msvcp110 enable_msvcp110
18298 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18299 wine_fn_config_dll msvcp120 enable_msvcp120
18300 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18301 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18302 wine_fn_config_dll msvcp140 enable_msvcp140
18303 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18304 wine_fn_config_dll msvcp60 enable_msvcp60
18305 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18306 wine_fn_config_dll msvcp70 enable_msvcp70
18307 wine_fn_config_dll msvcp71 enable_msvcp71
18308 wine_fn_config_dll msvcp80 enable_msvcp80
18309 wine_fn_config_dll msvcp90 enable_msvcp90
18310 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18311 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18312 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18313 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18314 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18315 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18316 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18317 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18318 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18319 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18320 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18321 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18322 wine_fn_config_dll msvcrt enable_msvcrt implib
18323 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18324 wine_fn_config_dll msvcrt20 enable_msvcrt20
18325 wine_fn_config_dll msvcrt40 enable_msvcrt40
18326 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18327 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18328 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18329 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18330 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18331 wine_fn_config_dll msvideo.dll16 enable_win16
18332 wine_fn_config_dll mswsock enable_mswsock implib
18333 wine_fn_config_dll msxml enable_msxml clean
18334 wine_fn_config_dll msxml2 enable_msxml2 clean
18335 wine_fn_config_dll msxml3 enable_msxml3 clean
18336 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18337 wine_fn_config_dll msxml4 enable_msxml4 clean
18338 wine_fn_config_dll msxml6 enable_msxml6 clean
18339 wine_fn_config_dll mtxdm enable_mtxdm
18340 wine_fn_config_dll ncrypt enable_ncrypt
18341 wine_fn_config_dll nddeapi enable_nddeapi implib
18342 wine_fn_config_dll ndis.sys enable_ndis_sys
18343 wine_fn_config_dll netapi32 enable_netapi32 implib
18344 wine_fn_config_test dlls/netapi32/tests netapi32_test
18345 wine_fn_config_dll netcfgx enable_netcfgx clean
18346 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18347 wine_fn_config_dll netprofm enable_netprofm clean
18348 wine_fn_config_test dlls/netprofm/tests netprofm_test
18349 wine_fn_config_dll newdev enable_newdev implib
18350 wine_fn_config_dll normaliz enable_normaliz implib
18351 wine_fn_config_dll npmshtml enable_npmshtml
18352 wine_fn_config_dll npptools enable_npptools
18353 wine_fn_config_dll ntdll enable_ntdll implib
18354 wine_fn_config_test dlls/ntdll/tests ntdll_test
18355 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18356 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18357 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18358 wine_fn_config_dll ntprint enable_ntprint
18359 wine_fn_config_test dlls/ntprint/tests ntprint_test
18360 wine_fn_config_dll objsel enable_objsel clean
18361 wine_fn_config_dll odbc32 enable_odbc32 implib
18362 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18363 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18364 wine_fn_config_dll odbccu32 enable_odbccu32
18365 wine_fn_config_dll ole2.dll16 enable_win16
18366 wine_fn_config_dll ole2conv.dll16 enable_win16
18367 wine_fn_config_dll ole2disp.dll16 enable_win16
18368 wine_fn_config_dll ole2nls.dll16 enable_win16
18369 wine_fn_config_dll ole2prox.dll16 enable_win16
18370 wine_fn_config_dll ole2thk.dll16 enable_win16
18371 wine_fn_config_dll ole32 enable_ole32 clean,implib
18372 wine_fn_config_test dlls/ole32/tests ole32_test
18373 wine_fn_config_dll oleacc enable_oleacc clean,implib
18374 wine_fn_config_test dlls/oleacc/tests oleacc_test
18375 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18376 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18377 wine_fn_config_dll olecli.dll16 enable_win16
18378 wine_fn_config_dll olecli32 enable_olecli32 implib
18379 wine_fn_config_dll oledb32 enable_oledb32 clean
18380 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18381 wine_fn_config_dll oledlg enable_oledlg clean,implib
18382 wine_fn_config_test dlls/oledlg/tests oledlg_test
18383 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18384 wine_fn_config_dll olesvr.dll16 enable_win16
18385 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18386 wine_fn_config_dll olethk32 enable_olethk32
18387 wine_fn_config_dll openal32 enable_openal32
18388 wine_fn_config_dll opencl enable_opencl
18389 wine_fn_config_dll opengl32 enable_opengl32 implib
18390 wine_fn_config_test dlls/opengl32/tests opengl32_test
18391 wine_fn_config_dll packager enable_packager clean
18392 wine_fn_config_test dlls/packager/tests packager_test
18393 wine_fn_config_dll pdh enable_pdh implib
18394 wine_fn_config_test dlls/pdh/tests pdh_test
18395 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18396 wine_fn_config_dll pidgen enable_pidgen
18397 wine_fn_config_dll powrprof enable_powrprof implib
18398 wine_fn_config_dll printui enable_printui
18399 wine_fn_config_dll prntvpt enable_prntvpt
18400 wine_fn_config_dll propsys enable_propsys clean,implib
18401 wine_fn_config_test dlls/propsys/tests propsys_test
18402 wine_fn_config_dll psapi enable_psapi implib
18403 wine_fn_config_test dlls/psapi/tests psapi_test
18404 wine_fn_config_dll pstorec enable_pstorec clean
18405 wine_fn_config_test dlls/pstorec/tests pstorec_test
18406 wine_fn_config_dll qcap enable_qcap
18407 wine_fn_config_test dlls/qcap/tests qcap_test
18408 wine_fn_config_dll qedit enable_qedit clean
18409 wine_fn_config_test dlls/qedit/tests qedit_test
18410 wine_fn_config_dll qmgr enable_qmgr clean
18411 wine_fn_config_test dlls/qmgr/tests qmgr_test
18412 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18413 wine_fn_config_dll quartz enable_quartz clean,implib
18414 wine_fn_config_test dlls/quartz/tests quartz_test clean
18415 wine_fn_config_dll query enable_query
18416 wine_fn_config_dll rasapi16.dll16 enable_win16
18417 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18418 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18419 wine_fn_config_dll rasdlg enable_rasdlg implib
18420 wine_fn_config_dll regapi enable_regapi
18421 wine_fn_config_dll resutils enable_resutils implib
18422 wine_fn_config_dll riched20 enable_riched20 clean,implib
18423 wine_fn_config_test dlls/riched20/tests riched20_test
18424 wine_fn_config_dll riched32 enable_riched32
18425 wine_fn_config_test dlls/riched32/tests riched32_test
18426 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18427 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18428 wine_fn_config_dll rsabase enable_rsabase
18429 wine_fn_config_dll rsaenh enable_rsaenh implib
18430 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18431 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18432 wine_fn_config_dll rtutils enable_rtutils implib
18433 wine_fn_config_dll samlib enable_samlib
18434 wine_fn_config_dll sane.ds enable_sane_ds clean
18435 wine_fn_config_dll scarddlg enable_scarddlg
18436 wine_fn_config_dll sccbase enable_sccbase
18437 wine_fn_config_dll schannel enable_schannel
18438 wine_fn_config_test dlls/schannel/tests schannel_test
18439 wine_fn_config_dll schedsvc enable_schedsvc clean
18440 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18441 wine_fn_config_dll scrobj enable_scrobj clean
18442 wine_fn_config_dll scrrun enable_scrrun clean
18443 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18444 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18445 wine_fn_config_dll secur32 enable_secur32 implib
18446 wine_fn_config_test dlls/secur32/tests secur32_test
18447 wine_fn_config_dll security enable_security
18448 wine_fn_config_dll sensapi enable_sensapi implib
18449 wine_fn_config_dll serialui enable_serialui clean
18450 wine_fn_config_test dlls/serialui/tests serialui_test
18451 wine_fn_config_dll setupapi enable_setupapi clean,implib
18452 wine_fn_config_test dlls/setupapi/tests setupapi_test
18453 wine_fn_config_dll setupx.dll16 enable_win16
18454 wine_fn_config_dll sfc enable_sfc implib
18455 wine_fn_config_dll sfc_os enable_sfc_os implib
18456 wine_fn_config_dll shdoclc enable_shdoclc clean
18457 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18458 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18459 wine_fn_config_dll shell.dll16 enable_win16
18460 wine_fn_config_dll shell32 enable_shell32 clean,implib
18461 wine_fn_config_test dlls/shell32/tests shell32_test
18462 wine_fn_config_dll shfolder enable_shfolder implib
18463 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18464 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18465 wine_fn_config_dll slbcsp enable_slbcsp
18466 wine_fn_config_dll slc enable_slc implib
18467 wine_fn_config_test dlls/slc/tests slc_test
18468 wine_fn_config_dll snmpapi enable_snmpapi implib
18469 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18470 wine_fn_config_dll softpub enable_softpub
18471 wine_fn_config_dll sound.drv16 enable_win16
18472 wine_fn_config_dll spoolss enable_spoolss implib
18473 wine_fn_config_test dlls/spoolss/tests spoolss_test
18474 wine_fn_config_dll sspicli enable_sspicli
18475 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18476 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18477 wine_fn_config_dll sti enable_sti clean,implib
18478 wine_fn_config_test dlls/sti/tests sti_test
18479 wine_fn_config_dll storage.dll16 enable_win16
18480 wine_fn_config_dll stress.dll16 enable_win16
18481 wine_fn_config_lib strmbase
18482 wine_fn_config_lib strmiids
18483 wine_fn_config_dll svrapi enable_svrapi
18484 wine_fn_config_dll sxs enable_sxs implib
18485 wine_fn_config_test dlls/sxs/tests sxs_test
18486 wine_fn_config_dll system.drv16 enable_win16
18487 wine_fn_config_dll t2embed enable_t2embed implib
18488 wine_fn_config_test dlls/t2embed/tests t2embed_test
18489 wine_fn_config_dll tapi32 enable_tapi32 implib
18490 wine_fn_config_dll taskschd enable_taskschd clean
18491 wine_fn_config_test dlls/taskschd/tests taskschd_test
18492 wine_fn_config_dll tdi.sys enable_tdi_sys
18493 wine_fn_config_dll toolhelp.dll16 enable_win16
18494 wine_fn_config_dll traffic enable_traffic
18495 wine_fn_config_dll twain.dll16 enable_win16
18496 wine_fn_config_dll twain_32 enable_twain_32
18497 wine_fn_config_test dlls/twain_32/tests twain_32_test
18498 wine_fn_config_dll typelib.dll16 enable_win16
18499 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18500 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18501 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18502 wine_fn_config_dll unicows enable_unicows implib
18503 wine_fn_config_dll updspapi enable_updspapi
18504 wine_fn_config_dll url enable_url implib
18505 wine_fn_config_dll urlmon enable_urlmon clean,implib
18506 wine_fn_config_test dlls/urlmon/tests urlmon_test
18507 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18508 wine_fn_config_dll user.exe16 enable_win16
18509 wine_fn_config_dll user32 enable_user32 clean,implib
18510 wine_fn_config_test dlls/user32/tests user32_test
18511 wine_fn_config_dll userenv enable_userenv implib
18512 wine_fn_config_test dlls/userenv/tests userenv_test
18513 wine_fn_config_dll usp10 enable_usp10 implib
18514 wine_fn_config_test dlls/usp10/tests usp10_test
18515 wine_fn_config_lib uuid
18516 wine_fn_config_dll uxtheme enable_uxtheme implib
18517 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18518 wine_fn_config_dll vbscript enable_vbscript clean
18519 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18520 wine_fn_config_dll vcomp enable_vcomp
18521 wine_fn_config_test dlls/vcomp/tests vcomp_test
18522 wine_fn_config_dll vcomp100 enable_vcomp100
18523 wine_fn_config_dll vcomp110 enable_vcomp110
18524 wine_fn_config_dll vcomp120 enable_vcomp120
18525 wine_fn_config_dll vcomp140 enable_vcomp140
18526 wine_fn_config_dll vcomp90 enable_vcomp90
18527 wine_fn_config_dll vcruntime140 enable_vcruntime140
18528 wine_fn_config_dll vdhcp.vxd enable_win16
18529 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18530 wine_fn_config_dll ver.dll16 enable_win16
18531 wine_fn_config_dll version enable_version implib
18532 wine_fn_config_test dlls/version/tests version_test
18533 wine_fn_config_dll virtdisk enable_virtdisk
18534 wine_fn_config_dll vmm.vxd enable_win16
18535 wine_fn_config_dll vnbt.vxd enable_win16
18536 wine_fn_config_dll vnetbios.vxd enable_win16
18537 wine_fn_config_dll vssapi enable_vssapi
18538 wine_fn_config_dll vtdapi.vxd enable_win16
18539 wine_fn_config_dll vwin32.vxd enable_win16
18540 wine_fn_config_dll w32skrnl enable_win16
18541 wine_fn_config_dll w32sys.dll16 enable_win16
18542 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18543 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18544 wine_fn_config_dll wbemprox enable_wbemprox clean
18545 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18546 wine_fn_config_dll webservices enable_webservices implib
18547 wine_fn_config_test dlls/webservices/tests webservices_test
18548 wine_fn_config_dll wer enable_wer implib
18549 wine_fn_config_test dlls/wer/tests wer_test
18550 wine_fn_config_dll wevtapi enable_wevtapi
18551 wine_fn_config_dll wiaservc enable_wiaservc clean
18552 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18553 wine_fn_config_dll wimgapi enable_wimgapi
18554 wine_fn_config_dll win32s16.dll16 enable_win16
18555 wine_fn_config_dll win87em.dll16 enable_win16
18556 wine_fn_config_dll winaspi.dll16 enable_win16
18557 wine_fn_config_dll windebug.dll16 enable_win16
18558 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18559 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18560 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18561 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18562 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18563 wine_fn_config_dll winebus.sys enable_winebus_sys
18564 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18565 wine_fn_config_lib winecrt0
18566 wine_fn_config_dll wined3d enable_wined3d implib
18567 wine_fn_config_dll winegstreamer enable_winegstreamer
18568 wine_fn_config_dll winehid.sys enable_winehid_sys
18569 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18570 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18571 wine_fn_config_dll winemapi enable_winemapi
18572 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18573 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18574 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18575 wine_fn_config_dll wineps16.drv16 enable_win16
18576 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18577 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18578 wine_fn_config_dll winex11.drv enable_winex11_drv
18579 wine_fn_config_dll wing.dll16 enable_win16
18580 wine_fn_config_dll wing32 enable_wing32
18581 wine_fn_config_dll winhttp enable_winhttp clean,implib
18582 wine_fn_config_test dlls/winhttp/tests winhttp_test
18583 wine_fn_config_dll wininet enable_wininet clean,implib
18584 wine_fn_config_test dlls/wininet/tests wininet_test
18585 wine_fn_config_dll winmm enable_winmm clean,implib
18586 wine_fn_config_test dlls/winmm/tests winmm_test
18587 wine_fn_config_dll winnls.dll16 enable_win16
18588 wine_fn_config_dll winnls32 enable_winnls32 implib
18589 wine_fn_config_dll winscard enable_winscard implib
18590 wine_fn_config_dll winsock.dll16 enable_win16
18591 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18592 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18593 wine_fn_config_dll winsta enable_winsta
18594 wine_fn_config_dll wintab.dll16 enable_win16
18595 wine_fn_config_dll wintab32 enable_wintab32 implib
18596 wine_fn_config_test dlls/wintab32/tests wintab32_test
18597 wine_fn_config_dll wintrust enable_wintrust implib
18598 wine_fn_config_test dlls/wintrust/tests wintrust_test
18599 wine_fn_config_dll winusb enable_winusb
18600 wine_fn_config_dll wlanapi enable_wlanapi implib
18601 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18602 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18603 wine_fn_config_test dlls/wldap32/tests wldap32_test
18604 wine_fn_config_dll wmasf enable_wmasf
18605 wine_fn_config_dll wmi enable_wmi
18606 wine_fn_config_dll wmiutils enable_wmiutils clean
18607 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18608 wine_fn_config_dll wmp enable_wmp clean
18609 wine_fn_config_test dlls/wmp/tests wmp_test
18610 wine_fn_config_dll wmvcore enable_wmvcore implib
18611 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18612 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18613 wine_fn_config_dll wow32 enable_win16 implib
18614 wine_fn_config_dll wpc enable_wpc clean
18615 wine_fn_config_test dlls/wpc/tests wpc_test
18616 wine_fn_config_dll wpcap enable_wpcap
18617 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18618 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18619 wine_fn_config_dll wsdapi enable_wsdapi implib
18620 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18621 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18622 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18623 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18624 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18625 wine_fn_config_dll wsock32 enable_wsock32 implib
18626 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18627 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18628 wine_fn_config_dll wuapi enable_wuapi clean
18629 wine_fn_config_dll wuaueng enable_wuaueng
18630 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18631 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18632 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18633 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18634 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18635 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18636 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18637 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18638 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18639 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18640 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18641 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18642 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18643 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18644 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18645 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18646 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18647 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18648 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18649 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18650 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18651 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18652 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18653 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18654 wine_fn_config_dll xinput1_1 enable_xinput1_1
18655 wine_fn_config_dll xinput1_2 enable_xinput1_2
18656 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18657 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18658 wine_fn_config_dll xinput1_4 enable_xinput1_4
18659 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18660 wine_fn_config_dll xmllite enable_xmllite implib
18661 wine_fn_config_test dlls/xmllite/tests xmllite_test
18662 wine_fn_config_dll xolehlp enable_xolehlp
18663 wine_fn_config_dll xpsprint enable_xpsprint
18664 wine_fn_config_dll xpssvcs enable_xpssvcs
18665 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18666 wine_fn_config_makefile include enable_include clean,install-dev
18667 wine_fn_config_makefile libs/port enable_libs_port
18668 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18669 wine_fn_config_makefile libs/wpp enable_libs_wpp
18670 wine_fn_config_makefile loader enable_loader clean,install-lib
18671 wine_fn_config_makefile po enable_po clean
18672 wine_fn_config_program arp enable_arp install
18673 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18674 wine_fn_config_program attrib enable_attrib clean,install
18675 wine_fn_config_program cabarc enable_cabarc install
18676 wine_fn_config_program cacls enable_cacls install
18677 wine_fn_config_program clock enable_clock clean,install
18678 wine_fn_config_program cmd enable_cmd clean,install
18679 wine_fn_config_test programs/cmd/tests cmd.exe_test
18680 wine_fn_config_program conhost enable_conhost install
18681 wine_fn_config_program control enable_control install
18682 wine_fn_config_program cscript enable_cscript clean,install
18683 wine_fn_config_program dpnsvr enable_dpnsvr install
18684 wine_fn_config_program dxdiag enable_dxdiag clean,install
18685 wine_fn_config_program eject enable_eject install
18686 wine_fn_config_program expand enable_expand install
18687 wine_fn_config_program explorer enable_explorer clean,install
18688 wine_fn_config_program extrac32 enable_extrac32 install
18689 wine_fn_config_program findstr enable_findstr install
18690 wine_fn_config_program fsutil enable_fsutil install
18691 wine_fn_config_program hh enable_hh install
18692 wine_fn_config_program hostname enable_hostname clean,install
18693 wine_fn_config_program icacls enable_icacls install
18694 wine_fn_config_program icinfo enable_icinfo install
18695 wine_fn_config_program iexplore enable_iexplore install
18696 wine_fn_config_program ipconfig enable_ipconfig clean,install
18697 wine_fn_config_program lodctr enable_lodctr install
18698 wine_fn_config_program mofcomp enable_mofcomp install
18699 wine_fn_config_program mshta enable_mshta install
18700 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18701 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18702 wine_fn_config_program net enable_net clean,install
18703 wine_fn_config_program netsh enable_netsh install
18704 wine_fn_config_program netstat enable_netstat clean,install
18705 wine_fn_config_program ngen enable_ngen install
18706 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18707 wine_fn_config_program oleview enable_oleview clean,install
18708 wine_fn_config_program ping enable_ping install
18709 wine_fn_config_program plugplay enable_plugplay install
18710 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18711 wine_fn_config_program progman enable_progman clean,install
18712 wine_fn_config_program reg enable_reg clean,install
18713 wine_fn_config_test programs/reg/tests reg.exe_test
18714 wine_fn_config_program regasm enable_regasm install
18715 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18716 wine_fn_config_test programs/regedit/tests regedit.exe_test
18717 wine_fn_config_program regsvcs enable_regsvcs install
18718 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18719 wine_fn_config_program rpcss enable_rpcss clean,install
18720 wine_fn_config_program rundll.exe16 enable_win16 install
18721 wine_fn_config_program rundll32 enable_rundll32 install
18722 wine_fn_config_program sc enable_sc install
18723 wine_fn_config_program schtasks enable_schtasks install
18724 wine_fn_config_program sdbinst enable_sdbinst install
18725 wine_fn_config_program secedit enable_secedit install
18726 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18727 wine_fn_config_program services enable_services clean,install
18728 wine_fn_config_test programs/services/tests services.exe_test
18729 wine_fn_config_program shutdown enable_shutdown install
18730 wine_fn_config_program spoolsv enable_spoolsv install
18731 wine_fn_config_program start enable_start clean,install
18732 wine_fn_config_program subst enable_subst install
18733 wine_fn_config_program svchost enable_svchost install
18734 wine_fn_config_program systeminfo enable_systeminfo install
18735 wine_fn_config_program taskkill enable_taskkill clean,install
18736 wine_fn_config_program tasklist enable_tasklist install
18737 wine_fn_config_program taskmgr enable_taskmgr clean,install
18738 wine_fn_config_program termsv enable_termsv install
18739 wine_fn_config_program uninstaller enable_uninstaller clean,install
18740 wine_fn_config_program unlodctr enable_unlodctr install
18741 wine_fn_config_program view enable_view clean,install
18742 wine_fn_config_program wevtutil enable_wevtutil install
18743 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18744 wine_fn_config_program winebrowser enable_winebrowser install
18745 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18746 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18747 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18748 wine_fn_config_program winedevice enable_winedevice install
18749 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18750 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18751 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18752 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18753 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18754 wine_fn_config_program winetest enable_winetest clean
18755 wine_fn_config_program winevdm enable_win16 install
18756 wine_fn_config_program winhelp.exe16 enable_win16 install
18757 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18758 wine_fn_config_program winoldap.mod16 enable_win16 install
18759 wine_fn_config_program winver enable_winver install
18760 wine_fn_config_program wmic enable_wmic clean,install
18761 wine_fn_config_program wmplayer enable_wmplayer install
18762 wine_fn_config_program wordpad enable_wordpad clean,install
18763 wine_fn_config_program write enable_write clean,install
18764 wine_fn_config_program wscript enable_wscript clean,install
18765 wine_fn_config_test programs/wscript/tests wscript.exe_test
18766 wine_fn_config_program wusa enable_wusa install
18767 wine_fn_config_program xcopy enable_xcopy clean,install
18768 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18769 wine_fn_config_makefile server enable_server clean,install-lib
18770 wine_fn_config_tool tools clean
18771 wine_fn_config_tool tools/sfnt2fon clean
18772 wine_fn_config_tool tools/widl clean,install-dev
18773 wine_fn_config_tool tools/winebuild clean,install-dev
18774 wine_fn_config_tool tools/winedump clean,install-dev
18775 wine_fn_config_tool tools/winegcc clean,install-dev
18776 wine_fn_config_tool tools/winemaker clean,install-dev
18777 wine_fn_config_tool tools/wmc clean,install-dev
18778 wine_fn_config_tool tools/wrc clean,install-dev
18781 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18782 wine_fn_append_file CONFIGURE_TARGETS "tags"
18783 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18784 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18785 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18786 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18787 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18788 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18790 if test "x$enable_tools" != xno
18791 then
18792 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18793 ac_config_commands="$ac_config_commands tools/makedep"
18797 ac_config_commands="$ac_config_commands Makefile"
18800 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18804 if test "x$enable_maintainer_mode" = xyes
18805 then
18806 wine_fn_append_rule "configure: configure.ac aclocal.m4
18807 autoconf --warnings=all
18808 include/config.h.in: include/stamp-h.in
18809 include/stamp-h.in: configure.ac aclocal.m4
18810 autoheader --warnings=all
18811 @echo timestamp > \$@"
18814 if test "x$enable_tools" != xno
18815 then
18816 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18817 @./config.status tools/makedep
18818 Makefile: tools/makedep$ac_exeext"
18819 else
18820 wine_fn_append_rule "\$(MAKEDEP):
18821 @echo \"You need to run make in $TOOLSDIR first\" && false"
18824 if test -n "$with_wine64"
18825 then
18826 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18827 fonts server:
18828 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18829 $with_wine64/loader/wine:
18830 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18831 $with_wine64/loader/wine-preloader:
18832 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18833 clean::
18834 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18835 else
18836 WINELOADER_INSTALL="wine.inf"
18838 wine_fn_append_rule "install install-lib::
18839 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18840 uninstall::
18841 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18842 case $host_os in
18843 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18844 *) wine_fn_append_rule "install install-lib::
18845 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18846 uninstall::
18847 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18848 esac
18851 $as_echo " done" >&6
18852 cat >confcache <<\_ACEOF
18853 # This file is a shell script that caches the results of configure
18854 # tests run on this system so they can be shared between configure
18855 # scripts and configure runs, see configure's option --config-cache.
18856 # It is not useful on other systems. If it contains results you don't
18857 # want to keep, you may remove or edit it.
18859 # config.status only pays attention to the cache file if you give it
18860 # the --recheck option to rerun configure.
18862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18864 # following values.
18866 _ACEOF
18868 # The following way of writing the cache mishandles newlines in values,
18869 # but we know of no workaround that is simple, portable, and efficient.
18870 # So, we kill variables containing newlines.
18871 # Ultrix sh set writes to stderr and can't be redirected directly,
18872 # and sets the high bit in the cache file unless we assign to the vars.
18874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18875 eval ac_val=\$$ac_var
18876 case $ac_val in #(
18877 *${as_nl}*)
18878 case $ac_var in #(
18879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18881 esac
18882 case $ac_var in #(
18883 _ | IFS | as_nl) ;; #(
18884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18885 *) { eval $ac_var=; unset $ac_var;} ;;
18886 esac ;;
18887 esac
18888 done
18890 (set) 2>&1 |
18891 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18892 *${as_nl}ac_space=\ *)
18893 # `set' does not quote correctly, so add quotes: double-quote
18894 # substitution turns \\\\ into \\, and sed turns \\ into \.
18895 sed -n \
18896 "s/'/'\\\\''/g;
18897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18898 ;; #(
18900 # `set' quotes correctly as required by POSIX, so do not add quotes.
18901 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18903 esac |
18904 sort
18906 sed '
18907 /^ac_cv_env_/b end
18908 t clear
18909 :clear
18910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18911 t end
18912 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18913 :end' >>confcache
18914 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18915 if test -w "$cache_file"; then
18916 if test "x$cache_file" != "x/dev/null"; then
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18918 $as_echo "$as_me: updating cache $cache_file" >&6;}
18919 if test ! -f "$cache_file" || test -h "$cache_file"; then
18920 cat confcache >"$cache_file"
18921 else
18922 case $cache_file in #(
18923 */* | ?:*)
18924 mv -f confcache "$cache_file"$$ &&
18925 mv -f "$cache_file"$$ "$cache_file" ;; #(
18927 mv -f confcache "$cache_file" ;;
18928 esac
18931 else
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18933 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18936 rm -f confcache
18938 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18939 # Let make expand exec_prefix.
18940 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18942 DEFS=-DHAVE_CONFIG_H
18944 ac_libobjs=
18945 ac_ltlibobjs=
18947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18948 # 1. Remove the extension, and $U if already installed.
18949 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18950 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18952 # will be set to the directory where LIBOBJS objects are built.
18953 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18954 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18955 done
18956 LIBOBJS=$ac_libobjs
18958 LTLIBOBJS=$ac_ltlibobjs
18962 : "${CONFIG_STATUS=./config.status}"
18963 ac_write_fail=0
18964 ac_clean_files_save=$ac_clean_files
18965 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18968 as_write_fail=0
18969 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18970 #! $SHELL
18971 # Generated by $as_me.
18972 # Run this file to recreate the current configuration.
18973 # Compiler output produced by configure, useful for debugging
18974 # configure, is in config.log if it exists.
18976 debug=false
18977 ac_cs_recheck=false
18978 ac_cs_silent=false
18980 SHELL=\${CONFIG_SHELL-$SHELL}
18981 export SHELL
18982 _ASEOF
18983 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18984 ## -------------------- ##
18985 ## M4sh Initialization. ##
18986 ## -------------------- ##
18988 # Be more Bourne compatible
18989 DUALCASE=1; export DUALCASE # for MKS sh
18990 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18991 emulate sh
18992 NULLCMD=:
18993 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18994 # is contrary to our usage. Disable this feature.
18995 alias -g '${1+"$@"}'='"$@"'
18996 setopt NO_GLOB_SUBST
18997 else
18998 case `(set -o) 2>/dev/null` in #(
18999 *posix*) :
19000 set -o posix ;; #(
19001 *) :
19003 esac
19007 as_nl='
19009 export as_nl
19010 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19011 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19013 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19014 # Prefer a ksh shell builtin over an external printf program on Solaris,
19015 # but without wasting forks for bash or zsh.
19016 if test -z "$BASH_VERSION$ZSH_VERSION" \
19017 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19018 as_echo='print -r --'
19019 as_echo_n='print -rn --'
19020 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19021 as_echo='printf %s\n'
19022 as_echo_n='printf %s'
19023 else
19024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19025 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19026 as_echo_n='/usr/ucb/echo -n'
19027 else
19028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19029 as_echo_n_body='eval
19030 arg=$1;
19031 case $arg in #(
19032 *"$as_nl"*)
19033 expr "X$arg" : "X\\(.*\\)$as_nl";
19034 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19035 esac;
19036 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19038 export as_echo_n_body
19039 as_echo_n='sh -c $as_echo_n_body as_echo'
19041 export as_echo_body
19042 as_echo='sh -c $as_echo_body as_echo'
19045 # The user is always right.
19046 if test "${PATH_SEPARATOR+set}" != set; then
19047 PATH_SEPARATOR=:
19048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19049 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19050 PATH_SEPARATOR=';'
19055 # IFS
19056 # We need space, tab and new line, in precisely that order. Quoting is
19057 # there to prevent editors from complaining about space-tab.
19058 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19059 # splitting by setting IFS to empty value.)
19060 IFS=" "" $as_nl"
19062 # Find who we are. Look in the path if we contain no directory separator.
19063 as_myself=
19064 case $0 in #((
19065 *[\\/]* ) as_myself=$0 ;;
19066 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19067 for as_dir in $PATH
19069 IFS=$as_save_IFS
19070 test -z "$as_dir" && as_dir=.
19071 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19072 done
19073 IFS=$as_save_IFS
19076 esac
19077 # We did not find ourselves, most probably we were run as `sh COMMAND'
19078 # in which case we are not to be found in the path.
19079 if test "x$as_myself" = x; then
19080 as_myself=$0
19082 if test ! -f "$as_myself"; then
19083 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19084 exit 1
19087 # Unset variables that we do not need and which cause bugs (e.g. in
19088 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19089 # suppresses any "Segmentation fault" message there. '((' could
19090 # trigger a bug in pdksh 5.2.14.
19091 for as_var in BASH_ENV ENV MAIL MAILPATH
19092 do eval test x\${$as_var+set} = xset \
19093 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19094 done
19095 PS1='$ '
19096 PS2='> '
19097 PS4='+ '
19099 # NLS nuisances.
19100 LC_ALL=C
19101 export LC_ALL
19102 LANGUAGE=C
19103 export LANGUAGE
19105 # CDPATH.
19106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19109 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19110 # ----------------------------------------
19111 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19112 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19113 # script with STATUS, using 1 if that was 0.
19114 as_fn_error ()
19116 as_status=$1; test $as_status -eq 0 && as_status=1
19117 if test "$4"; then
19118 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19119 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19121 $as_echo "$as_me: error: $2" >&2
19122 as_fn_exit $as_status
19123 } # as_fn_error
19126 # as_fn_set_status STATUS
19127 # -----------------------
19128 # Set $? to STATUS, without forking.
19129 as_fn_set_status ()
19131 return $1
19132 } # as_fn_set_status
19134 # as_fn_exit STATUS
19135 # -----------------
19136 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19137 as_fn_exit ()
19139 set +e
19140 as_fn_set_status $1
19141 exit $1
19142 } # as_fn_exit
19144 # as_fn_unset VAR
19145 # ---------------
19146 # Portably unset VAR.
19147 as_fn_unset ()
19149 { eval $1=; unset $1;}
19151 as_unset=as_fn_unset
19152 # as_fn_append VAR VALUE
19153 # ----------------------
19154 # Append the text in VALUE to the end of the definition contained in VAR. Take
19155 # advantage of any shell optimizations that allow amortized linear growth over
19156 # repeated appends, instead of the typical quadratic growth present in naive
19157 # implementations.
19158 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19159 eval 'as_fn_append ()
19161 eval $1+=\$2
19163 else
19164 as_fn_append ()
19166 eval $1=\$$1\$2
19168 fi # as_fn_append
19170 # as_fn_arith ARG...
19171 # ------------------
19172 # Perform arithmetic evaluation on the ARGs, and store the result in the
19173 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19174 # must be portable across $(()) and expr.
19175 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19176 eval 'as_fn_arith ()
19178 as_val=$(( $* ))
19180 else
19181 as_fn_arith ()
19183 as_val=`expr "$@" || test $? -eq 1`
19185 fi # as_fn_arith
19188 if expr a : '\(a\)' >/dev/null 2>&1 &&
19189 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19190 as_expr=expr
19191 else
19192 as_expr=false
19195 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19196 as_basename=basename
19197 else
19198 as_basename=false
19201 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19202 as_dirname=dirname
19203 else
19204 as_dirname=false
19207 as_me=`$as_basename -- "$0" ||
19208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19209 X"$0" : 'X\(//\)$' \| \
19210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19211 $as_echo X/"$0" |
19212 sed '/^.*\/\([^/][^/]*\)\/*$/{
19213 s//\1/
19216 /^X\/\(\/\/\)$/{
19217 s//\1/
19220 /^X\/\(\/\).*/{
19221 s//\1/
19224 s/.*/./; q'`
19226 # Avoid depending upon Character Ranges.
19227 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19228 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19229 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19230 as_cr_digits='0123456789'
19231 as_cr_alnum=$as_cr_Letters$as_cr_digits
19233 ECHO_C= ECHO_N= ECHO_T=
19234 case `echo -n x` in #(((((
19235 -n*)
19236 case `echo 'xy\c'` in
19237 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19238 xy) ECHO_C='\c';;
19239 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19240 ECHO_T=' ';;
19241 esac;;
19243 ECHO_N='-n';;
19244 esac
19246 rm -f conf$$ conf$$.exe conf$$.file
19247 if test -d conf$$.dir; then
19248 rm -f conf$$.dir/conf$$.file
19249 else
19250 rm -f conf$$.dir
19251 mkdir conf$$.dir 2>/dev/null
19253 if (echo >conf$$.file) 2>/dev/null; then
19254 if ln -s conf$$.file conf$$ 2>/dev/null; then
19255 as_ln_s='ln -s'
19256 # ... but there are two gotchas:
19257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19259 # In both cases, we have to default to `cp -pR'.
19260 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19261 as_ln_s='cp -pR'
19262 elif ln conf$$.file conf$$ 2>/dev/null; then
19263 as_ln_s=ln
19264 else
19265 as_ln_s='cp -pR'
19267 else
19268 as_ln_s='cp -pR'
19270 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19271 rmdir conf$$.dir 2>/dev/null
19274 # as_fn_mkdir_p
19275 # -------------
19276 # Create "$as_dir" as a directory, including parents if necessary.
19277 as_fn_mkdir_p ()
19280 case $as_dir in #(
19281 -*) as_dir=./$as_dir;;
19282 esac
19283 test -d "$as_dir" || eval $as_mkdir_p || {
19284 as_dirs=
19285 while :; do
19286 case $as_dir in #(
19287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19288 *) as_qdir=$as_dir;;
19289 esac
19290 as_dirs="'$as_qdir' $as_dirs"
19291 as_dir=`$as_dirname -- "$as_dir" ||
19292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19293 X"$as_dir" : 'X\(//\)[^/]' \| \
19294 X"$as_dir" : 'X\(//\)$' \| \
19295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19296 $as_echo X"$as_dir" |
19297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19298 s//\1/
19301 /^X\(\/\/\)[^/].*/{
19302 s//\1/
19305 /^X\(\/\/\)$/{
19306 s//\1/
19309 /^X\(\/\).*/{
19310 s//\1/
19313 s/.*/./; q'`
19314 test -d "$as_dir" && break
19315 done
19316 test -z "$as_dirs" || eval "mkdir $as_dirs"
19317 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19320 } # as_fn_mkdir_p
19321 if mkdir -p . 2>/dev/null; then
19322 as_mkdir_p='mkdir -p "$as_dir"'
19323 else
19324 test -d ./-p && rmdir ./-p
19325 as_mkdir_p=false
19329 # as_fn_executable_p FILE
19330 # -----------------------
19331 # Test if FILE is an executable regular file.
19332 as_fn_executable_p ()
19334 test -f "$1" && test -x "$1"
19335 } # as_fn_executable_p
19336 as_test_x='test -x'
19337 as_executable_p=as_fn_executable_p
19339 # Sed expression to map a string onto a valid CPP name.
19340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19342 # Sed expression to map a string onto a valid variable name.
19343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19346 exec 6>&1
19347 ## ----------------------------------- ##
19348 ## Main body of $CONFIG_STATUS script. ##
19349 ## ----------------------------------- ##
19350 _ASEOF
19351 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19354 # Save the log message, to keep $0 and so on meaningful, and to
19355 # report actual input values of CONFIG_FILES etc. instead of their
19356 # values after options handling.
19357 ac_log="
19358 This file was extended by Wine $as_me 2.8, which was
19359 generated by GNU Autoconf 2.69. Invocation command line was
19361 CONFIG_FILES = $CONFIG_FILES
19362 CONFIG_HEADERS = $CONFIG_HEADERS
19363 CONFIG_LINKS = $CONFIG_LINKS
19364 CONFIG_COMMANDS = $CONFIG_COMMANDS
19365 $ $0 $@
19367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19370 _ACEOF
19372 case $ac_config_files in *"
19373 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19374 esac
19376 case $ac_config_headers in *"
19377 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19378 esac
19381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19382 # Files that config.status was made for.
19383 config_files="$ac_config_files"
19384 config_headers="$ac_config_headers"
19385 config_links="$ac_config_links"
19386 config_commands="$ac_config_commands"
19388 _ACEOF
19390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19391 ac_cs_usage="\
19392 \`$as_me' instantiates files and other configuration actions
19393 from templates according to the current configuration. Unless the files
19394 and actions are specified as TAGs, all are instantiated by default.
19396 Usage: $0 [OPTION]... [TAG]...
19398 -h, --help print this help, then exit
19399 -V, --version print version number and configuration settings, then exit
19400 --config print configuration, then exit
19401 -q, --quiet, --silent
19402 do not print progress messages
19403 -d, --debug don't remove temporary files
19404 --recheck update $as_me by reconfiguring in the same conditions
19405 --file=FILE[:TEMPLATE]
19406 instantiate the configuration file FILE
19407 --header=FILE[:TEMPLATE]
19408 instantiate the configuration header FILE
19410 Configuration files:
19411 $config_files
19413 Configuration headers:
19414 $config_headers
19416 Configuration links:
19417 $config_links
19419 Configuration commands:
19420 $config_commands
19422 Report bugs to <wine-devel@winehq.org>.
19423 Wine home page: <http://www.winehq.org>."
19425 _ACEOF
19426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19427 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19428 ac_cs_version="\\
19429 Wine config.status 2.8
19430 configured by $0, generated by GNU Autoconf 2.69,
19431 with options \\"\$ac_cs_config\\"
19433 Copyright (C) 2012 Free Software Foundation, Inc.
19434 This config.status script is free software; the Free Software Foundation
19435 gives unlimited permission to copy, distribute and modify it."
19437 ac_pwd='$ac_pwd'
19438 srcdir='$srcdir'
19439 test -n "\$AWK" || AWK=awk
19440 _ACEOF
19442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19443 # The default lists apply if the user does not specify any file.
19444 ac_need_defaults=:
19445 while test $# != 0
19447 case $1 in
19448 --*=?*)
19449 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19450 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19451 ac_shift=:
19453 --*=)
19454 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19455 ac_optarg=
19456 ac_shift=:
19459 ac_option=$1
19460 ac_optarg=$2
19461 ac_shift=shift
19463 esac
19465 case $ac_option in
19466 # Handling of the options.
19467 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19468 ac_cs_recheck=: ;;
19469 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19470 $as_echo "$ac_cs_version"; exit ;;
19471 --config | --confi | --conf | --con | --co | --c )
19472 $as_echo "$ac_cs_config"; exit ;;
19473 --debug | --debu | --deb | --de | --d | -d )
19474 debug=: ;;
19475 --file | --fil | --fi | --f )
19476 $ac_shift
19477 case $ac_optarg in
19478 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19479 '') as_fn_error $? "missing file argument" ;;
19480 esac
19481 as_fn_append CONFIG_FILES " '$ac_optarg'"
19482 ac_need_defaults=false;;
19483 --header | --heade | --head | --hea )
19484 $ac_shift
19485 case $ac_optarg in
19486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19487 esac
19488 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19489 ac_need_defaults=false;;
19490 --he | --h)
19491 # Conflict between --help and --header
19492 as_fn_error $? "ambiguous option: \`$1'
19493 Try \`$0 --help' for more information.";;
19494 --help | --hel | -h )
19495 $as_echo "$ac_cs_usage"; exit ;;
19496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19497 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19498 ac_cs_silent=: ;;
19500 # This is an error.
19501 -*) as_fn_error $? "unrecognized option: \`$1'
19502 Try \`$0 --help' for more information." ;;
19504 *) as_fn_append ac_config_targets " $1"
19505 ac_need_defaults=false ;;
19507 esac
19508 shift
19509 done
19511 ac_configure_extra_args=
19513 if $ac_cs_silent; then
19514 exec 6>/dev/null
19515 ac_configure_extra_args="$ac_configure_extra_args --silent"
19518 _ACEOF
19519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19520 if \$ac_cs_recheck; then
19521 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19522 shift
19523 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19524 CONFIG_SHELL='$SHELL'
19525 export CONFIG_SHELL
19526 exec "\$@"
19529 _ACEOF
19530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19531 exec 5>>config.log
19533 echo
19534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19535 ## Running $as_me. ##
19536 _ASBOX
19537 $as_echo "$ac_log"
19538 } >&5
19540 _ACEOF
19541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19543 # INIT-COMMANDS
19545 wine_fn_output_makedep ()
19547 as_dir=tools; as_fn_mkdir_p
19548 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19550 wine_fn_output_makefile ()
19552 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19553 `cat $wine_rules_file`
19554 _WINE_EOF
19555 as_fn_error $? "could not create Makefile" "$LINENO" 5
19558 _ACEOF
19560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19562 # Handling of arguments.
19563 for ac_config_target in $ac_config_targets
19565 case $ac_config_target in
19566 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19567 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19568 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19569 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19570 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19571 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19572 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19573 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19574 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19575 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19576 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19577 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19578 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19580 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19581 esac
19582 done
19585 # If the user did not use the arguments to specify the items to instantiate,
19586 # then the envvar interface is used. Set only those that are not.
19587 # We use the long form for the default assignment because of an extremely
19588 # bizarre bug on SunOS 4.1.3.
19589 if $ac_need_defaults; then
19590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19592 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19593 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19596 # Have a temporary directory for convenience. Make it in the build tree
19597 # simply because there is no reason against having it here, and in addition,
19598 # creating and moving files from /tmp can sometimes cause problems.
19599 # Hook for its removal unless debugging.
19600 # Note that there is a small window in which the directory will not be cleaned:
19601 # after its creation but before its name has been assigned to `$tmp'.
19602 $debug ||
19604 tmp= ac_tmp=
19605 trap 'exit_status=$?
19606 : "${ac_tmp:=$tmp}"
19607 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19609 trap 'as_fn_exit 1' 1 2 13 15
19611 # Create a (secure) tmp directory for tmp files.
19614 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19615 test -d "$tmp"
19616 } ||
19618 tmp=./conf$$-$RANDOM
19619 (umask 077 && mkdir "$tmp")
19620 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19621 ac_tmp=$tmp
19623 # Set up the scripts for CONFIG_FILES section.
19624 # No need to generate them if there are no CONFIG_FILES.
19625 # This happens for instance with `./config.status config.h'.
19626 if test -n "$CONFIG_FILES"; then
19629 ac_cr=`echo X | tr X '\015'`
19630 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19631 # But we know of no other shell where ac_cr would be empty at this
19632 # point, so we can use a bashism as a fallback.
19633 if test "x$ac_cr" = x; then
19634 eval ac_cr=\$\'\\r\'
19636 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19637 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19638 ac_cs_awk_cr='\\r'
19639 else
19640 ac_cs_awk_cr=$ac_cr
19643 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19644 _ACEOF
19648 echo "cat >conf$$subs.awk <<_ACEOF" &&
19649 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19650 echo "_ACEOF"
19651 } >conf$$subs.sh ||
19652 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19653 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19654 ac_delim='%!_!# '
19655 for ac_last_try in false false false false false :; do
19656 . ./conf$$subs.sh ||
19657 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19659 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19660 if test $ac_delim_n = $ac_delim_num; then
19661 break
19662 elif $ac_last_try; then
19663 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19664 else
19665 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19667 done
19668 rm -f conf$$subs.sh
19670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19671 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19672 _ACEOF
19673 sed -n '
19675 s/^/S["/; s/!.*/"]=/
19678 s/^[^!]*!//
19679 :repl
19680 t repl
19681 s/'"$ac_delim"'$//
19682 t delim
19685 s/\(.\{148\}\)..*/\1/
19686 t more1
19687 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19690 b repl
19691 :more1
19692 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19695 s/.\{148\}//
19696 t nl
19697 :delim
19699 s/\(.\{148\}\)..*/\1/
19700 t more2
19701 s/["\\]/\\&/g; s/^/"/; s/$/"/
19704 :more2
19705 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19708 s/.\{148\}//
19709 t delim
19710 ' <conf$$subs.awk | sed '
19711 /^[^""]/{
19713 s/\n//
19715 ' >>$CONFIG_STATUS || ac_write_fail=1
19716 rm -f conf$$subs.awk
19717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19718 _ACAWK
19719 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19720 for (key in S) S_is_set[key] = 1
19721 FS = "\a"
19725 line = $ 0
19726 nfields = split(line, field, "@")
19727 substed = 0
19728 len = length(field[1])
19729 for (i = 2; i < nfields; i++) {
19730 key = field[i]
19731 keylen = length(key)
19732 if (S_is_set[key]) {
19733 value = S[key]
19734 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19735 len += length(value) + length(field[++i])
19736 substed = 1
19737 } else
19738 len += 1 + keylen
19741 print line
19744 _ACAWK
19745 _ACEOF
19746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19747 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19748 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19749 else
19751 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19752 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19753 _ACEOF
19755 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19756 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19757 # trailing colons and then remove the whole line if VPATH becomes empty
19758 # (actually we leave an empty line to preserve line numbers).
19759 if test "x$srcdir" = x.; then
19760 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19762 s///
19763 s/^/:/
19764 s/[ ]*$/:/
19765 s/:\$(srcdir):/:/g
19766 s/:\${srcdir}:/:/g
19767 s/:@srcdir@:/:/g
19768 s/^:*//
19769 s/:*$//
19771 s/\(=[ ]*\).*/\1/
19773 s/\n//
19774 s/^[^=]*=[ ]*$//
19778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19779 fi # test -n "$CONFIG_FILES"
19781 # Set up the scripts for CONFIG_HEADERS section.
19782 # No need to generate them if there are no CONFIG_HEADERS.
19783 # This happens for instance with `./config.status Makefile'.
19784 if test -n "$CONFIG_HEADERS"; then
19785 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19786 BEGIN {
19787 _ACEOF
19789 # Transform confdefs.h into an awk script `defines.awk', embedded as
19790 # here-document in config.status, that substitutes the proper values into
19791 # config.h.in to produce config.h.
19793 # Create a delimiter string that does not exist in confdefs.h, to ease
19794 # handling of long lines.
19795 ac_delim='%!_!# '
19796 for ac_last_try in false false :; do
19797 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19798 if test -z "$ac_tt"; then
19799 break
19800 elif $ac_last_try; then
19801 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19802 else
19803 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19805 done
19807 # For the awk script, D is an array of macro values keyed by name,
19808 # likewise P contains macro parameters if any. Preserve backslash
19809 # newline sequences.
19811 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19812 sed -n '
19813 s/.\{148\}/&'"$ac_delim"'/g
19814 t rset
19815 :rset
19816 s/^[ ]*#[ ]*define[ ][ ]*/ /
19817 t def
19819 :def
19820 s/\\$//
19821 t bsnl
19822 s/["\\]/\\&/g
19823 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19824 D["\1"]=" \3"/p
19825 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19827 :bsnl
19828 s/["\\]/\\&/g
19829 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19830 D["\1"]=" \3\\\\\\n"\\/p
19831 t cont
19832 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19833 t cont
19835 :cont
19837 s/.\{148\}/&'"$ac_delim"'/g
19838 t clear
19839 :clear
19840 s/\\$//
19841 t bsnlc
19842 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19844 :bsnlc
19845 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19846 b cont
19847 ' <confdefs.h | sed '
19848 s/'"$ac_delim"'/"\\\
19849 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19852 for (key in D) D_is_set[key] = 1
19853 FS = "\a"
19855 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19856 line = \$ 0
19857 split(line, arg, " ")
19858 if (arg[1] == "#") {
19859 defundef = arg[2]
19860 mac1 = arg[3]
19861 } else {
19862 defundef = substr(arg[1], 2)
19863 mac1 = arg[2]
19865 split(mac1, mac2, "(") #)
19866 macro = mac2[1]
19867 prefix = substr(line, 1, index(line, defundef) - 1)
19868 if (D_is_set[macro]) {
19869 # Preserve the white space surrounding the "#".
19870 print prefix "define", macro P[macro] D[macro]
19871 next
19872 } else {
19873 # Replace #undef with comments. This is necessary, for example,
19874 # in the case of _POSIX_SOURCE, which is predefined and required
19875 # on some systems where configure will not decide to define it.
19876 if (defundef == "undef") {
19877 print "/*", prefix defundef, macro, "*/"
19878 next
19882 { print }
19883 _ACAWK
19884 _ACEOF
19885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19886 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19887 fi # test -n "$CONFIG_HEADERS"
19890 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19891 shift
19892 for ac_tag
19894 case $ac_tag in
19895 :[FHLC]) ac_mode=$ac_tag; continue;;
19896 esac
19897 case $ac_mode$ac_tag in
19898 :[FHL]*:*);;
19899 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19900 :[FH]-) ac_tag=-:-;;
19901 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19902 esac
19903 ac_save_IFS=$IFS
19904 IFS=:
19905 set x $ac_tag
19906 IFS=$ac_save_IFS
19907 shift
19908 ac_file=$1
19909 shift
19911 case $ac_mode in
19912 :L) ac_source=$1;;
19913 :[FH])
19914 ac_file_inputs=
19915 for ac_f
19917 case $ac_f in
19918 -) ac_f="$ac_tmp/stdin";;
19919 *) # Look for the file first in the build tree, then in the source tree
19920 # (if the path is not absolute). The absolute path cannot be DOS-style,
19921 # because $ac_f cannot contain `:'.
19922 test -f "$ac_f" ||
19923 case $ac_f in
19924 [\\/$]*) false;;
19925 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19926 esac ||
19927 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19928 esac
19929 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19930 as_fn_append ac_file_inputs " '$ac_f'"
19931 done
19933 # Let's still pretend it is `configure' which instantiates (i.e., don't
19934 # use $as_me), people would be surprised to read:
19935 # /* config.h. Generated by config.status. */
19936 configure_input='Generated from '`
19937 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19938 `' by configure.'
19939 if test x"$ac_file" != x-; then
19940 configure_input="$ac_file. $configure_input"
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19942 $as_echo "$as_me: creating $ac_file" >&6;}
19944 # Neutralize special characters interpreted by sed in replacement strings.
19945 case $configure_input in #(
19946 *\&* | *\|* | *\\* )
19947 ac_sed_conf_input=`$as_echo "$configure_input" |
19948 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19949 *) ac_sed_conf_input=$configure_input;;
19950 esac
19952 case $ac_tag in
19953 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19955 esac
19957 esac
19959 ac_dir=`$as_dirname -- "$ac_file" ||
19960 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19961 X"$ac_file" : 'X\(//\)[^/]' \| \
19962 X"$ac_file" : 'X\(//\)$' \| \
19963 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19964 $as_echo X"$ac_file" |
19965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19966 s//\1/
19969 /^X\(\/\/\)[^/].*/{
19970 s//\1/
19973 /^X\(\/\/\)$/{
19974 s//\1/
19977 /^X\(\/\).*/{
19978 s//\1/
19981 s/.*/./; q'`
19982 as_dir="$ac_dir"; as_fn_mkdir_p
19983 ac_builddir=.
19985 case "$ac_dir" in
19986 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19988 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19989 # A ".." for each directory in $ac_dir_suffix.
19990 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19991 case $ac_top_builddir_sub in
19992 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19993 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19994 esac ;;
19995 esac
19996 ac_abs_top_builddir=$ac_pwd
19997 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19998 # for backward compatibility:
19999 ac_top_builddir=$ac_top_build_prefix
20001 case $srcdir in
20002 .) # We are building in place.
20003 ac_srcdir=.
20004 ac_top_srcdir=$ac_top_builddir_sub
20005 ac_abs_top_srcdir=$ac_pwd ;;
20006 [\\/]* | ?:[\\/]* ) # Absolute name.
20007 ac_srcdir=$srcdir$ac_dir_suffix;
20008 ac_top_srcdir=$srcdir
20009 ac_abs_top_srcdir=$srcdir ;;
20010 *) # Relative name.
20011 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20012 ac_top_srcdir=$ac_top_build_prefix$srcdir
20013 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20014 esac
20015 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20018 case $ac_mode in
20021 # CONFIG_FILE
20024 _ACEOF
20026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20027 # If the template does not know about datarootdir, expand it.
20028 # FIXME: This hack should be removed a few years after 2.60.
20029 ac_datarootdir_hack=; ac_datarootdir_seen=
20030 ac_sed_dataroot='
20031 /datarootdir/ {
20035 /@datadir@/p
20036 /@docdir@/p
20037 /@infodir@/p
20038 /@localedir@/p
20039 /@mandir@/p'
20040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20041 *datarootdir*) ac_datarootdir_seen=yes;;
20042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20045 _ACEOF
20046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20047 ac_datarootdir_hack='
20048 s&@datadir@&$datadir&g
20049 s&@docdir@&$docdir&g
20050 s&@infodir@&$infodir&g
20051 s&@localedir@&$localedir&g
20052 s&@mandir@&$mandir&g
20053 s&\\\${datarootdir}&$datarootdir&g' ;;
20054 esac
20055 _ACEOF
20057 # Neutralize VPATH when `$srcdir' = `.'.
20058 # Shell code in configure.ac might set extrasub.
20059 # FIXME: do we really want to maintain this feature?
20060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20061 ac_sed_extra="$ac_vpsub
20062 $extrasub
20063 _ACEOF
20064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20067 s|@configure_input@|$ac_sed_conf_input|;t t
20068 s&@top_builddir@&$ac_top_builddir_sub&;t t
20069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20070 s&@srcdir@&$ac_srcdir&;t t
20071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20072 s&@top_srcdir@&$ac_top_srcdir&;t t
20073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20074 s&@builddir@&$ac_builddir&;t t
20075 s&@abs_builddir@&$ac_abs_builddir&;t t
20076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20077 $ac_datarootdir_hack
20079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20080 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20083 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20084 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20085 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20087 which seems to be undefined. Please make sure it is defined" >&5
20088 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20089 which seems to be undefined. Please make sure it is defined" >&2;}
20091 rm -f "$ac_tmp/stdin"
20092 case $ac_file in
20093 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20094 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20095 esac \
20096 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20100 # CONFIG_HEADER
20102 if test x"$ac_file" != x-; then
20104 $as_echo "/* $configure_input */" \
20105 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20106 } >"$ac_tmp/config.h" \
20107 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20108 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20110 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20111 else
20112 rm -f "$ac_file"
20113 mv "$ac_tmp/config.h" "$ac_file" \
20114 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20116 else
20117 $as_echo "/* $configure_input */" \
20118 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20119 || as_fn_error $? "could not create -" "$LINENO" 5
20124 # CONFIG_LINK
20127 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20129 else
20130 # Prefer the file from the source tree if names are identical.
20131 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20132 ac_source=$srcdir/$ac_source
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20136 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20138 if test ! -r "$ac_source"; then
20139 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20141 rm -f "$ac_file"
20143 # Try a relative symlink, then a hard link, then a copy.
20144 case $ac_source in
20145 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20146 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20147 esac
20148 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20149 ln "$ac_source" "$ac_file" 2>/dev/null ||
20150 cp -p "$ac_source" "$ac_file" ||
20151 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20154 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20155 $as_echo "$as_me: executing $ac_file commands" >&6;}
20157 esac
20160 case $ac_file$ac_mode in
20161 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20162 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20163 "Makefile":C) wine_fn_output_makefile Makefile ;;
20165 esac
20166 done # for ac_tag
20169 as_fn_exit 0
20170 _ACEOF
20171 ac_clean_files=$ac_clean_files_save
20173 test $ac_write_fail = 0 ||
20174 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20177 # configure is writing to config.log, and then calls config.status.
20178 # config.status does its own redirection, appending to config.log.
20179 # Unfortunately, on DOS this fails, as config.log is still kept open
20180 # by configure, so config.status won't be able to write to it; its
20181 # output is simply discarded. So we exec the FD to /dev/null,
20182 # effectively closing config.log, so it can be properly (re)opened and
20183 # appended to by config.status. When coming back to configure, we
20184 # need to make the FD available again.
20185 if test "$no_create" != yes; then
20186 ac_cs_success=:
20187 ac_config_status_args=
20188 test "$silent" = yes &&
20189 ac_config_status_args="$ac_config_status_args --quiet"
20190 exec 5>/dev/null
20191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20192 exec 5>>config.log
20193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20194 # would make configure fail if this is the last instruction.
20195 $ac_cs_success || as_fn_exit 1
20197 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20199 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20203 if test "$no_create" = "yes"
20204 then
20205 exit 0
20208 ac_save_IFS="$IFS"
20209 if test "x$wine_notices" != x; then
20210 echo >&6
20211 IFS="|"
20212 for msg in $wine_notices; do
20213 IFS="$ac_save_IFS"
20214 if ${msg:+false} :; then :
20216 else
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20218 $as_echo "$as_me: $msg" >&6;}
20220 done
20222 IFS="|"
20223 for msg in $wine_warnings; do
20224 IFS="$ac_save_IFS"
20225 if ${msg:+false} :; then :
20227 else
20228 echo >&2
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20230 $as_echo "$as_me: WARNING: $msg" >&2;}
20232 done
20233 IFS="$ac_save_IFS"
20235 $as_echo "
20236 $as_me: Finished. Do '${ac_make}' to compile Wine.
20237 " >&6