gdi32: Allocate smaller buffer in delete_external_font_keys helper.
[wine.git] / configure
blobdee9369bfaf1095be98ae6dd674f62ee0443989e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.6.
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.6'
584 PACKAGE_STRING='Wine 2.6'
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 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_mm_misc_l1_1_1
1022 enable_api_ms_win_mm_mme_l1_1_0
1023 enable_api_ms_win_ntuser_dc_access_l1_1_0
1024 enable_api_ms_win_power_base_l1_1_0
1025 enable_api_ms_win_power_setting_l1_1_0
1026 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1027 enable_api_ms_win_security_audit_l1_1_1
1028 enable_api_ms_win_security_base_l1_1_0
1029 enable_api_ms_win_security_base_l1_2_0
1030 enable_api_ms_win_security_base_private_l1_1_1
1031 enable_api_ms_win_security_grouppolicy_l1_1_0
1032 enable_api_ms_win_security_lsalookup_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_1
1034 enable_api_ms_win_security_lsalookup_l2_1_1
1035 enable_api_ms_win_security_lsapolicy_l1_1_0
1036 enable_api_ms_win_security_sddl_l1_1_0
1037 enable_api_ms_win_security_systemfunctions_l1_1_0
1038 enable_api_ms_win_service_core_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_1
1040 enable_api_ms_win_service_management_l1_1_0
1041 enable_api_ms_win_service_management_l2_1_0
1042 enable_api_ms_win_service_private_l1_1_1
1043 enable_api_ms_win_service_winsvc_l1_1_0
1044 enable_api_ms_win_service_winsvc_l1_2_0
1045 enable_api_ms_win_shell_shellcom_l1_1_0
1046 enable_api_ms_win_shell_shellfolders_l1_1_0
1047 enable_apphelp
1048 enable_appwiz_cpl
1049 enable_atl
1050 enable_atl100
1051 enable_atl110
1052 enable_atl80
1053 enable_atl90
1054 enable_authz
1055 enable_avicap32
1056 enable_avifil32
1057 enable_avrt
1058 enable_bcrypt
1059 enable_bluetoothapis
1060 enable_browseui
1061 enable_bthprops_cpl
1062 enable_cabinet
1063 enable_capi2032
1064 enable_cards
1065 enable_cfgmgr32
1066 enable_clusapi
1067 enable_combase
1068 enable_comcat
1069 enable_comctl32
1070 enable_comdlg32
1071 enable_compstui
1072 enable_comsvcs
1073 enable_concrt140
1074 enable_connect
1075 enable_credui
1076 enable_crtdll
1077 enable_crypt32
1078 enable_cryptdlg
1079 enable_cryptdll
1080 enable_cryptext
1081 enable_cryptnet
1082 enable_cryptui
1083 enable_ctapi32
1084 enable_ctl3d32
1085 enable_d2d1
1086 enable_d3d10
1087 enable_d3d10_1
1088 enable_d3d10core
1089 enable_d3d11
1090 enable_d3d8
1091 enable_d3d9
1092 enable_d3dcompiler_33
1093 enable_d3dcompiler_34
1094 enable_d3dcompiler_35
1095 enable_d3dcompiler_36
1096 enable_d3dcompiler_37
1097 enable_d3dcompiler_38
1098 enable_d3dcompiler_39
1099 enable_d3dcompiler_40
1100 enable_d3dcompiler_41
1101 enable_d3dcompiler_42
1102 enable_d3dcompiler_43
1103 enable_d3dcompiler_46
1104 enable_d3dcompiler_47
1105 enable_d3dim
1106 enable_d3drm
1107 enable_d3dx10_33
1108 enable_d3dx10_34
1109 enable_d3dx10_35
1110 enable_d3dx10_36
1111 enable_d3dx10_37
1112 enable_d3dx10_38
1113 enable_d3dx10_39
1114 enable_d3dx10_40
1115 enable_d3dx10_41
1116 enable_d3dx10_42
1117 enable_d3dx10_43
1118 enable_d3dx11_42
1119 enable_d3dx11_43
1120 enable_d3dx9_24
1121 enable_d3dx9_25
1122 enable_d3dx9_26
1123 enable_d3dx9_27
1124 enable_d3dx9_28
1125 enable_d3dx9_29
1126 enable_d3dx9_30
1127 enable_d3dx9_31
1128 enable_d3dx9_32
1129 enable_d3dx9_33
1130 enable_d3dx9_34
1131 enable_d3dx9_35
1132 enable_d3dx9_36
1133 enable_d3dx9_37
1134 enable_d3dx9_38
1135 enable_d3dx9_39
1136 enable_d3dx9_40
1137 enable_d3dx9_41
1138 enable_d3dx9_42
1139 enable_d3dx9_43
1140 enable_d3dxof
1141 enable_davclnt
1142 enable_dbgeng
1143 enable_dbghelp
1144 enable_dciman32
1145 enable_ddraw
1146 enable_ddrawex
1147 enable_devenum
1148 enable_dhcpcsvc
1149 enable_difxapi
1150 enable_dinput
1151 enable_dinput8
1152 enable_dispex
1153 enable_dmband
1154 enable_dmcompos
1155 enable_dmime
1156 enable_dmloader
1157 enable_dmscript
1158 enable_dmstyle
1159 enable_dmsynth
1160 enable_dmusic
1161 enable_dmusic32
1162 enable_dnsapi
1163 enable_dplay
1164 enable_dplayx
1165 enable_dpnaddr
1166 enable_dpnet
1167 enable_dpnhpast
1168 enable_dpnlobby
1169 enable_dpvoice
1170 enable_dpwsockx
1171 enable_drmclien
1172 enable_dsound
1173 enable_dssenh
1174 enable_dswave
1175 enable_dwmapi
1176 enable_dwrite
1177 enable_dxdiagn
1178 enable_dxgi
1179 enable_dxva2
1180 enable_esent
1181 enable_evr
1182 enable_explorerframe
1183 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1184 enable_ext_ms_win_gdi_dc_create_l1_1_1
1185 enable_ext_ms_win_gdi_dc_l1_2_0
1186 enable_ext_ms_win_gdi_devcaps_l1_1_0
1187 enable_ext_ms_win_gdi_draw_l1_1_1
1188 enable_ext_ms_win_gdi_render_l1_1_0
1189 enable_ext_ms_win_kernel32_package_current_l1_1_0
1190 enable_ext_ms_win_ntuser_message_l1_1_1
1191 enable_ext_ms_win_ntuser_private_l1_1_1
1192 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1193 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1194 enable_ext_ms_win_ntuser_window_l1_1_1
1195 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1196 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1197 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1198 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1200 enable_faultrep
1201 enable_fltlib
1202 enable_fltmgr_sys
1203 enable_fntcache
1204 enable_fontsub
1205 enable_fusion
1206 enable_fwpuclnt
1207 enable_gameux
1208 enable_gdi32
1209 enable_gdiplus
1210 enable_glu32
1211 enable_gphoto2_ds
1212 enable_gpkcsp
1213 enable_hal
1214 enable_hhctrl_ocx
1215 enable_hid
1216 enable_hidclass_sys
1217 enable_hlink
1218 enable_hnetcfg
1219 enable_httpapi
1220 enable_iccvid
1221 enable_icmp
1222 enable_ieframe
1223 enable_imaadp32_acm
1224 enable_imagehlp
1225 enable_imm32
1226 enable_inetcomm
1227 enable_inetcpl_cpl
1228 enable_inetmib1
1229 enable_infosoft
1230 enable_initpki
1231 enable_inkobj
1232 enable_inseng
1233 enable_iphlpapi
1234 enable_iprop
1235 enable_irprops_cpl
1236 enable_itircl
1237 enable_itss
1238 enable_joy_cpl
1239 enable_jscript
1240 enable_jsproxy
1241 enable_kernel32
1242 enable_kernelbase
1243 enable_ksuser
1244 enable_ktmw32
1245 enable_loadperf
1246 enable_localspl
1247 enable_localui
1248 enable_lz32
1249 enable_mapi32
1250 enable_mapistub
1251 enable_mciavi32
1252 enable_mcicda
1253 enable_mciqtz32
1254 enable_mciseq
1255 enable_mciwave
1256 enable_mf
1257 enable_mf3216
1258 enable_mfplat
1259 enable_mfreadwrite
1260 enable_mgmtapi
1261 enable_midimap
1262 enable_mlang
1263 enable_mmcndmgr
1264 enable_mmdevapi
1265 enable_mountmgr_sys
1266 enable_mpr
1267 enable_mprapi
1268 enable_msacm32_drv
1269 enable_msacm32
1270 enable_msadp32_acm
1271 enable_msasn1
1272 enable_mscat32
1273 enable_mscms
1274 enable_mscoree
1275 enable_msctf
1276 enable_msctfp
1277 enable_msdaps
1278 enable_msdelta
1279 enable_msdmo
1280 enable_msdrm
1281 enable_msftedit
1282 enable_msg711_acm
1283 enable_msgsm32_acm
1284 enable_mshtml_tlb
1285 enable_mshtml
1286 enable_msi
1287 enable_msident
1288 enable_msimg32
1289 enable_msimsg
1290 enable_msimtf
1291 enable_msisip
1292 enable_msisys_ocx
1293 enable_msls31
1294 enable_msnet32
1295 enable_mspatcha
1296 enable_msports
1297 enable_msrle32
1298 enable_msscript_ocx
1299 enable_mssign32
1300 enable_mssip32
1301 enable_mstask
1302 enable_msvcirt
1303 enable_msvcm80
1304 enable_msvcm90
1305 enable_msvcp100
1306 enable_msvcp110
1307 enable_msvcp120
1308 enable_msvcp120_app
1309 enable_msvcp140
1310 enable_msvcp60
1311 enable_msvcp70
1312 enable_msvcp71
1313 enable_msvcp80
1314 enable_msvcp90
1315 enable_msvcr100
1316 enable_msvcr110
1317 enable_msvcr120
1318 enable_msvcr120_app
1319 enable_msvcr70
1320 enable_msvcr71
1321 enable_msvcr80
1322 enable_msvcr90
1323 enable_msvcrt
1324 enable_msvcrt20
1325 enable_msvcrt40
1326 enable_msvcrtd
1327 enable_msvfw32
1328 enable_msvidc32
1329 enable_mswsock
1330 enable_msxml
1331 enable_msxml2
1332 enable_msxml3
1333 enable_msxml4
1334 enable_msxml6
1335 enable_mtxdm
1336 enable_ncrypt
1337 enable_nddeapi
1338 enable_ndis_sys
1339 enable_netapi32
1340 enable_netcfgx
1341 enable_netprofm
1342 enable_newdev
1343 enable_normaliz
1344 enable_npmshtml
1345 enable_npptools
1346 enable_ntdll
1347 enable_ntdsapi
1348 enable_ntoskrnl_exe
1349 enable_ntprint
1350 enable_objsel
1351 enable_odbc32
1352 enable_odbccp32
1353 enable_odbccu32
1354 enable_ole32
1355 enable_oleacc
1356 enable_oleaut32
1357 enable_olecli32
1358 enable_oledb32
1359 enable_oledlg
1360 enable_olepro32
1361 enable_olesvr32
1362 enable_olethk32
1363 enable_openal32
1364 enable_opencl
1365 enable_opengl32
1366 enable_packager
1367 enable_pdh
1368 enable_photometadatahandler
1369 enable_pidgen
1370 enable_powrprof
1371 enable_printui
1372 enable_prntvpt
1373 enable_propsys
1374 enable_psapi
1375 enable_pstorec
1376 enable_qcap
1377 enable_qedit
1378 enable_qmgr
1379 enable_qmgrprxy
1380 enable_quartz
1381 enable_query
1382 enable_rasapi32
1383 enable_rasdlg
1384 enable_regapi
1385 enable_resutils
1386 enable_riched20
1387 enable_riched32
1388 enable_rpcrt4
1389 enable_rsabase
1390 enable_rsaenh
1391 enable_rstrtmgr
1392 enable_rtutils
1393 enable_samlib
1394 enable_sane_ds
1395 enable_scarddlg
1396 enable_sccbase
1397 enable_schannel
1398 enable_schedsvc
1399 enable_scrobj
1400 enable_scrrun
1401 enable_scsiport_sys
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shdoclc
1410 enable_shdocvw
1411 enable_shell32
1412 enable_shfolder
1413 enable_shlwapi
1414 enable_slbcsp
1415 enable_slc
1416 enable_snmpapi
1417 enable_softpub
1418 enable_spoolss
1419 enable_sspicli
1420 enable_stdole2_tlb
1421 enable_stdole32_tlb
1422 enable_sti
1423 enable_svrapi
1424 enable_sxs
1425 enable_t2embed
1426 enable_tapi32
1427 enable_taskschd
1428 enable_tdi_sys
1429 enable_traffic
1430 enable_twain_32
1431 enable_ucrtbase
1432 enable_uiautomationcore
1433 enable_unicows
1434 enable_updspapi
1435 enable_url
1436 enable_urlmon
1437 enable_usbd_sys
1438 enable_user32
1439 enable_userenv
1440 enable_usp10
1441 enable_uxtheme
1442 enable_vbscript
1443 enable_vcomp
1444 enable_vcomp100
1445 enable_vcomp110
1446 enable_vcomp120
1447 enable_vcomp140
1448 enable_vcomp90
1449 enable_vcruntime140
1450 enable_vdmdbg
1451 enable_version
1452 enable_virtdisk
1453 enable_vssapi
1454 enable_wbemdisp
1455 enable_wbemprox
1456 enable_webservices
1457 enable_wer
1458 enable_wevtapi
1459 enable_wiaservc
1460 enable_wimgapi
1461 enable_windowscodecs
1462 enable_windowscodecsext
1463 enable_winealsa_drv
1464 enable_winebus_sys
1465 enable_winecoreaudio_drv
1466 enable_wined3d
1467 enable_winegstreamer
1468 enable_winehid_sys
1469 enable_winejoystick_drv
1470 enable_winemac_drv
1471 enable_winemapi
1472 enable_winemp3_acm
1473 enable_wineoss_drv
1474 enable_wineps_drv
1475 enable_winepulse_drv
1476 enable_wineqtdecoder
1477 enable_winex11_drv
1478 enable_wing32
1479 enable_winhttp
1480 enable_wininet
1481 enable_winmm
1482 enable_winnls32
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_winusb
1489 enable_wlanapi
1490 enable_wldap32
1491 enable_wmasf
1492 enable_wmi
1493 enable_wmiutils
1494 enable_wmp
1495 enable_wmvcore
1496 enable_wnaspi32
1497 enable_wpc
1498 enable_wpcap
1499 enable_ws2_32
1500 enable_wsdapi
1501 enable_wshom_ocx
1502 enable_wsnmp32
1503 enable_wsock32
1504 enable_wtsapi32
1505 enable_wuapi
1506 enable_wuaueng
1507 enable_x3daudio1_0
1508 enable_x3daudio1_1
1509 enable_x3daudio1_2
1510 enable_x3daudio1_3
1511 enable_x3daudio1_4
1512 enable_x3daudio1_5
1513 enable_x3daudio1_6
1514 enable_x3daudio1_7
1515 enable_xapofx1_1
1516 enable_xapofx1_2
1517 enable_xapofx1_3
1518 enable_xapofx1_4
1519 enable_xapofx1_5
1520 enable_xaudio2_0
1521 enable_xaudio2_1
1522 enable_xaudio2_2
1523 enable_xaudio2_3
1524 enable_xaudio2_4
1525 enable_xaudio2_5
1526 enable_xaudio2_6
1527 enable_xaudio2_7
1528 enable_xaudio2_8
1529 enable_xaudio2_9
1530 enable_xinput1_1
1531 enable_xinput1_2
1532 enable_xinput1_3
1533 enable_xinput1_4
1534 enable_xinput9_1_0
1535 enable_xmllite
1536 enable_xolehlp
1537 enable_xpsprint
1538 enable_xpssvcs
1539 enable_fonts
1540 enable_include
1541 enable_libs_port
1542 enable_libs_wine
1543 enable_libs_wpp
1544 enable_loader
1545 enable_po
1546 enable_arp
1547 enable_aspnet_regiis
1548 enable_attrib
1549 enable_cabarc
1550 enable_cacls
1551 enable_clock
1552 enable_cmd
1553 enable_conhost
1554 enable_control
1555 enable_cscript
1556 enable_dpnsvr
1557 enable_dxdiag
1558 enable_eject
1559 enable_expand
1560 enable_explorer
1561 enable_extrac32
1562 enable_findstr
1563 enable_fsutil
1564 enable_hh
1565 enable_hostname
1566 enable_icacls
1567 enable_icinfo
1568 enable_iexplore
1569 enable_ipconfig
1570 enable_lodctr
1571 enable_mofcomp
1572 enable_mshta
1573 enable_msiexec
1574 enable_msinfo32
1575 enable_net
1576 enable_netsh
1577 enable_netstat
1578 enable_ngen
1579 enable_notepad
1580 enable_oleview
1581 enable_ping
1582 enable_plugplay
1583 enable_presentationfontcache
1584 enable_progman
1585 enable_reg
1586 enable_regasm
1587 enable_regedit
1588 enable_regsvcs
1589 enable_regsvr32
1590 enable_rpcss
1591 enable_rundll32
1592 enable_sc
1593 enable_schtasks
1594 enable_sdbinst
1595 enable_secedit
1596 enable_servicemodelreg
1597 enable_services
1598 enable_shutdown
1599 enable_spoolsv
1600 enable_start
1601 enable_subst
1602 enable_svchost
1603 enable_systeminfo
1604 enable_taskkill
1605 enable_tasklist
1606 enable_taskmgr
1607 enable_termsv
1608 enable_uninstaller
1609 enable_unlodctr
1610 enable_view
1611 enable_wevtutil
1612 enable_wineboot
1613 enable_winebrowser
1614 enable_winecfg
1615 enable_wineconsole
1616 enable_winedbg
1617 enable_winedevice
1618 enable_winefile
1619 enable_winemenubuilder
1620 enable_winemine
1621 enable_winemsibuilder
1622 enable_winepath
1623 enable_winetest
1624 enable_winhlp32
1625 enable_winver
1626 enable_wmic
1627 enable_wmplayer
1628 enable_wordpad
1629 enable_write
1630 enable_wscript
1631 enable_wusa
1632 enable_xcopy
1633 enable_server
1634 enable_tools
1636 ac_precious_vars='build_alias
1637 host_alias
1638 target_alias
1640 CFLAGS
1641 LDFLAGS
1642 LIBS
1643 CPPFLAGS
1645 CXXFLAGS
1648 XMKMF
1649 XML2_CFLAGS
1650 XML2_LIBS
1651 XSLT_CFLAGS
1652 XSLT_LIBS
1653 DBUS_CFLAGS
1654 DBUS_LIBS
1655 HAL_CFLAGS
1656 HAL_LIBS
1657 GNUTLS_CFLAGS
1658 GNUTLS_LIBS
1659 SANE_CFLAGS
1660 SANE_LIBS
1661 GPHOTO2_CFLAGS
1662 GPHOTO2_LIBS
1663 GPHOTO2_PORT_CFLAGS
1664 GPHOTO2_PORT_LIBS
1665 LCMS2_CFLAGS
1666 LCMS2_LIBS
1667 FREETYPE_CFLAGS
1668 FREETYPE_LIBS
1669 PULSE_CFLAGS
1670 PULSE_LIBS
1671 GSTREAMER_CFLAGS
1672 GSTREAMER_LIBS
1673 UDEV_CFLAGS
1674 UDEV_LIBS
1675 CAPI20_CFLAGS
1676 CAPI20_LIBS
1677 FONTCONFIG_CFLAGS
1678 FONTCONFIG_LIBS
1679 JPEG_CFLAGS
1680 JPEG_LIBS
1681 PNG_CFLAGS
1682 PNG_LIBS
1683 TIFF_CFLAGS
1684 TIFF_LIBS
1685 MPG123_CFLAGS
1686 MPG123_LIBS
1687 NETAPI_CFLAGS
1688 NETAPI_LIBS'
1691 # Initialize some variables set by options.
1692 ac_init_help=
1693 ac_init_version=false
1694 ac_unrecognized_opts=
1695 ac_unrecognized_sep=
1696 # The variables have the same names as the options, with
1697 # dashes changed to underlines.
1698 cache_file=/dev/null
1699 exec_prefix=NONE
1700 no_create=
1701 no_recursion=
1702 prefix=NONE
1703 program_prefix=NONE
1704 program_suffix=NONE
1705 program_transform_name=s,x,x,
1706 silent=
1707 site=
1708 srcdir=
1709 verbose=
1710 x_includes=NONE
1711 x_libraries=NONE
1713 # Installation directory options.
1714 # These are left unexpanded so users can "make install exec_prefix=/foo"
1715 # and all the variables that are supposed to be based on exec_prefix
1716 # by default will actually change.
1717 # Use braces instead of parens because sh, perl, etc. also accept them.
1718 # (The list follows the same order as the GNU Coding Standards.)
1719 bindir='${exec_prefix}/bin'
1720 sbindir='${exec_prefix}/sbin'
1721 libexecdir='${exec_prefix}/libexec'
1722 datarootdir='${prefix}/share'
1723 datadir='${datarootdir}'
1724 sysconfdir='${prefix}/etc'
1725 sharedstatedir='${prefix}/com'
1726 localstatedir='${prefix}/var'
1727 runstatedir='${localstatedir}/run'
1728 includedir='${prefix}/include'
1729 oldincludedir='/usr/include'
1730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1731 infodir='${datarootdir}/info'
1732 htmldir='${docdir}'
1733 dvidir='${docdir}'
1734 pdfdir='${docdir}'
1735 psdir='${docdir}'
1736 libdir='${exec_prefix}/lib'
1737 localedir='${datarootdir}/locale'
1738 mandir='${datarootdir}/man'
1740 ac_prev=
1741 ac_dashdash=
1742 for ac_option
1744 # If the previous option needs an argument, assign it.
1745 if test -n "$ac_prev"; then
1746 eval $ac_prev=\$ac_option
1747 ac_prev=
1748 continue
1751 case $ac_option in
1752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1753 *=) ac_optarg= ;;
1754 *) ac_optarg=yes ;;
1755 esac
1757 # Accept the important Cygnus configure options, so we can diagnose typos.
1759 case $ac_dashdash$ac_option in
1761 ac_dashdash=yes ;;
1763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1764 ac_prev=bindir ;;
1765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1766 bindir=$ac_optarg ;;
1768 -build | --build | --buil | --bui | --bu)
1769 ac_prev=build_alias ;;
1770 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1771 build_alias=$ac_optarg ;;
1773 -cache-file | --cache-file | --cache-fil | --cache-fi \
1774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1775 ac_prev=cache_file ;;
1776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1778 cache_file=$ac_optarg ;;
1780 --config-cache | -C)
1781 cache_file=config.cache ;;
1783 -datadir | --datadir | --datadi | --datad)
1784 ac_prev=datadir ;;
1785 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1786 datadir=$ac_optarg ;;
1788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1789 | --dataroo | --dataro | --datar)
1790 ac_prev=datarootdir ;;
1791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1793 datarootdir=$ac_optarg ;;
1795 -disable-* | --disable-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid feature name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "enable_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval enable_$ac_useropt=no ;;
1811 -docdir | --docdir | --docdi | --doc | --do)
1812 ac_prev=docdir ;;
1813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1814 docdir=$ac_optarg ;;
1816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1817 ac_prev=dvidir ;;
1818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1819 dvidir=$ac_optarg ;;
1821 -enable-* | --enable-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid feature name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval enable_$ac_useropt=\$ac_optarg ;;
1837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1839 | --exec | --exe | --ex)
1840 ac_prev=exec_prefix ;;
1841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1843 | --exec=* | --exe=* | --ex=*)
1844 exec_prefix=$ac_optarg ;;
1846 -gas | --gas | --ga | --g)
1847 # Obsolete; use --with-gas.
1848 with_gas=yes ;;
1850 -help | --help | --hel | --he | -h)
1851 ac_init_help=long ;;
1852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1853 ac_init_help=recursive ;;
1854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1855 ac_init_help=short ;;
1857 -host | --host | --hos | --ho)
1858 ac_prev=host_alias ;;
1859 -host=* | --host=* | --hos=* | --ho=*)
1860 host_alias=$ac_optarg ;;
1862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1863 ac_prev=htmldir ;;
1864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1865 | --ht=*)
1866 htmldir=$ac_optarg ;;
1868 -includedir | --includedir | --includedi | --included | --include \
1869 | --includ | --inclu | --incl | --inc)
1870 ac_prev=includedir ;;
1871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1872 | --includ=* | --inclu=* | --incl=* | --inc=*)
1873 includedir=$ac_optarg ;;
1875 -infodir | --infodir | --infodi | --infod | --info | --inf)
1876 ac_prev=infodir ;;
1877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1878 infodir=$ac_optarg ;;
1880 -libdir | --libdir | --libdi | --libd)
1881 ac_prev=libdir ;;
1882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1883 libdir=$ac_optarg ;;
1885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1886 | --libexe | --libex | --libe)
1887 ac_prev=libexecdir ;;
1888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1889 | --libexe=* | --libex=* | --libe=*)
1890 libexecdir=$ac_optarg ;;
1892 -localedir | --localedir | --localedi | --localed | --locale)
1893 ac_prev=localedir ;;
1894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1895 localedir=$ac_optarg ;;
1897 -localstatedir | --localstatedir | --localstatedi | --localstated \
1898 | --localstate | --localstat | --localsta | --localst | --locals)
1899 ac_prev=localstatedir ;;
1900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1902 localstatedir=$ac_optarg ;;
1904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1905 ac_prev=mandir ;;
1906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1907 mandir=$ac_optarg ;;
1909 -nfp | --nfp | --nf)
1910 # Obsolete; use --without-fp.
1911 with_fp=no ;;
1913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1914 | --no-cr | --no-c | -n)
1915 no_create=yes ;;
1917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1919 no_recursion=yes ;;
1921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1923 | --oldin | --oldi | --old | --ol | --o)
1924 ac_prev=oldincludedir ;;
1925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1928 oldincludedir=$ac_optarg ;;
1930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1931 ac_prev=prefix ;;
1932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1933 prefix=$ac_optarg ;;
1935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1936 | --program-pre | --program-pr | --program-p)
1937 ac_prev=program_prefix ;;
1938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1940 program_prefix=$ac_optarg ;;
1942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1943 | --program-suf | --program-su | --program-s)
1944 ac_prev=program_suffix ;;
1945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1947 program_suffix=$ac_optarg ;;
1949 -program-transform-name | --program-transform-name \
1950 | --program-transform-nam | --program-transform-na \
1951 | --program-transform-n | --program-transform- \
1952 | --program-transform | --program-transfor \
1953 | --program-transfo | --program-transf \
1954 | --program-trans | --program-tran \
1955 | --progr-tra | --program-tr | --program-t)
1956 ac_prev=program_transform_name ;;
1957 -program-transform-name=* | --program-transform-name=* \
1958 | --program-transform-nam=* | --program-transform-na=* \
1959 | --program-transform-n=* | --program-transform-=* \
1960 | --program-transform=* | --program-transfor=* \
1961 | --program-transfo=* | --program-transf=* \
1962 | --program-trans=* | --program-tran=* \
1963 | --progr-tra=* | --program-tr=* | --program-t=*)
1964 program_transform_name=$ac_optarg ;;
1966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1967 ac_prev=pdfdir ;;
1968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1969 pdfdir=$ac_optarg ;;
1971 -psdir | --psdir | --psdi | --psd | --ps)
1972 ac_prev=psdir ;;
1973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1974 psdir=$ac_optarg ;;
1976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1977 | -silent | --silent | --silen | --sile | --sil)
1978 silent=yes ;;
1980 -runstatedir | --runstatedir | --runstatedi | --runstated \
1981 | --runstate | --runstat | --runsta | --runst | --runs \
1982 | --run | --ru | --r)
1983 ac_prev=runstatedir ;;
1984 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1985 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1986 | --run=* | --ru=* | --r=*)
1987 runstatedir=$ac_optarg ;;
1989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1990 ac_prev=sbindir ;;
1991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1992 | --sbi=* | --sb=*)
1993 sbindir=$ac_optarg ;;
1995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1997 | --sharedst | --shareds | --shared | --share | --shar \
1998 | --sha | --sh)
1999 ac_prev=sharedstatedir ;;
2000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2003 | --sha=* | --sh=*)
2004 sharedstatedir=$ac_optarg ;;
2006 -site | --site | --sit)
2007 ac_prev=site ;;
2008 -site=* | --site=* | --sit=*)
2009 site=$ac_optarg ;;
2011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2012 ac_prev=srcdir ;;
2013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2014 srcdir=$ac_optarg ;;
2016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2017 | --syscon | --sysco | --sysc | --sys | --sy)
2018 ac_prev=sysconfdir ;;
2019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2021 sysconfdir=$ac_optarg ;;
2023 -target | --target | --targe | --targ | --tar | --ta | --t)
2024 ac_prev=target_alias ;;
2025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2026 target_alias=$ac_optarg ;;
2028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2029 verbose=yes ;;
2031 -version | --version | --versio | --versi | --vers | -V)
2032 ac_init_version=: ;;
2034 -with-* | --with-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid package name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "with_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval with_$ac_useropt=\$ac_optarg ;;
2050 -without-* | --without-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid package name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "with_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval with_$ac_useropt=no ;;
2066 --x)
2067 # Obsolete; use --with-x.
2068 with_x=yes ;;
2070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2071 | --x-incl | --x-inc | --x-in | --x-i)
2072 ac_prev=x_includes ;;
2073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2075 x_includes=$ac_optarg ;;
2077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2079 ac_prev=x_libraries ;;
2080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2082 x_libraries=$ac_optarg ;;
2084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2085 Try \`$0 --help' for more information"
2088 *=*)
2089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2090 # Reject names that are not valid shell variable names.
2091 case $ac_envvar in #(
2092 '' | [0-9]* | *[!_$as_cr_alnum]* )
2093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2094 esac
2095 eval $ac_envvar=\$ac_optarg
2096 export $ac_envvar ;;
2099 # FIXME: should be removed in autoconf 3.0.
2100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2106 esac
2107 done
2109 if test -n "$ac_prev"; then
2110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2111 as_fn_error $? "missing argument to $ac_option"
2114 if test -n "$ac_unrecognized_opts"; then
2115 case $enable_option_checking in
2116 no) ;;
2117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2119 esac
2122 # Check all directory arguments for consistency.
2123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2124 datadir sysconfdir sharedstatedir localstatedir includedir \
2125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2126 libdir localedir mandir runstatedir
2128 eval ac_val=\$$ac_var
2129 # Remove trailing slashes.
2130 case $ac_val in
2131 */ )
2132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2133 eval $ac_var=\$ac_val;;
2134 esac
2135 # Be sure to have absolute directory names.
2136 case $ac_val in
2137 [\\/$]* | ?:[\\/]* ) continue;;
2138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2139 esac
2140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2141 done
2143 # There might be people who depend on the old broken behavior: `$host'
2144 # used to hold the argument of --host etc.
2145 # FIXME: To remove some day.
2146 build=$build_alias
2147 host=$host_alias
2148 target=$target_alias
2150 # FIXME: To remove some day.
2151 if test "x$host_alias" != x; then
2152 if test "x$build_alias" = x; then
2153 cross_compiling=maybe
2154 elif test "x$build_alias" != "x$host_alias"; then
2155 cross_compiling=yes
2159 ac_tool_prefix=
2160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2162 test "$silent" = yes && exec 6>/dev/null
2165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2166 ac_ls_di=`ls -di .` &&
2167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2168 as_fn_error $? "working directory cannot be determined"
2169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2170 as_fn_error $? "pwd does not report name of working directory"
2173 # Find the source files, if location was not specified.
2174 if test -z "$srcdir"; then
2175 ac_srcdir_defaulted=yes
2176 # Try the directory containing this script, then the parent directory.
2177 ac_confdir=`$as_dirname -- "$as_myself" ||
2178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2179 X"$as_myself" : 'X\(//\)[^/]' \| \
2180 X"$as_myself" : 'X\(//\)$' \| \
2181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2182 $as_echo X"$as_myself" |
2183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2184 s//\1/
2187 /^X\(\/\/\)[^/].*/{
2188 s//\1/
2191 /^X\(\/\/\)$/{
2192 s//\1/
2195 /^X\(\/\).*/{
2196 s//\1/
2199 s/.*/./; q'`
2200 srcdir=$ac_confdir
2201 if test ! -r "$srcdir/$ac_unique_file"; then
2202 srcdir=..
2204 else
2205 ac_srcdir_defaulted=no
2207 if test ! -r "$srcdir/$ac_unique_file"; then
2208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2212 ac_abs_confdir=`(
2213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2214 pwd)`
2215 # When building in place, set srcdir=.
2216 if test "$ac_abs_confdir" = "$ac_pwd"; then
2217 srcdir=.
2219 # Remove unnecessary trailing slashes from srcdir.
2220 # Double slashes in file names in object file debugging info
2221 # mess up M-x gdb in Emacs.
2222 case $srcdir in
2223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2224 esac
2225 for ac_var in $ac_precious_vars; do
2226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2227 eval ac_env_${ac_var}_value=\$${ac_var}
2228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2230 done
2233 # Report the --help message.
2235 if test "$ac_init_help" = "long"; then
2236 # Omit some internal or obsolete options to make the list less imposing.
2237 # This message is too long to be a string in the A/UX 3.1 sh.
2238 cat <<_ACEOF
2239 \`configure' configures Wine 2.6 to adapt to many kinds of systems.
2241 Usage: $0 [OPTION]... [VAR=VALUE]...
2243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2244 VAR=VALUE. See below for descriptions of some of the useful variables.
2246 Defaults for the options are specified in brackets.
2248 Configuration:
2249 -h, --help display this help and exit
2250 --help=short display options specific to this package
2251 --help=recursive display the short help of all the included packages
2252 -V, --version display version information and exit
2253 -q, --quiet, --silent do not print \`checking ...' messages
2254 --cache-file=FILE cache test results in FILE [disabled]
2255 -C, --config-cache alias for \`--cache-file=config.cache'
2256 -n, --no-create do not create output files
2257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2259 Installation directories:
2260 --prefix=PREFIX install architecture-independent files in PREFIX
2261 [$ac_default_prefix]
2262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2263 [PREFIX]
2265 By default, \`make install' will install all the files in
2266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2268 for instance \`--prefix=\$HOME'.
2270 For better control, use the options below.
2272 Fine tuning of the installation directories:
2273 --bindir=DIR user executables [EPREFIX/bin]
2274 --sbindir=DIR system admin executables [EPREFIX/sbin]
2275 --libexecdir=DIR program executables [EPREFIX/libexec]
2276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2279 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2280 --libdir=DIR object code libraries [EPREFIX/lib]
2281 --includedir=DIR C header files [PREFIX/include]
2282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2285 --infodir=DIR info documentation [DATAROOTDIR/info]
2286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2287 --mandir=DIR man documentation [DATAROOTDIR/man]
2288 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2289 --htmldir=DIR html documentation [DOCDIR]
2290 --dvidir=DIR dvi documentation [DOCDIR]
2291 --pdfdir=DIR pdf documentation [DOCDIR]
2292 --psdir=DIR ps documentation [DOCDIR]
2293 _ACEOF
2295 cat <<\_ACEOF
2297 X features:
2298 --x-includes=DIR X include files are in DIR
2299 --x-libraries=DIR X library files are in DIR
2301 System types:
2302 --build=BUILD configure for building on BUILD [guessed]
2303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2304 _ACEOF
2307 if test -n "$ac_init_help"; then
2308 case $ac_init_help in
2309 short | recursive ) echo "Configuration of Wine 2.6:";;
2310 esac
2311 cat <<\_ACEOF
2313 Optional Features:
2314 --disable-option-checking ignore unrecognized --enable/--with options
2315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2317 --disable-win16 do not include Win16 support
2318 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2319 binaries)
2320 --disable-tests do not build the regression tests
2321 --enable-maintainer-mode
2322 enable maintainer-specific build rules
2323 --disable-largefile omit support for large files
2325 Optional Packages:
2326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2328 --without-alsa do not use the Alsa sound support
2329 --without-capi do not use CAPI (ISDN support)
2330 --without-cms do not use CMS (color management support)
2331 --without-coreaudio do not use the CoreAudio sound support
2332 --without-cups do not use CUPS
2333 --without-curses do not use (n)curses
2334 --without-dbus do not use DBus (dynamic device support)
2335 --without-fontconfig do not use fontconfig
2336 --without-freetype do not use the FreeType library
2337 --without-gettext do not use gettext
2338 --with-gettextpo use the GetTextPO library to rebuild po files
2339 --without-gphoto do not use gphoto (Digital Camera support)
2340 --without-glu do not use the GLU library
2341 --without-gnutls do not use GnuTLS (schannel support)
2342 --without-gsm do not use libgsm (GSM 06.10 codec support)
2343 --without-gstreamer do not use GStreamer (codecs support)
2344 --without-hal do not use HAL (dynamic device support)
2345 --without-jpeg do not use JPEG
2346 --without-ldap do not use LDAP
2347 --without-mpg123 do not use the mpg123 library
2348 --without-netapi do not use the Samba NetAPI library
2349 --without-openal do not use OpenAL
2350 --without-opencl do not use OpenCL
2351 --without-opengl do not use OpenGL
2352 --without-osmesa do not use the OSMesa library
2353 --without-oss do not use the OSS sound support
2354 --without-pcap do not use the Packet Capture library
2355 --without-png do not use PNG
2356 --without-pthread do not use the pthread library
2357 --without-pulse do not use PulseAudio sound support
2358 --without-sane do not use SANE (scanner support)
2359 --without-tiff do not use TIFF
2360 --without-udev do not use udev (plug and play support)
2361 --without-v4l do not use v4l1 (v4l support)
2362 --without-xcomposite do not use the Xcomposite extension
2363 --without-xcursor do not use the Xcursor extension
2364 --without-xinerama do not use Xinerama (multi-monitor support)
2365 --without-xinput do not use the Xinput extension
2366 --without-xinput2 do not use the Xinput 2 extension
2367 --without-xml do not use XML
2368 --without-xrandr do not use Xrandr (resolution changes)
2369 --without-xrender do not use the Xrender extension
2370 --without-xshape do not use the Xshape extension
2371 --without-xshm do not use XShm (shared memory extension)
2372 --without-xslt do not use XSLT
2373 --without-xxf86vm do not use XFree video mode extension
2374 --without-zlib do not use Zlib (data compression)
2375 --with-wine-tools=DIR use Wine tools from directory DIR
2376 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2377 --with-x use the X Window System
2379 Some influential environment variables:
2380 CC C compiler command
2381 CFLAGS C compiler flags
2382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2383 nonstandard directory <lib dir>
2384 LIBS libraries to pass to the linker, e.g. -l<library>
2385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2386 you have headers in a nonstandard directory <include dir>
2387 CXX C++ compiler command
2388 CXXFLAGS C++ compiler flags
2389 CPP C preprocessor
2390 XMKMF Path to xmkmf, Makefile generator for X Window System
2391 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2392 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2393 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2394 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2395 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2396 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2397 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2398 HAL_LIBS Linker flags for hal, overriding pkg-config
2399 GNUTLS_CFLAGS
2400 C compiler flags for gnutls, overriding pkg-config
2401 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2402 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2403 SANE_LIBS Linker flags for libsane, overriding pkg-config
2404 GPHOTO2_CFLAGS
2405 C compiler flags for libgphoto2, overriding pkg-config
2406 GPHOTO2_LIBS
2407 Linker flags for libgphoto2, overriding pkg-config
2408 GPHOTO2_PORT_CFLAGS
2409 C compiler flags for libgphoto2_port, overriding pkg-config
2410 GPHOTO2_PORT_LIBS
2411 Linker flags for libgphoto2_port, overriding pkg-config
2412 LCMS2_CFLAGS
2413 C compiler flags for lcms2, overriding pkg-config
2414 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2415 FREETYPE_CFLAGS
2416 C compiler flags for freetype2, overriding pkg-config
2417 FREETYPE_LIBS
2418 Linker flags for freetype2, overriding pkg-config
2419 PULSE_CFLAGS
2420 C compiler flags for libpulse, overriding pkg-config
2421 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2422 GSTREAMER_CFLAGS
2423 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2424 gstreamer-audio-1.0, overriding pkg-config
2425 GSTREAMER_LIBS
2426 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2427 gstreamer-audio-1.0, overriding pkg-config
2428 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2429 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2430 CAPI20_CFLAGS
2431 C compiler flags for capi20, overriding pkg-config
2432 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2433 FONTCONFIG_CFLAGS
2434 C compiler flags for fontconfig, overriding pkg-config
2435 FONTCONFIG_LIBS
2436 Linker flags for fontconfig, overriding pkg-config
2437 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2438 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2439 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2440 PNG_LIBS Linker flags for libpng, overriding pkg-config
2441 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2442 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2443 MPG123_CFLAGS
2444 C compiler flags for libmpg123, overriding pkg-config
2445 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2446 NETAPI_CFLAGS
2447 C compiler flags for netapi, overriding pkg-config
2448 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2450 Use these variables to override the choices made by `configure' or to help
2451 it to find libraries and programs with nonstandard names/locations.
2453 Report bugs to <wine-devel@winehq.org>.
2454 Wine home page: <http://www.winehq.org>.
2455 _ACEOF
2456 ac_status=$?
2459 if test "$ac_init_help" = "recursive"; then
2460 # If there are subdirs, report their specific --help.
2461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2462 test -d "$ac_dir" ||
2463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2464 continue
2465 ac_builddir=.
2467 case "$ac_dir" in
2468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2471 # A ".." for each directory in $ac_dir_suffix.
2472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2473 case $ac_top_builddir_sub in
2474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2476 esac ;;
2477 esac
2478 ac_abs_top_builddir=$ac_pwd
2479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2480 # for backward compatibility:
2481 ac_top_builddir=$ac_top_build_prefix
2483 case $srcdir in
2484 .) # We are building in place.
2485 ac_srcdir=.
2486 ac_top_srcdir=$ac_top_builddir_sub
2487 ac_abs_top_srcdir=$ac_pwd ;;
2488 [\\/]* | ?:[\\/]* ) # Absolute name.
2489 ac_srcdir=$srcdir$ac_dir_suffix;
2490 ac_top_srcdir=$srcdir
2491 ac_abs_top_srcdir=$srcdir ;;
2492 *) # Relative name.
2493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2494 ac_top_srcdir=$ac_top_build_prefix$srcdir
2495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2496 esac
2497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2499 cd "$ac_dir" || { ac_status=$?; continue; }
2500 # Check for guested configure.
2501 if test -f "$ac_srcdir/configure.gnu"; then
2502 echo &&
2503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2504 elif test -f "$ac_srcdir/configure"; then
2505 echo &&
2506 $SHELL "$ac_srcdir/configure" --help=recursive
2507 else
2508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2509 fi || ac_status=$?
2510 cd "$ac_pwd" || { ac_status=$?; break; }
2511 done
2514 test -n "$ac_init_help" && exit $ac_status
2515 if $ac_init_version; then
2516 cat <<\_ACEOF
2517 Wine configure 2.6
2518 generated by GNU Autoconf 2.69
2520 Copyright (C) 2012 Free Software Foundation, Inc.
2521 This configure script is free software; the Free Software Foundation
2522 gives unlimited permission to copy, distribute and modify it.
2523 _ACEOF
2524 exit
2527 ## ------------------------ ##
2528 ## Autoconf initialization. ##
2529 ## ------------------------ ##
2531 # ac_fn_c_try_compile LINENO
2532 # --------------------------
2533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2534 ac_fn_c_try_compile ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 rm -f conftest.$ac_objext
2538 if { { ac_try="$ac_compile"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_compile") 2>conftest.err
2546 ac_status=$?
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest.$ac_objext; then :
2557 ac_retval=0
2558 else
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2562 ac_retval=1
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 as_fn_set_status $ac_retval
2567 } # ac_fn_c_try_compile
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 rm -f conftest.$ac_objext
2576 if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>conftest.err
2584 ac_status=$?
2585 if test -s conftest.err; then
2586 grep -v '^ *+' conftest.err >conftest.er1
2587 cat conftest.er1 >&5
2588 mv -f conftest.er1 conftest.err
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && {
2592 test -z "$ac_cxx_werror_flag" ||
2593 test ! -s conftest.err
2594 } && test -s conftest.$ac_objext; then :
2595 ac_retval=0
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=1
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 as_fn_set_status $ac_retval
2605 } # ac_fn_cxx_try_compile
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_link ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext conftest$ac_exeext
2614 if { { ac_try="$ac_link"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest$ac_exeext && {
2633 test "$cross_compiling" = yes ||
2634 test -x conftest$ac_exeext
2635 }; then :
2636 ac_retval=0
2637 else
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 ac_retval=1
2643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645 # interfere with the next link command; also delete a directory that is
2646 # left behind by Apple's compiler. We do this before executing the actions.
2647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 as_fn_set_status $ac_retval
2651 } # ac_fn_c_try_link
2653 # ac_fn_c_try_cpp LINENO
2654 # ----------------------
2655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_c_try_cpp ()
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 if { { ac_try="$ac_cpp conftest.$ac_ext"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } > conftest.i && {
2675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2676 test ! -s conftest.err
2677 }; then :
2678 ac_retval=0
2679 else
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=1
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status $ac_retval
2688 } # ac_fn_c_try_cpp
2690 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2691 # -------------------------------------------------------
2692 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2693 # the include files in INCLUDES and setting the cache variable VAR
2694 # accordingly.
2695 ac_fn_c_check_header_mongrel ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 if eval \${$3+:} false; then :
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \${$3+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 eval ac_res=\$$3
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 else
2708 # Is the header compilable?
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2710 $as_echo_n "checking $2 usability... " >&6; }
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2714 #include <$2>
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 ac_header_compiler=yes
2718 else
2719 ac_header_compiler=no
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2723 $as_echo "$ac_header_compiler" >&6; }
2725 # Is the header present?
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2727 $as_echo_n "checking $2 presence... " >&6; }
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2730 #include <$2>
2731 _ACEOF
2732 if ac_fn_c_try_cpp "$LINENO"; then :
2733 ac_header_preproc=yes
2734 else
2735 ac_header_preproc=no
2737 rm -f conftest.err conftest.i conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2739 $as_echo "$ac_header_preproc" >&6; }
2741 # So? What about this header?
2742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2743 yes:no: )
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2745 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 no:yes:* )
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2751 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2753 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2755 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2757 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2760 ( $as_echo "## ------------------------------------ ##
2761 ## Report this to wine-devel@winehq.org ##
2762 ## ------------------------------------ ##"
2763 ) | sed "s/^/$as_me: WARNING: /" >&2
2765 esac
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval \${$3+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 eval "$3=\$ac_header_compiler"
2773 eval ac_res=\$$3
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2775 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_header_mongrel
2781 # ac_fn_c_try_run LINENO
2782 # ----------------------
2783 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2784 # that executables *can* be run.
2785 ac_fn_c_try_run ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 if { { ac_try="$ac_link"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_link") 2>&5
2796 ac_status=$?
2797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2798 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2799 { { case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_try") 2>&5
2806 ac_status=$?
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; }; }; then :
2809 ac_retval=0
2810 else
2811 $as_echo "$as_me: program exited with status $ac_status" >&5
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=$ac_status
2817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_run
2823 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2824 # -------------------------------------------------------
2825 # Tests whether HEADER exists and can be compiled using the include files in
2826 # INCLUDES, setting the cache variable VAR accordingly.
2827 ac_fn_c_check_header_compile ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2831 $as_echo_n "checking for $2... " >&6; }
2832 if eval \${$3+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2838 #include <$2>
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$3=yes"
2842 else
2843 eval "$3=no"
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 eval ac_res=\$$3
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 } # ac_fn_c_check_header_compile
2854 # ac_fn_c_check_func LINENO FUNC VAR
2855 # ----------------------------------
2856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2857 ac_fn_c_check_func ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \${$3+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2869 #define $2 innocuous_$2
2871 /* System header to define __stub macros and hopefully few prototypes,
2872 which can conflict with char $2 (); below.
2873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2874 <limits.h> exists even on freestanding compilers. */
2876 #ifdef __STDC__
2877 # include <limits.h>
2878 #else
2879 # include <assert.h>
2880 #endif
2882 #undef $2
2884 /* Override any GCC internal prototype to avoid an error.
2885 Use char because int might match the return type of a GCC
2886 builtin and then its argument prototype would still apply. */
2887 #ifdef __cplusplus
2888 extern "C"
2889 #endif
2890 char $2 ();
2891 /* The GNU C library defines this for functions which it implements
2892 to always fail with ENOSYS. Some functions are actually named
2893 something starting with __ and the normal name is an alias. */
2894 #if defined __stub_$2 || defined __stub___$2
2895 choke me
2896 #endif
2899 main ()
2901 return $2 ();
2903 return 0;
2905 _ACEOF
2906 if ac_fn_c_try_link "$LINENO"; then :
2907 eval "$3=yes"
2908 else
2909 eval "$3=no"
2911 rm -f core conftest.err conftest.$ac_objext \
2912 conftest$ac_exeext conftest.$ac_ext
2914 eval ac_res=\$$3
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2916 $as_echo "$ac_res" >&6; }
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 } # ac_fn_c_check_func
2921 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2922 # ----------------------------------------------------
2923 # Tries to find if the field MEMBER exists in type AGGR, after including
2924 # INCLUDES, setting cache variable VAR accordingly.
2925 ac_fn_c_check_member ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2929 $as_echo_n "checking for $2.$3... " >&6; }
2930 if eval \${$4+:} false; then :
2931 $as_echo_n "(cached) " >&6
2932 else
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2937 main ()
2939 static $2 ac_aggr;
2940 if (ac_aggr.$3)
2941 return 0;
2943 return 0;
2945 _ACEOF
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 eval "$4=yes"
2948 else
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2953 main ()
2955 static $2 ac_aggr;
2956 if (sizeof ac_aggr.$3)
2957 return 0;
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 eval "$4=yes"
2964 else
2965 eval "$4=no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 eval ac_res=\$$4
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 $as_echo "$ac_res" >&6; }
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 } # ac_fn_c_check_member
2978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2979 # -------------------------------------------
2980 # Tests whether TYPE exists after having included INCLUDES, setting cache
2981 # variable VAR accordingly.
2982 ac_fn_c_check_type ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2986 $as_echo_n "checking for $2... " >&6; }
2987 if eval \${$3+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 eval "$3=no"
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2997 if (sizeof ($2))
2998 return 0;
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"; then :
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main ()
3010 if (sizeof (($2)))
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3018 else
3019 eval "$3=yes"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_type
3031 cat >config.log <<_ACEOF
3032 This file contains any messages produced by compilers while
3033 running configure, to aid debugging if configure makes a mistake.
3035 It was created by Wine $as_me 2.6, which was
3036 generated by GNU Autoconf 2.69. Invocation command line was
3038 $ $0 $@
3040 _ACEOF
3041 exec 5>>config.log
3043 cat <<_ASUNAME
3044 ## --------- ##
3045 ## Platform. ##
3046 ## --------- ##
3048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3065 _ASUNAME
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 $as_echo "PATH: $as_dir"
3073 done
3074 IFS=$as_save_IFS
3076 } >&5
3078 cat >&5 <<_ACEOF
3081 ## ----------- ##
3082 ## Core tests. ##
3083 ## ----------- ##
3085 _ACEOF
3088 # Keep a trace of the command line.
3089 # Strip out --no-create and --no-recursion so they do not pile up.
3090 # Strip out --silent because we don't want to record it for future runs.
3091 # Also quote any args containing shell meta-characters.
3092 # Make two passes to allow for proper duplicate-argument suppression.
3093 ac_configure_args=
3094 ac_configure_args0=
3095 ac_configure_args1=
3096 ac_must_keep_next=false
3097 for ac_pass in 1 2
3099 for ac_arg
3101 case $ac_arg in
3102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3104 | -silent | --silent | --silen | --sile | --sil)
3105 continue ;;
3106 *\'*)
3107 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3108 esac
3109 case $ac_pass in
3110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3112 as_fn_append ac_configure_args1 " '$ac_arg'"
3113 if test $ac_must_keep_next = true; then
3114 ac_must_keep_next=false # Got value, back to normal.
3115 else
3116 case $ac_arg in
3117 *=* | --config-cache | -C | -disable-* | --disable-* \
3118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3120 | -with-* | --with-* | -without-* | --without-* | --x)
3121 case "$ac_configure_args0 " in
3122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3123 esac
3125 -* ) ac_must_keep_next=true ;;
3126 esac
3128 as_fn_append ac_configure_args " '$ac_arg'"
3130 esac
3131 done
3132 done
3133 { ac_configure_args0=; unset ac_configure_args0;}
3134 { ac_configure_args1=; unset ac_configure_args1;}
3136 # When interrupted or exit'd, cleanup temporary files, and complete
3137 # config.log. We remove comments because anyway the quotes in there
3138 # would cause problems or look ugly.
3139 # WARNING: Use '\'' to represent an apostrophe within the trap.
3140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3141 trap 'exit_status=$?
3142 # Save into config.log some information that might help in debugging.
3144 echo
3146 $as_echo "## ---------------- ##
3147 ## Cache variables. ##
3148 ## ---------------- ##"
3149 echo
3150 # The following way of writing the cache mishandles newlines in values,
3152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3153 eval ac_val=\$$ac_var
3154 case $ac_val in #(
3155 *${as_nl}*)
3156 case $ac_var in #(
3157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3159 esac
3160 case $ac_var in #(
3161 _ | IFS | as_nl) ;; #(
3162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3163 *) { eval $ac_var=; unset $ac_var;} ;;
3164 esac ;;
3165 esac
3166 done
3167 (set) 2>&1 |
3168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3169 *${as_nl}ac_space=\ *)
3170 sed -n \
3171 "s/'\''/'\''\\\\'\'''\''/g;
3172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3173 ;; #(
3175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3177 esac |
3178 sort
3180 echo
3182 $as_echo "## ----------------- ##
3183 ## Output variables. ##
3184 ## ----------------- ##"
3185 echo
3186 for ac_var in $ac_subst_vars
3188 eval ac_val=\$$ac_var
3189 case $ac_val in
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3191 esac
3192 $as_echo "$ac_var='\''$ac_val'\''"
3193 done | sort
3194 echo
3196 if test -n "$ac_subst_files"; then
3197 $as_echo "## ------------------- ##
3198 ## File substitutions. ##
3199 ## ------------------- ##"
3200 echo
3201 for ac_var in $ac_subst_files
3203 eval ac_val=\$$ac_var
3204 case $ac_val in
3205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3206 esac
3207 $as_echo "$ac_var='\''$ac_val'\''"
3208 done | sort
3209 echo
3212 if test -s confdefs.h; then
3213 $as_echo "## ----------- ##
3214 ## confdefs.h. ##
3215 ## ----------- ##"
3216 echo
3217 cat confdefs.h
3218 echo
3220 test "$ac_signal" != 0 &&
3221 $as_echo "$as_me: caught signal $ac_signal"
3222 $as_echo "$as_me: exit $exit_status"
3223 } >&5
3224 rm -f core *.core core.conftest.* &&
3225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3226 exit $exit_status
3228 for ac_signal in 1 2 13 15; do
3229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3230 done
3231 ac_signal=0
3233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3234 rm -f -r conftest* confdefs.h
3236 $as_echo "/* confdefs.h */" > confdefs.h
3238 # Predefined preprocessor variables.
3240 cat >>confdefs.h <<_ACEOF
3241 #define PACKAGE_NAME "$PACKAGE_NAME"
3242 _ACEOF
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_STRING "$PACKAGE_STRING"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_URL "$PACKAGE_URL"
3262 _ACEOF
3265 # Let the site file select an alternate cache file if it wants to.
3266 # Prefer an explicitly selected file to automatically selected ones.
3267 ac_site_file1=NONE
3268 ac_site_file2=NONE
3269 if test -n "$CONFIG_SITE"; then
3270 # We do not want a PATH search for config.site.
3271 case $CONFIG_SITE in #((
3272 -*) ac_site_file1=./$CONFIG_SITE;;
3273 */*) ac_site_file1=$CONFIG_SITE;;
3274 *) ac_site_file1=./$CONFIG_SITE;;
3275 esac
3276 elif test "x$prefix" != xNONE; then
3277 ac_site_file1=$prefix/share/config.site
3278 ac_site_file2=$prefix/etc/config.site
3279 else
3280 ac_site_file1=$ac_default_prefix/share/config.site
3281 ac_site_file2=$ac_default_prefix/etc/config.site
3283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3285 test "x$ac_site_file" = xNONE && continue
3286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3289 sed 's/^/| /' "$ac_site_file" >&5
3290 . "$ac_site_file" \
3291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $? "failed to load site script $ac_site_file
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 done
3298 if test -r "$cache_file"; then
3299 # Some versions of bash will fail to source /dev/null (special files
3300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3303 $as_echo "$as_me: loading cache $cache_file" >&6;}
3304 case $cache_file in
3305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3306 *) . "./$cache_file";;
3307 esac
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3311 $as_echo "$as_me: creating cache $cache_file" >&6;}
3312 >$cache_file
3315 # Check that the precious variables saved in the cache have kept the same
3316 # value.
3317 ac_cache_corrupted=false
3318 for ac_var in $ac_precious_vars; do
3319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3320 eval ac_new_set=\$ac_env_${ac_var}_set
3321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3322 eval ac_new_val=\$ac_env_${ac_var}_value
3323 case $ac_old_set,$ac_new_set in
3324 set,)
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3327 ac_cache_corrupted=: ;;
3328 ,set)
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3331 ac_cache_corrupted=: ;;
3332 ,);;
3334 if test "x$ac_old_val" != "x$ac_new_val"; then
3335 # differences in whitespace do not lead to failure.
3336 ac_old_val_w=`echo x $ac_old_val`
3337 ac_new_val_w=`echo x $ac_new_val`
3338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3341 ac_cache_corrupted=:
3342 else
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3345 eval $ac_var=\$ac_old_val
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3351 fi;;
3352 esac
3353 # Pass precious variables to config.status.
3354 if test "$ac_new_set" = set; then
3355 case $ac_new_val in
3356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3357 *) ac_arg=$ac_var=$ac_new_val ;;
3358 esac
3359 case " $ac_configure_args " in
3360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3362 esac
3364 done
3365 if $ac_cache_corrupted; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3370 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3372 ## -------------------- ##
3373 ## Main body of script. ##
3374 ## -------------------- ##
3376 ac_ext=c
3377 ac_cpp='$CPP $CPPFLAGS'
3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 ac_config_headers="$ac_config_headers include/config.h"
3386 ac_aux_dir=
3387 for ac_dir in tools "$srcdir"/tools; do
3388 if test -f "$ac_dir/install-sh"; then
3389 ac_aux_dir=$ac_dir
3390 ac_install_sh="$ac_aux_dir/install-sh -c"
3391 break
3392 elif 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/shtool"; then
3397 ac_aux_dir=$ac_dir
3398 ac_install_sh="$ac_aux_dir/shtool install -c"
3399 break
3401 done
3402 if test -z "$ac_aux_dir"; then
3403 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3406 # These three variables are undocumented and unsupported,
3407 # and are intended to be withdrawn in a future Autoconf release.
3408 # They can cause serious problems if a builder's source tree is in a directory
3409 # whose full name contains unusual characters.
3410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3416 libwine_version="1.0"
3420 # Check whether --enable-win16 was given.
3421 if test "${enable_win16+set}" = set; then :
3422 enableval=$enable_win16;
3425 # Check whether --enable-win64 was given.
3426 if test "${enable_win64+set}" = set; then :
3427 enableval=$enable_win64;
3430 # Check whether --enable-tests was given.
3431 if test "${enable_tests+set}" = set; then :
3432 enableval=$enable_tests;
3435 # Check whether --enable-maintainer-mode was given.
3436 if test "${enable_maintainer_mode+set}" = set; then :
3437 enableval=$enable_maintainer_mode;
3442 # Check whether --with-alsa was given.
3443 if test "${with_alsa+set}" = set; then :
3444 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3448 # Check whether --with-capi was given.
3449 if test "${with_capi+set}" = set; then :
3450 withval=$with_capi;
3454 # Check whether --with-cms was given.
3455 if test "${with_cms+set}" = set; then :
3456 withval=$with_cms;
3460 # Check whether --with-coreaudio was given.
3461 if test "${with_coreaudio+set}" = set; then :
3462 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3466 # Check whether --with-cups was given.
3467 if test "${with_cups+set}" = set; then :
3468 withval=$with_cups;
3472 # Check whether --with-curses was given.
3473 if test "${with_curses+set}" = set; then :
3474 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3478 # Check whether --with-dbus was given.
3479 if test "${with_dbus+set}" = set; then :
3480 withval=$with_dbus;
3484 # Check whether --with-fontconfig was given.
3485 if test "${with_fontconfig+set}" = set; then :
3486 withval=$with_fontconfig;
3490 # Check whether --with-freetype was given.
3491 if test "${with_freetype+set}" = set; then :
3492 withval=$with_freetype;
3496 # Check whether --with-gettext was given.
3497 if test "${with_gettext+set}" = set; then :
3498 withval=$with_gettext;
3502 # Check whether --with-gettextpo was given.
3503 if test "${with_gettextpo+set}" = set; then :
3504 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3508 # Check whether --with-gphoto was given.
3509 if test "${with_gphoto+set}" = set; then :
3510 withval=$with_gphoto;
3514 # Check whether --with-glu was given.
3515 if test "${with_glu+set}" = set; then :
3516 withval=$with_glu;
3520 # Check whether --with-gnutls was given.
3521 if test "${with_gnutls+set}" = set; then :
3522 withval=$with_gnutls;
3526 # Check whether --with-gsm was given.
3527 if test "${with_gsm+set}" = set; then :
3528 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3532 # Check whether --with-gstreamer was given.
3533 if test "${with_gstreamer+set}" = set; then :
3534 withval=$with_gstreamer;
3538 # Check whether --with-hal was given.
3539 if test "${with_hal+set}" = set; then :
3540 withval=$with_hal;
3544 # Check whether --with-jpeg was given.
3545 if test "${with_jpeg+set}" = set; then :
3546 withval=$with_jpeg;
3550 # Check whether --with-ldap was given.
3551 if test "${with_ldap+set}" = set; then :
3552 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3556 # Check whether --with-mpg123 was given.
3557 if test "${with_mpg123+set}" = set; then :
3558 withval=$with_mpg123;
3562 # Check whether --with-netapi was given.
3563 if test "${with_netapi+set}" = set; then :
3564 withval=$with_netapi;
3568 # Check whether --with-openal was given.
3569 if test "${with_openal+set}" = set; then :
3570 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3574 # Check whether --with-opencl was given.
3575 if test "${with_opencl+set}" = set; then :
3576 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3580 # Check whether --with-opengl was given.
3581 if test "${with_opengl+set}" = set; then :
3582 withval=$with_opengl;
3586 # Check whether --with-osmesa was given.
3587 if test "${with_osmesa+set}" = set; then :
3588 withval=$with_osmesa;
3592 # Check whether --with-oss was given.
3593 if test "${with_oss+set}" = set; then :
3594 withval=$with_oss;
3598 # Check whether --with-pcap was given.
3599 if test "${with_pcap+set}" = set; then :
3600 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3604 # Check whether --with-png was given.
3605 if test "${with_png+set}" = set; then :
3606 withval=$with_png;
3610 # Check whether --with-pthread was given.
3611 if test "${with_pthread+set}" = set; then :
3612 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3616 # Check whether --with-pulse was given.
3617 if test "${with_pulse+set}" = set; then :
3618 withval=$with_pulse;
3622 # Check whether --with-sane was given.
3623 if test "${with_sane+set}" = set; then :
3624 withval=$with_sane;
3628 # Check whether --with-tiff was given.
3629 if test "${with_tiff+set}" = set; then :
3630 withval=$with_tiff;
3634 # Check whether --with-udev was given.
3635 if test "${with_udev+set}" = set; then :
3636 withval=$with_udev;
3640 # Check whether --with-v4l was given.
3641 if test "${with_v4l+set}" = set; then :
3642 withval=$with_v4l;
3646 # Check whether --with-xcomposite was given.
3647 if test "${with_xcomposite+set}" = set; then :
3648 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3652 # Check whether --with-xcursor was given.
3653 if test "${with_xcursor+set}" = set; then :
3654 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3658 # Check whether --with-xinerama was given.
3659 if test "${with_xinerama+set}" = set; then :
3660 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3664 # Check whether --with-xinput was given.
3665 if test "${with_xinput+set}" = set; then :
3666 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3670 # Check whether --with-xinput2 was given.
3671 if test "${with_xinput2+set}" = set; then :
3672 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3676 # Check whether --with-xml was given.
3677 if test "${with_xml+set}" = set; then :
3678 withval=$with_xml;
3682 # Check whether --with-xrandr was given.
3683 if test "${with_xrandr+set}" = set; then :
3684 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3688 # Check whether --with-xrender was given.
3689 if test "${with_xrender+set}" = set; then :
3690 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3694 # Check whether --with-xshape was given.
3695 if test "${with_xshape+set}" = set; then :
3696 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3700 # Check whether --with-xshm was given.
3701 if test "${with_xshm+set}" = set; then :
3702 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3706 # Check whether --with-xslt was given.
3707 if test "${with_xslt+set}" = set; then :
3708 withval=$with_xslt;
3712 # Check whether --with-xxf86vm was given.
3713 if test "${with_xxf86vm+set}" = set; then :
3714 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
3718 # Check whether --with-zlib was given.
3719 if test "${with_zlib+set}" = set; then :
3720 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3725 # Check whether --with-wine-tools was given.
3726 if test "${with_wine_tools+set}" = set; then :
3727 withval=$with_wine_tools;
3731 # Check whether --with-wine64 was given.
3732 if test "${with_wine64+set}" = set; then :
3733 withval=$with_wine64;
3737 # Make sure we can run config.sub.
3738 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3739 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3742 $as_echo_n "checking build system type... " >&6; }
3743 if ${ac_cv_build+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 ac_build_alias=$build_alias
3747 test "x$ac_build_alias" = x &&
3748 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3749 test "x$ac_build_alias" = x &&
3750 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3751 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3752 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3756 $as_echo "$ac_cv_build" >&6; }
3757 case $ac_cv_build in
3758 *-*-*) ;;
3759 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3760 esac
3761 build=$ac_cv_build
3762 ac_save_IFS=$IFS; IFS='-'
3763 set x $ac_cv_build
3764 shift
3765 build_cpu=$1
3766 build_vendor=$2
3767 shift; shift
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3770 build_os=$*
3771 IFS=$ac_save_IFS
3772 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3776 $as_echo_n "checking host system type... " >&6; }
3777 if ${ac_cv_host+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test "x$host_alias" = x; then
3781 ac_cv_host=$ac_cv_build
3782 else
3783 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3789 $as_echo "$ac_cv_host" >&6; }
3790 case $ac_cv_host in
3791 *-*-*) ;;
3792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3793 esac
3794 host=$ac_cv_host
3795 ac_save_IFS=$IFS; IFS='-'
3796 set x $ac_cv_host
3797 shift
3798 host_cpu=$1
3799 host_vendor=$2
3800 shift; shift
3801 # Remember, the first character of IFS is used to create $*,
3802 # except with old shells:
3803 host_os=$*
3804 IFS=$ac_save_IFS
3805 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3809 case "$srcdir" in
3810 .) ;;
3811 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3812 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3813 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3814 fi ;;
3815 esac
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3819 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3820 set x ${MAKE-make}
3821 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3822 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 cat >conftest.make <<\_ACEOF
3826 SHELL = /bin/sh
3827 all:
3828 @echo '@@@%%%=$(MAKE)=@@@%%%'
3829 _ACEOF
3830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3832 *@@@%%%=?*=@@@%%%*)
3833 eval ac_cv_prog_make_${ac_make}_set=yes;;
3835 eval ac_cv_prog_make_${ac_make}_set=no;;
3836 esac
3837 rm -f conftest.make
3839 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3841 $as_echo "yes" >&6; }
3842 SET_MAKE=
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3846 SET_MAKE="MAKE=${MAKE-make}"
3849 ac_ext=c
3850 ac_cpp='$CPP $CPPFLAGS'
3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 if test -n "$ac_tool_prefix"; then
3855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_CC+:} false; then :
3860 $as_echo_n "(cached) " >&6
3861 else
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3864 else
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 for as_dir in $PATH
3868 IFS=$as_save_IFS
3869 test -z "$as_dir" && as_dir=.
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3876 done
3877 done
3878 IFS=$as_save_IFS
3882 CC=$ac_cv_prog_CC
3883 if test -n "$CC"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3885 $as_echo "$CC" >&6; }
3886 else
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3893 if test -z "$ac_cv_prog_CC"; then
3894 ac_ct_CC=$CC
3895 # Extract the first word of "gcc", so it can be a program name with args.
3896 set dummy gcc; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test -n "$ac_ct_CC"; then
3903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3904 else
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH
3908 IFS=$as_save_IFS
3909 test -z "$as_dir" && as_dir=.
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_ac_ct_CC="gcc"
3913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 break 2
3916 done
3917 done
3918 IFS=$as_save_IFS
3922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3923 if test -n "$ac_ct_CC"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3925 $as_echo "$ac_ct_CC" >&6; }
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3931 if test "x$ac_ct_CC" = x; then
3932 CC=""
3933 else
3934 case $cross_compiling:$ac_tool_warned in
3935 yes:)
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3938 ac_tool_warned=yes ;;
3939 esac
3940 CC=$ac_ct_CC
3942 else
3943 CC="$ac_cv_prog_CC"
3946 if test -z "$CC"; then
3947 if test -n "$ac_tool_prefix"; then
3948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3949 set dummy ${ac_tool_prefix}cc; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_prog_CC+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 if test -n "$CC"; then
3956 ac_cv_prog_CC="$CC" # Let the user override the test.
3957 else
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 ac_cv_prog_CC="${ac_tool_prefix}cc"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3975 CC=$ac_cv_prog_CC
3976 if test -n "$CC"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3978 $as_echo "$CC" >&6; }
3979 else
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3987 if test -z "$CC"; then
3988 # Extract the first word of "cc", so it can be a program name with args.
3989 set dummy cc; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3997 else
3998 ac_prog_rejected=no
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4002 IFS=$as_save_IFS
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4007 ac_prog_rejected=yes
4008 continue
4010 ac_cv_prog_CC="cc"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4014 done
4015 done
4016 IFS=$as_save_IFS
4018 if test $ac_prog_rejected = yes; then
4019 # We found a bogon in the path, so make sure we never use it.
4020 set dummy $ac_cv_prog_CC
4021 shift
4022 if test $# != 0; then
4023 # We chose a different compiler from the bogus one.
4024 # However, it has the same basename, so the bogon will be chosen
4025 # first if we set CC to just the basename; use the full file name.
4026 shift
4027 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4032 CC=$ac_cv_prog_CC
4033 if test -n "$CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 $as_echo "$CC" >&6; }
4036 else
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 for ac_prog in cl.exe
4047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 break 2
4068 done
4069 done
4070 IFS=$as_save_IFS
4074 CC=$ac_cv_prog_CC
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$CC" && break
4085 done
4087 if test -z "$CC"; then
4088 ac_ct_CC=$CC
4089 for ac_prog in cl.exe
4091 # Extract the first word of "$ac_prog", so it can be a program name with args.
4092 set dummy $ac_prog; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 if test -n "$ac_ct_CC"; then
4099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4100 else
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4104 IFS=$as_save_IFS
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_ac_ct_CC="$ac_prog"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 break 2
4112 done
4113 done
4114 IFS=$as_save_IFS
4118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4119 if test -n "$ac_ct_CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4121 $as_echo "$ac_ct_CC" >&6; }
4122 else
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4128 test -n "$ac_ct_CC" && break
4129 done
4131 if test "x$ac_ct_CC" = x; then
4132 CC=""
4133 else
4134 case $cross_compiling:$ac_tool_warned in
4135 yes:)
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4138 ac_tool_warned=yes ;;
4139 esac
4140 CC=$ac_ct_CC
4147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "no acceptable C compiler found in \$PATH
4150 See \`config.log' for more details" "$LINENO" 5; }
4152 # Provide some information about the compiler.
4153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4154 set X $ac_compile
4155 ac_compiler=$2
4156 for ac_option in --version -v -V -qversion; do
4157 { { ac_try="$ac_compiler $ac_option >&5"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4165 ac_status=$?
4166 if test -s conftest.err; then
4167 sed '10a\
4168 ... rest of stderr output deleted ...
4169 10q' conftest.err >conftest.er1
4170 cat conftest.er1 >&5
4172 rm -f conftest.er1 conftest.err
4173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4174 test $ac_status = 0; }
4175 done
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 ac_clean_files_save=$ac_clean_files
4189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4190 # Try to create an executable without -o first, disregard a.out.
4191 # It will help us diagnose broken compilers, and finding out an intuition
4192 # of exeext.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4194 $as_echo_n "checking whether the C compiler works... " >&6; }
4195 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4197 # The possible output files:
4198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4200 ac_rmfiles=
4201 for ac_file in $ac_files
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4206 esac
4207 done
4208 rm -f $ac_rmfiles
4210 if { { ac_try="$ac_link_default"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4216 $as_echo "$ac_try_echo"; } >&5
4217 (eval "$ac_link_default") 2>&5
4218 ac_status=$?
4219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4220 test $ac_status = 0; }; then :
4221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4224 # so that the user can short-circuit this test for compilers unknown to
4225 # Autoconf.
4226 for ac_file in $ac_files ''
4228 test -f "$ac_file" || continue
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4232 [ab].out )
4233 # We found the default executable, but exeext='' is most
4234 # certainly right.
4235 break;;
4236 *.* )
4237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4238 then :; else
4239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4241 # We set ac_cv_exeext here because the later test for it is not
4242 # safe: cross compilers may not add the suffix if given an `-o'
4243 # argument, so we may need to know it at that point already.
4244 # Even if this section looks crufty: it has the advantage of
4245 # actually working.
4246 break;;
4248 break;;
4249 esac
4250 done
4251 test "$ac_cv_exeext" = no && ac_cv_exeext=
4253 else
4254 ac_file=''
4256 if test -z "$ac_file"; then :
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4259 $as_echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.$ac_ext >&5
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error 77 "C compiler cannot create executables
4265 See \`config.log' for more details" "$LINENO" 5; }
4266 else
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4268 $as_echo "yes" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4271 $as_echo_n "checking for C compiler default output file name... " >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4273 $as_echo "$ac_file" >&6; }
4274 ac_exeext=$ac_cv_exeext
4276 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4277 ac_clean_files=$ac_clean_files_save
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4279 $as_echo_n "checking for suffix of executables... " >&6; }
4280 if { { ac_try="$ac_link"
4281 case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_link") 2>&5
4288 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; then :
4291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4293 # work properly (i.e., refer to `conftest.exe'), while it won't with
4294 # `rm'.
4295 for ac_file in conftest.exe conftest conftest.*; do
4296 test -f "$ac_file" || continue
4297 case $ac_file in
4298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4300 break;;
4301 * ) break;;
4302 esac
4303 done
4304 else
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4308 See \`config.log' for more details" "$LINENO" 5; }
4310 rm -f conftest conftest$ac_cv_exeext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4312 $as_echo "$ac_cv_exeext" >&6; }
4314 rm -f conftest.$ac_ext
4315 EXEEXT=$ac_cv_exeext
4316 ac_exeext=$EXEEXT
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <stdio.h>
4321 main ()
4323 FILE *f = fopen ("conftest.out", "w");
4324 return ferror (f) || fclose (f) != 0;
4327 return 0;
4329 _ACEOF
4330 ac_clean_files="$ac_clean_files conftest.out"
4331 # Check that the compiler produces executables we can run. If not, either
4332 # the compiler is broken, or we cross compile.
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4334 $as_echo_n "checking whether we are cross compiling... " >&6; }
4335 if test "$cross_compiling" != yes; then
4336 { { ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_link") 2>&5
4344 ac_status=$?
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 if { ac_try='./conftest$ac_cv_exeext'
4348 { { case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4355 ac_status=$?
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; }; then
4358 cross_compiling=no
4359 else
4360 if test "$cross_compiling" = maybe; then
4361 cross_compiling=yes
4362 else
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error $? "cannot run C compiled programs.
4366 If you meant to cross compile, use \`--host'.
4367 See \`config.log' for more details" "$LINENO" 5; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4372 $as_echo "$cross_compiling" >&6; }
4374 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4375 ac_clean_files=$ac_clean_files_save
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4377 $as_echo_n "checking for suffix of object files... " >&6; }
4378 if ${ac_cv_objext+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 rm -f conftest.o conftest.obj
4393 if { { ac_try="$ac_compile"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_compile") 2>&5
4401 ac_status=$?
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }; then :
4404 for ac_file in conftest.o conftest.obj conftest.*; do
4405 test -f "$ac_file" || continue;
4406 case $ac_file in
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4409 break;;
4410 esac
4411 done
4412 else
4413 $as_echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5
4416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4418 as_fn_error $? "cannot compute suffix of object files: cannot compile
4419 See \`config.log' for more details" "$LINENO" 5; }
4421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4424 $as_echo "$ac_cv_objext" >&6; }
4425 OBJEXT=$ac_cv_objext
4426 ac_objext=$OBJEXT
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4429 if ${ac_cv_c_compiler_gnu+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4438 #ifndef __GNUC__
4439 choke me
4440 #endif
4443 return 0;
4445 _ACEOF
4446 if ac_fn_c_try_compile "$LINENO"; then :
4447 ac_compiler_gnu=yes
4448 else
4449 ac_compiler_gnu=no
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4458 GCC=yes
4459 else
4460 GCC=
4462 ac_test_CFLAGS=${CFLAGS+set}
4463 ac_save_CFLAGS=$CFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4466 if ${ac_cv_prog_cc_g+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 ac_save_c_werror_flag=$ac_c_werror_flag
4470 ac_c_werror_flag=yes
4471 ac_cv_prog_cc_g=no
4472 CFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_g=yes
4486 else
4487 CFLAGS=""
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4501 else
4502 ac_c_werror_flag=$ac_save_c_werror_flag
4503 CFLAGS="-g"
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 ac_cv_prog_cc_g=yes
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_c_werror_flag=$ac_save_c_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4526 $as_echo "$ac_cv_prog_cc_g" >&6; }
4527 if test "$ac_test_CFLAGS" = set; then
4528 CFLAGS=$ac_save_CFLAGS
4529 elif test $ac_cv_prog_cc_g = yes; then
4530 if test "$GCC" = yes; then
4531 CFLAGS="-g -O2"
4532 else
4533 CFLAGS="-g"
4535 else
4536 if test "$GCC" = yes; then
4537 CFLAGS="-O2"
4538 else
4539 CFLAGS=
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4544 if ${ac_cv_prog_cc_c89+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 ac_cv_prog_cc_c89=no
4548 ac_save_CC=$CC
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 #include <stdarg.h>
4552 #include <stdio.h>
4553 struct stat;
4554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4555 struct buf { int x; };
4556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4557 static char *e (p, i)
4558 char **p;
4559 int i;
4561 return p[i];
4563 static char *f (char * (*g) (char **, int), char **p, ...)
4565 char *s;
4566 va_list v;
4567 va_start (v,p);
4568 s = g (p, va_arg (v,int));
4569 va_end (v);
4570 return s;
4573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4574 function prototypes and stuff, but not '\xHH' hex character constants.
4575 These don't provoke an error unfortunately, instead are silently treated
4576 as 'x'. The following induces an error, until -std is added to get
4577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4578 array size at least. It's necessary to write '\x00'==0 to get something
4579 that's true only with -std. */
4580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4583 inside strings and character constants. */
4584 #define FOO(x) 'x'
4585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4587 int test (int i, double x);
4588 struct s1 {int (*f) (int a);};
4589 struct s2 {int (*f) (double a);};
4590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4591 int argc;
4592 char **argv;
4594 main ()
4596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4598 return 0;
4600 _ACEOF
4601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4604 CC="$ac_save_CC $ac_arg"
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_c89=$ac_arg
4608 rm -f core conftest.err conftest.$ac_objext
4609 test "x$ac_cv_prog_cc_c89" != "xno" && break
4610 done
4611 rm -f conftest.$ac_ext
4612 CC=$ac_save_CC
4615 # AC_CACHE_VAL
4616 case "x$ac_cv_prog_cc_c89" in
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4619 $as_echo "none needed" >&6; } ;;
4620 xno)
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4622 $as_echo "unsupported" >&6; } ;;
4624 CC="$CC $ac_cv_prog_cc_c89"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4627 esac
4628 if test "x$ac_cv_prog_cc_c89" != xno; then :
4632 ac_ext=c
4633 ac_cpp='$CPP $CPPFLAGS'
4634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 ac_ext=cpp
4639 ac_cpp='$CXXCPP $CPPFLAGS'
4640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4643 if test -z "$CXX"; then
4644 if test -n "$CCC"; then
4645 CXX=$CCC
4646 else
4647 if test -n "$ac_tool_prefix"; then
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$CXX"; then
4658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 CXX=$ac_cv_prog_CXX
4678 if test -n "$CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4680 $as_echo "$CXX" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$CXX" && break
4688 done
4690 if test -z "$CXX"; then
4691 ac_ct_CXX=$CXX
4692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy $ac_prog; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4699 $as_echo_n "(cached) " >&6
4700 else
4701 if test -n "$ac_ct_CXX"; then
4702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4703 else
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4707 IFS=$as_save_IFS
4708 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_ac_ct_CXX="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 break 2
4715 done
4716 done
4717 IFS=$as_save_IFS
4721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4722 if test -n "$ac_ct_CXX"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4724 $as_echo "$ac_ct_CXX" >&6; }
4725 else
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$ac_ct_CXX" && break
4732 done
4734 if test "x$ac_ct_CXX" = x; then
4735 CXX="g++"
4736 else
4737 case $cross_compiling:$ac_tool_warned in
4738 yes:)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned=yes ;;
4742 esac
4743 CXX=$ac_ct_CXX
4749 # Provide some information about the compiler.
4750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4751 set X $ac_compile
4752 ac_compiler=$2
4753 for ac_option in --version -v -V -qversion; do
4754 { { ac_try="$ac_compiler $ac_option >&5"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4762 ac_status=$?
4763 if test -s conftest.err; then
4764 sed '10a\
4765 ... rest of stderr output deleted ...
4766 10q' conftest.err >conftest.er1
4767 cat conftest.er1 >&5
4769 rm -f conftest.er1 conftest.err
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }
4772 done
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4775 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4776 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4777 $as_echo_n "(cached) " >&6
4778 else
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4783 main ()
4785 #ifndef __GNUC__
4786 choke me
4787 #endif
4790 return 0;
4792 _ACEOF
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4794 ac_compiler_gnu=yes
4795 else
4796 ac_compiler_gnu=no
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4803 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4804 if test $ac_compiler_gnu = yes; then
4805 GXX=yes
4806 else
4807 GXX=
4809 ac_test_CXXFLAGS=${CXXFLAGS+set}
4810 ac_save_CXXFLAGS=$CXXFLAGS
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4812 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4813 if ${ac_cv_prog_cxx_g+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4817 ac_cxx_werror_flag=yes
4818 ac_cv_prog_cxx_g=no
4819 CXXFLAGS="-g"
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 ac_cv_prog_cxx_g=yes
4833 else
4834 CXXFLAGS=""
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4843 return 0;
4845 _ACEOF
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 else
4849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4850 CXXFLAGS="-g"
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 main ()
4859 return 0;
4861 _ACEOF
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 ac_cv_prog_cxx_g=yes
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4873 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4874 if test "$ac_test_CXXFLAGS" = set; then
4875 CXXFLAGS=$ac_save_CXXFLAGS
4876 elif test $ac_cv_prog_cxx_g = yes; then
4877 if test "$GXX" = yes; then
4878 CXXFLAGS="-g -O2"
4879 else
4880 CXXFLAGS="-g"
4882 else
4883 if test "$GXX" = yes; then
4884 CXXFLAGS="-O2"
4885 else
4886 CXXFLAGS=
4889 ac_ext=c
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CPPBIN+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$CPPBIN"; then
4904 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 CPPBIN=$ac_cv_prog_CPPBIN
4924 if test -n "$CPPBIN"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4926 $as_echo "$CPPBIN" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4934 if test -z "$ac_cv_prog_CPPBIN"; then
4935 ac_ct_CPPBIN=$CPPBIN
4936 # Extract the first word of "cpp", so it can be a program name with args.
4937 set dummy cpp; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$ac_ct_CPPBIN"; then
4944 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_ac_ct_CPPBIN="cpp"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4964 if test -n "$ac_ct_CPPBIN"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4966 $as_echo "$ac_ct_CPPBIN" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4972 if test "x$ac_ct_CPPBIN" = x; then
4973 CPPBIN="cpp"
4974 else
4975 case $cross_compiling:$ac_tool_warned in
4976 yes:)
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4980 esac
4981 CPPBIN=$ac_ct_CPPBIN
4983 else
4984 CPPBIN="$ac_cv_prog_CPPBIN"
4988 cat >>confdefs.h <<_ACEOF
4989 #define EXEEXT "$ac_exeext"
4990 _ACEOF
4992 if test -n "$ac_tool_prefix"; then
4993 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4994 set dummy ${ac_tool_prefix}ld; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_LD+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$LD"; then
5001 ac_cv_prog_LD="$LD" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_LD="${ac_tool_prefix}ld"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5014 done
5015 done
5016 IFS=$as_save_IFS
5020 LD=$ac_cv_prog_LD
5021 if test -n "$LD"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5023 $as_echo "$LD" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5031 if test -z "$ac_cv_prog_LD"; then
5032 ac_ct_LD=$LD
5033 # Extract the first word of "ld", so it can be a program name with args.
5034 set dummy ld; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$ac_ct_LD"; then
5041 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_ac_ct_LD="ld"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5061 if test -n "$ac_ct_LD"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5063 $as_echo "$ac_ct_LD" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5069 if test "x$ac_ct_LD" = x; then
5070 LD=""
5071 else
5072 case $cross_compiling:$ac_tool_warned in
5073 yes:)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5076 ac_tool_warned=yes ;;
5077 esac
5078 LD=$ac_ct_LD
5080 else
5081 LD="$ac_cv_prog_LD"
5085 case $host in
5086 *-darwin*)
5087 with_fontconfig=${with_fontconfig:-no}
5089 *-mingw32*|*-cygwin*)
5090 enable_win16=${enable_win16:-no}
5091 CFLAGS="$CFLAGS -D_WIN32"
5093 esac
5095 case $host in
5096 x86_64*|amd64*)
5097 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5098 then
5099 CC="$CC -m32"
5100 CXX="$CXX -m32"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5102 $as_echo_n "checking whether $CC works... " >&6; }
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_link "$LINENO"; then :
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5117 $as_echo "yes" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5121 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5123 rm -f core conftest.err conftest.$ac_objext \
5124 conftest$ac_exeext conftest.$ac_ext
5125 host_cpu="i386"
5126 notice_platform="32-bit "
5127 TARGETFLAGS="-m32"
5129 enable_win16=${enable_win16:-yes}
5130 else
5131 if test "x${GCC}" = "xyes"
5132 then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5134 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <stdarg.h>
5139 main ()
5141 void func(__builtin_ms_va_list *args);
5143 return 0;
5145 _ACEOF
5146 if ac_fn_c_try_compile "$LINENO"; then :
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 $as_echo "yes" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5152 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 CC="$CC -m64"
5157 CXX="$CXX -m64"
5158 host_cpu="x86_64"
5159 notice_platform="64-bit "
5160 TARGETFLAGS="-m64"
5164 arm*)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5166 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5169 int ac_test(int i) { return i; }
5171 main ()
5173 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5175 return 0;
5177 _ACEOF
5178 if ac_fn_c_try_link "$LINENO"; then :
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180 $as_echo "yes" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5186 rm -f core conftest.err conftest.$ac_objext \
5187 conftest$ac_exeext conftest.$ac_ext
5188 CFLAGS="$CFLAGS -marm"
5189 TARGETFLAGS="-marm"
5192 i[3456789]86*)
5193 enable_win16=${enable_win16:-yes}
5195 esac
5197 enable_win16=${enable_win16:-no}
5198 enable_win64=${enable_win64:-no}
5200 enable_winetest=${enable_winetest:-$enable_tests}
5202 if test -n "$with_wine64"
5203 then
5204 if test "x$enable_win64" = "xyes"
5205 then
5206 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5207 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5209 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5210 You should create a separate build directory and run configure from there." "$LINENO" 5
5211 enable_fonts=${enable_fonts:-no}
5212 enable_server=${enable_server:-no}
5213 elif test "x$enable_win64" = "xyes"
5214 then
5215 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5219 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5220 if ${wine_cv_toolsdir+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 wine_cv_toolsdir="$with_wine_tools"
5224 if test -z "$with_wine_tools"; then
5225 if test "$cross_compiling" = "yes"; then
5226 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5227 elif test -n "$with_wine64"; then
5228 wine_cv_toolsdir="$with_wine64"
5231 if test -z "$wine_cv_toolsdir"; then
5232 wine_makedep=tools/makedep
5233 wine_cv_toolsdir="\$(top_builddir)"
5234 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5235 wine_makedep=$wine_cv_toolsdir/tools/makedep
5236 case "$wine_cv_toolsdir" in
5237 /*) ;;
5238 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5239 esac
5240 enable_tools=${enable_tools:-no}
5241 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5242 else
5243 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5247 $as_echo "$wine_cv_toolsdir" >&6; }
5248 TOOLSDIR=$wine_cv_toolsdir
5250 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5251 then
5252 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5256 for ac_prog in flex
5258 # Extract the first word of "$ac_prog", so it can be a program name with args.
5259 set dummy $ac_prog; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_FLEX+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$FLEX"; then
5266 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_FLEX="$ac_prog"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 FLEX=$ac_cv_prog_FLEX
5286 if test -n "$FLEX"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5288 $as_echo "$FLEX" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5295 test -n "$FLEX" && break
5296 done
5297 test -n "$FLEX" || FLEX="none"
5299 if test "$FLEX" = "none"
5300 then
5301 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5304 $as_echo_n "checking whether flex is recent enough... " >&6; }
5305 cat >conftest.l <<EOF
5306 %top{
5307 #include "prediluvian.h"
5311 if $FLEX -t conftest.l >/dev/null 2>&5
5312 then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314 $as_echo "yes" >&6; }
5315 else
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5318 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5321 for ac_prog in bison
5323 # Extract the first word of "$ac_prog", so it can be a program name with args.
5324 set dummy $ac_prog; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_BISON+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -n "$BISON"; then
5331 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5332 else
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_BISON="$ac_prog"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 break 2
5344 done
5345 done
5346 IFS=$as_save_IFS
5350 BISON=$ac_cv_prog_BISON
5351 if test -n "$BISON"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5353 $as_echo "$BISON" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 test -n "$BISON" && break
5361 done
5362 test -n "$BISON" || BISON="none"
5364 if test "$BISON" = "none"
5365 then
5366 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5369 if test -n "$ac_tool_prefix"; then
5370 for ac_prog in ar gar
5372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_AR+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$AR"; then
5380 ac_cv_prog_AR="$AR" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 AR=$ac_cv_prog_AR
5400 if test -n "$AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5402 $as_echo "$AR" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$AR" && break
5410 done
5412 if test -z "$AR"; then
5413 ac_ct_AR=$AR
5414 for ac_prog in ar gar
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy $ac_prog; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_AR"; then
5424 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_AR="$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5444 if test -n "$ac_ct_AR"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5446 $as_echo "$ac_ct_AR" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$ac_ct_AR" && break
5454 done
5456 if test "x$ac_ct_AR" = x; then
5457 AR="ar"
5458 else
5459 case $cross_compiling:$ac_tool_warned in
5460 yes:)
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5463 ac_tool_warned=yes ;;
5464 esac
5465 AR=$ac_ct_AR
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}strip; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_STRIP+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$STRIP"; then
5478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 STRIP=$ac_cv_prog_STRIP
5498 if test -n "$STRIP"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5500 $as_echo "$STRIP" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_STRIP"; then
5509 ac_ct_STRIP=$STRIP
5510 # Extract the first word of "strip", so it can be a program name with args.
5511 set dummy strip; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_STRIP"; then
5518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_STRIP="strip"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5538 if test -n "$ac_ct_STRIP"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5540 $as_echo "$ac_ct_STRIP" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_STRIP" = x; then
5547 STRIP="strip"
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 STRIP=$ac_ct_STRIP
5557 else
5558 STRIP="$ac_cv_prog_STRIP"
5561 ARFLAGS=rc
5563 if test -n "$ac_tool_prefix"; then
5564 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5565 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_RANLIB+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$RANLIB"; then
5572 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 RANLIB=$ac_cv_prog_RANLIB
5592 if test -n "$RANLIB"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5594 $as_echo "$RANLIB" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 if test -z "$ac_cv_prog_RANLIB"; then
5603 ac_ct_RANLIB=$RANLIB
5604 # Extract the first word of "ranlib", so it can be a program name with args.
5605 set dummy ranlib; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$ac_ct_RANLIB"; then
5612 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_ac_ct_RANLIB="ranlib"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5632 if test -n "$ac_ct_RANLIB"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5634 $as_echo "$ac_ct_RANLIB" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5640 if test "x$ac_ct_RANLIB" = x; then
5641 RANLIB=":"
5642 else
5643 case $cross_compiling:$ac_tool_warned in
5644 yes:)
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5648 esac
5649 RANLIB=$ac_ct_RANLIB
5651 else
5652 RANLIB="$ac_cv_prog_RANLIB"
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5656 $as_echo_n "checking whether ln -s works... " >&6; }
5657 LN_S=$as_ln_s
5658 if test "$LN_S" = "ln -s"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5663 $as_echo "no, using $LN_S" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5667 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5668 if ${ac_cv_path_GREP+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -z "$GREP"; then
5672 ac_path_GREP_found=false
5673 # Loop through the user's path and test for each of PROGNAME-LIST
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_prog in grep ggrep; do
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5682 as_fn_executable_p "$ac_path_GREP" || continue
5683 # Check for GNU ac_path_GREP and select it if it is found.
5684 # Check for GNU $ac_path_GREP
5685 case `"$ac_path_GREP" --version 2>&1` in
5686 *GNU*)
5687 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5689 ac_count=0
5690 $as_echo_n 0123456789 >"conftest.in"
5691 while :
5693 cat "conftest.in" "conftest.in" >"conftest.tmp"
5694 mv "conftest.tmp" "conftest.in"
5695 cp "conftest.in" "conftest.nl"
5696 $as_echo 'GREP' >> "conftest.nl"
5697 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5699 as_fn_arith $ac_count + 1 && ac_count=$as_val
5700 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5701 # Best one so far, save it but keep looking for a better one
5702 ac_cv_path_GREP="$ac_path_GREP"
5703 ac_path_GREP_max=$ac_count
5705 # 10*(2^10) chars as input seems more than enough
5706 test $ac_count -gt 10 && break
5707 done
5708 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5709 esac
5711 $ac_path_GREP_found && break 3
5712 done
5713 done
5714 done
5715 IFS=$as_save_IFS
5716 if test -z "$ac_cv_path_GREP"; then
5717 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5719 else
5720 ac_cv_path_GREP=$GREP
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5725 $as_echo "$ac_cv_path_GREP" >&6; }
5726 GREP="$ac_cv_path_GREP"
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5730 $as_echo_n "checking for egrep... " >&6; }
5731 if ${ac_cv_path_EGREP+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5735 then ac_cv_path_EGREP="$GREP -E"
5736 else
5737 if test -z "$EGREP"; then
5738 ac_path_EGREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in egrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5748 as_fn_executable_p "$ac_path_EGREP" || continue
5749 # Check for GNU ac_path_EGREP and select it if it is found.
5750 # Check for GNU $ac_path_EGREP
5751 case `"$ac_path_EGREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5755 ac_count=0
5756 $as_echo_n 0123456789 >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 $as_echo 'EGREP' >> "conftest.nl"
5763 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 as_fn_arith $ac_count + 1 && ac_count=$as_val
5766 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_EGREP="$ac_path_EGREP"
5769 ac_path_EGREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5777 $ac_path_EGREP_found && break 3
5778 done
5779 done
5780 done
5781 IFS=$as_save_IFS
5782 if test -z "$ac_cv_path_EGREP"; then
5783 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5785 else
5786 ac_cv_path_EGREP=$EGREP
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5792 $as_echo "$ac_cv_path_EGREP" >&6; }
5793 EGREP="$ac_cv_path_EGREP"
5796 # Extract the first word of "ldconfig", so it can be a program name with args.
5797 set dummy ldconfig; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_path_LDCONFIG+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 case $LDCONFIG in
5804 [\\/]* | ?:[\\/]*)
5805 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in /sbin /usr/sbin $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5823 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5825 esac
5827 LDCONFIG=$ac_cv_path_LDCONFIG
5828 if test -n "$LDCONFIG"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5830 $as_echo "$LDCONFIG" >&6; }
5831 else
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5837 for ac_prog in msgfmt
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy $ac_prog; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_MSGFMT+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 if test -n "$MSGFMT"; then
5847 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_MSGFMT="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5860 done
5861 done
5862 IFS=$as_save_IFS
5866 MSGFMT=$ac_cv_prog_MSGFMT
5867 if test -n "$MSGFMT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5869 $as_echo "$MSGFMT" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$MSGFMT" && break
5877 done
5878 test -n "$MSGFMT" || MSGFMT="false"
5880 if ${ac_tool_prefix+:} false; then :
5881 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -n "$PKG_CONFIG"; then
5889 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 break 2
5902 done
5903 done
5904 IFS=$as_save_IFS
5908 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5909 if test -n "$PKG_CONFIG"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5911 $as_echo "$PKG_CONFIG" >&6; }
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5919 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5920 if test "x$cross_compiling" = xyes; then :
5922 else
5923 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5924 # Extract the first word of "pkg-config", so it can be a program name with args.
5925 set dummy pkg-config; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$PKG_CONFIG"; then
5932 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_PKG_CONFIG="pkg-config"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5952 if test -n "$PKG_CONFIG"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5954 $as_echo "$PKG_CONFIG" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 else
5963 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5966 if test "x$enable_maintainer_mode" != "xyes"
5967 then
5968 FONTFORGE=""
5969 RSVG=""
5970 CONVERT=""
5971 ICOTOOL=""
5972 else
5973 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5974 for ac_prog in fontforge
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_FONTFORGE+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$FONTFORGE"; then
5984 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_FONTFORGE="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 FONTFORGE=$ac_cv_prog_FONTFORGE
6004 if test -n "$FONTFORGE"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6006 $as_echo "$FONTFORGE" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$FONTFORGE" && break
6014 done
6015 test -n "$FONTFORGE" || FONTFORGE="false"
6017 for ac_prog in rsvg-convert rsvg
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_RSVG+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$RSVG"; then
6027 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_RSVG="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 RSVG=$ac_cv_prog_RSVG
6047 if test -n "$RSVG"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6049 $as_echo "$RSVG" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$RSVG" && break
6057 done
6058 test -n "$RSVG" || RSVG="false"
6060 for ac_prog in convert
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_CONVERT+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$CONVERT"; then
6070 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_CONVERT="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 CONVERT=$ac_cv_prog_CONVERT
6090 if test -n "$CONVERT"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6092 $as_echo "$CONVERT" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$CONVERT" && break
6100 done
6101 test -n "$CONVERT" || CONVERT="false"
6103 for ac_prog in icotool
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy $ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_ICOTOOL+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$ICOTOOL"; then
6113 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_ICOTOOL="$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 ICOTOOL=$ac_cv_prog_ICOTOOL
6133 if test -n "$ICOTOOL"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6135 $as_echo "$ICOTOOL" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6142 test -n "$ICOTOOL" && break
6143 done
6144 test -n "$ICOTOOL" || ICOTOOL="false"
6146 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6147 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6149 if test "$CONVERT" = false
6150 then
6151 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6154 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6155 convert_version=`convert --version | head -n1`
6156 if test "x$convert_version" != "x"
6157 then
6158 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6159 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6160 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6161 then
6162 CONVERT=false
6165 if test "$CONVERT" = false
6166 then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6168 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6169 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6172 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6176 if test "$ICOTOOL" = false
6177 then
6178 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6181 $as_echo_n "checking for recent enough icotool... " >&6; }
6182 icotool_version=`icotool --version | head -n1`
6183 if test "x$icotool_version" != "x"
6184 then
6185 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6186 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6187 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6188 then
6189 ICOTOOL=false
6190 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6193 if test "$ICOTOOL" = false
6194 then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6196 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6197 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6200 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6204 with_gettext=yes
6205 with_gettextpo=yes
6206 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6209 test "x$with_gettext" != xno || MSGFMT=false
6210 if test "$MSGFMT" != "false"
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6213 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6214 cat >conftest.po <<EOF
6215 # comment
6216 msgctxt "ctxt"
6217 msgid "id"
6218 msgstr "str"
6220 if $MSGFMT -o /dev/null conftest.po 2>&5
6221 then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6223 $as_echo "yes" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 MSGFMT=false
6230 if test "$MSGFMT" = false; then :
6231 case "x$with_gettext" in
6232 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6233 xno) ;;
6234 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6235 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6236 esac
6237 enable_po=${enable_po:-no}
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6242 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6243 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 ac_check_lib_save_LIBS=$LIBS
6247 LIBS="-li386 $LIBS"
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6251 /* Override any GCC internal prototype to avoid an error.
6252 Use char because int might match the return type of a GCC
6253 builtin and then its argument prototype would still apply. */
6254 #ifdef __cplusplus
6255 extern "C"
6256 #endif
6257 char i386_set_ldt ();
6259 main ()
6261 return i386_set_ldt ();
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_link "$LINENO"; then :
6267 ac_cv_lib_i386_i386_set_ldt=yes
6268 else
6269 ac_cv_lib_i386_i386_set_ldt=no
6271 rm -f core conftest.err conftest.$ac_objext \
6272 conftest$ac_exeext conftest.$ac_ext
6273 LIBS=$ac_check_lib_save_LIBS
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6276 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6277 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6278 cat >>confdefs.h <<_ACEOF
6279 #define HAVE_LIBI386 1
6280 _ACEOF
6282 LIBS="-li386 $LIBS"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6287 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6288 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 ac_check_lib_save_LIBS=$LIBS
6292 LIBS="-lossaudio $LIBS"
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6296 /* Override any GCC internal prototype to avoid an error.
6297 Use char because int might match the return type of a GCC
6298 builtin and then its argument prototype would still apply. */
6299 #ifdef __cplusplus
6300 extern "C"
6301 #endif
6302 char _oss_ioctl ();
6304 main ()
6306 return _oss_ioctl ();
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_link "$LINENO"; then :
6312 ac_cv_lib_ossaudio__oss_ioctl=yes
6313 else
6314 ac_cv_lib_ossaudio__oss_ioctl=no
6316 rm -f core conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 LIBS=$ac_check_lib_save_LIBS
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6321 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6322 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6323 cat >>confdefs.h <<_ACEOF
6324 #define HAVE_LIBOSSAUDIO 1
6325 _ACEOF
6327 LIBS="-lossaudio $LIBS"
6332 OPENGL_LIBS=""
6336 # Check whether --enable-largefile was given.
6337 if test "${enable_largefile+set}" = set; then :
6338 enableval=$enable_largefile;
6341 if test "$enable_largefile" != no; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6344 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6345 if ${ac_cv_sys_largefile_CC+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 ac_cv_sys_largefile_CC=no
6349 if test "$GCC" != yes; then
6350 ac_save_CC=$CC
6351 while :; do
6352 # IRIX 6.2 and later do not support large files by default,
6353 # so use the C compiler's -n32 option if that helps.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <sys/types.h>
6357 /* Check that off_t can represent 2**63 - 1 correctly.
6358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6359 since some C++ compilers masquerading as C compilers
6360 incorrectly reject 9223372036854775807. */
6361 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6363 && LARGE_OFF_T % 2147483647 == 1)
6364 ? 1 : -1];
6366 main ()
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_compile "$LINENO"; then :
6374 break
6376 rm -f core conftest.err conftest.$ac_objext
6377 CC="$CC -n32"
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_largefile_CC=' -n32'; break
6381 rm -f core conftest.err conftest.$ac_objext
6382 break
6383 done
6384 CC=$ac_save_CC
6385 rm -f conftest.$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6389 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6390 if test "$ac_cv_sys_largefile_CC" != no; then
6391 CC=$CC$ac_cv_sys_largefile_CC
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6395 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6396 if ${ac_cv_sys_file_offset_bits+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 while :; do
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6410 ? 1 : -1];
6412 main ()
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_compile "$LINENO"; then :
6420 ac_cv_sys_file_offset_bits=no; break
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #define _FILE_OFFSET_BITS 64
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6434 ? 1 : -1];
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_sys_file_offset_bits=64; break
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 ac_cv_sys_file_offset_bits=unknown
6448 break
6449 done
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6452 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6453 case $ac_cv_sys_file_offset_bits in #(
6454 no | unknown) ;;
6456 cat >>confdefs.h <<_ACEOF
6457 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6458 _ACEOF
6460 esac
6461 rm -rf conftest*
6462 if test $ac_cv_sys_file_offset_bits = unknown; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6464 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6465 if ${ac_cv_sys_large_files+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 while :; do
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #include <sys/types.h>
6472 /* Check that off_t can represent 2**63 - 1 correctly.
6473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6474 since some C++ compilers masquerading as C compilers
6475 incorrectly reject 9223372036854775807. */
6476 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6478 && LARGE_OFF_T % 2147483647 == 1)
6479 ? 1 : -1];
6481 main ()
6485 return 0;
6487 _ACEOF
6488 if ac_fn_c_try_compile "$LINENO"; then :
6489 ac_cv_sys_large_files=no; break
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6494 #define _LARGE_FILES 1
6495 #include <sys/types.h>
6496 /* Check that off_t can represent 2**63 - 1 correctly.
6497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6498 since some C++ compilers masquerading as C compilers
6499 incorrectly reject 9223372036854775807. */
6500 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6502 && LARGE_OFF_T % 2147483647 == 1)
6503 ? 1 : -1];
6505 main ()
6509 return 0;
6511 _ACEOF
6512 if ac_fn_c_try_compile "$LINENO"; then :
6513 ac_cv_sys_large_files=1; break
6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 ac_cv_sys_large_files=unknown
6517 break
6518 done
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6521 $as_echo "$ac_cv_sys_large_files" >&6; }
6522 case $ac_cv_sys_large_files in #(
6523 no | unknown) ;;
6525 cat >>confdefs.h <<_ACEOF
6526 #define _LARGE_FILES $ac_cv_sys_large_files
6527 _ACEOF
6529 esac
6530 rm -rf conftest*
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6543 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6544 # On Suns, sometimes $CPP names a directory.
6545 if test -n "$CPP" && test -d "$CPP"; then
6546 CPP=
6548 if test -z "$CPP"; then
6549 if ${ac_cv_prog_CPP+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 # Double quotes because CPP needs to be expanded
6553 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6555 ac_preproc_ok=false
6556 for ac_c_preproc_warn_flag in '' yes
6558 # Use a header file that comes with gcc, so configuring glibc
6559 # with a fresh cross-compiler works.
6560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6561 # <limits.h> exists even on freestanding compilers.
6562 # On the NeXT, cc -E runs the code through the compiler's parser,
6563 # not just through cpp. "Syntax error" is here to catch this case.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #ifdef __STDC__
6567 # include <limits.h>
6568 #else
6569 # include <assert.h>
6570 #endif
6571 Syntax error
6572 _ACEOF
6573 if ac_fn_c_try_cpp "$LINENO"; then :
6575 else
6576 # Broken: fails on valid input.
6577 continue
6579 rm -f conftest.err conftest.i conftest.$ac_ext
6581 # OK, works on sane cases. Now check whether nonexistent headers
6582 # can be detected and how.
6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6585 #include <ac_nonexistent.h>
6586 _ACEOF
6587 if ac_fn_c_try_cpp "$LINENO"; then :
6588 # Broken: success on invalid input.
6589 continue
6590 else
6591 # Passes both tests.
6592 ac_preproc_ok=:
6593 break
6595 rm -f conftest.err conftest.i conftest.$ac_ext
6597 done
6598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6599 rm -f conftest.i conftest.err conftest.$ac_ext
6600 if $ac_preproc_ok; then :
6601 break
6604 done
6605 ac_cv_prog_CPP=$CPP
6608 CPP=$ac_cv_prog_CPP
6609 else
6610 ac_cv_prog_CPP=$CPP
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6613 $as_echo "$CPP" >&6; }
6614 ac_preproc_ok=false
6615 for ac_c_preproc_warn_flag in '' yes
6617 # Use a header file that comes with gcc, so configuring glibc
6618 # with a fresh cross-compiler works.
6619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6620 # <limits.h> exists even on freestanding compilers.
6621 # On the NeXT, cc -E runs the code through the compiler's parser,
6622 # not just through cpp. "Syntax error" is here to catch this case.
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #ifdef __STDC__
6626 # include <limits.h>
6627 #else
6628 # include <assert.h>
6629 #endif
6630 Syntax error
6631 _ACEOF
6632 if ac_fn_c_try_cpp "$LINENO"; then :
6634 else
6635 # Broken: fails on valid input.
6636 continue
6638 rm -f conftest.err conftest.i conftest.$ac_ext
6640 # OK, works on sane cases. Now check whether nonexistent headers
6641 # can be detected and how.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <ac_nonexistent.h>
6645 _ACEOF
6646 if ac_fn_c_try_cpp "$LINENO"; then :
6647 # Broken: success on invalid input.
6648 continue
6649 else
6650 # Passes both tests.
6651 ac_preproc_ok=:
6652 break
6654 rm -f conftest.err conftest.i conftest.$ac_ext
6656 done
6657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6658 rm -f conftest.i conftest.err conftest.$ac_ext
6659 if $ac_preproc_ok; then :
6661 else
6662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6664 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6665 See \`config.log' for more details" "$LINENO" 5; }
6668 ac_ext=c
6669 ac_cpp='$CPP $CPPFLAGS'
6670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6676 $as_echo_n "checking for ANSI C header files... " >&6; }
6677 if ${ac_cv_header_stdc+:} false; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <stdlib.h>
6683 #include <stdarg.h>
6684 #include <string.h>
6685 #include <float.h>
6688 main ()
6692 return 0;
6694 _ACEOF
6695 if ac_fn_c_try_compile "$LINENO"; then :
6696 ac_cv_header_stdc=yes
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6702 if test $ac_cv_header_stdc = yes; then
6703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <string.h>
6708 _ACEOF
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "memchr" >/dev/null 2>&1; then :
6712 else
6713 ac_cv_header_stdc=no
6715 rm -f conftest*
6719 if test $ac_cv_header_stdc = yes; then
6720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <stdlib.h>
6725 _ACEOF
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "free" >/dev/null 2>&1; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f conftest*
6736 if test $ac_cv_header_stdc = yes; then
6737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6738 if test "$cross_compiling" = yes; then :
6740 else
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <ctype.h>
6744 #include <stdlib.h>
6745 #if ((' ' & 0x0FF) == 0x020)
6746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6748 #else
6749 # define ISLOWER(c) \
6750 (('a' <= (c) && (c) <= 'i') \
6751 || ('j' <= (c) && (c) <= 'r') \
6752 || ('s' <= (c) && (c) <= 'z'))
6753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6754 #endif
6756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6758 main ()
6760 int i;
6761 for (i = 0; i < 256; i++)
6762 if (XOR (islower (i), ISLOWER (i))
6763 || toupper (i) != TOUPPER (i))
6764 return 2;
6765 return 0;
6767 _ACEOF
6768 if ac_fn_c_try_run "$LINENO"; then :
6770 else
6771 ac_cv_header_stdc=no
6773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6774 conftest.$ac_objext conftest.beam conftest.$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6780 $as_echo "$ac_cv_header_stdc" >&6; }
6781 if test $ac_cv_header_stdc = yes; then
6783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6788 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6789 inttypes.h stdint.h unistd.h
6790 do :
6791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6795 cat >>confdefs.h <<_ACEOF
6796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6797 _ACEOF
6801 done
6804 for ac_header in \
6805 AL/al.h \
6806 ApplicationServices/ApplicationServices.h \
6807 AudioToolbox/AudioConverter.h \
6808 AudioUnit/AudioUnit.h \
6809 AudioUnit/AudioComponent.h \
6810 CL/cl.h \
6811 Carbon/Carbon.h \
6812 CommonCrypto/CommonDigest.h \
6813 CoreAudio/CoreAudio.h \
6814 CoreServices/CoreServices.h \
6815 DiskArbitration/DiskArbitration.h \
6816 IOKit/IOKitLib.h \
6817 IOKit/hid/IOHIDLib.h \
6818 OpenAL/al.h \
6819 OpenCL/opencl.h \
6820 QuickTime/ImageCompression.h \
6821 Security/Security.h \
6822 alias.h \
6823 alsa/asoundlib.h \
6824 arpa/inet.h \
6825 arpa/nameser.h \
6826 asm/types.h \
6827 asm/user.h \
6828 curses.h \
6829 direct.h \
6830 dirent.h \
6831 dlfcn.h \
6832 elf.h \
6833 float.h \
6834 fnmatch.h \
6835 getopt.h \
6836 gettext-po.h \
6837 grp.h \
6838 gsm.h \
6839 gsm/gsm.h \
6840 ieeefp.h \
6841 inet/mib2.h \
6842 io.h \
6843 kstat.h \
6844 lber.h \
6845 ldap.h \
6846 libproc.h \
6847 link.h \
6848 linux/cdrom.h \
6849 linux/compiler.h \
6850 linux/filter.h \
6851 linux/hdreg.h \
6852 linux/hidraw.h \
6853 linux/input.h \
6854 linux/ioctl.h \
6855 linux/joystick.h \
6856 linux/major.h \
6857 linux/param.h \
6858 linux/serial.h \
6859 linux/types.h \
6860 linux/ucdrom.h \
6861 lwp.h \
6862 mach-o/nlist.h \
6863 mach-o/loader.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/sysarch.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 pcap/pcap.h \
6877 poll.h \
6878 port.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 sched.h \
6883 scsi/scsi.h \
6884 scsi/scsi_ioctl.h \
6885 scsi/sg.h \
6886 stdbool.h \
6887 stdint.h \
6888 stropts.h \
6889 sys/asoundlib.h \
6890 sys/attr.h \
6891 sys/auxv.h \
6892 sys/cdio.h \
6893 sys/elf32.h \
6894 sys/epoll.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/inotify.h \
6899 sys/ioctl.h \
6900 sys/ipc.h \
6901 sys/limits.h \
6902 sys/link.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/protosw.h \
6911 sys/ptrace.h \
6912 sys/queue.h \
6913 sys/resource.h \
6914 sys/scsiio.h \
6915 sys/shm.h \
6916 sys/signal.h \
6917 sys/socket.h \
6918 sys/socketvar.h \
6919 sys/sockio.h \
6920 sys/statvfs.h \
6921 sys/strtio.h \
6922 sys/syscall.h \
6923 sys/sysinfo.h \
6924 sys/tihdr.h \
6925 sys/time.h \
6926 sys/timeout.h \
6927 sys/times.h \
6928 sys/uio.h \
6929 sys/user.h \
6930 sys/utsname.h \
6931 sys/vm86.h \
6932 sys/vnode.h \
6933 sys/wait.h \
6934 syscall.h \
6935 termios.h \
6936 unistd.h \
6937 utime.h \
6938 valgrind/memcheck.h \
6939 valgrind/valgrind.h \
6940 zlib.h
6942 do :
6943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6948 _ACEOF
6952 done
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6955 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6956 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958 else
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6963 main ()
6965 return makedev(0, 0);
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_link "$LINENO"; then :
6971 ac_cv_header_sys_types_h_makedev=yes
6972 else
6973 ac_cv_header_sys_types_h_makedev=no
6975 rm -f core conftest.err conftest.$ac_objext \
6976 conftest$ac_exeext conftest.$ac_ext
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6980 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6982 if test $ac_cv_header_sys_types_h_makedev = no; then
6983 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6984 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6986 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6992 if test $ac_cv_header_sys_mkdev_h = no; then
6993 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6994 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6996 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7005 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7006 if ${ac_cv_header_stat_broken+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 #include <sys/stat.h>
7014 #if defined S_ISBLK && defined S_IFDIR
7015 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7016 #endif
7018 #if defined S_ISBLK && defined S_IFCHR
7019 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7020 #endif
7022 #if defined S_ISLNK && defined S_IFREG
7023 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7024 #endif
7026 #if defined S_ISSOCK && defined S_IFREG
7027 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7028 #endif
7030 _ACEOF
7031 if ac_fn_c_try_compile "$LINENO"; then :
7032 ac_cv_header_stat_broken=no
7033 else
7034 ac_cv_header_stat_broken=yes
7036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7039 $as_echo "$ac_cv_header_stat_broken" >&6; }
7040 if test $ac_cv_header_stat_broken = yes; then
7042 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7048 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7049 do :
7050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7052 #ifdef HAVE_SYS_PARAM_H
7053 # include <sys/param.h>
7054 #endif
7056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7057 cat >>confdefs.h <<_ACEOF
7058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7059 _ACEOF
7063 done
7066 for ac_header in \
7067 netinet/ip.h \
7068 net/if.h \
7069 net/if_arp.h \
7070 net/if_dl.h \
7071 net/if_types.h \
7072 net/route.h \
7073 netinet/if_ether.h \
7074 netinet/if_inarp.h \
7075 netinet/in_pcb.h \
7076 netinet/ip_icmp.h \
7077 netinet/ip_var.h \
7078 netinet/udp.h \
7079 netipx/ipx.h \
7080 sys/un.h \
7082 do :
7083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7085 #ifdef HAVE_SYS_SOCKET_H
7086 # include <sys/socket.h>
7087 #endif
7088 #ifdef HAVE_SYS_SOCKETVAR_H
7089 # include <sys/socketvar.h>
7090 #endif
7091 #ifdef HAVE_NET_ROUTE_H
7092 # include <net/route.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IN_H
7095 # include <netinet/in.h>
7096 #endif
7097 #ifdef HAVE_NETINET_IN_SYSTM_H
7098 # include <netinet/in_systm.h>
7099 #endif
7100 #ifdef HAVE_NET_IF_H
7101 # include <net/if.h>
7102 #endif
7103 #ifdef HAVE_NETINET_IP_H
7104 # include <netinet/ip.h>
7105 #endif
7107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 _ACEOF
7114 done
7117 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7118 do :
7119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7121 #ifdef HAVE_ALIAS_H
7122 # include <alias.h>
7123 #endif
7124 #ifdef HAVE_SYS_SOCKET_H
7125 # include <sys/socket.h>
7126 #endif
7127 #ifdef HAVE_SYS_SOCKETVAR_H
7128 # include <sys/socketvar.h>
7129 #endif
7130 #ifdef HAVE_SYS_TIMEOUT_H
7131 # include <sys/timeout.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IN_H
7134 # include <netinet/in.h>
7135 #endif
7136 #ifdef HAVE_NETINET_IN_SYSTM_H
7137 # include <netinet/in_systm.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IP_H
7140 # include <netinet/ip.h>
7141 #endif
7142 #ifdef HAVE_NETINET_IP_VAR_H
7143 # include <netinet/ip_var.h>
7144 #endif
7145 #ifdef HAVE_NETINET_IP_ICMP_H
7146 # include <netinet/ip_icmp.h>
7147 #endif
7148 #ifdef HAVE_NETINET_UDP_H
7149 # include <netinet/udp.h>
7150 #endif
7151 #ifdef HAVE_NETINET_TCP_H
7152 # include <netinet/tcp.h>
7153 #endif
7154 #ifdef HAVE_NETINET_TCP_TIMER_H
7155 #include <netinet/tcp_timer.h>
7156 #endif
7158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7161 _ACEOF
7165 done
7168 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7169 do :
7170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7171 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7172 #ifdef HAVE_ASM_TYPES_H
7173 # include <asm/types.h>
7174 #endif
7175 #ifdef HAVE_SYS_SOCKET_H
7176 # include <sys/socket.h>
7177 #endif
7178 #ifdef HAVE_LINUX_TYPES_H
7179 # include <linux/types.h>
7180 #endif
7182 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7183 cat >>confdefs.h <<_ACEOF
7184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7185 _ACEOF
7189 done
7192 for ac_header in mach-o/dyld_images.h
7193 do :
7194 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7195 # include <stdbool.h>
7196 #endif
7197 #ifdef HAVE_STDINT_H
7198 # include <stdint.h>
7199 #endif
7201 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7202 cat >>confdefs.h <<_ACEOF
7203 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7204 _ACEOF
7208 done
7211 for ac_header in resolv.h
7212 do :
7213 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7214 #ifdef HAVE_SYS_SOCKET_H
7215 # include <sys/socket.h>
7216 #endif
7217 #ifdef HAVE_NETINET_IN_H
7218 # include <netinet/in.h>
7219 #endif
7220 #ifdef HAVE_ARPA_NAMESER_H
7221 # include <arpa/nameser.h>
7222 #endif
7224 if test "x$ac_cv_header_resolv_h" = xyes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_RESOLV_H 1
7227 _ACEOF
7231 done
7234 for ac_header in ifaddrs.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7238 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_IFADDRS_H 1
7241 _ACEOF
7245 done
7248 for ac_header in sys/ucontext.h
7249 do :
7250 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7252 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7253 cat >>confdefs.h <<_ACEOF
7254 #define HAVE_SYS_UCONTEXT_H 1
7255 _ACEOF
7259 done
7262 for ac_header in sys/thr.h
7263 do :
7264 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7265 #ifdef HAVE_SYS_UCONTEXT_H
7266 #include <sys/ucontext.h>
7267 #endif
7269 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_SYS_THR_H 1
7272 _ACEOF
7276 done
7279 for ac_header in pthread_np.h
7280 do :
7281 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7282 #include <pthread.h>
7283 #endif
7285 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_PTHREAD_NP_H 1
7288 _ACEOF
7292 done
7295 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7296 do :
7297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7298 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7299 #include <sys/time.h>
7300 #endif
7301 #include <sys/types.h>
7302 #ifdef HAVE_ASM_TYPES_H
7303 #include <asm/types.h>
7304 #endif
7306 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7309 _ACEOF
7313 done
7316 for ac_header in libprocstat.h
7317 do :
7318 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7319 #include <sys/param.h>
7320 #endif
7321 #ifdef HAVE_SYS_QUEUE_H
7322 #include <sys/queue.h>
7323 #endif
7324 #ifdef HAVE_SYS_SOCKET_H
7325 #include <sys/socket.h>
7326 #endif
7328 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_LIBPROCSTAT_H 1
7331 _ACEOF
7335 done
7339 dlldir="\${libdir}/wine"
7341 DLLFLAGS="-D_REENTRANT"
7343 LDRPATH_INSTALL=""
7345 LDRPATH_LOCAL=""
7347 LDEXECFLAGS=""
7349 LIBEXT="so"
7350 DLLEXT=".so"
7351 IMPLIBEXT="def"
7352 # Extract the first word of "ldd", so it can be a program name with args.
7353 set dummy ldd; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_path_LDD+:} false; then :
7357 $as_echo_n "(cached) " >&6
7358 else
7359 case $LDD in
7360 [\\/]* | ?:[\\/]*)
7361 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 as_dummy="/sbin:/usr/sbin:$PATH"
7366 for as_dir in $as_dummy
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7380 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7382 esac
7384 LDD=$ac_cv_path_LDD
7385 if test -n "$LDD"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7387 $as_echo "$LDD" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7394 if test -n "$ac_tool_prefix"; then
7395 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7396 set dummy ${ac_tool_prefix}otool; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if ${ac_cv_prog_OTOOL+:} false; then :
7400 $as_echo_n "(cached) " >&6
7401 else
7402 if test -n "$OTOOL"; then
7403 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7404 else
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in $PATH
7408 IFS=$as_save_IFS
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 break 2
7416 done
7417 done
7418 IFS=$as_save_IFS
7422 OTOOL=$ac_cv_prog_OTOOL
7423 if test -n "$OTOOL"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7425 $as_echo "$OTOOL" >&6; }
7426 else
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7433 if test -z "$ac_cv_prog_OTOOL"; then
7434 ac_ct_OTOOL=$OTOOL
7435 # Extract the first word of "otool", so it can be a program name with args.
7436 set dummy otool; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 if test -n "$ac_ct_OTOOL"; then
7443 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7448 IFS=$as_save_IFS
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7452 ac_cv_prog_ac_ct_OTOOL="otool"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 break 2
7456 done
7457 done
7458 IFS=$as_save_IFS
7462 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7463 if test -n "$ac_ct_OTOOL"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7465 $as_echo "$ac_ct_OTOOL" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7471 if test "x$ac_ct_OTOOL" = x; then
7472 OTOOL="otool"
7473 else
7474 case $cross_compiling:$ac_tool_warned in
7475 yes:)
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7478 ac_tool_warned=yes ;;
7479 esac
7480 OTOOL=$ac_ct_OTOOL
7482 else
7483 OTOOL="$ac_cv_prog_OTOOL"
7486 if test -n "$ac_tool_prefix"; then
7487 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7488 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_READELF+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 if test -n "$READELF"; then
7495 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7508 done
7509 done
7510 IFS=$as_save_IFS
7514 READELF=$ac_cv_prog_READELF
7515 if test -n "$READELF"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7517 $as_echo "$READELF" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7525 if test -z "$ac_cv_prog_READELF"; then
7526 ac_ct_READELF=$READELF
7527 # Extract the first word of "readelf", so it can be a program name with args.
7528 set dummy readelf; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$ac_ct_READELF"; then
7535 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_ac_ct_READELF="readelf"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7548 done
7549 done
7550 IFS=$as_save_IFS
7554 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7555 if test -n "$ac_ct_READELF"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7557 $as_echo "$ac_ct_READELF" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7563 if test "x$ac_ct_READELF" = x; then
7564 READELF="true"
7565 else
7566 case $cross_compiling:$ac_tool_warned in
7567 yes:)
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7570 ac_tool_warned=yes ;;
7571 esac
7572 READELF=$ac_ct_READELF
7574 else
7575 READELF="$ac_cv_prog_READELF"
7578 wine_rules_file=conf$$rules.make
7579 rm -f $wine_rules_file
7580 SUBDIRS=""
7582 DISABLED_SUBDIRS=""
7584 CONFIGURE_TARGETS=""
7586 ALL_TEST_RESOURCES=""
7589 wine_fn_append_file ()
7591 as_fn_append $1 " \\$as_nl $2"
7594 wine_fn_append_rule ()
7596 $as_echo "$1" >>$wine_rules_file
7599 wine_fn_has_flag ()
7601 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7604 wine_fn_all_rules ()
7606 wine_fn_append_file SUBDIRS $ac_dir
7607 wine_fn_append_rule \
7608 "all: $ac_dir
7609 .PHONY: $ac_dir
7610 $ac_dir: dummy
7611 @cd $ac_dir && \$(MAKE)"
7614 wine_fn_install_rules ()
7616 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7618 wine_fn_append_rule \
7619 ".PHONY: $ac_dir/install $ac_dir/uninstall
7620 $ac_dir/install:: $ac_dir
7621 @cd $ac_dir && \$(MAKE) install
7622 $ac_dir/uninstall::
7623 @cd $ac_dir && \$(MAKE) uninstall
7624 install:: $ac_dir/install
7625 __uninstall__: $ac_dir/uninstall"
7627 if wine_fn_has_flag install-lib
7628 then
7629 wine_fn_append_rule \
7630 ".PHONY: $ac_dir/install-lib
7631 $ac_dir/install-lib:: $ac_dir
7632 @cd $ac_dir && \$(MAKE) install-lib
7633 install-lib:: $ac_dir/install-lib"
7636 if wine_fn_has_flag install-dev
7637 then
7638 wine_fn_append_rule \
7639 ".PHONY: $ac_dir/install-dev
7640 $ac_dir/install-dev:: $ac_dir
7641 @cd $ac_dir && \$(MAKE) install-dev
7642 install-dev:: $ac_dir/install-dev"
7646 wine_fn_clean_rules ()
7648 ac_clean=$@
7650 if wine_fn_has_flag clean
7651 then
7652 wine_fn_append_rule \
7653 "$ac_dir/clean: dummy
7654 @cd $ac_dir && \$(MAKE) clean"
7655 else
7656 wine_fn_append_rule \
7657 "$ac_dir/clean: dummy
7658 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7660 wine_fn_append_rule \
7661 "__clean__: $ac_dir/clean
7662 .PHONY: $ac_dir/clean"
7665 wine_fn_disabled_rules ()
7667 ac_clean=$@
7669 wine_fn_append_file SUBDIRS $ac_dir
7670 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7671 wine_fn_append_rule \
7672 "__clean__: $ac_dir/clean
7673 .PHONY: $ac_dir/clean
7674 $ac_dir/clean: dummy
7675 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7678 wine_fn_config_makefile ()
7680 ac_dir=$1
7681 ac_enable=$2
7682 ac_flags=$3
7684 case $ac_dir in
7685 fonts|server) test -z "$with_wine64" || return ;;
7686 esac
7687 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7688 wine_fn_disabled_rules; return
7690 wine_fn_all_rules
7691 wine_fn_install_rules
7692 wine_fn_clean_rules
7695 wine_fn_config_lib ()
7697 ac_name=$1
7698 ac_flags=$2
7699 ac_dir=dlls/$ac_name
7700 ac_deps="include"
7702 if test "x$enable_tools" = xno; then :
7704 else
7705 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7707 wine_fn_all_rules
7708 wine_fn_clean_rules
7710 wine_fn_append_rule \
7711 ".PHONY: $ac_dir/install $ac_dir/uninstall
7712 $ac_dir/install:: $ac_dir
7713 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7714 $ac_dir/uninstall::
7715 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7716 install install-dev:: $ac_dir/install
7717 __uninstall__: $ac_dir/uninstall
7718 __builddeps__: $ac_dir
7719 $ac_dir: $ac_deps"
7722 wine_fn_config_dll ()
7724 ac_name=$1
7725 ac_dir=dlls/$ac_name
7726 ac_enable=$2
7727 ac_flags=$3
7728 ac_implib=${4:-$ac_name}
7729 ac_file=$ac_dir/lib$ac_implib
7730 ac_dll=$ac_name
7731 ac_deps="include"
7732 ac_implibflags=""
7734 if test "x$enable_tools" = xno; then :
7736 else
7737 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7739 case $ac_name in
7740 *.*16) ac_implibflags=" -m16" ;;
7741 *.*) ;;
7742 *) ac_dll=$ac_dll.dll ;;
7743 esac
7745 ac_clean=
7746 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7747 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7749 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7750 if test "$ac_enable" != enable_win16
7751 then
7752 wine_fn_clean_rules $ac_clean
7753 wine_fn_append_file SUBDIRS $ac_dir
7754 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7755 else
7756 wine_fn_disabled_rules $ac_clean
7757 return
7759 else
7760 wine_fn_all_rules
7761 wine_fn_clean_rules $ac_clean
7762 wine_fn_append_rule \
7763 "$ac_dir: __builddeps__
7764 manpages htmlpages sgmlpages xmlpages::
7765 @cd $ac_dir && \$(MAKE) \$@
7766 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7767 install install-lib:: $ac_dir/install-lib
7768 __uninstall__: $ac_dir/uninstall"
7769 if test -n "$DLLEXT"
7770 then
7771 wine_fn_append_rule \
7772 "$ac_dir/install-lib:: $ac_dir
7773 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7774 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7775 $ac_dir/uninstall::
7776 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7777 else
7778 wine_fn_append_rule \
7779 "$ac_dir/install-lib:: $ac_dir
7780 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7786 if wine_fn_has_flag staticimplib
7787 then
7788 wine_fn_append_rule \
7789 "__builddeps__: $ac_file.a
7790 $ac_file.a $ac_file.cross.a: $ac_deps
7791 $ac_file.a: dummy
7792 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7793 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7794 $ac_dir/install-dev:: $ac_file.a
7795 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7796 $ac_dir/uninstall::
7797 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7798 install install-dev:: $ac_dir/install-dev
7799 __uninstall__: $ac_dir/uninstall"
7801 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7802 then
7803 wine_fn_append_rule \
7804 "__builddeps__: $ac_file.cross.a
7805 $ac_file.cross.a: dummy
7806 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7809 elif wine_fn_has_flag implib
7810 then
7811 wine_fn_append_rule \
7812 "__builddeps__: $ac_file.$IMPLIBEXT
7813 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7815 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7816 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7817 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7818 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7819 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7820 $ac_dir/uninstall::
7821 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7822 install install-dev:: $ac_dir/install-dev
7823 __uninstall__: $ac_dir/uninstall"
7824 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7825 then
7826 wine_fn_append_rule \
7827 "__builddeps__: $ac_file.cross.a
7828 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7829 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7834 wine_fn_config_program ()
7836 ac_name=$1
7837 ac_dir=programs/$ac_name
7838 ac_enable=$2
7839 ac_flags=$3
7840 ac_program=$ac_name
7842 case $ac_name in
7843 *.*) ;;
7844 *) ac_program=$ac_program.exe ;;
7845 esac
7847 ac_clean=
7848 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7849 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7851 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7852 wine_fn_disabled_rules $ac_clean; return
7855 wine_fn_all_rules
7856 wine_fn_clean_rules $ac_clean
7857 wine_fn_append_rule "$ac_dir: __builddeps__"
7859 wine_fn_has_flag install || return
7860 wine_fn_append_rule \
7861 ".PHONY: $ac_dir/install $ac_dir/uninstall
7862 install install-lib:: $ac_dir/install
7863 __uninstall__: $ac_dir/uninstall"
7865 if test -n "$DLLEXT"
7866 then
7867 wine_fn_append_rule \
7868 "$ac_dir/install:: $ac_dir
7869 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7870 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7871 $ac_dir/uninstall::
7872 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7874 if test -z "$with_wine64" && wine_fn_has_flag installbin
7875 then
7876 wine_fn_append_rule \
7877 "$ac_dir/install:: __tooldeps__
7878 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7879 $ac_dir/uninstall::
7880 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7882 else
7883 wine_fn_append_rule \
7884 "$ac_dir/install:: $ac_dir
7885 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7886 $ac_dir/uninstall::
7887 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7890 if test -z "$with_wine64" && wine_fn_has_flag manpage
7891 then
7892 wine_fn_append_rule \
7893 "$ac_dir/install:: $ac_dir
7894 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7895 $ac_dir/uninstall::
7896 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7900 wine_fn_config_test ()
7902 ac_dir=$1
7903 ac_name=$2
7904 ac_flags=$3
7906 ac_clean=
7907 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7908 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7910 if test "x$enable_tests" = xno; then :
7911 wine_fn_disabled_rules $ac_clean; return
7914 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7915 wine_fn_all_rules
7916 wine_fn_clean_rules $ac_clean
7918 wine_fn_append_rule \
7919 "$ac_dir: __builddeps__
7920 programs/winetest: $ac_dir
7921 check test: $ac_dir/test
7922 .PHONY: $ac_dir/test
7923 $ac_dir/test: dummy
7924 @cd $ac_dir && \$(MAKE) test
7925 testclean::
7926 \$(RM) $ac_dir/*.ok"
7928 if test -n "$CROSSTARGET"
7929 then
7930 wine_fn_append_rule \
7931 "crosstest: $ac_dir/crosstest
7932 .PHONY: $ac_dir/crosstest
7933 $ac_dir/crosstest: __builddeps__ dummy
7934 @cd $ac_dir && \$(MAKE) crosstest"
7938 wine_fn_config_tool ()
7940 ac_dir=$1
7941 ac_flags=$2
7942 if test "x$enable_tools" = xno; then :
7943 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7946 wine_fn_all_rules
7947 wine_fn_install_rules
7948 wine_fn_clean_rules
7950 wine_fn_append_rule "__tooldeps__: $ac_dir"
7951 wine_fn_append_rule "$ac_dir: libs/port"
7952 case $ac_dir in
7953 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7954 esac
7957 wine_fn_config_symlink ()
7959 ac_linkdir=
7960 if test "x$1" = "x-d"
7961 then
7962 ac_linkdir=$2
7963 shift; shift
7965 ac_links=$@
7966 wine_fn_append_rule \
7967 "$ac_links:
7968 @./config.status \$@"
7969 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7970 test -n "$ac_linkdir" || return
7971 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7974 wine_binary="wine"
7975 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7976 WINELOADER_PROGRAMS="$wine_binary"
7978 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7980 case $host_os in
7981 cygwin*|mingw32*)
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7986 $as_echo_n "checking for $ac_word... " >&6; }
7987 if ${ac_cv_prog_DLLTOOL+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
7990 if test -n "$DLLTOOL"; then
7991 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7992 else
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 for as_dir in $PATH
7996 IFS=$as_save_IFS
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 break 2
8004 done
8005 done
8006 IFS=$as_save_IFS
8010 DLLTOOL=$ac_cv_prog_DLLTOOL
8011 if test -n "$DLLTOOL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8013 $as_echo "$DLLTOOL" >&6; }
8014 else
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016 $as_echo "no" >&6; }
8021 if test -z "$ac_cv_prog_DLLTOOL"; then
8022 ac_ct_DLLTOOL=$DLLTOOL
8023 # Extract the first word of "dlltool", so it can be a program name with args.
8024 set dummy dlltool; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$ac_ct_DLLTOOL"; then
8031 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8051 if test -n "$ac_ct_DLLTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8053 $as_echo "$ac_ct_DLLTOOL" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8059 if test "x$ac_ct_DLLTOOL" = x; then
8060 DLLTOOL="false"
8061 else
8062 case $cross_compiling:$ac_tool_warned in
8063 yes:)
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8066 ac_tool_warned=yes ;;
8067 esac
8068 DLLTOOL=$ac_ct_DLLTOOL
8070 else
8071 DLLTOOL="$ac_cv_prog_DLLTOOL"
8074 LIBEXT="dll"
8075 DLLEXT=""
8076 IMPLIBEXT="a"
8077 enable_iphlpapi=${enable_iphlpapi:-no}
8078 enable_kernel32=${enable_kernel32:-no}
8079 enable_msvcrt=${enable_msvcrt:-no}
8080 enable_ntdll=${enable_ntdll:-no}
8081 enable_ws2_32=${enable_ws2_32:-no}
8082 enable_loader=${enable_loader:-no}
8083 enable_server=${enable_server:-no}
8084 with_x=${with_x:-no}
8085 with_pthread=${with_pthread:-no}
8087 crtlibs=""
8088 case $host_os in
8089 mingw32*)
8090 crtlibs="-lmsvcrt"
8091 SOCKET_LIBS="-lws2_32"
8093 esac
8095 LIBWINE_SHAREDLIB="libwine.dll"
8097 LIBWINE_IMPORTLIB="libwine.a"
8099 LIBWINE_INSTALL_LIB="libwine.dll"
8101 LIBWINE_INSTALL_DEV="libwine.a"
8103 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8105 LIBWINE_DEPENDS="wine.def"
8109 darwin*|macosx*)
8110 for ac_header in libunwind.h
8111 do :
8112 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_LIBUNWIND_H 1
8116 _ACEOF
8120 done
8122 LIBEXT="dylib"
8123 DLLFLAGS="$DLLFLAGS -fPIC"
8124 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8125 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8126 COREFOUNDATION_LIBS="-framework CoreFoundation"
8128 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8130 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8132 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8134 CORESERVICES_LIBS="-framework CoreServices"
8136 APPKIT_LIBS="-framework AppKit"
8138 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8140 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8141 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -Wl,-no_pie"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 ac_cv_cflags__Wl__no_pie=yes
8152 else
8153 ac_cv_cflags__Wl__no_pie=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8160 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8161 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8162 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8164 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8165 then
8166 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8169 if test "$ac_cv_header_Security_Security_h" = "yes"
8170 then
8171 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8173 ac_save_LIBS="$LIBS"
8174 LIBS="$LIBS $SECURITY_LIBS"
8175 for ac_func in SSLCopyPeerCertificates
8176 do :
8177 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8178 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8181 _ACEOF
8184 done
8186 LIBS="$ac_save_LIBS"
8187 with_gnutls=${with_gnutls:-no}
8189 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8190 then
8191 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8192 then
8193 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8195 else
8196 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8199 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8200 ac_save_LIBS="$LIBS"
8201 LIBS="$LIBS $COREAUDIO_LIBS"
8202 for ac_func in AUGraphAddNode
8203 do :
8204 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8205 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8206 cat >>confdefs.h <<_ACEOF
8207 #define HAVE_AUGRAPHADDNODE 1
8208 _ACEOF
8211 done
8213 LIBS="$ac_save_LIBS"
8215 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8216 then
8217 OPENAL_LIBS="-framework OpenAL"
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_OPENAL 1
8222 _ACEOF
8224 ac_cv_lib_openal=yes
8226 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8227 then
8228 OPENCL_LIBS="-framework OpenCL"
8230 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8232 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8233 then
8234 ac_save_LIBS="$LIBS"
8235 LIBS="$LIBS $IOKIT_LIBS"
8236 for ac_func in IOHIDManagerCreate
8237 do :
8238 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8239 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8240 cat >>confdefs.h <<_ACEOF
8241 #define HAVE_IOHIDMANAGERCREATE 1
8242 _ACEOF
8245 done
8247 LIBS="$ac_save_LIBS"
8249 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8250 then
8251 ac_save_LIBS="$LIBS"
8252 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8254 $as_echo_n "checking for the QuickTime framework... " >&6; }
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 #include <QuickTime/ImageCompression.h>
8259 main ()
8261 CodecManagerVersion(NULL);
8263 return 0;
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 $as_echo "yes" >&6; }
8269 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8271 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8275 ac_cv_header_QuickTime_ImageCompression_h=no
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 LIBS="$ac_save_LIBS"
8281 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8282 then
8283 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8285 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8286 then
8287 CARBON_LIBS="-framework Carbon"
8291 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8292 then
8293 ac_save_LIBS="$LIBS"
8294 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8295 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8296 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8297 enable_winemac_drv=${enable_winemac_drv:-yes}
8300 LIBS="$ac_save_LIBS"
8303 if test "x$enable_win16" = "xyes"
8304 then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8306 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8307 if test "$cross_compiling" = yes; then :
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8309 $as_echo "cross-compiling, assuming yes" >&6; }
8310 else
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 asm(".text\n"
8314 "bad:\tnop;nop\n"
8315 "good:\tnop;nop\n\t"
8316 ".globl _testfunc\n"
8317 "_testfunc:\tcallw good");
8318 extern void testfunc();
8320 main ()
8322 unsigned short *p = (unsigned short *)testfunc;
8323 return p[0] != 0xe866 || p[1] != 0xfffa
8325 return 0;
8327 _ACEOF
8328 if ac_fn_c_try_run "$LINENO"; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8330 $as_echo "yes" >&6; }
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8334 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
8336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8337 conftest.$ac_objext conftest.beam conftest.$ac_ext
8342 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8344 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8346 LIBWINE_INSTALL_DEV="libwine.dylib"
8348 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8350 WINELOADER_DEPENDS="wine_info.plist"
8354 linux-android*)
8355 DLLFLAGS="$DLLFLAGS -fPIC"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8357 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8358 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 int main(int argc, char **argv) { return 0; }
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8369 else
8370 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8372 rm -f core conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 CFLAGS=$ac_wine_try_cflags_saved
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8377 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8378 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8379 LDEXECFLAGS="-Wl,--export-dynamic"
8381 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8383 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8384 if eval \${$as_ac_var+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 ac_wine_try_cflags_saved=$CFLAGS
8388 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 int main(int argc, char **argv) { return 0; }
8392 _ACEOF
8393 if ac_fn_c_try_link "$LINENO"; then :
8394 eval "$as_ac_var=yes"
8395 else
8396 eval "$as_ac_var=no"
8398 rm -f core conftest.err conftest.$ac_objext \
8399 conftest$ac_exeext conftest.$ac_ext
8400 CFLAGS=$ac_wine_try_cflags_saved
8402 eval ac_res=\$$as_ac_var
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8404 $as_echo "$ac_res" >&6; }
8405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8406 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8407 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8408 else
8409 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8411 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8412 if eval \${$as_ac_var+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 int main(int argc, char **argv) { return 0; }
8420 _ACEOF
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 eval "$as_ac_var=yes"
8423 else
8424 eval "$as_ac_var=no"
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 eval ac_res=\$$as_ac_var
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8432 $as_echo "$ac_res" >&6; }
8433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8434 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8435 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8440 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8441 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__Wl___enable_new_dtags=yes
8452 else
8453 ac_cv_cflags__Wl___enable_new_dtags=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8460 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8461 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8462 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8465 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8466 if ${ac_cv_cflags__Wl__pie+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -Wl,-pie"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 ac_cv_cflags__Wl__pie=yes
8477 else
8478 ac_cv_cflags__Wl__pie=no
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8485 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8486 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8487 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8490 LIBWINE_SHAREDLIB="libwine.so"
8492 LIBWINE_INSTALL_LIB="libwine.so"
8494 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8499 DLLFLAGS="$DLLFLAGS -fPIC"
8500 LDEXECFLAGS=""
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8502 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8503 if ${ac_cv_c_dll_gnuelf+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 void myfunc() {}
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_c_dll_gnuelf="yes"
8514 else
8515 ac_cv_c_dll_gnuelf="no"
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8522 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8523 if test "$ac_cv_c_dll_gnuelf" = "yes"
8524 then
8525 LIBWINE_LDFLAGS="-shared"
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8528 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8539 else
8540 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8549 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8550 else
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8553 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8564 else
8565 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8572 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8573 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8574 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8578 echo '{ global: *; };' >conftest.map
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8580 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8581 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8592 else
8593 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8600 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8601 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8602 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8604 rm -f conftest.map
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8607 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8608 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8619 else
8620 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8627 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8628 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8629 LDEXECFLAGS="-Wl,--export-dynamic"
8632 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8634 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8635 if eval \${$as_ac_var+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 eval "$as_ac_var=yes"
8646 else
8647 eval "$as_ac_var=no"
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 eval ac_res=\$$as_ac_var
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8655 $as_echo "$ac_res" >&6; }
8656 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8657 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8658 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8659 else
8660 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8662 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8663 if eval \${$as_ac_var+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 eval "$as_ac_var=yes"
8674 else
8675 eval "$as_ac_var=no"
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 eval ac_res=\$$as_ac_var
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8683 $as_echo "$ac_res" >&6; }
8684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8685 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8686 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8691 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8692 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8693 $as_echo_n "(cached) " >&6
8694 else
8695 ac_wine_try_cflags_saved=$CFLAGS
8696 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 int main(int argc, char **argv) { return 0; }
8700 _ACEOF
8701 if ac_fn_c_try_link "$LINENO"; then :
8702 ac_cv_cflags__Wl___enable_new_dtags=yes
8703 else
8704 ac_cv_cflags__Wl___enable_new_dtags=no
8706 rm -f core conftest.err conftest.$ac_objext \
8707 conftest$ac_exeext conftest.$ac_ext
8708 CFLAGS=$ac_wine_try_cflags_saved
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8711 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8712 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8713 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8716 case $host_cpu in
8717 *i[3456789]86* | x86_64)
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8719 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8720 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8731 else
8732 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8739 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8740 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8741 case $host_os in
8742 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8743 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8744 esac
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8747 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8748 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8759 else
8760 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8767 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8768 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8769 case $host_os in
8770 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8771 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8772 esac
8774 # Extract the first word of "prelink", so it can be a program name with args.
8775 set dummy prelink; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if ${ac_cv_path_PRELINK+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 case $PRELINK in
8782 [\\/]* | ?:[\\/]*)
8783 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8787 for as_dir in /sbin /usr/sbin $PATH
8789 IFS=$as_save_IFS
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8795 break 2
8797 done
8798 done
8799 IFS=$as_save_IFS
8801 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8803 esac
8805 PRELINK=$ac_cv_path_PRELINK
8806 if test -n "$PRELINK"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8808 $as_echo "$PRELINK" >&6; }
8809 else
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8815 if test "x$PRELINK" = xfalse
8816 then
8817 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8821 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8822 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8833 else
8834 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8841 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8842 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8843 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8846 esac
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8850 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8851 if ${ac_cv_c_dll_unixware+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 void myfunc() {}
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 ac_cv_c_dll_unixware="yes"
8862 else
8863 ac_cv_c_dll_unixware="no"
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 CFLAGS=$ac_wine_try_cflags_saved
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8870 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8871 if test "$ac_cv_c_dll_unixware" = "yes"
8872 then
8873 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8876 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8878 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8880 LIBWINE_INSTALL_DEV="libwine.so"
8882 LIBWINE_DEPENDS="wine.map"
8885 esac
8887 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8888 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8889 enable_winemac_drv=${enable_winemac_drv:-no}
8890 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8892 CROSSTARGET=""
8894 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8895 then
8896 case "$host_cpu" in
8897 arm*)
8898 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8899 i[3456789]86*)
8900 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
8901 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8902 mingw32-gcc" ;;
8903 x86_64)
8904 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
8905 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8907 ac_prefix_list="" ;;
8908 esac
8909 for ac_prog in $ac_prefix_list
8911 # Extract the first word of "$ac_prog", so it can be a program name with args.
8912 set dummy $ac_prog; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914 $as_echo_n "checking for $ac_word... " >&6; }
8915 if ${ac_cv_prog_CROSSCC+:} false; then :
8916 $as_echo_n "(cached) " >&6
8917 else
8918 if test -n "$CROSSCC"; then
8919 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8920 else
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8922 for as_dir in $PATH
8924 IFS=$as_save_IFS
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8928 ac_cv_prog_CROSSCC="$ac_prog"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 break 2
8932 done
8933 done
8934 IFS=$as_save_IFS
8938 CROSSCC=$ac_cv_prog_CROSSCC
8939 if test -n "$CROSSCC"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8941 $as_echo "$CROSSCC" >&6; }
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8948 test -n "$CROSSCC" && break
8949 done
8950 test -n "$CROSSCC" || CROSSCC="false"
8952 if test "$CROSSCC" != "false"
8953 then
8954 ac_save_CC="$CC"
8955 CC="$CROSSCC"
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8957 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8962 main ()
8966 return 0;
8968 _ACEOF
8969 if ac_fn_c_try_compile "$LINENO"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8971 $as_echo "yes" >&6; }
8972 set x $CROSSCC
8973 shift
8974 while test $# -ge 1
8976 case "$1" in
8977 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8978 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8979 esac
8980 shift
8981 done
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984 $as_echo "no" >&6; }
8986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8987 CC="$ac_save_CC"
8992 if test "$ac_cv_header_pthread_h" = "yes"
8993 then
8994 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8995 if test "x$ac_cv_func_pthread_create" = xyes; then :
8997 else
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8999 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9000 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9001 $as_echo_n "(cached) " >&6
9002 else
9003 ac_check_lib_save_LIBS=$LIBS
9004 LIBS="-lpthread $LIBS"
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9008 /* Override any GCC internal prototype to avoid an error.
9009 Use char because int might match the return type of a GCC
9010 builtin and then its argument prototype would still apply. */
9011 #ifdef __cplusplus
9012 extern "C"
9013 #endif
9014 char pthread_create ();
9016 main ()
9018 return pthread_create ();
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 ac_cv_lib_pthread_pthread_create=yes
9025 else
9026 ac_cv_lib_pthread_pthread_create=no
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_lib_save_LIBS
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9033 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9034 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9035 PTHREAD_LIBS="-lpthread"
9042 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9043 case "x$with_pthread" in
9044 xno) ;;
9045 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9046 Wine cannot support threads without libpthread.
9047 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9048 esac
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9054 $as_echo_n "checking for X... " >&6; }
9057 # Check whether --with-x was given.
9058 if test "${with_x+set}" = set; then :
9059 withval=$with_x;
9062 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9063 if test "x$with_x" = xno; then
9064 # The user explicitly disabled X.
9065 have_x=disabled
9066 else
9067 case $x_includes,$x_libraries in #(
9068 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9069 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 # One or both of the vars are not set, and there is no cached value.
9073 ac_x_includes=no ac_x_libraries=no
9074 rm -f -r conftest.dir
9075 if mkdir conftest.dir; then
9076 cd conftest.dir
9077 cat >Imakefile <<'_ACEOF'
9078 incroot:
9079 @echo incroot='${INCROOT}'
9080 usrlibdir:
9081 @echo usrlibdir='${USRLIBDIR}'
9082 libdir:
9083 @echo libdir='${LIBDIR}'
9084 _ACEOF
9085 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9086 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9087 for ac_var in incroot usrlibdir libdir; do
9088 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9089 done
9090 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9091 for ac_extension in a so sl dylib la dll; do
9092 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9093 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9094 ac_im_usrlibdir=$ac_im_libdir; break
9096 done
9097 # Screen out bogus values from the imake configuration. They are
9098 # bogus both because they are the default anyway, and because
9099 # using them would break gcc on systems where it needs fixed includes.
9100 case $ac_im_incroot in
9101 /usr/include) ac_x_includes= ;;
9102 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9103 esac
9104 case $ac_im_usrlibdir in
9105 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9106 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9107 esac
9109 cd ..
9110 rm -f -r conftest.dir
9113 # Standard set of common directories for X headers.
9114 # Check X11 before X11Rn because it is often a symlink to the current release.
9115 ac_x_header_dirs='
9116 /usr/X11/include
9117 /usr/X11R7/include
9118 /usr/X11R6/include
9119 /usr/X11R5/include
9120 /usr/X11R4/include
9122 /usr/include/X11
9123 /usr/include/X11R7
9124 /usr/include/X11R6
9125 /usr/include/X11R5
9126 /usr/include/X11R4
9128 /usr/local/X11/include
9129 /usr/local/X11R7/include
9130 /usr/local/X11R6/include
9131 /usr/local/X11R5/include
9132 /usr/local/X11R4/include
9134 /usr/local/include/X11
9135 /usr/local/include/X11R7
9136 /usr/local/include/X11R6
9137 /usr/local/include/X11R5
9138 /usr/local/include/X11R4
9140 /usr/X386/include
9141 /usr/x386/include
9142 /usr/XFree86/include/X11
9144 /usr/include
9145 /usr/local/include
9146 /usr/unsupported/include
9147 /usr/athena/include
9148 /usr/local/x11r5/include
9149 /usr/lpp/Xamples/include
9151 /usr/openwin/include
9152 /usr/openwin/share/include'
9154 if test "$ac_x_includes" = no; then
9155 # Guess where to find include files, by looking for Xlib.h.
9156 # First, try using that file with no special directory specified.
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 #include <X11/Xlib.h>
9160 _ACEOF
9161 if ac_fn_c_try_cpp "$LINENO"; then :
9162 # We can compile using X headers with no special include directory.
9163 ac_x_includes=
9164 else
9165 for ac_dir in $ac_x_header_dirs; do
9166 if test -r "$ac_dir/X11/Xlib.h"; then
9167 ac_x_includes=$ac_dir
9168 break
9170 done
9172 rm -f conftest.err conftest.i conftest.$ac_ext
9173 fi # $ac_x_includes = no
9175 if test "$ac_x_libraries" = no; then
9176 # Check for the libraries.
9177 # See if we find them without any special options.
9178 # Don't add to $LIBS permanently.
9179 ac_save_LIBS=$LIBS
9180 LIBS="-lX11 $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9183 #include <X11/Xlib.h>
9185 main ()
9187 XrmInitialize ()
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 LIBS=$ac_save_LIBS
9194 # We can link X programs with no special library path.
9195 ac_x_libraries=
9196 else
9197 LIBS=$ac_save_LIBS
9198 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9200 # Don't even attempt the hair of trying to link an X program!
9201 for ac_extension in a so sl dylib la dll; do
9202 if test -r "$ac_dir/libX11.$ac_extension"; then
9203 ac_x_libraries=$ac_dir
9204 break 2
9206 done
9207 done
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 fi # $ac_x_libraries = no
9213 case $ac_x_includes,$ac_x_libraries in #(
9214 no,* | *,no | *\'*)
9215 # Didn't find X, or a directory has "'" in its name.
9216 ac_cv_have_x="have_x=no";; #(
9218 # Record where we found X for the cache.
9219 ac_cv_have_x="have_x=yes\
9220 ac_x_includes='$ac_x_includes'\
9221 ac_x_libraries='$ac_x_libraries'"
9222 esac
9224 ;; #(
9225 *) have_x=yes;;
9226 esac
9227 eval "$ac_cv_have_x"
9228 fi # $with_x != no
9230 if test "$have_x" != yes; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9232 $as_echo "$have_x" >&6; }
9233 no_x=yes
9234 else
9235 # If each of the values was on the command line, it overrides each guess.
9236 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9237 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9238 # Update the cache value to reflect the command line values.
9239 ac_cv_have_x="have_x=yes\
9240 ac_x_includes='$x_includes'\
9241 ac_x_libraries='$x_libraries'"
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9243 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9246 if test "$no_x" = yes; then
9247 # Not all programs may use this symbol, but it does not hurt to define it.
9249 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9251 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9252 else
9253 if test -n "$x_includes"; then
9254 X_CFLAGS="$X_CFLAGS -I$x_includes"
9257 # It would also be nice to do this for all -L options, not just this one.
9258 if test -n "$x_libraries"; then
9259 X_LIBS="$X_LIBS -L$x_libraries"
9260 # For Solaris; some versions of Sun CC require a space after -R and
9261 # others require no space. Words are not sufficient . . . .
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9263 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9264 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9265 ac_xsave_c_werror_flag=$ac_c_werror_flag
9266 ac_c_werror_flag=yes
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9271 main ()
9275 return 0;
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 $as_echo "no" >&6; }
9281 X_LIBS="$X_LIBS -R$x_libraries"
9282 else
9283 LIBS="$ac_xsave_LIBS -R $x_libraries"
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9288 main ()
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9297 $as_echo "yes" >&6; }
9298 X_LIBS="$X_LIBS -R $x_libraries"
9299 else
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9301 $as_echo "neither works" >&6; }
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 ac_c_werror_flag=$ac_xsave_c_werror_flag
9309 LIBS=$ac_xsave_LIBS
9312 # Check for system-dependent libraries X programs must link with.
9313 # Do this before checking for the system-independent R6 libraries
9314 # (-lICE), since we may need -lsocket or whatever for X linking.
9316 if test "$ISC" = yes; then
9317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9318 else
9319 # Martyn Johnson says this is needed for Ultrix, if the X
9320 # libraries were built with DECnet support. And Karl Berry says
9321 # the Alpha needs dnet_stub (dnet does not exist).
9322 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char XOpenDisplay ();
9334 main ()
9336 return XOpenDisplay ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9343 else
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9345 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9346 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-ldnet $LIBS"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char dnet_ntoa ();
9362 main ()
9364 return dnet_ntoa ();
9366 return 0;
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_lib_dnet_dnet_ntoa=yes
9371 else
9372 ac_cv_lib_dnet_dnet_ntoa=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_lib_save_LIBS
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9379 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9380 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9386 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9387 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_check_lib_save_LIBS=$LIBS
9391 LIBS="-ldnet_stub $LIBS"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9395 /* Override any GCC internal prototype to avoid an error.
9396 Use char because int might match the return type of a GCC
9397 builtin and then its argument prototype would still apply. */
9398 #ifdef __cplusplus
9399 extern "C"
9400 #endif
9401 char dnet_ntoa ();
9403 main ()
9405 return dnet_ntoa ();
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9412 else
9413 ac_cv_lib_dnet_stub_dnet_ntoa=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9420 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9421 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9422 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 LIBS="$ac_xsave_LIBS"
9431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9432 # to get the SysV transport functions.
9433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9434 # needs -lnsl.
9435 # The nsl library prevents programs from opening the X display
9436 # on Irix 5.2, according to T.E. Dickey.
9437 # The functions gethostbyname, getservbyname, and inet_addr are
9438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9439 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9440 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9444 if test $ac_cv_func_gethostbyname = no; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9446 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9447 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_check_lib_save_LIBS=$LIBS
9451 LIBS="-lnsl $LIBS"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9455 /* Override any GCC internal prototype to avoid an error.
9456 Use char because int might match the return type of a GCC
9457 builtin and then its argument prototype would still apply. */
9458 #ifdef __cplusplus
9459 extern "C"
9460 #endif
9461 char gethostbyname ();
9463 main ()
9465 return gethostbyname ();
9467 return 0;
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_lib_nsl_gethostbyname=yes
9472 else
9473 ac_cv_lib_nsl_gethostbyname=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 LIBS=$ac_check_lib_save_LIBS
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9480 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9481 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9485 if test $ac_cv_lib_nsl_gethostbyname = no; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9487 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9488 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_check_lib_save_LIBS=$LIBS
9492 LIBS="-lbsd $LIBS"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9496 /* Override any GCC internal prototype to avoid an error.
9497 Use char because int might match the return type of a GCC
9498 builtin and then its argument prototype would still apply. */
9499 #ifdef __cplusplus
9500 extern "C"
9501 #endif
9502 char gethostbyname ();
9504 main ()
9506 return gethostbyname ();
9508 return 0;
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 ac_cv_lib_bsd_gethostbyname=yes
9513 else
9514 ac_cv_lib_bsd_gethostbyname=no
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_lib_save_LIBS
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9521 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9522 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9529 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9530 # socket/setsockopt and other routines are undefined under SCO ODT
9531 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9532 # on later versions), says Simon Leinen: it contains gethostby*
9533 # variants that don't use the name server (or something). -lsocket
9534 # must be given before -lnsl if both are needed. We assume that
9535 # if connect needs -lnsl, so does gethostbyname.
9536 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9537 if test "x$ac_cv_func_connect" = xyes; then :
9541 if test $ac_cv_func_connect = no; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9543 $as_echo_n "checking for connect in -lsocket... " >&6; }
9544 if ${ac_cv_lib_socket_connect+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_check_lib_save_LIBS=$LIBS
9548 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9555 #ifdef __cplusplus
9556 extern "C"
9557 #endif
9558 char connect ();
9560 main ()
9562 return connect ();
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 ac_cv_lib_socket_connect=yes
9569 else
9570 ac_cv_lib_socket_connect=no
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9577 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9578 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9579 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9584 # Guillermo Gomez says -lposix is necessary on A/UX.
9585 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9586 if test "x$ac_cv_func_remove" = xyes; then :
9590 if test $ac_cv_func_remove = no; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9592 $as_echo_n "checking for remove in -lposix... " >&6; }
9593 if ${ac_cv_lib_posix_remove+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_check_lib_save_LIBS=$LIBS
9597 LIBS="-lposix $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char remove ();
9609 main ()
9611 return remove ();
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617 ac_cv_lib_posix_remove=yes
9618 else
9619 ac_cv_lib_posix_remove=no
9621 rm -f core conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9626 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9627 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9633 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9634 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9635 if test "x$ac_cv_func_shmat" = xyes; then :
9639 if test $ac_cv_func_shmat = no; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9641 $as_echo_n "checking for shmat in -lipc... " >&6; }
9642 if ${ac_cv_lib_ipc_shmat+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 ac_check_lib_save_LIBS=$LIBS
9646 LIBS="-lipc $LIBS"
9647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9653 #ifdef __cplusplus
9654 extern "C"
9655 #endif
9656 char shmat ();
9658 main ()
9660 return shmat ();
9662 return 0;
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_lib_ipc_shmat=yes
9667 else
9668 ac_cv_lib_ipc_shmat=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_lib_save_LIBS
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9675 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9676 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9683 # Check for libraries that X11R6 Xt/Xaw programs need.
9684 ac_save_LDFLAGS=$LDFLAGS
9685 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9686 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9687 # check for ICE first), but we must link in the order -lSM -lICE or
9688 # we get undefined symbols. So assume we have SM if we have ICE.
9689 # These have to be linked with before -lX11, unlike the other
9690 # libraries we check for below, so use a different variable.
9691 # John Interrante, Karl Berry
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9693 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9694 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_lib_save_LIBS=$LIBS
9698 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char IceConnectionNumber ();
9710 main ()
9712 return IceConnectionNumber ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 ac_cv_lib_ICE_IceConnectionNumber=yes
9719 else
9720 ac_cv_lib_ICE_IceConnectionNumber=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9727 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9728 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9729 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9732 LDFLAGS=$ac_save_LDFLAGS
9737 if test "$have_x" = "yes"
9738 then
9739 ac_save_CPPFLAGS="$CPPFLAGS"
9740 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9743 $as_echo_n "checking for -lX11... " >&6; }
9744 if ${ac_cv_lib_soname_X11+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char XCreateWindow ();
9760 main ()
9762 return XCreateWindow ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 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'` ;;
9771 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9772 if ${ac_cv_lib_soname_X11:+false} :; then :
9773 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9774 fi ;;
9775 esac
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if ${ac_cv_lib_soname_X11:+false} :; then :
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9783 $as_echo "not found" >&6; }
9785 else
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9787 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9791 _ACEOF
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9796 $as_echo_n "checking for -lXext... " >&6; }
9797 if ${ac_cv_lib_soname_Xext+:} false; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 ac_check_soname_save_LIBS=$LIBS
9801 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9808 #ifdef __cplusplus
9809 extern "C"
9810 #endif
9811 char XextCreateExtension ();
9813 main ()
9815 return XextCreateExtension ();
9817 return 0;
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 case "$LIBEXT" in
9822 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if ${ac_cv_lib_soname_Xext:+false} :; then :
9826 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9827 fi ;;
9828 esac
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_soname_save_LIBS
9834 if ${ac_cv_lib_soname_Xext:+false} :; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9838 else
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9840 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9842 cat >>confdefs.h <<_ACEOF
9843 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9844 _ACEOF
9846 X_LIBS="$X_LIBS -lXext"
9848 X_LIBS="$X_LIBS -lX11"
9850 for ac_header in X11/Xlib.h \
9851 X11/XKBlib.h \
9852 X11/Xutil.h \
9853 X11/Xcursor/Xcursor.h \
9854 X11/extensions/shape.h \
9855 X11/extensions/XInput.h \
9856 X11/extensions/XInput2.h \
9857 X11/extensions/XShm.h \
9858 X11/extensions/Xcomposite.h \
9859 X11/extensions/Xinerama.h \
9860 X11/extensions/Xrandr.h \
9861 X11/extensions/Xrender.h \
9862 X11/extensions/xf86vmode.h \
9863 X11/extensions/xf86vmproto.h
9864 do :
9865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9866 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9867 # include <X11/Xlib.h>
9868 #endif
9869 #ifdef HAVE_X11_XUTIL_H
9870 # include <X11/Xutil.h>
9871 #endif
9873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9874 cat >>confdefs.h <<_ACEOF
9875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9876 _ACEOF
9880 done
9883 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9884 then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9886 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9887 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_check_lib_save_LIBS=$LIBS
9891 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9898 #ifdef __cplusplus
9899 extern "C"
9900 #endif
9901 char XkbQueryExtension ();
9903 main ()
9905 return XkbQueryExtension ();
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 ac_cv_lib_X11_XkbQueryExtension=yes
9912 else
9913 ac_cv_lib_X11_XkbQueryExtension=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 LIBS=$ac_check_lib_save_LIBS
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9920 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9921 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9923 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9929 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9930 then
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9932 $as_echo_n "checking for -lXcursor... " >&6; }
9933 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_check_soname_save_LIBS=$LIBS
9937 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XcursorImageLoadCursor ();
9949 main ()
9951 return XcursorImageLoadCursor ();
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 case "$LIBEXT" in
9958 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9959 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'` ;;
9960 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9961 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9962 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 fi ;;
9964 esac
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_soname_save_LIBS
9970 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9972 $as_echo "not found" >&6; }
9974 else
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9976 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9978 cat >>confdefs.h <<_ACEOF
9979 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9980 _ACEOF
9985 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9986 case "x$with_xcursor" in
9987 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9988 xno) ;;
9989 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9990 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9991 esac
9995 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9996 then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9998 $as_echo_n "checking for -lXi... " >&6; }
9999 if ${ac_cv_lib_soname_Xi+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_check_soname_save_LIBS=$LIBS
10003 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 #ifdef __cplusplus
10011 extern "C"
10012 #endif
10013 char XOpenDevice ();
10015 main ()
10017 return XOpenDevice ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 case "$LIBEXT" in
10024 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_Xi:+false} :; then :
10028 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10029 fi ;;
10030 esac
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 LIBS=$ac_check_soname_save_LIBS
10036 if ${ac_cv_lib_soname_Xi:+false} :; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 $as_echo "not found" >&6; }
10040 else
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10042 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10044 cat >>confdefs.h <<_ACEOF
10045 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10046 _ACEOF
10051 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10052 case "x$with_xinput" in
10053 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10054 xno) ;;
10055 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10056 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10057 esac
10061 if test "x$ac_cv_lib_soname_Xi" != x
10062 then
10063 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10064 case "x$with_xinput2" in
10065 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10066 xno) ;;
10067 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10068 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10069 esac
10074 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10075 then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10077 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10078 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10079 $as_echo_n "(cached) " >&6
10080 else
10081 ac_check_lib_save_LIBS=$LIBS
10082 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10086 /* Override any GCC internal prototype to avoid an error.
10087 Use char because int might match the return type of a GCC
10088 builtin and then its argument prototype would still apply. */
10089 #ifdef __cplusplus
10090 extern "C"
10091 #endif
10092 char XShmQueryExtension ();
10094 main ()
10096 return XShmQueryExtension ();
10098 return 0;
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_lib_Xext_XShmQueryExtension=yes
10103 else
10104 ac_cv_lib_Xext_XShmQueryExtension=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LIBS=$ac_check_lib_save_LIBS
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10111 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10112 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10114 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10119 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10120 case "x$with_xshm" in
10121 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10122 xno) ;;
10123 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10124 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10125 esac
10129 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10130 then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10132 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10133 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 ac_check_lib_save_LIBS=$LIBS
10137 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 #ifdef __cplusplus
10145 extern "C"
10146 #endif
10147 char XShapeQueryExtension ();
10149 main ()
10151 return XShapeQueryExtension ();
10153 return 0;
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_lib_Xext_XShapeQueryExtension=yes
10158 else
10159 ac_cv_lib_Xext_XShapeQueryExtension=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_lib_save_LIBS
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10166 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10167 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10169 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10174 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10175 case "x$with_xshape" in
10176 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10177 xno) ;;
10178 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10179 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10180 esac
10184 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10185 then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10187 $as_echo_n "checking for -lXxf86vm... " >&6; }
10188 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_check_soname_save_LIBS=$LIBS
10192 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10199 #ifdef __cplusplus
10200 extern "C"
10201 #endif
10202 char XF86VidModeQueryExtension ();
10204 main ()
10206 return XF86VidModeQueryExtension ();
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 case "$LIBEXT" in
10213 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10214 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'` ;;
10215 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10216 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10217 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10218 fi ;;
10219 esac
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10227 $as_echo "not found" >&6; }
10229 else
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10231 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10233 cat >>confdefs.h <<_ACEOF
10234 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10235 _ACEOF
10240 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10241 case "x$with_xxf86vm" in
10242 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10243 xno) ;;
10244 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10245 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10246 esac
10250 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10251 then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10253 $as_echo_n "checking for -lXrender... " >&6; }
10254 if ${ac_cv_lib_soname_Xrender+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_check_soname_save_LIBS=$LIBS
10258 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10265 #ifdef __cplusplus
10266 extern "C"
10267 #endif
10268 char XRenderQueryExtension ();
10270 main ()
10272 return XRenderQueryExtension ();
10274 return 0;
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"; then :
10278 case "$LIBEXT" in
10279 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10280 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'` ;;
10281 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10282 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10283 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10284 fi ;;
10285 esac
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_soname_save_LIBS
10291 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10293 $as_echo "not found" >&6; }
10295 else
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10297 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10299 cat >>confdefs.h <<_ACEOF
10300 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10301 _ACEOF
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10304 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10305 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_lib_save_LIBS=$LIBS
10309 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char XRenderSetPictureTransform ();
10321 main ()
10323 return XRenderSetPictureTransform ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10330 else
10331 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 LIBS=$ac_check_lib_save_LIBS
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10338 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10339 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10341 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10346 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10347 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_check_lib_save_LIBS=$LIBS
10351 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10358 #ifdef __cplusplus
10359 extern "C"
10360 #endif
10361 char XRenderCreateLinearGradient ();
10363 main ()
10365 return XRenderCreateLinearGradient ();
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_link "$LINENO"; then :
10371 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10372 else
10373 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10375 rm -f core conftest.err conftest.$ac_objext \
10376 conftest$ac_exeext conftest.$ac_ext
10377 LIBS=$ac_check_lib_save_LIBS
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10380 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10381 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10383 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10390 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10391 case "x$with_xrender" in
10392 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10395 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10396 esac
10400 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10401 then
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 #include <X11/Xlib.h>
10405 #include <X11/extensions/Xrandr.h>
10407 main ()
10409 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10411 return 0;
10413 _ACEOF
10414 if ac_fn_c_try_compile "$LINENO"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10416 $as_echo_n "checking for -lXrandr... " >&6; }
10417 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_check_soname_save_LIBS=$LIBS
10421 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10428 #ifdef __cplusplus
10429 extern "C"
10430 #endif
10431 char XRRQueryExtension ();
10433 main ()
10435 return XRRQueryExtension ();
10437 return 0;
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 case "$LIBEXT" in
10442 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10443 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'` ;;
10444 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10445 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10446 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10447 fi ;;
10448 esac
10450 rm -f core conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_soname_save_LIBS
10454 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10456 $as_echo "not found" >&6; }
10458 else
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10460 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10462 cat >>confdefs.h <<_ACEOF
10463 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10464 _ACEOF
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10468 #include <X11/Xlib.h>
10469 #include <X11/extensions/Xrandr.h>
10471 main ()
10473 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_compile "$LINENO"; then :
10480 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10488 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10489 case "x$with_xrandr" in
10490 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10491 xno) ;;
10492 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10493 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10494 esac
10498 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10499 then
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 #include <X11/Xlib.h>
10503 #include <X11/extensions/Xinerama.h>
10505 main ()
10507 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10509 return 0;
10511 _ACEOF
10512 if ac_fn_c_try_compile "$LINENO"; then :
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10514 $as_echo_n "checking for -lXinerama... " >&6; }
10515 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_soname_save_LIBS=$LIBS
10519 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XineramaQueryScreens ();
10531 main ()
10533 return XineramaQueryScreens ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 case "$LIBEXT" in
10540 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10541 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'` ;;
10542 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10543 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10544 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10545 fi ;;
10546 esac
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_soname_save_LIBS
10552 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10554 $as_echo "not found" >&6; }
10556 else
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10558 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10560 cat >>confdefs.h <<_ACEOF
10561 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10562 _ACEOF
10567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10569 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10570 case "x$with_xinerama" in
10571 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10572 xno) ;;
10573 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10574 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10575 esac
10579 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10580 then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10582 $as_echo_n "checking for -lXcomposite... " >&6; }
10583 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_check_soname_save_LIBS=$LIBS
10587 LIBS="-lXcomposite $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 XCompositeRedirectWindow ();
10599 main ()
10601 return XCompositeRedirectWindow ();
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 case "$LIBEXT" in
10608 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10609 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'` ;;
10610 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10611 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10612 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$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_Xcomposite:+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_Xcomposite" >&5
10626 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10628 cat >>confdefs.h <<_ACEOF
10629 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10630 _ACEOF
10635 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10636 case "x$with_xcomposite" in
10637 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10638 xno) ;;
10639 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10640 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10641 esac
10645 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10646 #include <X11/Xlib.h>
10647 #endif
10649 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10651 cat >>confdefs.h <<_ACEOF
10652 #define HAVE_XICCALLBACK_CALLBACK 1
10653 _ACEOF
10657 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10658 #include <X11/Xlib.h>
10659 #endif
10661 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10663 cat >>confdefs.h <<_ACEOF
10664 #define HAVE_XEVENT_XCOOKIE 1
10665 _ACEOF
10672 opengl_msg=""
10673 if test "x$with_opengl" != "xno"
10674 then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10676 $as_echo_n "checking for -lGL... " >&6; }
10677 if ${ac_cv_lib_soname_GL+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_soname_save_LIBS=$LIBS
10681 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char glXCreateContext ();
10693 main ()
10695 return glXCreateContext ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 case "$LIBEXT" in
10702 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10703 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'` ;;
10704 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10705 if ${ac_cv_lib_soname_GL:+false} :; then :
10706 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10707 fi ;;
10708 esac
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_soname_save_LIBS
10714 if ${ac_cv_lib_soname_GL:+false} :; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10716 $as_echo "not found" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10718 $as_echo_n "checking for -lGL... " >&6; }
10719 if ${ac_cv_lib_soname_GL+:} false; then :
10720 $as_echo_n "(cached) " >&6
10721 else
10722 ac_check_soname_save_LIBS=$LIBS
10723 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"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char glXCreateContext ();
10735 main ()
10737 return glXCreateContext ();
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 case "$LIBEXT" in
10744 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10745 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'` ;;
10746 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10747 if ${ac_cv_lib_soname_GL:+false} :; then :
10748 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10749 fi ;;
10750 esac
10752 rm -f core conftest.err conftest.$ac_objext \
10753 conftest$ac_exeext conftest.$ac_ext
10754 LIBS=$ac_check_soname_save_LIBS
10756 if ${ac_cv_lib_soname_GL:+false} :; then :
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10758 $as_echo "not found" >&6; }
10759 if test -f /usr/X11R6/lib/libGL.a
10760 then
10761 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10762 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10763 else
10764 opengl_msg="No OpenGL library found on this system."
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10768 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10770 cat >>confdefs.h <<_ACEOF
10771 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10772 _ACEOF
10774 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"
10776 else
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10778 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10780 cat >>confdefs.h <<_ACEOF
10781 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10782 _ACEOF
10784 OPENGL_LIBS="-lGL"
10786 if test "x$with_glu" != "xno"
10787 then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10789 $as_echo_n "checking for -lGLU... " >&6; }
10790 if ${ac_cv_lib_soname_GLU+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_soname_save_LIBS=$LIBS
10794 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char gluLookAt ();
10806 main ()
10808 return gluLookAt ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 case "$LIBEXT" in
10815 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10816 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'` ;;
10817 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10818 if ${ac_cv_lib_soname_GLU:+false} :; then :
10819 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10820 fi ;;
10821 esac
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_soname_save_LIBS
10827 if ${ac_cv_lib_soname_GLU:+false} :; then :
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10829 $as_echo "not found" >&6; }
10831 else
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10833 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10835 cat >>confdefs.h <<_ACEOF
10836 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10837 _ACEOF
10841 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10842 case "x$with_glu" in
10843 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10844 xno) ;;
10845 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10846 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10847 esac
10852 if test "x$with_osmesa" != "xno"
10853 then
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10855 $as_echo_n "checking for -lOSMesa... " >&6; }
10856 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 ac_check_soname_save_LIBS=$LIBS
10860 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10867 #ifdef __cplusplus
10868 extern "C"
10869 #endif
10870 char OSMesaGetProcAddress ();
10872 main ()
10874 return OSMesaGetProcAddress ();
10876 return 0;
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"; then :
10880 case "$LIBEXT" in
10881 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10882 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'` ;;
10883 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10884 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10885 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10886 fi ;;
10887 esac
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_soname_save_LIBS
10893 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10895 $as_echo "not found" >&6; }
10897 else
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10899 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10901 cat >>confdefs.h <<_ACEOF
10902 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10903 _ACEOF
10907 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10908 case "x$with_osmesa" in
10909 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10910 xno) ;;
10911 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10912 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10913 esac
10918 if test -n "$opengl_msg"; then :
10919 case "x$with_opengl" in
10920 x) as_fn_append wine_warnings "|$opengl_msg
10921 OpenGL and Direct3D won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "$opengl_msg
10924 OpenGL and Direct3D won't be supported.
10925 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10926 esac
10930 CPPFLAGS="$ac_save_CPPFLAGS"
10931 else
10932 X_CFLAGS=""
10933 X_LIBS=""
10935 if test "x$X_LIBS" = "x"; then :
10936 case "x$with_x" in
10937 xno) ;;
10938 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10939 without X support, which probably isn't what you want. You will need
10940 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10941 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10942 esac
10943 enable_winex11_drv=${enable_winex11_drv:-no}
10946 if test "$ac_cv_header_CL_cl_h" = "yes"
10947 then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10949 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10950 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10951 $as_echo_n "(cached) " >&6
10952 else
10953 ac_check_lib_save_LIBS=$LIBS
10954 LIBS="-lOpenCL $LIBS"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 char clGetPlatformInfo ();
10966 main ()
10968 return clGetPlatformInfo ();
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10975 else
10976 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LIBS=$ac_check_lib_save_LIBS
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10983 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10984 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10985 OPENCL_LIBS="-lOpenCL"
10990 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10991 case "x$with_opencl" in
10992 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10993 xno) ;;
10994 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10995 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10996 esac
10997 enable_opencl=${enable_opencl:-no}
11000 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11001 then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11003 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11004 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lpcap $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char pcap_create ();
11020 main ()
11022 return pcap_create ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_pcap_pcap_create=yes
11029 else
11030 ac_cv_lib_pcap_pcap_create=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11037 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11038 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11039 PCAP_LIBS="-lpcap"
11044 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11045 case "x$with_pcap" in
11046 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11047 xno) ;;
11048 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11049 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11050 esac
11051 enable_wpcap=${enable_wpcap:-no}
11055 if test "x$with_xml" != "xno"
11056 then
11057 if ${XML2_CFLAGS:+false} :; then :
11058 if ${PKG_CONFIG+:} false; then :
11059 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11062 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11063 if ${XML2_LIBS:+false} :; then :
11064 if ${PKG_CONFIG+:} false; then :
11065 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11068 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11069 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11070 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11071 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11072 ac_save_CPPFLAGS=$CPPFLAGS
11073 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11074 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11075 do :
11076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11077 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11078 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11079 cat >>confdefs.h <<_ACEOF
11080 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11081 _ACEOF
11085 done
11087 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"
11088 then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11090 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11091 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-lxml2 $XML2_LIBS $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char xmlParseMemory ();
11107 main ()
11109 return xmlParseMemory ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 ac_cv_lib_xml2_xmlParseMemory=yes
11116 else
11117 ac_cv_lib_xml2_xmlParseMemory=no
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11124 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11125 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11127 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11129 else
11130 XML2_LIBS=""
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11134 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11135 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-lxml2 $XML2_LIBS $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char xmlReadMemory ();
11151 main ()
11153 return xmlReadMemory ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_xml2_xmlReadMemory=yes
11160 else
11161 ac_cv_lib_xml2_xmlReadMemory=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11168 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11169 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11171 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11176 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char xmlNewDocPI ();
11193 main ()
11195 return xmlNewDocPI ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_xml2_xmlNewDocPI=yes
11202 else
11203 ac_cv_lib_xml2_xmlNewDocPI=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11213 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11218 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11219 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lxml2 $XML2_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char xmlSchemaSetParserStructuredErrors ();
11235 main ()
11237 return xmlSchemaSetParserStructuredErrors ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11244 else
11245 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11252 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11253 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11255 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11260 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11261 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lxml2 $XML2_LIBS $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char xmlSchemaSetValidStructuredErrors ();
11277 main ()
11279 return xmlSchemaSetValidStructuredErrors ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11286 else
11287 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11294 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11295 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11297 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11302 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11303 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lxml2 $XML2_LIBS $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char xmlFirstElementChild ();
11319 main ()
11321 return xmlFirstElementChild ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_xml2_xmlFirstElementChild=yes
11328 else
11329 ac_cv_lib_xml2_xmlFirstElementChild=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11336 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11337 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11339 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11343 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11345 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11347 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11351 else
11352 XML2_CFLAGS=""
11353 XML2_LIBS=""
11355 CPPFLAGS=$ac_save_CPPFLAGS
11356 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11357 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11360 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11361 case "x$with_xml" in
11362 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11363 xno) ;;
11364 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11365 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11366 esac
11370 if test "x$with_xslt" != "xno"
11371 then
11372 if ${XSLT_CFLAGS:+false} :; then :
11373 if ${PKG_CONFIG+:} false; then :
11374 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11377 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11378 if ${XSLT_LIBS:+false} :; then :
11379 if ${PKG_CONFIG+:} false; then :
11380 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11383 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11384 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11385 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11386 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11387 ac_save_CPPFLAGS=$CPPFLAGS
11388 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11389 for ac_header in libxslt/pattern.h libxslt/transform.h
11390 do :
11391 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11392 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11393 # include <libxslt/pattern.h>
11394 #endif
11396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11397 cat >>confdefs.h <<_ACEOF
11398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11399 _ACEOF
11403 done
11405 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11406 then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11408 $as_echo_n "checking for -lxslt... " >&6; }
11409 if ${ac_cv_lib_soname_xslt+:} false; then :
11410 $as_echo_n "(cached) " >&6
11411 else
11412 ac_check_soname_save_LIBS=$LIBS
11413 LIBS="-lxslt $XSLT_LIBS $LIBS"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11420 #ifdef __cplusplus
11421 extern "C"
11422 #endif
11423 char xsltCompilePattern ();
11425 main ()
11427 return xsltCompilePattern ();
11429 return 0;
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"; then :
11433 case "$LIBEXT" in
11434 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11435 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'` ;;
11436 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11437 if ${ac_cv_lib_soname_xslt:+false} :; then :
11438 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11439 fi ;;
11440 esac
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_soname_save_LIBS
11446 if ${ac_cv_lib_soname_xslt:+false} :; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11448 $as_echo "not found" >&6; }
11450 else
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11452 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11454 cat >>confdefs.h <<_ACEOF
11455 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11456 _ACEOF
11460 else
11461 XSLT_CFLAGS=""
11463 CPPFLAGS=$ac_save_CPPFLAGS
11464 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11465 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11468 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11469 case "x$with_xslt" in
11470 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11471 xno) ;;
11472 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11473 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11474 esac
11478 if test "x$with_dbus" != "xno"
11479 then
11480 if ${DBUS_CFLAGS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11486 if ${DBUS_LIBS:+false} :; then :
11487 if ${PKG_CONFIG+:} false; then :
11488 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11493 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11494 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11495 ac_save_CPPFLAGS=$CPPFLAGS
11496 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11497 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11498 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11500 $as_echo_n "checking for -ldbus-1... " >&6; }
11501 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char dbus_connection_close ();
11517 main ()
11519 return dbus_connection_close ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) 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'`
11529 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11530 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11541 DBUS_CFLAGS=""
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11544 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11548 _ACEOF
11552 else
11553 DBUS_CFLAGS=""
11557 CPPFLAGS=$ac_save_CPPFLAGS
11558 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11559 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11562 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11563 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11564 case "x$with_dbus" in
11565 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11566 xno) ;;
11567 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11568 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11569 esac
11573 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11574 then
11575 if ${HAL_CFLAGS:+false} :; then :
11576 if ${PKG_CONFIG+:} false; then :
11577 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11581 if ${HAL_LIBS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11587 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11588 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11589 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11590 ac_save_CPPFLAGS=$CPPFLAGS
11591 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11592 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11593 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11595 $as_echo_n "checking for -lhal... " >&6; }
11596 if ${ac_cv_lib_soname_hal+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_soname_save_LIBS=$LIBS
11600 LIBS="-lhal $HAL_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char libhal_ctx_new ();
11612 main ()
11614 return libhal_ctx_new ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 case "$LIBEXT" in
11621 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11622 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'` ;;
11623 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11624 if ${ac_cv_lib_soname_hal:+false} :; then :
11625 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11626 fi ;;
11627 esac
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_soname_save_LIBS
11633 if ${ac_cv_lib_soname_hal:+false} :; then :
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11635 $as_echo "not found" >&6; }
11636 HAL_CFLAGS=""
11637 else
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11639 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11641 cat >>confdefs.h <<_ACEOF
11642 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11643 _ACEOF
11647 else
11648 HAL_CFLAGS=""
11652 CPPFLAGS=$ac_save_CPPFLAGS
11653 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11654 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11656 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11657 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11658 case "x$with_hal" in
11659 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11660 xno) ;;
11661 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11662 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11663 esac
11668 if test "x$with_gnutls" != "xno"
11669 then
11670 if ${GNUTLS_CFLAGS:+false} :; then :
11671 if ${PKG_CONFIG+:} false; then :
11672 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11676 if ${GNUTLS_LIBS:+false} :; then :
11677 if ${PKG_CONFIG+:} false; then :
11678 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11683 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11684 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11685 ac_save_CPPFLAGS=$CPPFLAGS
11686 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11687 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11688 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 #include <gnutls/gnutls.h>
11692 #include <gnutls/crypto.h>
11694 main ()
11696 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_compile "$LINENO"; then :
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11703 $as_echo_n "checking for -lgnutls... " >&6; }
11704 if ${ac_cv_lib_soname_gnutls+:} false; then :
11705 $as_echo_n "(cached) " >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char gnutls_global_init ();
11720 main ()
11722 return gnutls_global_init ();
11724 return 0;
11726 _ACEOF
11727 if ac_fn_c_try_link "$LINENO"; then :
11728 case "$LIBEXT" in
11729 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) 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'`
11732 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11733 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'`
11734 fi ;;
11735 esac
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11744 GNUTLS_CFLAGS=""
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11747 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11751 _ACEOF
11755 ac_wine_check_funcs_save_LIBS="$LIBS"
11756 LIBS="$LIBS $GNUTLS_LIBS"
11757 for ac_func in gnutls_hash
11758 do :
11759 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11760 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11761 cat >>confdefs.h <<_ACEOF
11762 #define HAVE_GNUTLS_HASH 1
11763 _ACEOF
11765 else
11766 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11768 done
11770 LIBS="$ac_wine_check_funcs_save_LIBS"
11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11773 else
11774 GNUTLS_CFLAGS=""
11778 CPPFLAGS=$ac_save_CPPFLAGS
11779 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11780 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11783 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11784 case "x$with_gnutls" in
11785 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11788 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11789 esac
11793 CURSES_LIBS=""
11794 if test "$ac_cv_header_ncurses_h" = "yes"
11795 then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11797 $as_echo_n "checking for -lncurses... " >&6; }
11798 if ${ac_cv_lib_soname_ncurses+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_soname_save_LIBS=$LIBS
11802 LIBS="-lncurses $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char waddch ();
11814 main ()
11816 return waddch ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 case "$LIBEXT" in
11823 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11824 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'` ;;
11825 *) 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'`
11826 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11827 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11828 fi ;;
11829 esac
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11837 $as_echo "not found" >&6; }
11839 else
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11841 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11845 _ACEOF
11847 CURSES_LIBS="-lncurses"
11849 elif test "$ac_cv_header_curses_h" = "yes"
11850 then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11852 $as_echo_n "checking for -lcurses... " >&6; }
11853 if ${ac_cv_lib_soname_curses+:} false; then :
11854 $as_echo_n "(cached) " >&6
11855 else
11856 ac_check_soname_save_LIBS=$LIBS
11857 LIBS="-lcurses $LIBS"
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 #endif
11867 char waddch ();
11869 main ()
11871 return waddch ();
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"; then :
11877 case "$LIBEXT" in
11878 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11879 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'` ;;
11880 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11881 if ${ac_cv_lib_soname_curses:+false} :; then :
11882 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11883 fi ;;
11884 esac
11886 rm -f core conftest.err conftest.$ac_objext \
11887 conftest$ac_exeext conftest.$ac_ext
11888 LIBS=$ac_check_soname_save_LIBS
11890 if ${ac_cv_lib_soname_curses:+false} :; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11892 $as_echo "not found" >&6; }
11894 else
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11896 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11898 cat >>confdefs.h <<_ACEOF
11899 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11900 _ACEOF
11902 CURSES_LIBS="-lcurses"
11905 ac_save_LIBS="$LIBS"
11906 LIBS="$LIBS $CURSES_LIBS"
11907 for ac_func in mousemask
11908 do :
11909 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11910 if test "x$ac_cv_func_mousemask" = xyes; then :
11911 cat >>confdefs.h <<_ACEOF
11912 #define HAVE_MOUSEMASK 1
11913 _ACEOF
11916 done
11918 LIBS="$ac_save_LIBS"
11919 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11920 case "x$with_curses" in
11921 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11924 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "x$with_sane" != "xno"
11930 then
11931 if ${SANE_CFLAGS:+false} :; then :
11932 if ${PKG_CONFIG+:} false; then :
11933 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11936 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11937 if ${SANE_LIBS:+false} :; then :
11938 if ${PKG_CONFIG+:} false; then :
11939 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11942 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11944 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11946 ac_save_CPPFLAGS=$CPPFLAGS
11947 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11948 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11949 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11951 $as_echo_n "checking for -lsane... " >&6; }
11952 if ${ac_cv_lib_soname_sane+:} false; then :
11953 $as_echo_n "(cached) " >&6
11954 else
11955 ac_check_soname_save_LIBS=$LIBS
11956 LIBS="-lsane $SANE_LIBS $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 #ifdef __cplusplus
11964 extern "C"
11965 #endif
11966 char sane_init ();
11968 main ()
11970 return sane_init ();
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 case "$LIBEXT" in
11977 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11980 if ${ac_cv_lib_soname_sane:+false} :; then :
11981 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 fi ;;
11983 esac
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_soname_save_LIBS
11989 if ${ac_cv_lib_soname_sane:+false} :; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11991 $as_echo "not found" >&6; }
11992 SANE_CFLAGS=""
11993 else
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11995 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11999 _ACEOF
12003 else
12004 SANE_CFLAGS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12014 case "x$with_sane" in
12015 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12016 xno) ;;
12017 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12018 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12019 esac
12023 if test "x$with_v4l" != "xno"
12024 then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12026 $as_echo_n "checking for -lv4l1... " >&6; }
12027 if ${ac_cv_lib_soname_v4l1+:} false; then :
12028 $as_echo_n "(cached) " >&6
12029 else
12030 ac_check_soname_save_LIBS=$LIBS
12031 LIBS="-lv4l1 $LIBS"
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char v4l1_open ();
12043 main ()
12045 return v4l1_open ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051 case "$LIBEXT" in
12052 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12053 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'` ;;
12054 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12055 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12056 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12057 fi ;;
12058 esac
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_soname_save_LIBS
12064 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12066 $as_echo "not found" >&6; }
12068 else
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12070 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12072 cat >>confdefs.h <<_ACEOF
12073 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12074 _ACEOF
12079 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12080 case "x$with_v4l" in
12081 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12082 xno) ;;
12083 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12084 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12085 esac
12089 if test "x$with_gphoto" != "xno"
12090 then
12091 if ${GPHOTO2_CFLAGS:+false} :; then :
12092 if ${PKG_CONFIG+:} false; then :
12093 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12096 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12097 if ${GPHOTO2_LIBS:+false} :; then :
12098 if ${PKG_CONFIG+:} false; then :
12099 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12102 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12103 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12104 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12105 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12106 ac_save_CPPFLAGS=$CPPFLAGS
12107 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12108 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12109 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12111 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12112 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12113 $as_echo_n "(cached) " >&6
12114 else
12115 ac_check_lib_save_LIBS=$LIBS
12116 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12123 #ifdef __cplusplus
12124 extern "C"
12125 #endif
12126 char gp_camera_new ();
12128 main ()
12130 return gp_camera_new ();
12132 return 0;
12134 _ACEOF
12135 if ac_fn_c_try_link "$LINENO"; then :
12136 ac_cv_lib_gphoto2_gp_camera_new=yes
12137 else
12138 ac_cv_lib_gphoto2_gp_camera_new=no
12140 rm -f core conftest.err conftest.$ac_objext \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_lib_save_LIBS
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12145 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12146 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12148 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12150 else
12151 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12154 else
12155 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12159 CPPFLAGS=$ac_save_CPPFLAGS
12160 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12161 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12163 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12164 if ${PKG_CONFIG+:} false; then :
12165 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12168 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12169 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12170 if ${PKG_CONFIG+:} false; then :
12171 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12174 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12175 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12177 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12178 ac_save_CPPFLAGS=$CPPFLAGS
12179 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12180 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12181 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12183 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12184 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12185 $as_echo_n "(cached) " >&6
12186 else
12187 ac_check_lib_save_LIBS=$LIBS
12188 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 #ifdef __cplusplus
12196 extern "C"
12197 #endif
12198 char gp_port_info_list_new ();
12200 main ()
12202 return gp_port_info_list_new ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"; then :
12208 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12209 else
12210 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 LIBS=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12217 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12218 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12220 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12222 else
12223 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12226 else
12227 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12232 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12233 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12236 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12237 case "x$with_gphoto" in
12238 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12239 xno) ;;
12240 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12241 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12242 esac
12245 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12246 case "x$with_gphoto" in
12247 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12248 xno) ;;
12249 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12250 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12251 esac
12256 if test "$ac_cv_header_resolv_h" = "yes"
12257 then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12259 $as_echo_n "checking for resolver library... " >&6; }
12260 if ${ac_cv_have_resolv+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_save_LIBS="$LIBS"
12264 for lib in '' -lresolv
12266 LIBS="$lib $ac_save_LIBS"
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #ifdef HAVE_NETINET_IN_H
12270 #include <netinet/in.h>
12271 #endif
12272 #include <resolv.h>
12274 main ()
12276 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 ac_cv_have_resolv=${lib:-"none required"}
12283 else
12284 ac_cv_have_resolv="not found"
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 test "x$ac_cv_have_resolv" = "xnot found" || break
12289 done
12290 LIBS="$ac_save_LIBS"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12293 $as_echo "$ac_cv_have_resolv" >&6; }
12295 case "$ac_cv_have_resolv" in
12296 "not found") ;;
12297 "none required")
12299 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12302 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12304 RESOLV_LIBS=$ac_cv_have_resolv
12306 esac
12309 if test "x$with_cms" != "xno"
12310 then
12311 if ${LCMS2_CFLAGS:+false} :; then :
12312 if ${PKG_CONFIG+:} false; then :
12313 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12317 if ${LCMS2_LIBS:+false} :; then :
12318 if ${PKG_CONFIG+:} false; then :
12319 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12323 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12324 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12325 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12326 ac_save_CPPFLAGS=$CPPFLAGS
12327 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12328 for ac_header in lcms2.h
12329 do :
12330 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12331 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12332 cat >>confdefs.h <<_ACEOF
12333 #define HAVE_LCMS2_H 1
12334 _ACEOF
12338 done
12340 if test "$ac_cv_header_lcms2_h" = "yes"
12341 then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12343 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12344 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12345 $as_echo_n "(cached) " >&6
12346 else
12347 ac_check_lib_save_LIBS=$LIBS
12348 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 /* Override any GCC internal prototype to avoid an error.
12353 Use char because int might match the return type of a GCC
12354 builtin and then its argument prototype would still apply. */
12355 #ifdef __cplusplus
12356 extern "C"
12357 #endif
12358 char cmsOpenProfileFromFile ();
12360 main ()
12362 return cmsOpenProfileFromFile ();
12364 return 0;
12366 _ACEOF
12367 if ac_fn_c_try_link "$LINENO"; then :
12368 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12369 else
12370 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12372 rm -f core conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_lib_save_LIBS
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12377 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12378 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12380 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12382 else
12383 LCMS2_LIBS=""
12386 else
12387 LCMS2_CFLAGS=""
12388 LCMS2_LIBS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12391 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12395 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12396 case "x$with_cms" in
12397 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12398 xno) ;;
12399 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12400 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12401 esac
12405 if test "x$with_freetype" != "xno"
12406 then
12407 if ${FREETYPE_CFLAGS:+false} :; then :
12408 if ${PKG_CONFIG+:} false; then :
12409 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12412 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12413 if ${FREETYPE_LIBS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12418 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12419 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12420 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12422 ac_save_CPPFLAGS=$CPPFLAGS
12423 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12424 for ac_header in ft2build.h
12425 do :
12426 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12427 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_FT2BUILD_H 1
12430 _ACEOF
12434 done
12436 if test "$ac_cv_header_ft2build_h" = "yes"
12437 then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12439 $as_echo_n "checking for -lfreetype... " >&6; }
12440 if ${ac_cv_lib_soname_freetype+:} false; then :
12441 $as_echo_n "(cached) " >&6
12442 else
12443 ac_check_soname_save_LIBS=$LIBS
12444 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12451 #ifdef __cplusplus
12452 extern "C"
12453 #endif
12454 char FT_Init_FreeType ();
12456 main ()
12458 return FT_Init_FreeType ();
12460 return 0;
12462 _ACEOF
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 case "$LIBEXT" in
12465 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12466 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'` ;;
12467 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12468 if ${ac_cv_lib_soname_freetype:+false} :; then :
12469 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12470 fi ;;
12471 esac
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_soname_save_LIBS
12477 if ${ac_cv_lib_soname_freetype:+false} :; then :
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12479 $as_echo "not found" >&6; }
12480 FREETYPE_LIBS=""
12481 else
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12483 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12485 cat >>confdefs.h <<_ACEOF
12486 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12487 _ACEOF
12490 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12492 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12493 #include FT_MODULE_H
12495 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12497 cat >>confdefs.h <<_ACEOF
12498 #define HAVE_FT_TRUETYPEENGINETYPE 1
12499 _ACEOF
12505 else
12506 FREETYPE_CFLAGS=""
12507 FREETYPE_LIBS=""
12509 CPPFLAGS=$ac_save_CPPFLAGS
12510 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12511 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12514 if test "x$ac_cv_lib_soname_freetype" = x; then :
12515 case "x$with_freetype" in
12516 xno) ;;
12517 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12518 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12519 esac
12520 enable_fonts=${enable_fonts:-no}
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12524 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12525 if ${ac_cv_c_ppdev+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #ifdef HAVE_SYS_IOCTL_H
12531 # include <sys/ioctl.h>
12532 #endif
12533 #include <linux/ppdev.h>
12535 main ()
12537 ioctl (1,PPCLAIM,0)
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_compile "$LINENO"; then :
12543 ac_cv_c_ppdev="yes"
12544 else
12545 ac_cv_c_ppdev="no"
12547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12550 $as_echo "$ac_cv_c_ppdev" >&6; }
12551 if test "$ac_cv_c_ppdev" = "yes"
12552 then
12554 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12558 ac_wine_check_funcs_save_LIBS="$LIBS"
12559 LIBS="$LIBS $PTHREAD_LIBS"
12560 for ac_func in \
12561 pthread_attr_get_np \
12562 pthread_getattr_np \
12563 pthread_getthreadid_np \
12564 pthread_get_stackaddr_np \
12565 pthread_get_stacksize_np
12566 do :
12567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12572 _ACEOF
12575 done
12577 LIBS="$ac_wine_check_funcs_save_LIBS"
12579 if test "$ac_cv_header_zlib_h" = "yes"
12580 then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12582 $as_echo_n "checking for inflate in -lz... " >&6; }
12583 if ${ac_cv_lib_z_inflate+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_lib_save_LIBS=$LIBS
12587 LIBS="-lz $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char inflate ();
12599 main ()
12601 return inflate ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 ac_cv_lib_z_inflate=yes
12608 else
12609 ac_cv_lib_z_inflate=no
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12616 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12617 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12619 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12621 Z_LIBS="-lz"
12626 if test "x$Z_LIBS" = "x"; then :
12627 case "x$with_zlib" in
12628 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12629 xno) ;;
12630 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12631 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12632 esac
12636 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12637 then
12638 if test "$ac_cv_header_gettext_po_h" = "yes"
12639 then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12641 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12642 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12643 $as_echo_n "(cached) " >&6
12644 else
12645 ac_check_lib_save_LIBS=$LIBS
12646 LIBS="-lgettextpo $LIBS"
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12653 #ifdef __cplusplus
12654 extern "C"
12655 #endif
12656 char po_message_msgctxt ();
12658 main ()
12660 return po_message_msgctxt ();
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"; then :
12666 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12667 else
12668 ac_cv_lib_gettextpo_po_message_msgctxt=no
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_lib_save_LIBS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12675 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12676 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12678 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12680 GETTEXTPO_LIBS="-lgettextpo"
12685 if test "x$GETTEXTPO_LIBS" = "x"; then :
12686 case "x$with_gettextpo" in
12687 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12688 xno) ;;
12689 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12690 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12691 esac
12694 if test "$srcdir" != .; then :
12695 case "x$with_gettextpo" in
12696 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12697 xno) ;;
12698 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12699 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12700 esac
12705 if test "x$with_pulse" != "xno";
12706 then
12707 if ${PULSE_CFLAGS:+false} :; then :
12708 if ${PKG_CONFIG+:} false; then :
12709 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12713 if ${PULSE_LIBS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12720 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12724 for ac_header in pulse/pulseaudio.h
12725 do :
12726 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12727 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_PULSE_PULSEAUDIO_H 1
12730 _ACEOF
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12732 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12733 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-lpulse $PULSE_LIBS $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char pa_stream_is_corked ();
12749 main ()
12751 return pa_stream_is_corked ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_pulse_pa_stream_is_corked=yes
12758 else
12759 ac_cv_lib_pulse_pa_stream_is_corked=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12766 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12767 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12769 else
12770 PULSE_LIBS=""
12773 else
12774 PULSE_LIBS=""
12777 done
12779 CPPFLAGS=$ac_save_CPPFLAGS
12780 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12781 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12784 if test -z "$PULSE_LIBS"; then :
12785 case "x$with_pulse" in
12786 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12787 xno) ;;
12788 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12789 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12790 esac
12791 enable_winepulse_drv=${enable_winepulse_drv:-no}
12794 if test "x$with_gstreamer" != "xno"
12795 then
12796 if ${GSTREAMER_CFLAGS:+false} :; then :
12797 if ${PKG_CONFIG+:} false; then :
12798 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12802 if ${GSTREAMER_LIBS:+false} :; then :
12803 if ${PKG_CONFIG+:} false; then :
12804 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12809 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12810 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12811 ac_save_CPPFLAGS=$CPPFLAGS
12812 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12813 ac_gst_incl=""
12814 for i in $GSTREAMER_CFLAGS
12816 case "$i" in
12817 -I*) ac_gst_incl="$ac_gst_incl $i";;
12818 esac
12819 done
12820 GSTREAMER_CFLAGS=$ac_gst_incl
12821 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12822 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12825 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12828 #include <gst/gst.h>
12830 main ()
12832 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"; then :
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12839 $as_echo "yes" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12841 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12842 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char gst_pad_new ();
12858 main ()
12860 return gst_pad_new ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12867 else
12868 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12875 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12876 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12880 else
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12883 ac_glib2_broken=yes
12884 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 CPPFLAGS=$ac_save_CPPFLAGS
12891 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12892 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12895 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 :
12896 case "x$with_gstreamer" in
12897 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12898 xno) ;;
12899 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12900 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12901 esac
12904 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12906 ALSA_LIBS=""
12908 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12909 then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12911 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12912 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 ac_check_lib_save_LIBS=$LIBS
12916 LIBS="-lasound $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 #ifdef __cplusplus
12924 extern "C"
12925 #endif
12926 char snd_pcm_hw_params_get_access_mask ();
12928 main ()
12930 return snd_pcm_hw_params_get_access_mask ();
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12937 else
12938 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 LIBS=$ac_check_lib_save_LIBS
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12945 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12946 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12949 #ifdef HAVE_ALSA_ASOUNDLIB_H
12950 #include <alsa/asoundlib.h>
12951 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12952 #include <sys/asoundlib.h>
12953 #endif
12955 main ()
12957 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_compile "$LINENO"; then :
12963 ALSA_LIBS="-lasound"
12965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12969 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12971 if test "x$with_oss" != xno
12972 then
12973 ac_save_CPPFLAGS="$CPPFLAGS"
12974 if test -f /etc/oss.conf
12975 then
12976 . /etc/oss.conf
12978 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12979 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12980 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12981 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12982 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12984 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12988 _ACEOF
12990 OSS4_CFLAGS="$ac_oss_incl"
12997 CPPFLAGS="$ac_save_CPPFLAGS"
12999 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13000 case "x$with_oss" in
13001 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13002 xno) ;;
13003 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13004 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13005 esac
13006 enable_wineoss_drv=${enable_wineoss_drv:-no}
13009 if test "x$with_udev" != "xno"
13010 then
13011 if ${UDEV_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13017 if ${UDEV_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13023 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13026 ac_save_CPPFLAGS=$CPPFLAGS
13027 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13028 for ac_header in libudev.h
13029 do :
13030 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_libudev_h" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_LIBUDEV_H 1
13034 _ACEOF
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13036 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13037 if ${ac_cv_lib_udev_udev_new+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-ludev $UDEV_LIBS $LIBS"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13048 #ifdef __cplusplus
13049 extern "C"
13050 #endif
13051 char udev_new ();
13053 main ()
13055 return udev_new ();
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_lib_udev_udev_new=yes
13062 else
13063 ac_cv_lib_udev_udev_new=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_lib_save_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13070 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13071 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13073 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13075 else
13076 UDEV_LIBS=""
13079 else
13080 UDEV_LIBS=""
13083 done
13085 CPPFLAGS=$ac_save_CPPFLAGS
13086 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13087 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13090 if test "x$UDEV_LIBS" = "x"; then :
13091 case "x$with_udev" in
13092 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13093 xno) ;;
13094 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13095 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13096 esac
13100 if test "x$with_capi" != "xno"
13101 then
13102 if ${CAPI20_CFLAGS:+false} :; then :
13103 if ${PKG_CONFIG+:} false; then :
13104 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13108 if ${CAPI20_LIBS:+false} :; then :
13109 if ${PKG_CONFIG+:} false; then :
13110 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13115 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13119 for ac_header in capi20.h linux/capi.h
13120 do :
13121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13122 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13125 cat >>confdefs.h <<_ACEOF
13126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13127 _ACEOF
13131 done
13133 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13134 then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13136 $as_echo_n "checking for -lcapi20... " >&6; }
13137 if ${ac_cv_lib_soname_capi20+:} false; then :
13138 $as_echo_n "(cached) " >&6
13139 else
13140 ac_check_soname_save_LIBS=$LIBS
13141 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 char capi20_register ();
13153 main ()
13155 return capi20_register ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 case "$LIBEXT" in
13162 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13163 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'` ;;
13164 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13165 if ${ac_cv_lib_soname_capi20:+false} :; then :
13166 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13167 fi ;;
13168 esac
13170 rm -f core conftest.err conftest.$ac_objext \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_soname_save_LIBS
13174 if ${ac_cv_lib_soname_capi20:+false} :; then :
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13176 $as_echo "not found" >&6; }
13178 else
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13180 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13182 cat >>confdefs.h <<_ACEOF
13183 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13184 _ACEOF
13189 CPPFLAGS=$ac_save_CPPFLAGS
13190 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13191 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13195 case "x$with_capi" in
13196 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13197 xno) ;;
13198 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13199 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13200 esac
13204 CUPS_CFLAGS=""
13206 if test "x$with_cups" != "xno"
13207 then
13208 ac_save_CPPFLAGS="$CPPFLAGS"
13209 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13210 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13211 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13212 for ac_header in cups/cups.h
13213 do :
13214 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13215 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13216 cat >>confdefs.h <<_ACEOF
13217 #define HAVE_CUPS_CUPS_H 1
13218 _ACEOF
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13220 $as_echo_n "checking for -lcups... " >&6; }
13221 if ${ac_cv_lib_soname_cups+:} false; then :
13222 $as_echo_n "(cached) " >&6
13223 else
13224 ac_check_soname_save_LIBS=$LIBS
13225 LIBS="-lcups $ac_cups_libs $LIBS"
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13232 #ifdef __cplusplus
13233 extern "C"
13234 #endif
13235 char cupsGetDefault ();
13237 main ()
13239 return cupsGetDefault ();
13241 return 0;
13243 _ACEOF
13244 if ac_fn_c_try_link "$LINENO"; then :
13245 case "$LIBEXT" in
13246 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_cups:+false} :; then :
13250 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 fi ;;
13252 esac
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_cups:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13262 else
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13264 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13266 cat >>confdefs.h <<_ACEOF
13267 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13268 _ACEOF
13270 CUPS_CFLAGS="$ac_cups_cflags"
13272 for ac_header in cups/ppd.h
13273 do :
13274 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13275 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13276 cat >>confdefs.h <<_ACEOF
13277 #define HAVE_CUPS_PPD_H 1
13278 _ACEOF
13282 done
13286 done
13288 CPPFLAGS="$ac_save_CPPFLAGS"
13290 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13291 case "x$with_cups" in
13292 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13295 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13296 esac
13300 if test "x$with_fontconfig" != "xno"
13301 then
13302 if ${FONTCONFIG_CFLAGS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13307 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13308 if ${FONTCONFIG_LIBS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13313 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13315 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13316 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13317 ac_save_CPPFLAGS=$CPPFLAGS
13318 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13319 for ac_header in fontconfig/fontconfig.h
13320 do :
13321 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13323 cat >>confdefs.h <<_ACEOF
13324 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13325 _ACEOF
13329 done
13331 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13334 $as_echo_n "checking for -lfontconfig... " >&6; }
13335 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_soname_save_LIBS=$LIBS
13339 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char FcInit ();
13351 main ()
13353 return FcInit ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 case "$LIBEXT" in
13360 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13361 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'` ;;
13362 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13363 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13364 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13365 fi ;;
13366 esac
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13375 FONTCONFIG_CFLAGS=""
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13378 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13382 _ACEOF
13386 else
13387 FONTCONFIG_CFLAGS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13390 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13391 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13394 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13395 case "x$with_fontconfig" in
13396 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13399 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13405 then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13407 $as_echo_n "checking for -lgsm... " >&6; }
13408 if ${ac_cv_lib_soname_gsm+:} false; then :
13409 $as_echo_n "(cached) " >&6
13410 else
13411 ac_check_soname_save_LIBS=$LIBS
13412 LIBS="-lgsm $LIBS"
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13416 /* Override any GCC internal prototype to avoid an error.
13417 Use char because int might match the return type of a GCC
13418 builtin and then its argument prototype would still apply. */
13419 #ifdef __cplusplus
13420 extern "C"
13421 #endif
13422 char gsm_create ();
13424 main ()
13426 return gsm_create ();
13428 return 0;
13430 _ACEOF
13431 if ac_fn_c_try_link "$LINENO"; then :
13432 case "$LIBEXT" in
13433 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13434 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'` ;;
13435 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13436 if ${ac_cv_lib_soname_gsm:+false} :; then :
13437 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13438 fi ;;
13439 esac
13441 rm -f core conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_check_soname_save_LIBS
13445 if ${ac_cv_lib_soname_gsm:+false} :; then :
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13447 $as_echo "not found" >&6; }
13449 else
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13451 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13453 cat >>confdefs.h <<_ACEOF
13454 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13455 _ACEOF
13460 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13461 case "x$with_gsm" in
13462 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13465 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13466 esac
13470 if test "x$with_jpeg" != "xno"
13471 then
13472 if ${JPEG_CFLAGS:+false} :; then :
13473 if ${PKG_CONFIG+:} false; then :
13474 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13478 if ${JPEG_LIBS:+false} :; then :
13479 if ${PKG_CONFIG+:} false; then :
13480 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13485 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13486 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13487 ac_save_CPPFLAGS=$CPPFLAGS
13488 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13489 for ac_header in jpeglib.h
13490 do :
13491 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13492 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_JPEGLIB_H 1
13495 _ACEOF
13499 done
13501 if test "$ac_cv_header_jpeglib_h" = "yes"
13502 then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13504 $as_echo_n "checking for -ljpeg... " >&6; }
13505 if ${ac_cv_lib_soname_jpeg+:} false; then :
13506 $as_echo_n "(cached) " >&6
13507 else
13508 ac_check_soname_save_LIBS=$LIBS
13509 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13513 /* Override any GCC internal prototype to avoid an error.
13514 Use char because int might match the return type of a GCC
13515 builtin and then its argument prototype would still apply. */
13516 #ifdef __cplusplus
13517 extern "C"
13518 #endif
13519 char jpeg_start_decompress ();
13521 main ()
13523 return jpeg_start_decompress ();
13525 return 0;
13527 _ACEOF
13528 if ac_fn_c_try_link "$LINENO"; then :
13529 case "$LIBEXT" in
13530 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13531 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'` ;;
13532 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13533 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13534 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13535 fi ;;
13536 esac
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 LIBS=$ac_check_soname_save_LIBS
13542 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13544 $as_echo "not found" >&6; }
13545 JPEG_CFLAGS=""
13546 else
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13548 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13550 cat >>confdefs.h <<_ACEOF
13551 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13552 _ACEOF
13556 else
13557 JPEG_CFLAGS=""
13559 CPPFLAGS=$ac_save_CPPFLAGS
13560 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13561 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13564 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13565 case "x$with_jpeg" in
13566 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13567 xno) ;;
13568 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13569 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13570 esac
13574 if test "x$with_png" != "xno"
13575 then
13576 if ${PNG_CFLAGS:+false} :; then :
13577 if ${PKG_CONFIG+:} false; then :
13578 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13581 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13582 if ${PNG_LIBS:+false} :; then :
13583 if ${PKG_CONFIG+:} false; then :
13584 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13587 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13589 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13590 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13591 ac_save_CPPFLAGS=$CPPFLAGS
13592 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13593 for ac_header in png.h
13594 do :
13595 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13596 if test "x$ac_cv_header_png_h" = xyes; then :
13597 cat >>confdefs.h <<_ACEOF
13598 #define HAVE_PNG_H 1
13599 _ACEOF
13603 done
13605 if test "$ac_cv_header_png_h" = "yes"
13606 then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13608 $as_echo_n "checking for -lpng... " >&6; }
13609 if ${ac_cv_lib_soname_png+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_check_soname_save_LIBS=$LIBS
13613 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char png_create_read_struct ();
13625 main ()
13627 return png_create_read_struct ();
13629 return 0;
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 case "$LIBEXT" in
13634 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13635 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'` ;;
13636 *) 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'`
13637 if ${ac_cv_lib_soname_png:+false} :; then :
13638 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13639 fi ;;
13640 esac
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_soname_save_LIBS
13646 if ${ac_cv_lib_soname_png:+false} :; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13648 $as_echo "not found" >&6; }
13649 PNG_CFLAGS=""
13650 else
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13652 $as_echo "$ac_cv_lib_soname_png" >&6; }
13654 cat >>confdefs.h <<_ACEOF
13655 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13656 _ACEOF
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 #include <png.h>
13662 main ()
13664 typeof(png_set_expand_gray_1_2_4_to_8) *p
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_compile "$LINENO"; then :
13671 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13676 else
13677 PNG_CFLAGS=""
13679 CPPFLAGS=$ac_save_CPPFLAGS
13680 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13681 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13684 if test "x$ac_cv_lib_soname_png" = "x"; then :
13685 case "x$with_png" in
13686 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13687 xno) ;;
13688 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13689 This is an error since --with-png was requested." "$LINENO" 5 ;;
13690 esac
13694 if test "x$with_tiff" != "xno"
13695 then
13696 if ${TIFF_CFLAGS:+false} :; then :
13697 if ${PKG_CONFIG+:} false; then :
13698 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13702 if ${TIFF_LIBS:+false} :; then :
13703 if ${PKG_CONFIG+:} false; then :
13704 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13709 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13710 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13711 ac_save_CPPFLAGS=$CPPFLAGS
13712 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13713 for ac_header in tiffio.h
13714 do :
13715 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13716 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13717 cat >>confdefs.h <<_ACEOF
13718 #define HAVE_TIFFIO_H 1
13719 _ACEOF
13723 done
13725 if test "$ac_cv_header_tiffio_h" = "yes"
13726 then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13728 $as_echo_n "checking for -ltiff... " >&6; }
13729 if ${ac_cv_lib_soname_tiff+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 ac_check_soname_save_LIBS=$LIBS
13733 LIBS="-ltiff $TIFF_LIBS $LIBS"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13737 /* Override any GCC internal prototype to avoid an error.
13738 Use char because int might match the return type of a GCC
13739 builtin and then its argument prototype would still apply. */
13740 #ifdef __cplusplus
13741 extern "C"
13742 #endif
13743 char TIFFClientOpen ();
13745 main ()
13747 return TIFFClientOpen ();
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 case "$LIBEXT" in
13754 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13755 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'` ;;
13756 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13757 if ${ac_cv_lib_soname_tiff:+false} :; then :
13758 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13759 fi ;;
13760 esac
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_soname_save_LIBS
13766 if ${ac_cv_lib_soname_tiff:+false} :; then :
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13768 $as_echo "not found" >&6; }
13770 else
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13772 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13774 cat >>confdefs.h <<_ACEOF
13775 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13776 _ACEOF
13781 CPPFLAGS=$ac_save_CPPFLAGS
13782 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13783 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13786 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13787 case "x$with_tiff" in
13788 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13789 xno) ;;
13790 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13791 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13792 esac
13796 if test "x$with_mpg123" != "xno"
13797 then
13798 if ${MPG123_CFLAGS:+false} :; then :
13799 if ${PKG_CONFIG+:} false; then :
13800 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13804 if ${MPG123_LIBS:+false} :; then :
13805 if ${PKG_CONFIG+:} false; then :
13806 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13810 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13811 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13813 ac_save_CPPFLAGS=$CPPFLAGS
13814 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13815 for ac_header in mpg123.h
13816 do :
13817 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13818 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13819 cat >>confdefs.h <<_ACEOF
13820 #define HAVE_MPG123_H 1
13821 _ACEOF
13825 done
13827 if test "$ac_cv_header_mpg123_h" = "yes"
13828 then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13830 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13831 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_check_lib_save_LIBS=$LIBS
13835 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char mpg123_feed ();
13847 main ()
13849 return mpg123_feed ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 ac_cv_lib_mpg123_mpg123_feed=yes
13856 else
13857 ac_cv_lib_mpg123_mpg123_feed=no
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_lib_save_LIBS
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13864 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13865 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13867 else
13868 MPG123_LIBS=""
13871 else
13872 MPG123_CFLAGS=""
13873 MPG123_LIBS=""
13875 CPPFLAGS=$ac_save_CPPFLAGS
13876 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13877 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13880 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13881 case "x$with_mpg123" in
13882 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13883 xno) ;;
13884 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13885 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13886 esac
13887 enable_winemp3_acm=${enable_winemp3_acm:-no}
13890 if test "$ac_cv_header_AL_al_h" = "yes"
13891 then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13893 $as_echo_n "checking for -lopenal... " >&6; }
13894 if ${ac_cv_lib_soname_openal+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_check_soname_save_LIBS=$LIBS
13898 LIBS="-lopenal $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 #ifdef __cplusplus
13906 extern "C"
13907 #endif
13908 char alGetSource3i ();
13910 main ()
13912 return alGetSource3i ();
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 case "$LIBEXT" in
13919 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13920 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'` ;;
13921 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13922 if ${ac_cv_lib_soname_openal:+false} :; then :
13923 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13924 fi ;;
13925 esac
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_soname_save_LIBS
13931 if ${ac_cv_lib_soname_openal:+false} :; then :
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13933 $as_echo "not found" >&6; }
13935 else
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13937 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13939 cat >>confdefs.h <<_ACEOF
13940 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13941 _ACEOF
13943 OPENAL_LIBS="-lopenal"
13945 ac_cv_lib_openal=yes
13947 cat >>confdefs.h <<_ACEOF
13948 #define HAVE_OPENAL 1
13949 _ACEOF
13953 if test "x$ac_cv_lib_openal" != xyes; then :
13954 case "x$with_openal" in
13955 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13956 xno) ;;
13957 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13958 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13959 esac
13960 enable_openal32=${enable_openal32:-no}
13963 if test "x$ac_cv_lib_openal" = xyes
13964 then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13966 $as_echo_n "checking for openal-soft... " >&6; }
13967 if ${ac_cv_have_openalsoft+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #include <AL/al.h>
13973 #include <AL/alc.h>
13974 #include <AL/alext.h>
13975 LPALCRENDERSAMPLESSOFT x;
13977 main ()
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_compile "$LINENO"; then :
13985 ac_cv_have_openalsoft=yes
13986 else
13987 ac_cv_have_openalsoft=no
13989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13992 $as_echo "$ac_cv_have_openalsoft" >&6; }
13994 if test "x$ac_cv_have_openalsoft" != xyes
13995 then
13996 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13997 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13998 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13999 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14000 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14001 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14002 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14003 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14004 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14005 enable_xapofx1_1=${enable_xapofx1_1:-no}
14006 enable_xapofx1_2=${enable_xapofx1_2:-no}
14007 enable_xapofx1_3=${enable_xapofx1_3:-no}
14008 enable_xapofx1_4=${enable_xapofx1_4:-no}
14009 enable_xapofx1_5=${enable_xapofx1_5:-no}
14010 enable_xaudio2_0=${enable_xaudio2_0:-no}
14011 enable_xaudio2_1=${enable_xaudio2_1:-no}
14012 enable_xaudio2_2=${enable_xaudio2_2:-no}
14013 enable_xaudio2_3=${enable_xaudio2_3:-no}
14014 enable_xaudio2_4=${enable_xaudio2_4:-no}
14015 enable_xaudio2_5=${enable_xaudio2_5:-no}
14016 enable_xaudio2_6=${enable_xaudio2_6:-no}
14017 enable_xaudio2_7=${enable_xaudio2_7:-no}
14018 enable_xaudio2_8=${enable_xaudio2_8:-no}
14019 enable_xaudio2_9=${enable_xaudio2_9:-no}
14022 if test "$ac_cv_header_kstat_h" = "yes"
14023 then
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14025 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14026 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_check_lib_save_LIBS=$LIBS
14030 LIBS="-lkstat $LIBS"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14034 /* Override any GCC internal prototype to avoid an error.
14035 Use char because int might match the return type of a GCC
14036 builtin and then its argument prototype would still apply. */
14037 #ifdef __cplusplus
14038 extern "C"
14039 #endif
14040 char kstat_open ();
14042 main ()
14044 return kstat_open ();
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"; then :
14050 ac_cv_lib_kstat_kstat_open=yes
14051 else
14052 ac_cv_lib_kstat_kstat_open=no
14054 rm -f core conftest.err conftest.$ac_objext \
14055 conftest$ac_exeext conftest.$ac_ext
14056 LIBS=$ac_check_lib_save_LIBS
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14059 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14060 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14062 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14064 KSTAT_LIBS="-lkstat"
14070 if test "$ac_cv_header_libprocstat_h" = "yes"
14071 then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14073 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14074 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lprocstat $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char procstat_open_sysctl ();
14090 main ()
14092 return procstat_open_sysctl ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_procstat_procstat_open_sysctl=yes
14099 else
14100 ac_cv_lib_procstat_procstat_open_sysctl=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14107 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14108 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14110 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14112 PROCSTAT_LIBS="-lprocstat"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14119 $as_echo_n "checking for -lodbc... " >&6; }
14120 if ${ac_cv_lib_soname_odbc+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_soname_save_LIBS=$LIBS
14124 LIBS="-lodbc $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char SQLConnect ();
14136 main ()
14138 return SQLConnect ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 case "$LIBEXT" in
14145 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14146 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'` ;;
14147 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14148 if ${ac_cv_lib_soname_odbc:+false} :; then :
14149 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14150 fi ;;
14151 esac
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_odbc:+false} :; then :
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14159 $as_echo "not found" >&6; }
14160 cat >>confdefs.h <<_ACEOF
14161 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14162 _ACEOF
14164 else
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14166 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14168 cat >>confdefs.h <<_ACEOF
14169 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14170 _ACEOF
14175 if test "x$with_netapi" != "xno"
14176 then
14177 if ${NETAPI_CFLAGS:+false} :; then :
14178 if ${PKG_CONFIG+:} false; then :
14179 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14183 if ${NETAPI_LIBS:+false} :; then :
14184 if ${PKG_CONFIG+:} false; then :
14185 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14190 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14191 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14192 ac_save_CPPFLAGS=$CPPFLAGS
14193 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14195 $as_echo_n "checking for -lnetapi... " >&6; }
14196 if ${ac_cv_lib_soname_netapi+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_check_soname_save_LIBS=$LIBS
14200 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 #ifdef __cplusplus
14208 extern "C"
14209 #endif
14210 char libnetapi_init ();
14212 main ()
14214 return libnetapi_init ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 case "$LIBEXT" in
14221 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14222 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'` ;;
14223 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14224 if ${ac_cv_lib_soname_netapi:+false} :; then :
14225 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14226 fi ;;
14227 esac
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_netapi:+false} :; then :
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14235 $as_echo "not found" >&6; }
14236 cat >>confdefs.h <<_ACEOF
14237 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14238 _ACEOF
14240 else
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14242 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14244 cat >>confdefs.h <<_ACEOF
14245 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14246 _ACEOF
14250 CPPFLAGS=$ac_save_CPPFLAGS
14251 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14252 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14256 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14257 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14258 then
14259 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14263 EXTRACFLAGS=""
14265 if test "x${GCC}" = "xyes"
14266 then
14267 EXTRACFLAGS="-Wall -pipe"
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14270 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14271 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 if test "$cross_compiling" = yes; then :
14275 ac_cv_c_gcc_strength_bug="no"
14276 else
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int L[4] = {0,1,2,3};
14281 main ()
14283 static int Array[3];
14284 unsigned int B = 3;
14285 int i;
14286 for(i=0; i<B; i++) Array[i] = i - 3;
14287 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14288 L[i] = 4;
14289 return (Array[1] != -2 || L[2] != 3)
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_run "$LINENO"; then :
14295 ac_cv_c_gcc_strength_bug="no"
14296 else
14297 ac_cv_c_gcc_strength_bug="yes"
14299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14300 conftest.$ac_objext conftest.beam conftest.$ac_ext
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14305 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14306 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14307 then
14308 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14312 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14313 if ${ac_cv_cflags__fno_builtin+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -fno-builtin"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 int main(int argc, char **argv) { return 0; }
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_cflags__fno_builtin=yes
14324 else
14325 ac_cv_cflags__fno_builtin=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 CFLAGS=$ac_wine_try_cflags_saved
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14332 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14333 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14334 BUILTINFLAG="-fno-builtin"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14338 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14339 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -fno-strict-aliasing"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__fno_strict_aliasing=yes
14350 else
14351 ac_cv_cflags__fno_strict_aliasing=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14358 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14359 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14360 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14363 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14364 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_wine_try_cflags_saved=$CFLAGS
14368 CFLAGS="$CFLAGS -fexcess-precision=standard"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14371 int main(int argc, char **argv) { return 0; }
14372 _ACEOF
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 ac_cv_cflags__fexcess_precision_standard=yes
14375 else
14376 ac_cv_cflags__fexcess_precision_standard=no
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 CFLAGS=$ac_wine_try_cflags_saved
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14383 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14384 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14385 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14388 saved_CFLAGS=$CFLAGS
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14390 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14391 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Werror_unknown_warning_option=yes
14402 else
14403 ac_cv_cflags__Werror_unknown_warning_option=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14410 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14411 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14412 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14415 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14416 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wdeclaration_after_statement=yes
14427 else
14428 ac_cv_cflags__Wdeclaration_after_statement=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14435 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14436 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14440 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14441 if ${ac_cv_cflags__Wempty_body+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Wempty-body"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Wempty_body=yes
14452 else
14453 ac_cv_cflags__Wempty_body=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14460 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14461 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14465 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14466 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -Wignored-qualifiers"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__Wignored_qualifiers=yes
14477 else
14478 ac_cv_cflags__Wignored_qualifiers=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14485 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14486 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14490 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14491 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Wshift-overflow=2"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Wshift_overflow_2=yes
14502 else
14503 ac_cv_cflags__Wshift_overflow_2=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14510 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14511 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14512 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14515 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14516 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wstrict-prototypes"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wstrict_prototypes=yes
14527 else
14528 ac_cv_cflags__Wstrict_prototypes=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14535 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14536 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14540 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14541 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wtype-limits"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wtype_limits=yes
14552 else
14553 ac_cv_cflags__Wtype_limits=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14560 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14561 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14565 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14566 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__Wunused_but_set_parameter=yes
14577 else
14578 ac_cv_cflags__Wunused_but_set_parameter=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14585 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14586 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14590 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14591 if ${ac_cv_cflags__Wvla+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -Wvla"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__Wvla=yes
14602 else
14603 ac_cv_cflags__Wvla=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14610 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14611 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14612 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14615 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14616 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 ac_wine_try_cflags_saved=$CFLAGS
14620 CFLAGS="$CFLAGS -Wwrite-strings"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int main(int argc, char **argv) { return 0; }
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_cflags__Wwrite_strings=yes
14627 else
14628 ac_cv_cflags__Wwrite_strings=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 CFLAGS=$ac_wine_try_cflags_saved
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14635 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14636 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14637 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14641 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14642 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_wine_try_cflags_saved=$CFLAGS
14646 CFLAGS="$CFLAGS -Wpointer-arith"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 int main(int argc, char **argv) { return 0; }
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_cflags__Wpointer_arith=yes
14653 else
14654 ac_cv_cflags__Wpointer_arith=no
14656 rm -f core conftest.err conftest.$ac_objext \
14657 conftest$ac_exeext conftest.$ac_ext
14658 CFLAGS=$ac_wine_try_cflags_saved
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14661 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14662 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14663 saved_string_h_CFLAGS=$CFLAGS
14664 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14666 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14667 if ${ac_cv_c_string_h_warnings+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 #include <string.h>
14674 main ()
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_compile "$LINENO"; then :
14682 ac_cv_c_string_h_warnings=no
14683 else
14684 ac_cv_c_string_h_warnings=yes
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14689 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14690 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14691 CFLAGS=$saved_string_h_CFLAGS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14695 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14696 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -Wlogical-op"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__Wlogical_op=yes
14707 else
14708 ac_cv_cflags__Wlogical_op=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14715 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14716 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14717 saved_string_h_CFLAGS=$CFLAGS
14718 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14720 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14721 if ${ac_cv_c_logicalop_noisy+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 #include <string.h>
14727 char*f(const char *h,char n) {return strchr(h,n);}
14729 main ()
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_compile "$LINENO"; then :
14737 ac_cv_c_logicalop_noisy=no
14738 else
14739 ac_cv_c_logicalop_noisy=yes
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14744 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14745 CFLAGS=$saved_string_h_CFLAGS
14746 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14749 CFLAGS=$saved_CFLAGS
14751 for ac_flag in $CFLAGS; do
14752 case $ac_flag in
14753 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14754 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14755 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -gdwarf-2"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 int main(int argc, char **argv) { return 0; }
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_cflags__gdwarf_2=yes
14766 else
14767 ac_cv_cflags__gdwarf_2=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 CFLAGS=$ac_wine_try_cflags_saved
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14774 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14775 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14776 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14779 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14780 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 ac_wine_try_cflags_saved=$CFLAGS
14784 CFLAGS="$CFLAGS -gstrict-dwarf"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 int main(int argc, char **argv) { return 0; }
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_cflags__gstrict_dwarf=yes
14791 else
14792 ac_cv_cflags__gstrict_dwarf=no
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14796 CFLAGS=$ac_wine_try_cflags_saved
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14799 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14800 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14801 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14802 fi ;;
14803 esac
14804 done
14806 case $host_cpu in
14807 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14808 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14809 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_wine_try_cflags_saved=$CFLAGS
14813 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_cflags__fno_omit_frame_pointer=yes
14820 else
14821 ac_cv_cflags__fno_omit_frame_pointer=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 CFLAGS=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14828 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14829 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14830 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14831 fi ;;
14832 esac
14834 case $host in
14835 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14836 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14837 if ${ac_cv_cflags__Wno_format+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_wine_try_cflags_saved=$CFLAGS
14841 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
14848 else
14849 ac_cv_cflags__Wno_format=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__Wno_format" >&5
14856 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14857 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14858 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14859 fi ;;
14860 esac
14862 if test "x$enable_maintainer_mode" = "xyes"
14863 then
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14865 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14866 if ${ac_cv_cflags__Werror+:} false; then :
14867 $as_echo_n "(cached) " >&6
14868 else
14869 ac_wine_try_cflags_saved=$CFLAGS
14870 CFLAGS="$CFLAGS -Werror"
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 int main(int argc, char **argv) { return 0; }
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"; then :
14876 ac_cv_cflags__Werror=yes
14877 else
14878 ac_cv_cflags__Werror=no
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext conftest.$ac_ext
14882 CFLAGS=$ac_wine_try_cflags_saved
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14885 $as_echo "$ac_cv_cflags__Werror" >&6; }
14886 if test "x$ac_cv_cflags__Werror" = xyes; then :
14887 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14891 saved_CFLAGS="$CFLAGS"
14892 CFLAGS="$CFLAGS -Werror"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14894 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14895 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14902 main ()
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_compile "$LINENO"; then :
14910 ac_cv_have_ms_hook_prologue="yes"
14911 else
14912 ac_cv_have_ms_hook_prologue="no"
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14917 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14918 CFLAGS="$saved_CFLAGS"
14919 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14920 then
14922 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14924 else
14925 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14932 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14933 if ${ac_cv_c_fortify_enabled+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 #include <string.h>
14940 main ()
14942 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14943 #error Fortify enabled
14944 #endif
14946 return 0;
14948 _ACEOF
14949 if ac_fn_c_try_compile "$LINENO"; then :
14950 ac_cv_c_fortify_enabled=no
14951 else
14952 ac_cv_c_fortify_enabled=yes
14954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14957 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14958 if test "$ac_cv_c_fortify_enabled" = yes
14959 then
14960 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14965 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14966 if ${ac_cv_c_extern_prefix+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 extern int ac_test;
14973 main ()
14975 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_c_extern_prefix="yes"
14982 else
14983 ac_cv_c_extern_prefix="no"
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14989 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14991 case $host_cpu in
14992 *i[3456789]86*)
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14994 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14995 if ${ac_cv_c_stdcall_suffix+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #ifndef _MSC_VER
15001 #define __stdcall __attribute__((__stdcall__))
15002 #endif
15003 int __stdcall ac_test(int i) { return i; }
15005 main ()
15007 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_c_stdcall_suffix="yes"
15014 else
15015 ac_cv_c_stdcall_suffix="no"
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15021 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15022 *) ac_cv_c_stdcall_suffix="no" ;;
15023 esac
15026 if test "$ac_cv_c_extern_prefix" = "yes"
15027 then
15028 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15030 asm_name_prefix="_"
15031 else
15032 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15034 asm_name_prefix=""
15038 if test "$ac_cv_c_stdcall_suffix" = "yes"
15039 then
15040 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15042 else
15043 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15049 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15050 if ${ac_cv_asm_func_def+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15057 main ()
15059 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_asm_func_def=".def"
15066 else
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15071 main ()
15073 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_asm_func_def=".type @function"
15080 else
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15085 main ()
15087 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 ac_cv_asm_func_def=".type 2"
15094 else
15095 ac_cv_asm_func_def="unknown"
15097 rm -f core conftest.err conftest.$ac_objext \
15098 conftest$ac_exeext conftest.$ac_ext
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15107 $as_echo "$ac_cv_asm_func_def" >&6; }
15110 case "$ac_cv_asm_func_def" in
15111 ".def")
15112 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15114 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15115 ".type @function")
15116 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15118 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15119 ".type 2")
15120 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15122 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15124 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15126 asm_func_header="" ;;
15127 esac
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15130 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15131 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 asm(".text\n\t.long 0");
15138 main ()
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_compile "$LINENO"; then :
15146 ac_cv_c_asm_outside_funcs="yes"
15147 else
15148 ac_cv_c_asm_outside_funcs="no"
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15153 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15156 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15157 if ${ac_cv_c_dot_previous+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15164 main ()
15166 asm(".text\nac_test:\t.long 0\n\t.previous");
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 ac_cv_c_dot_previous="yes"
15173 else
15174 ac_cv_c_dot_previous="no"
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15180 $as_echo "$ac_cv_c_dot_previous" >&6; }
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15183 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15184 if ${ac_cv_c_cfi_support+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15191 main ()
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_compile "$LINENO"; then :
15199 ac_cv_c_cfi_support="yes"
15200 else
15201 ac_cv_c_cfi_support="no"
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15206 $as_echo "$ac_cv_c_cfi_support" >&6; }
15208 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15209 asm_func_trailer=""
15210 if test "$ac_cv_c_dot_previous" = "yes"
15211 then
15212 asm_func_trailer="\\n\\t.previous"
15214 if test "$ac_cv_c_cfi_support" = "yes"
15215 then
15216 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15217 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15219 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15221 UNWINDFLAGS=-fasynchronous-unwind-tables
15223 else
15224 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15226 if test "x$enable_win64" = "xyes"
15227 then
15228 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15232 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15235 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15236 then
15237 cat >>confdefs.h <<_ACEOF
15238 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15239 _ACEOF
15241 else
15242 cat >>confdefs.h <<_ACEOF
15243 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15244 _ACEOF
15248 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15251 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15255 case $build_os in
15256 cygwin*|mingw32*) TOOLSEXT=".exe"
15258 esac
15260 case $host_os in
15261 linux-android*) ;;
15262 linux*)
15263 case $host_cpu in
15264 *i[3456789]86*|x86_64*)
15265 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15266 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15268 esac
15270 esac
15273 ac_save_CFLAGS="$CFLAGS"
15274 CFLAGS="$CFLAGS $BUILTINFLAG"
15275 for ac_func in \
15276 __res_get_state \
15277 __res_getservers \
15278 _finite \
15279 _isnan \
15280 _pclose \
15281 _popen \
15282 _snprintf \
15283 _spawnvp \
15284 _strdup \
15285 _stricmp \
15286 _strnicmp \
15287 _strtoi64 \
15288 _strtoui64 \
15289 _vsnprintf \
15290 asctime_r \
15291 chsize \
15292 dlopen \
15293 epoll_create \
15294 ffs \
15295 finitef \
15296 fnmatch \
15297 fork \
15298 fpclass \
15299 fstatfs \
15300 fstatvfs \
15301 ftruncate \
15302 futimens \
15303 futimes \
15304 futimesat \
15305 getattrlist \
15306 getauxval \
15307 getopt_long_only \
15308 getpwuid \
15309 gettimeofday \
15310 getuid \
15311 if_nameindex \
15312 isnanf \
15313 kqueue \
15314 lstat \
15315 memmove \
15316 mmap \
15317 pclose \
15318 pipe2 \
15319 poll \
15320 popen \
15321 port_create \
15322 prctl \
15323 pread \
15324 proc_pidinfo \
15325 pwrite \
15326 readdir \
15327 readlink \
15328 sched_yield \
15329 select \
15330 setproctitle \
15331 setprogname \
15332 setrlimit \
15333 settimeofday \
15334 sigaltstack \
15335 sigprocmask \
15336 snprintf \
15337 statfs \
15338 statvfs \
15339 strcasecmp \
15340 strdup \
15341 strerror \
15342 strncasecmp \
15343 strtold \
15344 strtoll \
15345 strtoull \
15346 symlink \
15347 sysinfo \
15348 tcdrain \
15349 thr_kill2 \
15350 timegm \
15351 usleep \
15352 vsnprintf
15354 do :
15355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15357 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15358 cat >>confdefs.h <<_ACEOF
15359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15360 _ACEOF
15363 done
15365 CFLAGS="$ac_save_CFLAGS"
15367 if test "$ac_cv_func_dlopen" = no
15368 then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15371 if ${ac_cv_lib_dl_dlopen+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 ac_check_lib_save_LIBS=$LIBS
15375 LIBS="-ldl $LIBS"
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15382 #ifdef __cplusplus
15383 extern "C"
15384 #endif
15385 char dlopen ();
15387 main ()
15389 return dlopen ();
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"; then :
15395 ac_cv_lib_dl_dlopen=yes
15396 else
15397 ac_cv_lib_dl_dlopen=no
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_lib_save_LIBS
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15404 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15405 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15406 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15407 DL_LIBS="-ldl"
15412 ac_wine_check_funcs_save_LIBS="$LIBS"
15413 LIBS="$LIBS $DL_LIBS"
15414 for ac_func in dladdr
15415 do :
15416 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15417 if test "x$ac_cv_func_dladdr" = xyes; then :
15418 cat >>confdefs.h <<_ACEOF
15419 #define HAVE_DLADDR 1
15420 _ACEOF
15423 done
15425 LIBS="$ac_wine_check_funcs_save_LIBS"
15427 if test "$ac_cv_func_poll" = no
15428 then
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15430 $as_echo_n "checking for poll in -lpoll... " >&6; }
15431 if ${ac_cv_lib_poll_poll+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433 else
15434 ac_check_lib_save_LIBS=$LIBS
15435 LIBS="-lpoll $LIBS"
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 #ifdef __cplusplus
15443 extern "C"
15444 #endif
15445 char poll ();
15447 main ()
15449 return poll ();
15451 return 0;
15453 _ACEOF
15454 if ac_fn_c_try_link "$LINENO"; then :
15455 ac_cv_lib_poll_poll=yes
15456 else
15457 ac_cv_lib_poll_poll=no
15459 rm -f core conftest.err conftest.$ac_objext \
15460 conftest$ac_exeext conftest.$ac_ext
15461 LIBS=$ac_check_lib_save_LIBS
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15464 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15465 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15466 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15467 POLL_LIBS="-lpoll"
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15474 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15475 if ${ac_cv_search_gethostbyname+:} false; then :
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_func_search_save_LIBS=$LIBS
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15482 /* Override any GCC internal prototype to avoid an error.
15483 Use char because int might match the return type of a GCC
15484 builtin and then its argument prototype would still apply. */
15485 #ifdef __cplusplus
15486 extern "C"
15487 #endif
15488 char gethostbyname ();
15490 main ()
15492 return gethostbyname ();
15494 return 0;
15496 _ACEOF
15497 for ac_lib in '' nsl; do
15498 if test -z "$ac_lib"; then
15499 ac_res="none required"
15500 else
15501 ac_res=-l$ac_lib
15502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 ac_cv_search_gethostbyname=$ac_res
15507 rm -f core conftest.err conftest.$ac_objext \
15508 conftest$ac_exeext
15509 if ${ac_cv_search_gethostbyname+:} false; then :
15510 break
15512 done
15513 if ${ac_cv_search_gethostbyname+:} false; then :
15515 else
15516 ac_cv_search_gethostbyname=no
15518 rm conftest.$ac_ext
15519 LIBS=$ac_func_search_save_LIBS
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15522 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15523 ac_res=$ac_cv_search_gethostbyname
15524 if test "$ac_res" != no; then :
15525 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15531 $as_echo_n "checking for library containing connect... " >&6; }
15532 if ${ac_cv_search_connect+:} false; then :
15533 $as_echo_n "(cached) " >&6
15534 else
15535 ac_func_search_save_LIBS=$LIBS
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 /* Override any GCC internal prototype to avoid an error.
15540 Use char because int might match the return type of a GCC
15541 builtin and then its argument prototype would still apply. */
15542 #ifdef __cplusplus
15543 extern "C"
15544 #endif
15545 char connect ();
15547 main ()
15549 return connect ();
15551 return 0;
15553 _ACEOF
15554 for ac_lib in '' socket; do
15555 if test -z "$ac_lib"; then
15556 ac_res="none required"
15557 else
15558 ac_res=-l$ac_lib
15559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 ac_cv_search_connect=$ac_res
15564 rm -f core conftest.err conftest.$ac_objext \
15565 conftest$ac_exeext
15566 if ${ac_cv_search_connect+:} false; then :
15567 break
15569 done
15570 if ${ac_cv_search_connect+:} false; then :
15572 else
15573 ac_cv_search_connect=no
15575 rm conftest.$ac_ext
15576 LIBS=$ac_func_search_save_LIBS
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15579 $as_echo "$ac_cv_search_connect" >&6; }
15580 ac_res=$ac_cv_search_connect
15581 if test "$ac_res" != no; then :
15582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15588 $as_echo_n "checking for library containing inet_aton... " >&6; }
15589 if ${ac_cv_search_inet_aton+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_func_search_save_LIBS=$LIBS
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15596 /* Override any GCC internal prototype to avoid an error.
15597 Use char because int might match the return type of a GCC
15598 builtin and then its argument prototype would still apply. */
15599 #ifdef __cplusplus
15600 extern "C"
15601 #endif
15602 char inet_aton ();
15604 main ()
15606 return inet_aton ();
15608 return 0;
15610 _ACEOF
15611 for ac_lib in '' resolv; do
15612 if test -z "$ac_lib"; then
15613 ac_res="none required"
15614 else
15615 ac_res=-l$ac_lib
15616 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15618 if ac_fn_c_try_link "$LINENO"; then :
15619 ac_cv_search_inet_aton=$ac_res
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext
15623 if ${ac_cv_search_inet_aton+:} false; then :
15624 break
15626 done
15627 if ${ac_cv_search_inet_aton+:} false; then :
15629 else
15630 ac_cv_search_inet_aton=no
15632 rm conftest.$ac_ext
15633 LIBS=$ac_func_search_save_LIBS
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15636 $as_echo "$ac_cv_search_inet_aton" >&6; }
15637 ac_res=$ac_cv_search_inet_aton
15638 if test "$ac_res" != no; then :
15639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15644 for ac_func in \
15645 getaddrinfo \
15646 getnameinfo \
15647 getnetbyname \
15648 getprotobyname \
15649 getprotobynumber \
15650 getservbyport \
15651 inet_addr \
15652 inet_network \
15653 inet_ntop \
15654 inet_pton \
15655 sendmsg \
15656 socketpair \
15658 do :
15659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15661 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15664 _ACEOF
15667 done
15670 ac_save_LIBS=$LIBS
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15672 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15673 if ${ac_cv_search_clock_gettime+:} false; then :
15674 $as_echo_n "(cached) " >&6
15675 else
15676 ac_func_search_save_LIBS=$LIBS
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 /* Override any GCC internal prototype to avoid an error.
15681 Use char because int might match the return type of a GCC
15682 builtin and then its argument prototype would still apply. */
15683 #ifdef __cplusplus
15684 extern "C"
15685 #endif
15686 char clock_gettime ();
15688 main ()
15690 return clock_gettime ();
15692 return 0;
15694 _ACEOF
15695 for ac_lib in '' rt; do
15696 if test -z "$ac_lib"; then
15697 ac_res="none required"
15698 else
15699 ac_res=-l$ac_lib
15700 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15702 if ac_fn_c_try_link "$LINENO"; then :
15703 ac_cv_search_clock_gettime=$ac_res
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext
15707 if ${ac_cv_search_clock_gettime+:} false; then :
15708 break
15710 done
15711 if ${ac_cv_search_clock_gettime+:} false; then :
15713 else
15714 ac_cv_search_clock_gettime=no
15716 rm conftest.$ac_ext
15717 LIBS=$ac_func_search_save_LIBS
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15720 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15721 ac_res=$ac_cv_search_clock_gettime
15722 if test "$ac_res" != no; then :
15723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15725 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15727 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15731 LIBS=$ac_save_LIBS
15733 LDAP_LIBS=""
15735 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15736 then
15737 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15739 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15741 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15742 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_check_lib_save_LIBS=$LIBS
15746 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15753 #ifdef __cplusplus
15754 extern "C"
15755 #endif
15756 char ldap_initialize ();
15758 main ()
15760 return ldap_initialize ();
15762 return 0;
15764 _ACEOF
15765 if ac_fn_c_try_link "$LINENO"; then :
15766 ac_cv_lib_ldap_r_ldap_initialize=yes
15767 else
15768 ac_cv_lib_ldap_r_ldap_initialize=no
15770 rm -f core conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15772 LIBS=$ac_check_lib_save_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15775 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15776 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15778 $as_echo_n "checking for ber_init in -llber... " >&6; }
15779 if ${ac_cv_lib_lber_ber_init+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_lib_save_LIBS=$LIBS
15783 LIBS="-llber $PTHREAD_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char ber_init ();
15795 main ()
15797 return ber_init ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 ac_cv_lib_lber_ber_init=yes
15804 else
15805 ac_cv_lib_lber_ber_init=no
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 LIBS=$ac_check_lib_save_LIBS
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15812 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15813 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15815 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15817 LDAP_LIBS="-lldap_r -llber"
15824 ac_wine_check_funcs_save_LIBS="$LIBS"
15825 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15826 for ac_func in \
15827 ldap_count_references \
15828 ldap_first_reference \
15829 ldap_next_reference \
15830 ldap_parse_reference \
15831 ldap_parse_sort_control \
15832 ldap_parse_sortresponse_control \
15833 ldap_parse_vlv_control \
15834 ldap_parse_vlvresponse_control
15835 do :
15836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15841 _ACEOF
15844 done
15846 LIBS="$ac_wine_check_funcs_save_LIBS"
15848 if test "x$LDAP_LIBS" = "x"; then :
15849 case "x$with_ldap" in
15850 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15851 xno) ;;
15852 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15853 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15854 esac
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15859 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15860 if ${wine_cv_one_arg_mkdir+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 #include <sys/stat.h>
15867 main ()
15869 mkdir("foo");
15871 return 0;
15873 _ACEOF
15874 if ac_fn_c_try_compile "$LINENO"; then :
15875 wine_cv_one_arg_mkdir=yes
15876 else
15877 wine_cv_one_arg_mkdir=no
15879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15882 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15883 if test "$wine_cv_one_arg_mkdir" = "yes"
15884 then
15886 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15891 $as_echo_n "checking for sched_setaffinity... " >&6; }
15892 if ${wine_cv_have_sched_setaffinity+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15897 #define _GNU_SOURCE
15898 #include <sched.h>
15900 main ()
15902 sched_setaffinity(0, 0, 0);
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 wine_cv_have_sched_setaffinity=yes
15909 else
15910 wine_cv_have_sched_setaffinity=no
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext conftest.$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15916 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15917 if test "$wine_cv_have_sched_setaffinity" = "yes"
15918 then
15920 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15925 $as_echo_n "checking for fallocate... " >&6; }
15926 if ${wine_cv_have_fallocate+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #define _GNU_SOURCE
15932 #include <fcntl.h>
15934 main ()
15936 fallocate(-1, 0, 0, 0);
15938 return 0;
15940 _ACEOF
15941 if ac_fn_c_try_link "$LINENO"; then :
15942 wine_cv_have_fallocate=yes
15943 else
15944 wine_cv_have_fallocate=no
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15950 $as_echo "$wine_cv_have_fallocate" >&6; }
15951 if test "$wine_cv_have_fallocate" = "yes"
15952 then
15954 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15960 $as_echo_n "checking for inline... " >&6; }
15961 if ${ac_cv_c_inline+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 ac_cv_c_inline=no
15965 for ac_kw in inline __inline__ __inline; do
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 #ifndef __cplusplus
15969 typedef int foo_t;
15970 static $ac_kw foo_t static_foo () {return 0; }
15971 $ac_kw foo_t foo () {return 0; }
15972 #endif
15974 _ACEOF
15975 if ac_fn_c_try_compile "$LINENO"; then :
15976 ac_cv_c_inline=$ac_kw
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 test "$ac_cv_c_inline" != no && break
15980 done
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15984 $as_echo "$ac_cv_c_inline" >&6; }
15986 case $ac_cv_c_inline in
15987 inline | yes) ;;
15989 case $ac_cv_c_inline in
15990 no) ac_val=;;
15991 *) ac_val=$ac_cv_c_inline;;
15992 esac
15993 cat >>confdefs.h <<_ACEOF
15994 #ifndef __cplusplus
15995 #define inline $ac_val
15996 #endif
15997 _ACEOF
15999 esac
16001 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16002 if test "x$ac_cv_type_mode_t" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_MODE_T 1
16006 _ACEOF
16010 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16011 if test "x$ac_cv_type_off_t" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_OFF_T 1
16015 _ACEOF
16019 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16020 if test "x$ac_cv_type_pid_t" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_PID_T 1
16024 _ACEOF
16028 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16029 if test "x$ac_cv_type_size_t" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_SIZE_T 1
16033 _ACEOF
16037 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16038 if test "x$ac_cv_type_ssize_t" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_SSIZE_T 1
16042 _ACEOF
16046 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16047 if test "x$ac_cv_type_long_long" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_LONG_LONG 1
16051 _ACEOF
16055 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16056 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_FSBLKCNT_T 1
16060 _ACEOF
16064 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16065 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_FSFILCNT_T 1
16069 _ACEOF
16074 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16075 #include <signal.h>
16077 if test "x$ac_cv_type_sigset_t" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_SIGSET_T 1
16081 _ACEOF
16086 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16088 if test "x$ac_cv_type_request_sense" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_REQUEST_SENSE 1
16092 _ACEOF
16098 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16099 #ifdef HAVE_SYS_SOCKET_H
16100 #include <sys/socket.h>
16101 #endif
16102 #ifdef HAVE_SYS_SOCKETVAR_H
16103 #include <sys/socketvar.h>
16104 #endif
16105 #ifdef HAVE_NET_ROUTE_H
16106 #include <net/route.h>
16107 #endif
16108 #ifdef HAVE_NETINET_IN_H
16109 #include <netinet/in.h>
16110 #endif
16111 #ifdef HAVE_NETINET_IN_SYSTM_H
16112 #include <netinet/in_systm.h>
16113 #endif
16114 #ifdef HAVE_NETINET_IP_H
16115 #include <netinet/ip.h>
16116 #endif
16117 #ifdef HAVE_NETINET_IN_PCB_H
16118 #include <netinet/in_pcb.h>
16119 #endif
16121 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_XINPGEN 1
16125 _ACEOF
16131 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16132 #include <link.h>
16133 #endif
16134 #ifdef HAVE_SYS_LINK_H
16135 #include <sys/link.h>
16136 #endif
16138 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_R_DEBUG 1
16142 _ACEOF
16146 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16147 #include <link.h>
16148 #endif
16149 #ifdef HAVE_SYS_LINK_H
16150 #include <sys/link.h>
16151 #endif
16153 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_LINK_MAP 1
16157 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16164 #include <linux/input.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16171 _ACEOF
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16178 $as_echo_n "checking for sigaddset... " >&6; }
16179 if ${wine_cv_have_sigaddset+:} false; then :
16180 $as_echo_n "(cached) " >&6
16181 else
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16184 #include <signal.h>
16186 main ()
16188 sigset_t set; sigaddset(&set,SIGTERM);
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_link "$LINENO"; then :
16194 wine_cv_have_sigaddset=yes
16195 else
16196 wine_cv_have_sigaddset=no
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext conftest.$ac_ext
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16202 $as_echo "$wine_cv_have_sigaddset" >&6; }
16203 if test "$wine_cv_have_sigaddset" = "yes"
16204 then
16206 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16212 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16213 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16214 $as_echo_n "(cached) " >&6
16215 else
16216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16218 #include <netdb.h>
16220 main ()
16223 char *name=0;
16224 struct hostent he;
16225 struct hostent *result;
16226 char *buf=0;
16227 int bufsize=0;
16228 int errnr;
16229 char *addr=0;
16230 int addrlen=0;
16231 int addrtype=0;
16232 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16233 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"; then :
16240 wine_cv_linux_gethostbyname_r_6=yes
16241 else
16242 wine_cv_linux_gethostbyname_r_6=no
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16250 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16251 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16252 then
16254 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16258 if test "$ac_cv_header_linux_joystick_h" = "yes"
16259 then
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16261 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16262 if ${wine_cv_linux_joystick_22_api+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16268 #include <sys/ioctl.h>
16269 #include <sys/types.h>
16270 #include <linux/joystick.h>
16272 struct js_event blub;
16273 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16274 #error "no 2.2 header"
16275 #endif
16278 main ()
16280 /*empty*/
16282 return 0;
16284 _ACEOF
16285 if ac_fn_c_try_compile "$LINENO"; then :
16286 wine_cv_linux_joystick_22_api=yes
16287 else
16288 wine_cv_linux_joystick_22_api=no
16290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16294 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16295 if test "$wine_cv_linux_joystick_22_api" = "yes"
16296 then
16298 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16304 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16305 #ifdef HAVE_SYS_PARAM_H
16306 # include <sys/param.h>
16307 #endif
16308 #ifdef HAVE_SYS_MOUNT_H
16309 # include <sys/mount.h>
16310 #endif
16311 #ifdef HAVE_SYS_VFS_H
16312 # include <sys/vfs.h>
16313 #endif
16314 #ifdef HAVE_SYS_STATFS_H
16315 # include <sys/statfs.h>
16316 #endif
16318 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_STATFS_F_BFREE 1
16322 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16327 #ifdef HAVE_SYS_PARAM_H
16328 # include <sys/param.h>
16329 #endif
16330 #ifdef HAVE_SYS_MOUNT_H
16331 # include <sys/mount.h>
16332 #endif
16333 #ifdef HAVE_SYS_VFS_H
16334 # include <sys/vfs.h>
16335 #endif
16336 #ifdef HAVE_SYS_STATFS_H
16337 # include <sys/statfs.h>
16338 #endif
16340 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16344 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16349 #ifdef HAVE_SYS_PARAM_H
16350 # include <sys/param.h>
16351 #endif
16352 #ifdef HAVE_SYS_MOUNT_H
16353 # include <sys/mount.h>
16354 #endif
16355 #ifdef HAVE_SYS_VFS_H
16356 # include <sys/vfs.h>
16357 #endif
16358 #ifdef HAVE_SYS_STATFS_H
16359 # include <sys/statfs.h>
16360 #endif
16362 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16371 #ifdef HAVE_SYS_PARAM_H
16372 # include <sys/param.h>
16373 #endif
16374 #ifdef HAVE_SYS_MOUNT_H
16375 # include <sys/mount.h>
16376 #endif
16377 #ifdef HAVE_SYS_VFS_H
16378 # include <sys/vfs.h>
16379 #endif
16380 #ifdef HAVE_SYS_STATFS_H
16381 # include <sys/statfs.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_STATFS_F_FFREE 1
16388 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16393 #ifdef HAVE_SYS_PARAM_H
16394 # include <sys/param.h>
16395 #endif
16396 #ifdef HAVE_SYS_MOUNT_H
16397 # include <sys/mount.h>
16398 #endif
16399 #ifdef HAVE_SYS_VFS_H
16400 # include <sys/vfs.h>
16401 #endif
16402 #ifdef HAVE_SYS_STATFS_H
16403 # include <sys/statfs.h>
16404 #endif
16406 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16410 _ACEOF
16414 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16415 #ifdef HAVE_SYS_PARAM_H
16416 # include <sys/param.h>
16417 #endif
16418 #ifdef HAVE_SYS_MOUNT_H
16419 # include <sys/mount.h>
16420 #endif
16421 #ifdef HAVE_SYS_VFS_H
16422 # include <sys/vfs.h>
16423 #endif
16424 #ifdef HAVE_SYS_STATFS_H
16425 # include <sys/statfs.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16432 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16439 #include <sys/statvfs.h>
16440 #endif
16442 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16446 _ACEOF
16452 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16453 #include <dirent.h>
16454 #endif
16456 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16467 #ifdef HAVE_SYS_SOCKET_H
16468 # include <sys/socket.h>
16469 #endif
16470 #ifdef HAVE_SYS_UN_H
16471 # include <sys/un.h>
16472 #endif
16474 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16478 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16483 #ifdef HAVE_SYS_SOCKET_H
16484 # include <sys/socket.h>
16485 #endif
16486 #ifdef HAVE_SYS_UN_H
16487 # include <sys/un.h>
16488 #endif
16490 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16494 _ACEOF
16498 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16499 #ifdef HAVE_SYS_SOCKET_H
16500 # include <sys/socket.h>
16501 #endif
16502 #ifdef HAVE_SYS_UN_H
16503 # include <sys/un.h>
16504 #endif
16506 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16510 _ACEOF
16516 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16517 #ifdef HAVE_SCSI_SG_H
16518 #include <scsi/sg.h>
16519 #endif
16521 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_SCSIREQ_T_CMD 1
16525 _ACEOF
16529 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>
16530 #ifdef HAVE_SCSI_SG_H
16531 #include <scsi/sg.h>
16532 #endif
16534 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16538 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16546 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_SIGINFO_T_SI_FD 1
16550 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16557 #ifdef HAVE_SYS_MTIO_H
16558 #include <sys/mtio.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16565 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16570 #ifdef HAVE_SYS_MTIO_H
16571 #include <sys/mtio.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16578 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16583 #ifdef HAVE_SYS_MTIO_H
16584 #include <sys/mtio.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16591 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16598 #include <getopt.h>
16599 #endif
16601 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_OPTION_NAME 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STAT_ST_MTIM 1
16625 _ACEOF
16629 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16630 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16634 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16639 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_STRUCT_STAT_ST_CTIM 1
16643 _ACEOF
16647 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16648 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16652 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16657 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_STRUCT_STAT_ST_ATIM 1
16661 _ACEOF
16665 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16666 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16670 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16675 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16679 _ACEOF
16683 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16684 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16688 _ACEOF
16692 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16693 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16697 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16702 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16706 _ACEOF
16710 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16711 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16713 cat >>confdefs.h <<_ACEOF
16714 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16715 _ACEOF
16721 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
16722 #include <sys/types.h>
16723 #endif
16724 #ifdef HAVE_NETINET_IN_H
16725 #include <netinet/in.h>
16726 #endif
16728 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16732 _ACEOF
16738 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16739 #include <sys/types.h>
16740 #endif
16741 #ifdef HAVE_NETINET_IN_H
16742 #include <netinet/in.h>
16743 #endif
16744 #ifdef HAVE_RESOLV_H
16745 #include <resolv.h>
16746 #endif
16748 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT___RES_STATE 1
16752 _ACEOF
16758 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
16759 #include <resolv.h>
16760 #endif
16762 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16766 _ACEOF
16772 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16773 #include <sys/types.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IN_H
16776 # include <netinet/in.h>
16777 #endif
16778 #ifdef HAVE_ARPA_NAMESER_H
16779 # include <arpa/nameser.h>
16780 #endif
16782 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_NS_MSG__MSG_PTR 1
16786 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16793 #include <sys/types.h>
16794 #endif
16795 #ifdef HAVE_NETINET_IN_H
16796 #include <netinet/in.h>
16797 #endif
16798 #ifdef HAVE_NETINET_IP_H
16799 #include <netinet/ip.h>
16800 #endif
16801 #ifdef HAVE_NETINET_IP_ICMP_H
16802 #include <netinet/ip_icmp.h>
16803 #endif
16804 #ifdef HAVE_NETINET_ICMP_VAR_H
16805 #include <netinet/icmp_var.h>
16806 #endif
16808 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16810 cat >>confdefs.h <<_ACEOF
16811 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16812 _ACEOF
16818 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16819 #include <sys/types.h>
16820 #endif
16821 #ifdef HAVE_ALIAS_H
16822 #include <alias.h>
16823 #endif
16824 #ifdef HAVE_SYS_SOCKET_H
16825 #include <sys/socket.h>
16826 #endif
16827 #ifdef HAVE_SYS_SOCKETVAR_H
16828 #include <sys/socketvar.h>
16829 #endif
16830 #ifdef HAVE_SYS_TIMEOUT_H
16831 #include <sys/timeout.h>
16832 #endif
16833 #ifdef HAVE_NETINET_IN_H
16834 #include <netinet/in.h>
16835 #endif
16836 #ifdef HAVE_NETINET_IN_SYSTM_H
16837 #include <netinet/in_systm.h>
16838 #endif
16839 #ifdef HAVE_NETINET_IP_H
16840 #include <netinet/ip.h>
16841 #endif
16842 #ifdef HAVE_NETINET_IP_VAR_H
16843 #include <netinet/ip_var.h>
16844 #endif
16845 #ifdef HAVE_NETINET_IP_ICMP_H
16846 #include <netinet/ip_icmp.h>
16847 #endif
16848 #ifdef HAVE_NETINET_ICMP_VAR_H
16849 #include <netinet/icmp_var.h>
16850 #endif
16852 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16854 cat >>confdefs.h <<_ACEOF
16855 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16856 _ACEOF
16862 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16863 #include <sys/types.h>
16864 #endif
16865 #ifdef HAVE_SYS_SOCKETVAR_H
16866 #include <sys/socketvar.h>
16867 #endif
16868 #ifdef HAVE_NETINET_IN_H
16869 #include <netinet/in.h>
16870 #endif
16871 #ifdef HAVE_NETINET_IP_VAR_H
16872 #include <netinet/ip_var.h>
16873 #endif
16875 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16879 _ACEOF
16885 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
16886 #include <netinet/ip_var.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16893 _ACEOF
16899 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16900 #include <sys/types.h>
16901 #endif
16902 #ifdef HAVE_SYS_SOCKETVAR_H
16903 #include <sys/socketvar.h>
16904 #endif
16905 #ifdef HAVE_NETINET_IN_H
16906 #include <netinet/in.h>
16907 #endif
16908 #ifdef HAVE_NETINET_TCP_H
16909 #include <netinet/tcp.h>
16910 #endif
16911 #ifdef HAVE_NETINET_TCP_VAR_H
16912 #include <netinet/tcp_var.h>
16913 #endif
16915 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16917 cat >>confdefs.h <<_ACEOF
16918 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16919 _ACEOF
16925 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
16926 #include <netinet/tcp_var.h>
16927 #endif
16929 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16933 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16940 #include <sys/types.h>
16941 #endif
16942 #ifdef HAVE_NETINET_IN_H
16943 #include <netinet/in.h>
16944 #endif
16945 #ifdef HAVE_NETINET_IP_VAR_H
16946 #include <netinet/ip_var.h>
16947 #endif
16948 #ifdef HAVE_NETINET_UDP_H
16949 #include <netinet/udp.h>
16950 #endif
16951 #ifdef HAVE_NETINET_UDP_VAR_H
16952 #include <netinet/udp_var.h>
16953 #endif
16955 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16959 _ACEOF
16965 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16966 #include <sys/types.h>
16967 #endif
16968 #ifdef HAVE_NET_IF_H
16969 # include <net/if.h>
16970 #endif
16972 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16976 _ACEOF
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16983 $as_echo_n "checking for timezone variable... " >&6; }
16984 if ${ac_cv_have_timezone+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #include <time.h>
16991 main ()
16993 timezone = 1
16995 return 0;
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"; then :
16999 ac_cv_have_timezone="yes"
17000 else
17001 ac_cv_have_timezone="no"
17003 rm -f core conftest.err conftest.$ac_objext \
17004 conftest$ac_exeext conftest.$ac_ext
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17007 $as_echo "$ac_cv_have_timezone" >&6; }
17008 if test "$ac_cv_have_timezone" = "yes"
17009 then
17011 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17015 $as_echo_n "checking for daylight variable... " >&6; }
17016 if ${ac_cv_have_daylight+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <time.h>
17023 main ()
17025 daylight = 1
17027 return 0;
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_have_daylight="yes"
17032 else
17033 ac_cv_have_daylight="no"
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17039 $as_echo "$ac_cv_have_daylight" >&6; }
17040 if test "$ac_cv_have_daylight" = "yes"
17041 then
17043 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17047 ac_save_LIBS="$LIBS"
17048 LIBS="$LIBS -lm"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17050 $as_echo_n "checking for isfinite... " >&6; }
17051 if ${ac_cv_have_isfinite+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #define _GNU_SOURCE
17057 #include <math.h>
17059 main ()
17061 float f = 0.0; return isfinite(f)
17063 return 0;
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_have_isfinite="yes"
17068 else
17069 ac_cv_have_isfinite="no"
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17075 $as_echo "$ac_cv_have_isfinite" >&6; }
17076 if test "$ac_cv_have_isfinite" = "yes"
17077 then
17079 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17084 $as_echo_n "checking for isinf... " >&6; }
17085 if ${ac_cv_have_isinf+:} false; then :
17086 $as_echo_n "(cached) " >&6
17087 else
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 #include <math.h>
17092 main ()
17094 float f = 0.0; return isinf(f)
17096 return 0;
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 ac_cv_have_isinf="yes"
17101 else
17102 ac_cv_have_isinf="no"
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17108 $as_echo "$ac_cv_have_isinf" >&6; }
17109 if test "$ac_cv_have_isinf" = "yes"
17110 then
17112 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17117 $as_echo_n "checking for isnan... " >&6; }
17118 if ${ac_cv_have_isnan+:} false; then :
17119 $as_echo_n "(cached) " >&6
17120 else
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <math.h>
17125 main ()
17127 float f = 0.0; return isnan(f)
17129 return 0;
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_have_isnan="yes"
17134 else
17135 ac_cv_have_isnan="no"
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17141 $as_echo "$ac_cv_have_isnan" >&6; }
17142 if test "$ac_cv_have_isnan" = "yes"
17143 then
17145 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17149 for ac_func in \
17150 asinh \
17151 asinhf \
17152 cbrt \
17153 cbrtf \
17154 erf \
17155 erff \
17156 exp2 \
17157 exp2f \
17158 lgamma \
17159 lgammaf \
17160 llrint \
17161 llrintf \
17162 llround \
17163 llroundf \
17164 log2 \
17165 log2f \
17166 lrint \
17167 lrintf \
17168 lround \
17169 lroundf \
17170 nearbyint \
17171 nearbyintf \
17172 powl \
17173 remainder \
17174 remainderf \
17175 rint \
17176 rintf \
17177 round \
17178 roundf \
17179 trunc \
17180 truncf
17182 do :
17183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17185 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17186 cat >>confdefs.h <<_ACEOF
17187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17188 _ACEOF
17191 done
17193 LIBS="$ac_save_LIBS"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17196 $as_echo_n "checking for __builtin_clz... " >&6; }
17197 if ${ac_cv_have___builtin_clz+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h. */
17204 main ()
17206 return __builtin_clz(1)
17208 return 0;
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_have___builtin_clz="yes"
17213 else
17214 ac_cv_have___builtin_clz="no"
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17220 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17221 if test "$ac_cv_have___builtin_clz" = "yes"
17222 then
17224 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17229 $as_echo_n "checking for __builtin_popcount... " >&6; }
17230 if ${ac_cv_have___builtin_popcount+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17237 main ()
17239 return __builtin_popcount(1)
17241 return 0;
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_have___builtin_popcount="yes"
17246 else
17247 ac_cv_have___builtin_popcount="no"
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17253 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17254 if test "$ac_cv_have___builtin_popcount" = "yes"
17255 then
17257 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17262 case $host_cpu in
17263 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17264 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17265 if ${ac_cv_cpp_def___i386__+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #ifndef __i386__
17272 #endif
17273 _ACEOF
17274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17275 $EGREP "yes" >/dev/null 2>&1; then :
17276 ac_cv_cpp_def___i386__=yes
17277 else
17278 ac_cv_cpp_def___i386__=no
17280 rm -f conftest*
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17284 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17285 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17286 CFLAGS="$CFLAGS -D__i386__"
17287 LINTFLAGS="$LINTFLAGS -D__i386__"
17288 fi ;;
17289 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17290 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17291 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #ifndef __x86_64__
17298 #endif
17299 _ACEOF
17300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17301 $EGREP "yes" >/dev/null 2>&1; then :
17302 ac_cv_cpp_def___x86_64__=yes
17303 else
17304 ac_cv_cpp_def___x86_64__=no
17306 rm -f conftest*
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17310 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17311 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17312 CFLAGS="$CFLAGS -D__x86_64__"
17313 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17314 fi ;;
17315 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17316 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17317 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #ifndef __sparc64__
17324 #endif
17325 _ACEOF
17326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17327 $EGREP "yes" >/dev/null 2>&1; then :
17328 ac_cv_cpp_def___sparc64__=yes
17329 else
17330 ac_cv_cpp_def___sparc64__=no
17332 rm -f conftest*
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17336 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17337 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17338 CFLAGS="$CFLAGS -D__sparc64__"
17339 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17340 fi ;;
17341 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17342 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17343 if ${ac_cv_cpp_def___sparc__+:} false; then :
17344 $as_echo_n "(cached) " >&6
17345 else
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 #ifndef __sparc__
17350 #endif
17351 _ACEOF
17352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17353 $EGREP "yes" >/dev/null 2>&1; then :
17354 ac_cv_cpp_def___sparc__=yes
17355 else
17356 ac_cv_cpp_def___sparc__=no
17358 rm -f conftest*
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17362 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17363 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17364 CFLAGS="$CFLAGS -D__sparc__"
17365 LINTFLAGS="$LINTFLAGS -D__sparc__"
17366 fi ;;
17367 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17368 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17369 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17374 #ifndef __powerpc64__
17376 #endif
17377 _ACEOF
17378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17379 $EGREP "yes" >/dev/null 2>&1; then :
17380 ac_cv_cpp_def___powerpc64__=yes
17381 else
17382 ac_cv_cpp_def___powerpc64__=no
17384 rm -f conftest*
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17388 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17389 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17390 CFLAGS="$CFLAGS -D__powerpc64__"
17391 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17392 fi ;;
17393 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17394 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17395 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #ifndef __powerpc__
17402 #endif
17403 _ACEOF
17404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17405 $EGREP "yes" >/dev/null 2>&1; then :
17406 ac_cv_cpp_def___powerpc__=yes
17407 else
17408 ac_cv_cpp_def___powerpc__=no
17410 rm -f conftest*
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17414 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17415 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17416 CFLAGS="$CFLAGS -D__powerpc__"
17417 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17418 fi ;;
17419 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17420 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17421 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #ifndef __aarch64__
17428 #endif
17429 _ACEOF
17430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17431 $EGREP "yes" >/dev/null 2>&1; then :
17432 ac_cv_cpp_def___aarch64__=yes
17433 else
17434 ac_cv_cpp_def___aarch64__=no
17436 rm -f conftest*
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17440 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17441 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17442 CFLAGS="$CFLAGS -D__aarch64__"
17443 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17444 fi ;;
17445 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17446 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17447 if ${ac_cv_cpp_def___arm__+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #ifndef __arm__
17454 #endif
17455 _ACEOF
17456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17457 $EGREP "yes" >/dev/null 2>&1; then :
17458 ac_cv_cpp_def___arm__=yes
17459 else
17460 ac_cv_cpp_def___arm__=no
17462 rm -f conftest*
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17466 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17467 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17468 CFLAGS="$CFLAGS -D__arm__"
17469 LINTFLAGS="$LINTFLAGS -D__arm__"
17470 fi ;;
17471 esac
17473 case $host_vendor in
17474 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17475 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17476 if ${ac_cv_cpp_def___sun__+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #ifndef __sun__
17483 #endif
17484 _ACEOF
17485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17486 $EGREP "yes" >/dev/null 2>&1; then :
17487 ac_cv_cpp_def___sun__=yes
17488 else
17489 ac_cv_cpp_def___sun__=no
17491 rm -f conftest*
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17495 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17496 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17497 CFLAGS="$CFLAGS -D__sun__"
17498 LINTFLAGS="$LINTFLAGS -D__sun__"
17499 fi ;;
17500 esac
17506 ac_config_commands="$ac_config_commands include/stamp-h"
17508 $as_echo_n "creating Makefile rules..." >&6
17510 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17511 SOCKET_LIBS = $SOCKET_LIBS
17512 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17513 IOKIT_LIBS = $IOKIT_LIBS
17514 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17515 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17516 CORESERVICES_LIBS = $CORESERVICES_LIBS
17517 APPKIT_LIBS = $APPKIT_LIBS
17518 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17519 SECURITY_LIBS = $SECURITY_LIBS
17520 COREAUDIO_LIBS = $COREAUDIO_LIBS
17521 OPENAL_LIBS = $OPENAL_LIBS
17522 OPENCL_LIBS = $OPENCL_LIBS
17523 QUICKTIME_LIBS = $QUICKTIME_LIBS
17524 CARBON_LIBS = $CARBON_LIBS
17525 PTHREAD_LIBS = $PTHREAD_LIBS
17526 X_CFLAGS = $X_CFLAGS
17527 X_PRE_LIBS = $X_PRE_LIBS
17528 X_LIBS = $X_LIBS
17529 X_EXTRA_LIBS = $X_EXTRA_LIBS
17530 PCAP_LIBS = $PCAP_LIBS
17531 XML2_CFLAGS = $XML2_CFLAGS
17532 XML2_LIBS = $XML2_LIBS
17533 XSLT_CFLAGS = $XSLT_CFLAGS
17534 XSLT_LIBS = $XSLT_LIBS
17535 DBUS_CFLAGS = $DBUS_CFLAGS
17536 DBUS_LIBS = $DBUS_LIBS
17537 HAL_CFLAGS = $HAL_CFLAGS
17538 HAL_LIBS = $HAL_LIBS
17539 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17540 GNUTLS_LIBS = $GNUTLS_LIBS
17541 SANE_CFLAGS = $SANE_CFLAGS
17542 SANE_LIBS = $SANE_LIBS
17543 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17544 GPHOTO2_LIBS = $GPHOTO2_LIBS
17545 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17546 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17547 RESOLV_LIBS = $RESOLV_LIBS
17548 LCMS2_CFLAGS = $LCMS2_CFLAGS
17549 LCMS2_LIBS = $LCMS2_LIBS
17550 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17551 FREETYPE_LIBS = $FREETYPE_LIBS
17552 Z_LIBS = $Z_LIBS
17553 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17554 PULSE_CFLAGS = $PULSE_CFLAGS
17555 PULSE_LIBS = $PULSE_LIBS
17556 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17557 GSTREAMER_LIBS = $GSTREAMER_LIBS
17558 ALSA_LIBS = $ALSA_LIBS
17559 OSS4_CFLAGS = $OSS4_CFLAGS
17560 UDEV_CFLAGS = $UDEV_CFLAGS
17561 UDEV_LIBS = $UDEV_LIBS
17562 CAPI20_CFLAGS = $CAPI20_CFLAGS
17563 CAPI20_LIBS = $CAPI20_LIBS
17564 CUPS_CFLAGS = $CUPS_CFLAGS
17565 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17566 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17567 JPEG_CFLAGS = $JPEG_CFLAGS
17568 JPEG_LIBS = $JPEG_LIBS
17569 PNG_CFLAGS = $PNG_CFLAGS
17570 PNG_LIBS = $PNG_LIBS
17571 TIFF_CFLAGS = $TIFF_CFLAGS
17572 TIFF_LIBS = $TIFF_LIBS
17573 MPG123_CFLAGS = $MPG123_CFLAGS
17574 MPG123_LIBS = $MPG123_LIBS
17575 KSTAT_LIBS = $KSTAT_LIBS
17576 PROCSTAT_LIBS = $PROCSTAT_LIBS
17577 NETAPI_CFLAGS = $NETAPI_CFLAGS
17578 NETAPI_LIBS = $NETAPI_LIBS
17579 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17580 DL_LIBS = $DL_LIBS
17581 POLL_LIBS = $POLL_LIBS
17582 RT_LIBS = $RT_LIBS
17583 LDAP_LIBS = $LDAP_LIBS
17588 wine_fn_append_rule "
17589 # Rules automatically generated by configure
17591 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17593 .INIT: Makefile
17594 .MAKEFILEDEPS:
17595 all: Makefile
17596 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17597 @./config.status Make.tmp Makefile
17598 depend: \$(MAKEDEP) dummy
17599 \$(MAKEDEP)"
17601 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17602 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17604 if test "x$enable_fonts" != xno; then
17605 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17606 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17607 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17608 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17609 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17610 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17612 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17613 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17614 ac_config_links="$ac_config_links wine:tools/winewrapper"
17615 wine_fn_config_symlink wine
17616 if test "x$enable_win64" != xno; then
17617 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17618 wine_fn_config_symlink wine64
17621 wine_fn_config_dll acledit enable_acledit
17622 wine_fn_config_dll aclui enable_aclui implib
17623 wine_fn_config_dll activeds enable_activeds implib
17624 wine_fn_config_dll actxprxy enable_actxprxy clean
17625 wine_fn_config_lib adsiid
17626 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17627 wine_fn_config_test dlls/advapi32/tests advapi32_test
17628 wine_fn_config_dll advpack enable_advpack implib
17629 wine_fn_config_test dlls/advpack/tests advpack_test
17630 wine_fn_config_dll amstream enable_amstream clean
17631 wine_fn_config_test dlls/amstream/tests amstream_test
17632 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17633 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17641 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17644 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17646 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17650 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17652 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17653 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17657 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17658 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17659 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17660 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17663 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17666 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17668 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17670 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17675 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17677 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17679 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17680 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17681 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17683 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17687 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17688 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17691 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17695 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17697 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17699 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17700 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17707 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17710 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17715 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17719 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17721 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17722 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17724 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17733 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17734 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17735 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17736 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17737 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17738 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17742 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17743 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17744 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17745 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17746 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17747 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17748 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17749 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17750 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17751 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17752 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17753 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17754 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17755 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17756 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17757 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17758 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17759 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17760 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17761 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17762 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17763 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17764 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17765 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17766 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17767 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17768 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17769 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17770 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17771 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17772 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17773 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17774 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17775 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17776 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17777 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17778 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17779 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17780 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17781 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17782 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17783 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17784 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17785 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17786 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17787 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17788 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17789 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17790 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17791 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17792 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17793 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17794 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17795 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17796 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17797 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17798 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17799 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17800 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17801 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17802 wine_fn_config_dll apphelp enable_apphelp
17803 wine_fn_config_test dlls/apphelp/tests apphelp_test
17804 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17805 wine_fn_config_dll atl enable_atl clean,implib
17806 wine_fn_config_test dlls/atl/tests atl_test
17807 wine_fn_config_dll atl100 enable_atl100 clean,implib
17808 wine_fn_config_test dlls/atl100/tests atl100_test
17809 wine_fn_config_dll atl110 enable_atl110 clean
17810 wine_fn_config_dll atl80 enable_atl80 clean,implib
17811 wine_fn_config_test dlls/atl80/tests atl80_test
17812 wine_fn_config_dll atl90 enable_atl90 clean
17813 wine_fn_config_dll authz enable_authz
17814 wine_fn_config_dll avicap32 enable_avicap32 implib
17815 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17816 wine_fn_config_test dlls/avifil32/tests avifil32_test
17817 wine_fn_config_dll avifile.dll16 enable_win16
17818 wine_fn_config_dll avrt enable_avrt implib
17819 wine_fn_config_dll bcrypt enable_bcrypt implib
17820 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17821 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17822 wine_fn_config_dll browseui enable_browseui clean
17823 wine_fn_config_test dlls/browseui/tests browseui_test
17824 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17825 wine_fn_config_dll cabinet enable_cabinet implib
17826 wine_fn_config_test dlls/cabinet/tests cabinet_test
17827 wine_fn_config_dll capi2032 enable_capi2032 implib
17828 wine_fn_config_dll cards enable_cards implib
17829 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17830 wine_fn_config_dll clusapi enable_clusapi implib
17831 wine_fn_config_dll combase enable_combase
17832 wine_fn_config_test dlls/combase/tests combase_test
17833 wine_fn_config_dll comcat enable_comcat
17834 wine_fn_config_test dlls/comcat/tests comcat_test
17835 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17836 wine_fn_config_test dlls/comctl32/tests comctl32_test
17837 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17838 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17839 wine_fn_config_dll comm.drv16 enable_win16
17840 wine_fn_config_dll commdlg.dll16 enable_win16
17841 wine_fn_config_dll compobj.dll16 enable_win16
17842 wine_fn_config_dll compstui enable_compstui implib
17843 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17844 wine_fn_config_dll concrt140 enable_concrt140
17845 wine_fn_config_dll connect enable_connect
17846 wine_fn_config_dll credui enable_credui clean,implib
17847 wine_fn_config_test dlls/credui/tests credui_test
17848 wine_fn_config_dll crtdll enable_crtdll
17849 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17850 wine_fn_config_test dlls/crypt32/tests crypt32_test
17851 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17852 wine_fn_config_dll cryptdll enable_cryptdll implib
17853 wine_fn_config_dll cryptext enable_cryptext
17854 wine_fn_config_dll cryptnet enable_cryptnet implib
17855 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17856 wine_fn_config_dll cryptui enable_cryptui clean,implib
17857 wine_fn_config_test dlls/cryptui/tests cryptui_test
17858 wine_fn_config_dll ctapi32 enable_ctapi32
17859 wine_fn_config_dll ctl3d.dll16 enable_win16
17860 wine_fn_config_dll ctl3d32 enable_ctl3d32
17861 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17862 wine_fn_config_dll d2d1 enable_d2d1 implib
17863 wine_fn_config_test dlls/d2d1/tests d2d1_test
17864 wine_fn_config_dll d3d10 enable_d3d10 implib
17865 wine_fn_config_test dlls/d3d10/tests d3d10_test
17866 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17867 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17868 wine_fn_config_dll d3d10core enable_d3d10core implib
17869 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17870 wine_fn_config_dll d3d11 enable_d3d11 implib
17871 wine_fn_config_test dlls/d3d11/tests d3d11_test
17872 wine_fn_config_dll d3d8 enable_d3d8 implib
17873 wine_fn_config_test dlls/d3d8/tests d3d8_test
17874 wine_fn_config_dll d3d9 enable_d3d9 implib
17875 wine_fn_config_test dlls/d3d9/tests d3d9_test
17876 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17877 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17878 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17879 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17880 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17881 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17882 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17883 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17884 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17885 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17886 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17887 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17888 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17889 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17890 wine_fn_config_dll d3dim enable_d3dim
17891 wine_fn_config_dll d3drm enable_d3drm implib
17892 wine_fn_config_test dlls/d3drm/tests d3drm_test
17893 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17894 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17895 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17896 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17897 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17898 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17899 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17900 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17901 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17902 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17903 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17904 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17905 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17906 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17907 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17908 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17909 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17910 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17911 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17912 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17913 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17914 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17915 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17916 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17917 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17918 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17919 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17920 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17921 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17922 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17923 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17924 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17925 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17926 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17927 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17928 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17929 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17930 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17931 wine_fn_config_dll davclnt enable_davclnt
17932 wine_fn_config_dll dbgeng enable_dbgeng implib
17933 wine_fn_config_dll dbghelp enable_dbghelp implib
17934 wine_fn_config_dll dciman32 enable_dciman32 implib
17935 wine_fn_config_dll ddeml.dll16 enable_win16
17936 wine_fn_config_dll ddraw enable_ddraw clean,implib
17937 wine_fn_config_test dlls/ddraw/tests ddraw_test
17938 wine_fn_config_dll ddrawex enable_ddrawex clean
17939 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17940 wine_fn_config_dll devenum enable_devenum clean
17941 wine_fn_config_test dlls/devenum/tests devenum_test
17942 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17943 wine_fn_config_dll difxapi enable_difxapi
17944 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17945 wine_fn_config_test dlls/dinput/tests dinput_test
17946 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17947 wine_fn_config_test dlls/dinput8/tests dinput8_test
17948 wine_fn_config_dll dispdib.dll16 enable_win16
17949 wine_fn_config_dll dispex enable_dispex clean
17950 wine_fn_config_test dlls/dispex/tests dispex_test
17951 wine_fn_config_dll display.drv16 enable_win16
17952 wine_fn_config_dll dmband enable_dmband clean
17953 wine_fn_config_test dlls/dmband/tests dmband_test
17954 wine_fn_config_dll dmcompos enable_dmcompos clean
17955 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17956 wine_fn_config_dll dmime enable_dmime clean
17957 wine_fn_config_test dlls/dmime/tests dmime_test
17958 wine_fn_config_dll dmloader enable_dmloader clean
17959 wine_fn_config_test dlls/dmloader/tests dmloader_test
17960 wine_fn_config_dll dmscript enable_dmscript clean
17961 wine_fn_config_test dlls/dmscript/tests dmscript_test
17962 wine_fn_config_dll dmstyle enable_dmstyle clean
17963 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17964 wine_fn_config_dll dmsynth enable_dmsynth clean
17965 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17966 wine_fn_config_dll dmusic enable_dmusic clean
17967 wine_fn_config_test dlls/dmusic/tests dmusic_test
17968 wine_fn_config_dll dmusic32 enable_dmusic32
17969 wine_fn_config_dll dnsapi enable_dnsapi implib
17970 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17971 wine_fn_config_dll dplay enable_dplay
17972 wine_fn_config_dll dplayx enable_dplayx clean,implib
17973 wine_fn_config_test dlls/dplayx/tests dplayx_test
17974 wine_fn_config_dll dpnaddr enable_dpnaddr
17975 wine_fn_config_dll dpnet enable_dpnet clean,implib
17976 wine_fn_config_test dlls/dpnet/tests dpnet_test
17977 wine_fn_config_dll dpnhpast enable_dpnhpast
17978 wine_fn_config_dll dpnlobby enable_dpnlobby
17979 wine_fn_config_dll dpvoice enable_dpvoice clean
17980 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17981 wine_fn_config_dll dpwsockx enable_dpwsockx
17982 wine_fn_config_dll drmclien enable_drmclien
17983 wine_fn_config_dll dsound enable_dsound clean,implib
17984 wine_fn_config_test dlls/dsound/tests dsound_test
17985 wine_fn_config_dll dssenh enable_dssenh
17986 wine_fn_config_test dlls/dssenh/tests dssenh_test
17987 wine_fn_config_dll dswave enable_dswave clean
17988 wine_fn_config_test dlls/dswave/tests dswave_test
17989 wine_fn_config_dll dwmapi enable_dwmapi implib
17990 wine_fn_config_dll dwrite enable_dwrite implib
17991 wine_fn_config_test dlls/dwrite/tests dwrite_test
17992 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17993 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17994 wine_fn_config_lib dxerr8
17995 wine_fn_config_lib dxerr9
17996 wine_fn_config_dll dxgi enable_dxgi implib
17997 wine_fn_config_test dlls/dxgi/tests dxgi_test
17998 wine_fn_config_lib dxguid
17999 wine_fn_config_dll dxva2 enable_dxva2
18000 wine_fn_config_dll esent enable_esent
18001 wine_fn_config_dll evr enable_evr
18002 wine_fn_config_dll explorerframe enable_explorerframe clean
18003 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18004 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18005 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18006 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18007 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18008 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18009 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18010 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18011 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18012 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18013 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18014 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18015 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18016 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18017 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18018 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
18019 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18020 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18021 wine_fn_config_dll faultrep enable_faultrep implib
18022 wine_fn_config_test dlls/faultrep/tests faultrep_test
18023 wine_fn_config_dll fltlib enable_fltlib
18024 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18025 wine_fn_config_dll fntcache enable_fntcache
18026 wine_fn_config_dll fontsub enable_fontsub
18027 wine_fn_config_dll fusion enable_fusion
18028 wine_fn_config_test dlls/fusion/tests fusion_test
18029 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18030 wine_fn_config_dll gameux enable_gameux clean
18031 wine_fn_config_test dlls/gameux/tests gameux_test
18032 wine_fn_config_dll gdi.exe16 enable_win16
18033 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18034 wine_fn_config_test dlls/gdi32/tests gdi32_test
18035 wine_fn_config_dll gdiplus enable_gdiplus implib
18036 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18037 wine_fn_config_dll glu32 enable_glu32 implib
18038 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18039 wine_fn_config_dll gpkcsp enable_gpkcsp
18040 wine_fn_config_dll hal enable_hal
18041 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18042 wine_fn_config_dll hid enable_hid implib
18043 wine_fn_config_test dlls/hid/tests hid_test
18044 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18045 wine_fn_config_dll hlink enable_hlink clean,implib
18046 wine_fn_config_test dlls/hlink/tests hlink_test
18047 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18048 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18049 wine_fn_config_dll httpapi enable_httpapi
18050 wine_fn_config_dll iccvid enable_iccvid clean
18051 wine_fn_config_dll icmp enable_icmp
18052 wine_fn_config_dll ieframe enable_ieframe clean,implib
18053 wine_fn_config_test dlls/ieframe/tests ieframe_test
18054 wine_fn_config_dll ifsmgr.vxd enable_win16
18055 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18056 wine_fn_config_dll imagehlp enable_imagehlp implib
18057 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18058 wine_fn_config_dll imm.dll16 enable_win16
18059 wine_fn_config_dll imm32 enable_imm32 implib
18060 wine_fn_config_test dlls/imm32/tests imm32_test
18061 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18062 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18063 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18064 wine_fn_config_dll inetmib1 enable_inetmib1
18065 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18066 wine_fn_config_dll infosoft enable_infosoft clean
18067 wine_fn_config_test dlls/infosoft/tests infosoft_test
18068 wine_fn_config_dll initpki enable_initpki
18069 wine_fn_config_dll inkobj enable_inkobj
18070 wine_fn_config_dll inseng enable_inseng clean
18071 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18072 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18073 wine_fn_config_dll iprop enable_iprop
18074 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18075 wine_fn_config_dll itircl enable_itircl
18076 wine_fn_config_dll itss enable_itss clean
18077 wine_fn_config_test dlls/itss/tests itss_test
18078 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18079 wine_fn_config_dll jscript enable_jscript clean
18080 wine_fn_config_test dlls/jscript/tests jscript_test
18081 wine_fn_config_dll jsproxy enable_jsproxy implib
18082 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18083 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18084 wine_fn_config_test dlls/kernel32/tests kernel32_test
18085 wine_fn_config_dll kernelbase enable_kernelbase
18086 wine_fn_config_dll keyboard.drv16 enable_win16
18087 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18088 wine_fn_config_dll ksuser enable_ksuser
18089 wine_fn_config_dll ktmw32 enable_ktmw32
18090 wine_fn_config_dll loadperf enable_loadperf implib
18091 wine_fn_config_dll localspl enable_localspl clean
18092 wine_fn_config_test dlls/localspl/tests localspl_test
18093 wine_fn_config_dll localui enable_localui clean
18094 wine_fn_config_test dlls/localui/tests localui_test
18095 wine_fn_config_dll lz32 enable_lz32 implib
18096 wine_fn_config_test dlls/lz32/tests lz32_test
18097 wine_fn_config_dll lzexpand.dll16 enable_win16
18098 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18099 wine_fn_config_test dlls/mapi32/tests mapi32_test
18100 wine_fn_config_dll mapistub enable_mapistub
18101 wine_fn_config_dll mciavi32 enable_mciavi32
18102 wine_fn_config_dll mcicda enable_mcicda
18103 wine_fn_config_dll mciqtz32 enable_mciqtz32
18104 wine_fn_config_dll mciseq enable_mciseq
18105 wine_fn_config_dll mciwave enable_mciwave
18106 wine_fn_config_dll mf enable_mf
18107 wine_fn_config_dll mf3216 enable_mf3216
18108 wine_fn_config_dll mfplat enable_mfplat
18109 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18110 wine_fn_config_dll mgmtapi enable_mgmtapi
18111 wine_fn_config_dll midimap enable_midimap
18112 wine_fn_config_dll mlang enable_mlang clean,implib
18113 wine_fn_config_test dlls/mlang/tests mlang_test
18114 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18115 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18116 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18117 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18118 wine_fn_config_dll mmdevldr.vxd enable_win16
18119 wine_fn_config_dll mmsystem.dll16 enable_win16
18120 wine_fn_config_dll monodebg.vxd enable_win16
18121 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18122 wine_fn_config_dll mouse.drv16 enable_win16
18123 wine_fn_config_dll mpr enable_mpr clean,implib
18124 wine_fn_config_test dlls/mpr/tests mpr_test
18125 wine_fn_config_dll mprapi enable_mprapi implib
18126 wine_fn_config_dll msacm.dll16 enable_win16
18127 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18128 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18129 wine_fn_config_test dlls/msacm32/tests msacm32_test
18130 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18131 wine_fn_config_dll msasn1 enable_msasn1 implib
18132 wine_fn_config_dll mscat32 enable_mscat32
18133 wine_fn_config_dll mscms enable_mscms implib
18134 wine_fn_config_test dlls/mscms/tests mscms_test
18135 wine_fn_config_dll mscoree enable_mscoree clean
18136 wine_fn_config_test dlls/mscoree/tests mscoree_test
18137 wine_fn_config_dll msctf enable_msctf clean
18138 wine_fn_config_test dlls/msctf/tests msctf_test
18139 wine_fn_config_dll msctfp enable_msctfp clean
18140 wine_fn_config_dll msdaps enable_msdaps clean
18141 wine_fn_config_dll msdelta enable_msdelta
18142 wine_fn_config_dll msdmo enable_msdmo implib
18143 wine_fn_config_test dlls/msdmo/tests msdmo_test
18144 wine_fn_config_dll msdrm enable_msdrm
18145 wine_fn_config_dll msftedit enable_msftedit
18146 wine_fn_config_dll msg711.acm enable_msg711_acm
18147 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18148 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18149 wine_fn_config_dll mshtml enable_mshtml clean,implib
18150 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18151 wine_fn_config_dll msi enable_msi clean,implib
18152 wine_fn_config_test dlls/msi/tests msi_test
18153 wine_fn_config_dll msident enable_msident clean
18154 wine_fn_config_dll msimg32 enable_msimg32 implib
18155 wine_fn_config_dll msimsg enable_msimsg
18156 wine_fn_config_dll msimtf enable_msimtf clean
18157 wine_fn_config_dll msisip enable_msisip
18158 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18159 wine_fn_config_dll msls31 enable_msls31
18160 wine_fn_config_dll msnet32 enable_msnet32
18161 wine_fn_config_dll mspatcha enable_mspatcha implib
18162 wine_fn_config_dll msports enable_msports
18163 wine_fn_config_dll msrle32 enable_msrle32 clean
18164 wine_fn_config_test dlls/msrle32/tests msrle32_test
18165 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18166 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18167 wine_fn_config_dll mssign32 enable_mssign32
18168 wine_fn_config_dll mssip32 enable_mssip32
18169 wine_fn_config_dll mstask enable_mstask clean
18170 wine_fn_config_test dlls/mstask/tests mstask_test
18171 wine_fn_config_dll msvcirt enable_msvcirt
18172 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18173 wine_fn_config_dll msvcm80 enable_msvcm80
18174 wine_fn_config_dll msvcm90 enable_msvcm90
18175 wine_fn_config_dll msvcp100 enable_msvcp100
18176 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18177 wine_fn_config_dll msvcp110 enable_msvcp110
18178 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18179 wine_fn_config_dll msvcp120 enable_msvcp120
18180 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18181 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18182 wine_fn_config_dll msvcp140 enable_msvcp140
18183 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18184 wine_fn_config_dll msvcp60 enable_msvcp60
18185 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18186 wine_fn_config_dll msvcp70 enable_msvcp70
18187 wine_fn_config_dll msvcp71 enable_msvcp71
18188 wine_fn_config_dll msvcp80 enable_msvcp80
18189 wine_fn_config_dll msvcp90 enable_msvcp90
18190 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18191 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18192 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18193 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18194 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18195 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18196 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18197 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18198 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18199 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18200 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18201 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18202 wine_fn_config_dll msvcrt enable_msvcrt implib
18203 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18204 wine_fn_config_dll msvcrt20 enable_msvcrt20
18205 wine_fn_config_dll msvcrt40 enable_msvcrt40
18206 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18207 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18208 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18209 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18210 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18211 wine_fn_config_dll msvideo.dll16 enable_win16
18212 wine_fn_config_dll mswsock enable_mswsock implib
18213 wine_fn_config_dll msxml enable_msxml clean
18214 wine_fn_config_dll msxml2 enable_msxml2 clean
18215 wine_fn_config_dll msxml3 enable_msxml3 clean
18216 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18217 wine_fn_config_dll msxml4 enable_msxml4 clean
18218 wine_fn_config_dll msxml6 enable_msxml6 clean
18219 wine_fn_config_dll mtxdm enable_mtxdm
18220 wine_fn_config_dll ncrypt enable_ncrypt
18221 wine_fn_config_dll nddeapi enable_nddeapi implib
18222 wine_fn_config_dll ndis.sys enable_ndis_sys
18223 wine_fn_config_dll netapi32 enable_netapi32 implib
18224 wine_fn_config_test dlls/netapi32/tests netapi32_test
18225 wine_fn_config_dll netcfgx enable_netcfgx clean
18226 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18227 wine_fn_config_dll netprofm enable_netprofm clean
18228 wine_fn_config_test dlls/netprofm/tests netprofm_test
18229 wine_fn_config_dll newdev enable_newdev implib
18230 wine_fn_config_dll normaliz enable_normaliz implib
18231 wine_fn_config_dll npmshtml enable_npmshtml
18232 wine_fn_config_dll npptools enable_npptools
18233 wine_fn_config_dll ntdll enable_ntdll implib
18234 wine_fn_config_test dlls/ntdll/tests ntdll_test
18235 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18236 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18237 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18238 wine_fn_config_dll ntprint enable_ntprint
18239 wine_fn_config_test dlls/ntprint/tests ntprint_test
18240 wine_fn_config_dll objsel enable_objsel clean
18241 wine_fn_config_dll odbc32 enable_odbc32 implib
18242 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18243 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18244 wine_fn_config_dll odbccu32 enable_odbccu32
18245 wine_fn_config_dll ole2.dll16 enable_win16
18246 wine_fn_config_dll ole2conv.dll16 enable_win16
18247 wine_fn_config_dll ole2disp.dll16 enable_win16
18248 wine_fn_config_dll ole2nls.dll16 enable_win16
18249 wine_fn_config_dll ole2prox.dll16 enable_win16
18250 wine_fn_config_dll ole2thk.dll16 enable_win16
18251 wine_fn_config_dll ole32 enable_ole32 clean,implib
18252 wine_fn_config_test dlls/ole32/tests ole32_test
18253 wine_fn_config_dll oleacc enable_oleacc clean,implib
18254 wine_fn_config_test dlls/oleacc/tests oleacc_test
18255 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18256 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18257 wine_fn_config_dll olecli.dll16 enable_win16
18258 wine_fn_config_dll olecli32 enable_olecli32 implib
18259 wine_fn_config_dll oledb32 enable_oledb32 clean
18260 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18261 wine_fn_config_dll oledlg enable_oledlg clean,implib
18262 wine_fn_config_test dlls/oledlg/tests oledlg_test
18263 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18264 wine_fn_config_dll olesvr.dll16 enable_win16
18265 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18266 wine_fn_config_dll olethk32 enable_olethk32
18267 wine_fn_config_dll openal32 enable_openal32
18268 wine_fn_config_dll opencl enable_opencl
18269 wine_fn_config_dll opengl32 enable_opengl32 implib
18270 wine_fn_config_test dlls/opengl32/tests opengl32_test
18271 wine_fn_config_dll packager enable_packager clean
18272 wine_fn_config_test dlls/packager/tests packager_test
18273 wine_fn_config_dll pdh enable_pdh implib
18274 wine_fn_config_test dlls/pdh/tests pdh_test
18275 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18276 wine_fn_config_dll pidgen enable_pidgen
18277 wine_fn_config_dll powrprof enable_powrprof implib
18278 wine_fn_config_dll printui enable_printui
18279 wine_fn_config_dll prntvpt enable_prntvpt
18280 wine_fn_config_dll propsys enable_propsys clean,implib
18281 wine_fn_config_test dlls/propsys/tests propsys_test
18282 wine_fn_config_dll psapi enable_psapi implib
18283 wine_fn_config_test dlls/psapi/tests psapi_test
18284 wine_fn_config_dll pstorec enable_pstorec clean
18285 wine_fn_config_test dlls/pstorec/tests pstorec_test
18286 wine_fn_config_dll qcap enable_qcap
18287 wine_fn_config_test dlls/qcap/tests qcap_test
18288 wine_fn_config_dll qedit enable_qedit clean
18289 wine_fn_config_test dlls/qedit/tests qedit_test
18290 wine_fn_config_dll qmgr enable_qmgr clean
18291 wine_fn_config_test dlls/qmgr/tests qmgr_test
18292 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18293 wine_fn_config_dll quartz enable_quartz clean,implib
18294 wine_fn_config_test dlls/quartz/tests quartz_test clean
18295 wine_fn_config_dll query enable_query
18296 wine_fn_config_dll rasapi16.dll16 enable_win16
18297 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18298 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18299 wine_fn_config_dll rasdlg enable_rasdlg implib
18300 wine_fn_config_dll regapi enable_regapi
18301 wine_fn_config_dll resutils enable_resutils implib
18302 wine_fn_config_dll riched20 enable_riched20 clean,implib
18303 wine_fn_config_test dlls/riched20/tests riched20_test
18304 wine_fn_config_dll riched32 enable_riched32
18305 wine_fn_config_test dlls/riched32/tests riched32_test
18306 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18307 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18308 wine_fn_config_dll rsabase enable_rsabase
18309 wine_fn_config_dll rsaenh enable_rsaenh implib
18310 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18311 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18312 wine_fn_config_dll rtutils enable_rtutils implib
18313 wine_fn_config_dll samlib enable_samlib
18314 wine_fn_config_dll sane.ds enable_sane_ds clean
18315 wine_fn_config_dll scarddlg enable_scarddlg
18316 wine_fn_config_dll sccbase enable_sccbase
18317 wine_fn_config_dll schannel enable_schannel
18318 wine_fn_config_test dlls/schannel/tests schannel_test
18319 wine_fn_config_dll schedsvc enable_schedsvc clean
18320 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18321 wine_fn_config_dll scrobj enable_scrobj clean
18322 wine_fn_config_dll scrrun enable_scrrun clean
18323 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18324 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18325 wine_fn_config_dll secur32 enable_secur32 implib
18326 wine_fn_config_test dlls/secur32/tests secur32_test
18327 wine_fn_config_dll security enable_security
18328 wine_fn_config_dll sensapi enable_sensapi implib
18329 wine_fn_config_dll serialui enable_serialui clean
18330 wine_fn_config_test dlls/serialui/tests serialui_test
18331 wine_fn_config_dll setupapi enable_setupapi clean,implib
18332 wine_fn_config_test dlls/setupapi/tests setupapi_test
18333 wine_fn_config_dll setupx.dll16 enable_win16
18334 wine_fn_config_dll sfc enable_sfc implib
18335 wine_fn_config_dll sfc_os enable_sfc_os implib
18336 wine_fn_config_dll shdoclc enable_shdoclc clean
18337 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18338 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18339 wine_fn_config_dll shell.dll16 enable_win16
18340 wine_fn_config_dll shell32 enable_shell32 clean,implib
18341 wine_fn_config_test dlls/shell32/tests shell32_test
18342 wine_fn_config_dll shfolder enable_shfolder implib
18343 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18344 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18345 wine_fn_config_dll slbcsp enable_slbcsp
18346 wine_fn_config_dll slc enable_slc implib
18347 wine_fn_config_test dlls/slc/tests slc_test
18348 wine_fn_config_dll snmpapi enable_snmpapi implib
18349 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18350 wine_fn_config_dll softpub enable_softpub
18351 wine_fn_config_dll sound.drv16 enable_win16
18352 wine_fn_config_dll spoolss enable_spoolss implib
18353 wine_fn_config_test dlls/spoolss/tests spoolss_test
18354 wine_fn_config_dll sspicli enable_sspicli
18355 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18356 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18357 wine_fn_config_dll sti enable_sti clean,implib
18358 wine_fn_config_test dlls/sti/tests sti_test
18359 wine_fn_config_dll storage.dll16 enable_win16
18360 wine_fn_config_dll stress.dll16 enable_win16
18361 wine_fn_config_lib strmbase
18362 wine_fn_config_lib strmiids
18363 wine_fn_config_dll svrapi enable_svrapi
18364 wine_fn_config_dll sxs enable_sxs implib
18365 wine_fn_config_test dlls/sxs/tests sxs_test
18366 wine_fn_config_dll system.drv16 enable_win16
18367 wine_fn_config_dll t2embed enable_t2embed implib
18368 wine_fn_config_test dlls/t2embed/tests t2embed_test
18369 wine_fn_config_dll tapi32 enable_tapi32 implib
18370 wine_fn_config_dll taskschd enable_taskschd clean
18371 wine_fn_config_test dlls/taskschd/tests taskschd_test
18372 wine_fn_config_dll tdi.sys enable_tdi_sys
18373 wine_fn_config_dll toolhelp.dll16 enable_win16
18374 wine_fn_config_dll traffic enable_traffic
18375 wine_fn_config_dll twain.dll16 enable_win16
18376 wine_fn_config_dll twain_32 enable_twain_32
18377 wine_fn_config_test dlls/twain_32/tests twain_32_test
18378 wine_fn_config_dll typelib.dll16 enable_win16
18379 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18380 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18381 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18382 wine_fn_config_dll unicows enable_unicows implib
18383 wine_fn_config_dll updspapi enable_updspapi
18384 wine_fn_config_dll url enable_url implib
18385 wine_fn_config_dll urlmon enable_urlmon clean,implib
18386 wine_fn_config_test dlls/urlmon/tests urlmon_test
18387 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18388 wine_fn_config_dll user.exe16 enable_win16
18389 wine_fn_config_dll user32 enable_user32 clean,implib
18390 wine_fn_config_test dlls/user32/tests user32_test
18391 wine_fn_config_dll userenv enable_userenv implib
18392 wine_fn_config_test dlls/userenv/tests userenv_test
18393 wine_fn_config_dll usp10 enable_usp10 implib
18394 wine_fn_config_test dlls/usp10/tests usp10_test
18395 wine_fn_config_lib uuid
18396 wine_fn_config_dll uxtheme enable_uxtheme implib
18397 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18398 wine_fn_config_dll vbscript enable_vbscript clean
18399 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18400 wine_fn_config_dll vcomp enable_vcomp
18401 wine_fn_config_test dlls/vcomp/tests vcomp_test
18402 wine_fn_config_dll vcomp100 enable_vcomp100
18403 wine_fn_config_dll vcomp110 enable_vcomp110
18404 wine_fn_config_dll vcomp120 enable_vcomp120
18405 wine_fn_config_dll vcomp140 enable_vcomp140
18406 wine_fn_config_dll vcomp90 enable_vcomp90
18407 wine_fn_config_dll vcruntime140 enable_vcruntime140
18408 wine_fn_config_dll vdhcp.vxd enable_win16
18409 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18410 wine_fn_config_dll ver.dll16 enable_win16
18411 wine_fn_config_dll version enable_version implib
18412 wine_fn_config_test dlls/version/tests version_test
18413 wine_fn_config_dll virtdisk enable_virtdisk
18414 wine_fn_config_dll vmm.vxd enable_win16
18415 wine_fn_config_dll vnbt.vxd enable_win16
18416 wine_fn_config_dll vnetbios.vxd enable_win16
18417 wine_fn_config_dll vssapi enable_vssapi
18418 wine_fn_config_dll vtdapi.vxd enable_win16
18419 wine_fn_config_dll vwin32.vxd enable_win16
18420 wine_fn_config_dll w32skrnl enable_win16
18421 wine_fn_config_dll w32sys.dll16 enable_win16
18422 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18423 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18424 wine_fn_config_dll wbemprox enable_wbemprox clean
18425 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18426 wine_fn_config_dll webservices enable_webservices implib
18427 wine_fn_config_test dlls/webservices/tests webservices_test
18428 wine_fn_config_dll wer enable_wer implib
18429 wine_fn_config_test dlls/wer/tests wer_test
18430 wine_fn_config_dll wevtapi enable_wevtapi
18431 wine_fn_config_dll wiaservc enable_wiaservc clean
18432 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18433 wine_fn_config_dll wimgapi enable_wimgapi
18434 wine_fn_config_dll win32s16.dll16 enable_win16
18435 wine_fn_config_dll win87em.dll16 enable_win16
18436 wine_fn_config_dll winaspi.dll16 enable_win16
18437 wine_fn_config_dll windebug.dll16 enable_win16
18438 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18439 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18440 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18441 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18442 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18443 wine_fn_config_dll winebus.sys enable_winebus_sys
18444 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18445 wine_fn_config_lib winecrt0
18446 wine_fn_config_dll wined3d enable_wined3d implib
18447 wine_fn_config_dll winegstreamer enable_winegstreamer
18448 wine_fn_config_dll winehid.sys enable_winehid_sys
18449 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18450 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18451 wine_fn_config_dll winemapi enable_winemapi
18452 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18453 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18454 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18455 wine_fn_config_dll wineps16.drv16 enable_win16
18456 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18457 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18458 wine_fn_config_dll winex11.drv enable_winex11_drv
18459 wine_fn_config_dll wing.dll16 enable_win16
18460 wine_fn_config_dll wing32 enable_wing32
18461 wine_fn_config_dll winhttp enable_winhttp clean,implib
18462 wine_fn_config_test dlls/winhttp/tests winhttp_test
18463 wine_fn_config_dll wininet enable_wininet clean,implib
18464 wine_fn_config_test dlls/wininet/tests wininet_test
18465 wine_fn_config_dll winmm enable_winmm clean,implib
18466 wine_fn_config_test dlls/winmm/tests winmm_test
18467 wine_fn_config_dll winnls.dll16 enable_win16
18468 wine_fn_config_dll winnls32 enable_winnls32 implib
18469 wine_fn_config_dll winscard enable_winscard implib
18470 wine_fn_config_dll winsock.dll16 enable_win16
18471 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18472 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18473 wine_fn_config_dll winsta enable_winsta
18474 wine_fn_config_dll wintab.dll16 enable_win16
18475 wine_fn_config_dll wintab32 enable_wintab32 implib
18476 wine_fn_config_test dlls/wintab32/tests wintab32_test
18477 wine_fn_config_dll wintrust enable_wintrust implib
18478 wine_fn_config_test dlls/wintrust/tests wintrust_test
18479 wine_fn_config_dll winusb enable_winusb
18480 wine_fn_config_dll wlanapi enable_wlanapi implib
18481 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18482 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18483 wine_fn_config_test dlls/wldap32/tests wldap32_test
18484 wine_fn_config_dll wmasf enable_wmasf
18485 wine_fn_config_dll wmi enable_wmi
18486 wine_fn_config_dll wmiutils enable_wmiutils clean
18487 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18488 wine_fn_config_dll wmp enable_wmp clean
18489 wine_fn_config_test dlls/wmp/tests wmp_test
18490 wine_fn_config_dll wmvcore enable_wmvcore implib
18491 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18492 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18493 wine_fn_config_dll wow32 enable_win16 implib
18494 wine_fn_config_dll wpc enable_wpc clean
18495 wine_fn_config_test dlls/wpc/tests wpc_test
18496 wine_fn_config_dll wpcap enable_wpcap
18497 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18498 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18499 wine_fn_config_dll wsdapi enable_wsdapi implib
18500 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18501 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18502 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18503 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18504 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18505 wine_fn_config_dll wsock32 enable_wsock32 implib
18506 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18507 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18508 wine_fn_config_dll wuapi enable_wuapi clean
18509 wine_fn_config_dll wuaueng enable_wuaueng
18510 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18511 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18512 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18513 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18514 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18515 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18516 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18517 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18518 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18519 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18520 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18521 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18522 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18523 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18524 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18525 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18526 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18527 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18528 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18529 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18530 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18531 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18532 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18533 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18534 wine_fn_config_dll xinput1_1 enable_xinput1_1
18535 wine_fn_config_dll xinput1_2 enable_xinput1_2
18536 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18537 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18538 wine_fn_config_dll xinput1_4 enable_xinput1_4
18539 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18540 wine_fn_config_dll xmllite enable_xmllite implib
18541 wine_fn_config_test dlls/xmllite/tests xmllite_test
18542 wine_fn_config_dll xolehlp enable_xolehlp
18543 wine_fn_config_dll xpsprint enable_xpsprint
18544 wine_fn_config_dll xpssvcs enable_xpssvcs
18545 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18546 wine_fn_config_makefile include enable_include clean,install-dev
18547 wine_fn_config_makefile libs/port enable_libs_port
18548 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18549 wine_fn_config_makefile libs/wpp enable_libs_wpp
18550 wine_fn_config_makefile loader enable_loader clean,install-lib
18551 wine_fn_config_makefile po enable_po clean
18552 wine_fn_config_program arp enable_arp install
18553 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18554 wine_fn_config_program attrib enable_attrib clean,install
18555 wine_fn_config_program cabarc enable_cabarc install
18556 wine_fn_config_program cacls enable_cacls install
18557 wine_fn_config_program clock enable_clock clean,install
18558 wine_fn_config_program cmd enable_cmd clean,install
18559 wine_fn_config_test programs/cmd/tests cmd.exe_test
18560 wine_fn_config_program conhost enable_conhost install
18561 wine_fn_config_program control enable_control install
18562 wine_fn_config_program cscript enable_cscript clean,install
18563 wine_fn_config_program dpnsvr enable_dpnsvr install
18564 wine_fn_config_program dxdiag enable_dxdiag clean,install
18565 wine_fn_config_program eject enable_eject install
18566 wine_fn_config_program expand enable_expand install
18567 wine_fn_config_program explorer enable_explorer clean,install
18568 wine_fn_config_program extrac32 enable_extrac32 install
18569 wine_fn_config_program findstr enable_findstr install
18570 wine_fn_config_program fsutil enable_fsutil install
18571 wine_fn_config_program hh enable_hh install
18572 wine_fn_config_program hostname enable_hostname clean,install
18573 wine_fn_config_program icacls enable_icacls install
18574 wine_fn_config_program icinfo enable_icinfo install
18575 wine_fn_config_program iexplore enable_iexplore install
18576 wine_fn_config_program ipconfig enable_ipconfig clean,install
18577 wine_fn_config_program lodctr enable_lodctr install
18578 wine_fn_config_program mofcomp enable_mofcomp install
18579 wine_fn_config_program mshta enable_mshta install
18580 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18581 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18582 wine_fn_config_program net enable_net clean,install
18583 wine_fn_config_program netsh enable_netsh install
18584 wine_fn_config_program netstat enable_netstat clean,install
18585 wine_fn_config_program ngen enable_ngen install
18586 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18587 wine_fn_config_program oleview enable_oleview clean,install
18588 wine_fn_config_program ping enable_ping install
18589 wine_fn_config_program plugplay enable_plugplay install
18590 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18591 wine_fn_config_program progman enable_progman clean,install
18592 wine_fn_config_program reg enable_reg clean,install
18593 wine_fn_config_test programs/reg/tests reg.exe_test
18594 wine_fn_config_program regasm enable_regasm install
18595 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18596 wine_fn_config_test programs/regedit/tests regedit.exe_test
18597 wine_fn_config_program regsvcs enable_regsvcs install
18598 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18599 wine_fn_config_program rpcss enable_rpcss clean,install
18600 wine_fn_config_program rundll.exe16 enable_win16 install
18601 wine_fn_config_program rundll32 enable_rundll32 install
18602 wine_fn_config_program sc enable_sc install
18603 wine_fn_config_program schtasks enable_schtasks install
18604 wine_fn_config_program sdbinst enable_sdbinst install
18605 wine_fn_config_program secedit enable_secedit install
18606 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18607 wine_fn_config_program services enable_services clean,install
18608 wine_fn_config_test programs/services/tests services.exe_test
18609 wine_fn_config_program shutdown enable_shutdown install
18610 wine_fn_config_program spoolsv enable_spoolsv install
18611 wine_fn_config_program start enable_start clean,install
18612 wine_fn_config_program subst enable_subst install
18613 wine_fn_config_program svchost enable_svchost install
18614 wine_fn_config_program systeminfo enable_systeminfo install
18615 wine_fn_config_program taskkill enable_taskkill clean,install
18616 wine_fn_config_program tasklist enable_tasklist install
18617 wine_fn_config_program taskmgr enable_taskmgr clean,install
18618 wine_fn_config_program termsv enable_termsv install
18619 wine_fn_config_program uninstaller enable_uninstaller clean,install
18620 wine_fn_config_program unlodctr enable_unlodctr install
18621 wine_fn_config_program view enable_view clean,install
18622 wine_fn_config_program wevtutil enable_wevtutil install
18623 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18624 wine_fn_config_program winebrowser enable_winebrowser install
18625 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18626 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18627 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18628 wine_fn_config_program winedevice enable_winedevice install
18629 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18630 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18631 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18632 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18633 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18634 wine_fn_config_program winetest enable_winetest clean
18635 wine_fn_config_program winevdm enable_win16 install
18636 wine_fn_config_program winhelp.exe16 enable_win16 install
18637 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18638 wine_fn_config_program winoldap.mod16 enable_win16 install
18639 wine_fn_config_program winver enable_winver install
18640 wine_fn_config_program wmic enable_wmic clean,install
18641 wine_fn_config_program wmplayer enable_wmplayer install
18642 wine_fn_config_program wordpad enable_wordpad clean,install
18643 wine_fn_config_program write enable_write clean,install
18644 wine_fn_config_program wscript enable_wscript clean,install
18645 wine_fn_config_test programs/wscript/tests wscript.exe_test
18646 wine_fn_config_program wusa enable_wusa install
18647 wine_fn_config_program xcopy enable_xcopy clean,install
18648 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18649 wine_fn_config_makefile server enable_server clean,install-lib
18650 wine_fn_config_tool tools clean
18651 wine_fn_config_tool tools/sfnt2fon clean
18652 wine_fn_config_tool tools/widl clean,install-dev
18653 wine_fn_config_tool tools/winebuild clean,install-dev
18654 wine_fn_config_tool tools/winedump clean,install-dev
18655 wine_fn_config_tool tools/winegcc clean,install-dev
18656 wine_fn_config_tool tools/winemaker clean,install-dev
18657 wine_fn_config_tool tools/wmc clean,install-dev
18658 wine_fn_config_tool tools/wrc clean,install-dev
18661 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18662 wine_fn_append_file CONFIGURE_TARGETS "tags"
18663 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18664 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18665 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18666 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18667 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18668 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18670 if test "x$enable_tools" != xno
18671 then
18672 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18673 ac_config_commands="$ac_config_commands tools/makedep"
18677 ac_config_commands="$ac_config_commands Makefile"
18680 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18684 if test "x$enable_maintainer_mode" = xyes
18685 then
18686 wine_fn_append_rule "configure: configure.ac aclocal.m4
18687 autoconf --warnings=all
18688 include/config.h.in: include/stamp-h.in
18689 include/stamp-h.in: configure.ac aclocal.m4
18690 autoheader --warnings=all
18691 @echo timestamp > \$@"
18694 if test "x$enable_tools" != xno
18695 then
18696 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18697 @./config.status tools/makedep
18698 Makefile: tools/makedep$ac_exeext"
18699 else
18700 wine_fn_append_rule "\$(MAKEDEP):
18701 @echo \"You need to run make in $TOOLSDIR first\" && false"
18704 if test -n "$with_wine64"
18705 then
18706 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18707 fonts server:
18708 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18709 $with_wine64/loader/wine:
18710 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18711 $with_wine64/loader/wine-preloader:
18712 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18713 clean::
18714 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18715 else
18716 WINELOADER_INSTALL="wine.inf"
18718 wine_fn_append_rule "install install-lib::
18719 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18720 uninstall::
18721 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18722 case $host_os in
18723 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18724 *) wine_fn_append_rule "install install-lib::
18725 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18726 uninstall::
18727 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18728 esac
18731 $as_echo " done" >&6
18732 cat >confcache <<\_ACEOF
18733 # This file is a shell script that caches the results of configure
18734 # tests run on this system so they can be shared between configure
18735 # scripts and configure runs, see configure's option --config-cache.
18736 # It is not useful on other systems. If it contains results you don't
18737 # want to keep, you may remove or edit it.
18739 # config.status only pays attention to the cache file if you give it
18740 # the --recheck option to rerun configure.
18742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18744 # following values.
18746 _ACEOF
18748 # The following way of writing the cache mishandles newlines in values,
18749 # but we know of no workaround that is simple, portable, and efficient.
18750 # So, we kill variables containing newlines.
18751 # Ultrix sh set writes to stderr and can't be redirected directly,
18752 # and sets the high bit in the cache file unless we assign to the vars.
18754 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18755 eval ac_val=\$$ac_var
18756 case $ac_val in #(
18757 *${as_nl}*)
18758 case $ac_var in #(
18759 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18760 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18761 esac
18762 case $ac_var in #(
18763 _ | IFS | as_nl) ;; #(
18764 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18765 *) { eval $ac_var=; unset $ac_var;} ;;
18766 esac ;;
18767 esac
18768 done
18770 (set) 2>&1 |
18771 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18772 *${as_nl}ac_space=\ *)
18773 # `set' does not quote correctly, so add quotes: double-quote
18774 # substitution turns \\\\ into \\, and sed turns \\ into \.
18775 sed -n \
18776 "s/'/'\\\\''/g;
18777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18778 ;; #(
18780 # `set' quotes correctly as required by POSIX, so do not add quotes.
18781 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18783 esac |
18784 sort
18786 sed '
18787 /^ac_cv_env_/b end
18788 t clear
18789 :clear
18790 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18791 t end
18792 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18793 :end' >>confcache
18794 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18795 if test -w "$cache_file"; then
18796 if test "x$cache_file" != "x/dev/null"; then
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18798 $as_echo "$as_me: updating cache $cache_file" >&6;}
18799 if test ! -f "$cache_file" || test -h "$cache_file"; then
18800 cat confcache >"$cache_file"
18801 else
18802 case $cache_file in #(
18803 */* | ?:*)
18804 mv -f confcache "$cache_file"$$ &&
18805 mv -f "$cache_file"$$ "$cache_file" ;; #(
18807 mv -f confcache "$cache_file" ;;
18808 esac
18811 else
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18813 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18816 rm -f confcache
18818 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18819 # Let make expand exec_prefix.
18820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18822 DEFS=-DHAVE_CONFIG_H
18824 ac_libobjs=
18825 ac_ltlibobjs=
18827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18828 # 1. Remove the extension, and $U if already installed.
18829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18830 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18832 # will be set to the directory where LIBOBJS objects are built.
18833 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18834 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18835 done
18836 LIBOBJS=$ac_libobjs
18838 LTLIBOBJS=$ac_ltlibobjs
18842 : "${CONFIG_STATUS=./config.status}"
18843 ac_write_fail=0
18844 ac_clean_files_save=$ac_clean_files
18845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18847 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18848 as_write_fail=0
18849 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18850 #! $SHELL
18851 # Generated by $as_me.
18852 # Run this file to recreate the current configuration.
18853 # Compiler output produced by configure, useful for debugging
18854 # configure, is in config.log if it exists.
18856 debug=false
18857 ac_cs_recheck=false
18858 ac_cs_silent=false
18860 SHELL=\${CONFIG_SHELL-$SHELL}
18861 export SHELL
18862 _ASEOF
18863 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18864 ## -------------------- ##
18865 ## M4sh Initialization. ##
18866 ## -------------------- ##
18868 # Be more Bourne compatible
18869 DUALCASE=1; export DUALCASE # for MKS sh
18870 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18871 emulate sh
18872 NULLCMD=:
18873 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18874 # is contrary to our usage. Disable this feature.
18875 alias -g '${1+"$@"}'='"$@"'
18876 setopt NO_GLOB_SUBST
18877 else
18878 case `(set -o) 2>/dev/null` in #(
18879 *posix*) :
18880 set -o posix ;; #(
18881 *) :
18883 esac
18887 as_nl='
18889 export as_nl
18890 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18891 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18894 # Prefer a ksh shell builtin over an external printf program on Solaris,
18895 # but without wasting forks for bash or zsh.
18896 if test -z "$BASH_VERSION$ZSH_VERSION" \
18897 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18898 as_echo='print -r --'
18899 as_echo_n='print -rn --'
18900 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18901 as_echo='printf %s\n'
18902 as_echo_n='printf %s'
18903 else
18904 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18905 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18906 as_echo_n='/usr/ucb/echo -n'
18907 else
18908 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18909 as_echo_n_body='eval
18910 arg=$1;
18911 case $arg in #(
18912 *"$as_nl"*)
18913 expr "X$arg" : "X\\(.*\\)$as_nl";
18914 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18915 esac;
18916 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18918 export as_echo_n_body
18919 as_echo_n='sh -c $as_echo_n_body as_echo'
18921 export as_echo_body
18922 as_echo='sh -c $as_echo_body as_echo'
18925 # The user is always right.
18926 if test "${PATH_SEPARATOR+set}" != set; then
18927 PATH_SEPARATOR=:
18928 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18929 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18930 PATH_SEPARATOR=';'
18935 # IFS
18936 # We need space, tab and new line, in precisely that order. Quoting is
18937 # there to prevent editors from complaining about space-tab.
18938 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18939 # splitting by setting IFS to empty value.)
18940 IFS=" "" $as_nl"
18942 # Find who we are. Look in the path if we contain no directory separator.
18943 as_myself=
18944 case $0 in #((
18945 *[\\/]* ) as_myself=$0 ;;
18946 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18947 for as_dir in $PATH
18949 IFS=$as_save_IFS
18950 test -z "$as_dir" && as_dir=.
18951 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18952 done
18953 IFS=$as_save_IFS
18956 esac
18957 # We did not find ourselves, most probably we were run as `sh COMMAND'
18958 # in which case we are not to be found in the path.
18959 if test "x$as_myself" = x; then
18960 as_myself=$0
18962 if test ! -f "$as_myself"; then
18963 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18964 exit 1
18967 # Unset variables that we do not need and which cause bugs (e.g. in
18968 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18969 # suppresses any "Segmentation fault" message there. '((' could
18970 # trigger a bug in pdksh 5.2.14.
18971 for as_var in BASH_ENV ENV MAIL MAILPATH
18972 do eval test x\${$as_var+set} = xset \
18973 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18974 done
18975 PS1='$ '
18976 PS2='> '
18977 PS4='+ '
18979 # NLS nuisances.
18980 LC_ALL=C
18981 export LC_ALL
18982 LANGUAGE=C
18983 export LANGUAGE
18985 # CDPATH.
18986 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18989 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18990 # ----------------------------------------
18991 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18992 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18993 # script with STATUS, using 1 if that was 0.
18994 as_fn_error ()
18996 as_status=$1; test $as_status -eq 0 && as_status=1
18997 if test "$4"; then
18998 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18999 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19001 $as_echo "$as_me: error: $2" >&2
19002 as_fn_exit $as_status
19003 } # as_fn_error
19006 # as_fn_set_status STATUS
19007 # -----------------------
19008 # Set $? to STATUS, without forking.
19009 as_fn_set_status ()
19011 return $1
19012 } # as_fn_set_status
19014 # as_fn_exit STATUS
19015 # -----------------
19016 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19017 as_fn_exit ()
19019 set +e
19020 as_fn_set_status $1
19021 exit $1
19022 } # as_fn_exit
19024 # as_fn_unset VAR
19025 # ---------------
19026 # Portably unset VAR.
19027 as_fn_unset ()
19029 { eval $1=; unset $1;}
19031 as_unset=as_fn_unset
19032 # as_fn_append VAR VALUE
19033 # ----------------------
19034 # Append the text in VALUE to the end of the definition contained in VAR. Take
19035 # advantage of any shell optimizations that allow amortized linear growth over
19036 # repeated appends, instead of the typical quadratic growth present in naive
19037 # implementations.
19038 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19039 eval 'as_fn_append ()
19041 eval $1+=\$2
19043 else
19044 as_fn_append ()
19046 eval $1=\$$1\$2
19048 fi # as_fn_append
19050 # as_fn_arith ARG...
19051 # ------------------
19052 # Perform arithmetic evaluation on the ARGs, and store the result in the
19053 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19054 # must be portable across $(()) and expr.
19055 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19056 eval 'as_fn_arith ()
19058 as_val=$(( $* ))
19060 else
19061 as_fn_arith ()
19063 as_val=`expr "$@" || test $? -eq 1`
19065 fi # as_fn_arith
19068 if expr a : '\(a\)' >/dev/null 2>&1 &&
19069 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19070 as_expr=expr
19071 else
19072 as_expr=false
19075 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19076 as_basename=basename
19077 else
19078 as_basename=false
19081 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19082 as_dirname=dirname
19083 else
19084 as_dirname=false
19087 as_me=`$as_basename -- "$0" ||
19088 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19089 X"$0" : 'X\(//\)$' \| \
19090 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19091 $as_echo X/"$0" |
19092 sed '/^.*\/\([^/][^/]*\)\/*$/{
19093 s//\1/
19096 /^X\/\(\/\/\)$/{
19097 s//\1/
19100 /^X\/\(\/\).*/{
19101 s//\1/
19104 s/.*/./; q'`
19106 # Avoid depending upon Character Ranges.
19107 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19108 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19109 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19110 as_cr_digits='0123456789'
19111 as_cr_alnum=$as_cr_Letters$as_cr_digits
19113 ECHO_C= ECHO_N= ECHO_T=
19114 case `echo -n x` in #(((((
19115 -n*)
19116 case `echo 'xy\c'` in
19117 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19118 xy) ECHO_C='\c';;
19119 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19120 ECHO_T=' ';;
19121 esac;;
19123 ECHO_N='-n';;
19124 esac
19126 rm -f conf$$ conf$$.exe conf$$.file
19127 if test -d conf$$.dir; then
19128 rm -f conf$$.dir/conf$$.file
19129 else
19130 rm -f conf$$.dir
19131 mkdir conf$$.dir 2>/dev/null
19133 if (echo >conf$$.file) 2>/dev/null; then
19134 if ln -s conf$$.file conf$$ 2>/dev/null; then
19135 as_ln_s='ln -s'
19136 # ... but there are two gotchas:
19137 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19138 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19139 # In both cases, we have to default to `cp -pR'.
19140 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19141 as_ln_s='cp -pR'
19142 elif ln conf$$.file conf$$ 2>/dev/null; then
19143 as_ln_s=ln
19144 else
19145 as_ln_s='cp -pR'
19147 else
19148 as_ln_s='cp -pR'
19150 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19151 rmdir conf$$.dir 2>/dev/null
19154 # as_fn_mkdir_p
19155 # -------------
19156 # Create "$as_dir" as a directory, including parents if necessary.
19157 as_fn_mkdir_p ()
19160 case $as_dir in #(
19161 -*) as_dir=./$as_dir;;
19162 esac
19163 test -d "$as_dir" || eval $as_mkdir_p || {
19164 as_dirs=
19165 while :; do
19166 case $as_dir in #(
19167 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19168 *) as_qdir=$as_dir;;
19169 esac
19170 as_dirs="'$as_qdir' $as_dirs"
19171 as_dir=`$as_dirname -- "$as_dir" ||
19172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19173 X"$as_dir" : 'X\(//\)[^/]' \| \
19174 X"$as_dir" : 'X\(//\)$' \| \
19175 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19176 $as_echo X"$as_dir" |
19177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19178 s//\1/
19181 /^X\(\/\/\)[^/].*/{
19182 s//\1/
19185 /^X\(\/\/\)$/{
19186 s//\1/
19189 /^X\(\/\).*/{
19190 s//\1/
19193 s/.*/./; q'`
19194 test -d "$as_dir" && break
19195 done
19196 test -z "$as_dirs" || eval "mkdir $as_dirs"
19197 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19200 } # as_fn_mkdir_p
19201 if mkdir -p . 2>/dev/null; then
19202 as_mkdir_p='mkdir -p "$as_dir"'
19203 else
19204 test -d ./-p && rmdir ./-p
19205 as_mkdir_p=false
19209 # as_fn_executable_p FILE
19210 # -----------------------
19211 # Test if FILE is an executable regular file.
19212 as_fn_executable_p ()
19214 test -f "$1" && test -x "$1"
19215 } # as_fn_executable_p
19216 as_test_x='test -x'
19217 as_executable_p=as_fn_executable_p
19219 # Sed expression to map a string onto a valid CPP name.
19220 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19222 # Sed expression to map a string onto a valid variable name.
19223 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19226 exec 6>&1
19227 ## ----------------------------------- ##
19228 ## Main body of $CONFIG_STATUS script. ##
19229 ## ----------------------------------- ##
19230 _ASEOF
19231 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19234 # Save the log message, to keep $0 and so on meaningful, and to
19235 # report actual input values of CONFIG_FILES etc. instead of their
19236 # values after options handling.
19237 ac_log="
19238 This file was extended by Wine $as_me 2.6, which was
19239 generated by GNU Autoconf 2.69. Invocation command line was
19241 CONFIG_FILES = $CONFIG_FILES
19242 CONFIG_HEADERS = $CONFIG_HEADERS
19243 CONFIG_LINKS = $CONFIG_LINKS
19244 CONFIG_COMMANDS = $CONFIG_COMMANDS
19245 $ $0 $@
19247 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19250 _ACEOF
19252 case $ac_config_files in *"
19253 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19254 esac
19256 case $ac_config_headers in *"
19257 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19258 esac
19261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19262 # Files that config.status was made for.
19263 config_files="$ac_config_files"
19264 config_headers="$ac_config_headers"
19265 config_links="$ac_config_links"
19266 config_commands="$ac_config_commands"
19268 _ACEOF
19270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19271 ac_cs_usage="\
19272 \`$as_me' instantiates files and other configuration actions
19273 from templates according to the current configuration. Unless the files
19274 and actions are specified as TAGs, all are instantiated by default.
19276 Usage: $0 [OPTION]... [TAG]...
19278 -h, --help print this help, then exit
19279 -V, --version print version number and configuration settings, then exit
19280 --config print configuration, then exit
19281 -q, --quiet, --silent
19282 do not print progress messages
19283 -d, --debug don't remove temporary files
19284 --recheck update $as_me by reconfiguring in the same conditions
19285 --file=FILE[:TEMPLATE]
19286 instantiate the configuration file FILE
19287 --header=FILE[:TEMPLATE]
19288 instantiate the configuration header FILE
19290 Configuration files:
19291 $config_files
19293 Configuration headers:
19294 $config_headers
19296 Configuration links:
19297 $config_links
19299 Configuration commands:
19300 $config_commands
19302 Report bugs to <wine-devel@winehq.org>.
19303 Wine home page: <http://www.winehq.org>."
19305 _ACEOF
19306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19307 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19308 ac_cs_version="\\
19309 Wine config.status 2.6
19310 configured by $0, generated by GNU Autoconf 2.69,
19311 with options \\"\$ac_cs_config\\"
19313 Copyright (C) 2012 Free Software Foundation, Inc.
19314 This config.status script is free software; the Free Software Foundation
19315 gives unlimited permission to copy, distribute and modify it."
19317 ac_pwd='$ac_pwd'
19318 srcdir='$srcdir'
19319 test -n "\$AWK" || AWK=awk
19320 _ACEOF
19322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19323 # The default lists apply if the user does not specify any file.
19324 ac_need_defaults=:
19325 while test $# != 0
19327 case $1 in
19328 --*=?*)
19329 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19330 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19331 ac_shift=:
19333 --*=)
19334 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19335 ac_optarg=
19336 ac_shift=:
19339 ac_option=$1
19340 ac_optarg=$2
19341 ac_shift=shift
19343 esac
19345 case $ac_option in
19346 # Handling of the options.
19347 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19348 ac_cs_recheck=: ;;
19349 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19350 $as_echo "$ac_cs_version"; exit ;;
19351 --config | --confi | --conf | --con | --co | --c )
19352 $as_echo "$ac_cs_config"; exit ;;
19353 --debug | --debu | --deb | --de | --d | -d )
19354 debug=: ;;
19355 --file | --fil | --fi | --f )
19356 $ac_shift
19357 case $ac_optarg in
19358 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19359 '') as_fn_error $? "missing file argument" ;;
19360 esac
19361 as_fn_append CONFIG_FILES " '$ac_optarg'"
19362 ac_need_defaults=false;;
19363 --header | --heade | --head | --hea )
19364 $ac_shift
19365 case $ac_optarg in
19366 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19367 esac
19368 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19369 ac_need_defaults=false;;
19370 --he | --h)
19371 # Conflict between --help and --header
19372 as_fn_error $? "ambiguous option: \`$1'
19373 Try \`$0 --help' for more information.";;
19374 --help | --hel | -h )
19375 $as_echo "$ac_cs_usage"; exit ;;
19376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19377 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19378 ac_cs_silent=: ;;
19380 # This is an error.
19381 -*) as_fn_error $? "unrecognized option: \`$1'
19382 Try \`$0 --help' for more information." ;;
19384 *) as_fn_append ac_config_targets " $1"
19385 ac_need_defaults=false ;;
19387 esac
19388 shift
19389 done
19391 ac_configure_extra_args=
19393 if $ac_cs_silent; then
19394 exec 6>/dev/null
19395 ac_configure_extra_args="$ac_configure_extra_args --silent"
19398 _ACEOF
19399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19400 if \$ac_cs_recheck; then
19401 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19402 shift
19403 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19404 CONFIG_SHELL='$SHELL'
19405 export CONFIG_SHELL
19406 exec "\$@"
19409 _ACEOF
19410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19411 exec 5>>config.log
19413 echo
19414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19415 ## Running $as_me. ##
19416 _ASBOX
19417 $as_echo "$ac_log"
19418 } >&5
19420 _ACEOF
19421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19423 # INIT-COMMANDS
19425 wine_fn_output_makedep ()
19427 as_dir=tools; as_fn_mkdir_p
19428 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19430 wine_fn_output_makefile ()
19432 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19433 `cat $wine_rules_file`
19434 _WINE_EOF
19435 as_fn_error $? "could not create Makefile" "$LINENO" 5
19438 _ACEOF
19440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19442 # Handling of arguments.
19443 for ac_config_target in $ac_config_targets
19445 case $ac_config_target in
19446 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19447 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19448 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19449 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19450 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19451 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19452 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19453 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19454 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19455 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19456 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19457 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19458 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19460 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19461 esac
19462 done
19465 # If the user did not use the arguments to specify the items to instantiate,
19466 # then the envvar interface is used. Set only those that are not.
19467 # We use the long form for the default assignment because of an extremely
19468 # bizarre bug on SunOS 4.1.3.
19469 if $ac_need_defaults; then
19470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19472 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19476 # Have a temporary directory for convenience. Make it in the build tree
19477 # simply because there is no reason against having it here, and in addition,
19478 # creating and moving files from /tmp can sometimes cause problems.
19479 # Hook for its removal unless debugging.
19480 # Note that there is a small window in which the directory will not be cleaned:
19481 # after its creation but before its name has been assigned to `$tmp'.
19482 $debug ||
19484 tmp= ac_tmp=
19485 trap 'exit_status=$?
19486 : "${ac_tmp:=$tmp}"
19487 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19489 trap 'as_fn_exit 1' 1 2 13 15
19491 # Create a (secure) tmp directory for tmp files.
19494 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19495 test -d "$tmp"
19496 } ||
19498 tmp=./conf$$-$RANDOM
19499 (umask 077 && mkdir "$tmp")
19500 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19501 ac_tmp=$tmp
19503 # Set up the scripts for CONFIG_FILES section.
19504 # No need to generate them if there are no CONFIG_FILES.
19505 # This happens for instance with `./config.status config.h'.
19506 if test -n "$CONFIG_FILES"; then
19509 ac_cr=`echo X | tr X '\015'`
19510 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19511 # But we know of no other shell where ac_cr would be empty at this
19512 # point, so we can use a bashism as a fallback.
19513 if test "x$ac_cr" = x; then
19514 eval ac_cr=\$\'\\r\'
19516 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19517 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19518 ac_cs_awk_cr='\\r'
19519 else
19520 ac_cs_awk_cr=$ac_cr
19523 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19524 _ACEOF
19528 echo "cat >conf$$subs.awk <<_ACEOF" &&
19529 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19530 echo "_ACEOF"
19531 } >conf$$subs.sh ||
19532 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19533 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19534 ac_delim='%!_!# '
19535 for ac_last_try in false false false false false :; do
19536 . ./conf$$subs.sh ||
19537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19539 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19540 if test $ac_delim_n = $ac_delim_num; then
19541 break
19542 elif $ac_last_try; then
19543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19544 else
19545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19547 done
19548 rm -f conf$$subs.sh
19550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19551 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19552 _ACEOF
19553 sed -n '
19555 s/^/S["/; s/!.*/"]=/
19558 s/^[^!]*!//
19559 :repl
19560 t repl
19561 s/'"$ac_delim"'$//
19562 t delim
19565 s/\(.\{148\}\)..*/\1/
19566 t more1
19567 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19570 b repl
19571 :more1
19572 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19575 s/.\{148\}//
19576 t nl
19577 :delim
19579 s/\(.\{148\}\)..*/\1/
19580 t more2
19581 s/["\\]/\\&/g; s/^/"/; s/$/"/
19584 :more2
19585 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19588 s/.\{148\}//
19589 t delim
19590 ' <conf$$subs.awk | sed '
19591 /^[^""]/{
19593 s/\n//
19595 ' >>$CONFIG_STATUS || ac_write_fail=1
19596 rm -f conf$$subs.awk
19597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19598 _ACAWK
19599 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19600 for (key in S) S_is_set[key] = 1
19601 FS = "\a"
19605 line = $ 0
19606 nfields = split(line, field, "@")
19607 substed = 0
19608 len = length(field[1])
19609 for (i = 2; i < nfields; i++) {
19610 key = field[i]
19611 keylen = length(key)
19612 if (S_is_set[key]) {
19613 value = S[key]
19614 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19615 len += length(value) + length(field[++i])
19616 substed = 1
19617 } else
19618 len += 1 + keylen
19621 print line
19624 _ACAWK
19625 _ACEOF
19626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19627 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19628 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19629 else
19631 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19632 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19633 _ACEOF
19635 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19636 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19637 # trailing colons and then remove the whole line if VPATH becomes empty
19638 # (actually we leave an empty line to preserve line numbers).
19639 if test "x$srcdir" = x.; then
19640 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19642 s///
19643 s/^/:/
19644 s/[ ]*$/:/
19645 s/:\$(srcdir):/:/g
19646 s/:\${srcdir}:/:/g
19647 s/:@srcdir@:/:/g
19648 s/^:*//
19649 s/:*$//
19651 s/\(=[ ]*\).*/\1/
19653 s/\n//
19654 s/^[^=]*=[ ]*$//
19658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19659 fi # test -n "$CONFIG_FILES"
19661 # Set up the scripts for CONFIG_HEADERS section.
19662 # No need to generate them if there are no CONFIG_HEADERS.
19663 # This happens for instance with `./config.status Makefile'.
19664 if test -n "$CONFIG_HEADERS"; then
19665 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19666 BEGIN {
19667 _ACEOF
19669 # Transform confdefs.h into an awk script `defines.awk', embedded as
19670 # here-document in config.status, that substitutes the proper values into
19671 # config.h.in to produce config.h.
19673 # Create a delimiter string that does not exist in confdefs.h, to ease
19674 # handling of long lines.
19675 ac_delim='%!_!# '
19676 for ac_last_try in false false :; do
19677 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19678 if test -z "$ac_tt"; then
19679 break
19680 elif $ac_last_try; then
19681 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19682 else
19683 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19685 done
19687 # For the awk script, D is an array of macro values keyed by name,
19688 # likewise P contains macro parameters if any. Preserve backslash
19689 # newline sequences.
19691 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19692 sed -n '
19693 s/.\{148\}/&'"$ac_delim"'/g
19694 t rset
19695 :rset
19696 s/^[ ]*#[ ]*define[ ][ ]*/ /
19697 t def
19699 :def
19700 s/\\$//
19701 t bsnl
19702 s/["\\]/\\&/g
19703 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19704 D["\1"]=" \3"/p
19705 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19707 :bsnl
19708 s/["\\]/\\&/g
19709 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19710 D["\1"]=" \3\\\\\\n"\\/p
19711 t cont
19712 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19713 t cont
19715 :cont
19717 s/.\{148\}/&'"$ac_delim"'/g
19718 t clear
19719 :clear
19720 s/\\$//
19721 t bsnlc
19722 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19724 :bsnlc
19725 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19726 b cont
19727 ' <confdefs.h | sed '
19728 s/'"$ac_delim"'/"\\\
19729 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19732 for (key in D) D_is_set[key] = 1
19733 FS = "\a"
19735 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19736 line = \$ 0
19737 split(line, arg, " ")
19738 if (arg[1] == "#") {
19739 defundef = arg[2]
19740 mac1 = arg[3]
19741 } else {
19742 defundef = substr(arg[1], 2)
19743 mac1 = arg[2]
19745 split(mac1, mac2, "(") #)
19746 macro = mac2[1]
19747 prefix = substr(line, 1, index(line, defundef) - 1)
19748 if (D_is_set[macro]) {
19749 # Preserve the white space surrounding the "#".
19750 print prefix "define", macro P[macro] D[macro]
19751 next
19752 } else {
19753 # Replace #undef with comments. This is necessary, for example,
19754 # in the case of _POSIX_SOURCE, which is predefined and required
19755 # on some systems where configure will not decide to define it.
19756 if (defundef == "undef") {
19757 print "/*", prefix defundef, macro, "*/"
19758 next
19762 { print }
19763 _ACAWK
19764 _ACEOF
19765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19766 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19767 fi # test -n "$CONFIG_HEADERS"
19770 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19771 shift
19772 for ac_tag
19774 case $ac_tag in
19775 :[FHLC]) ac_mode=$ac_tag; continue;;
19776 esac
19777 case $ac_mode$ac_tag in
19778 :[FHL]*:*);;
19779 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19780 :[FH]-) ac_tag=-:-;;
19781 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19782 esac
19783 ac_save_IFS=$IFS
19784 IFS=:
19785 set x $ac_tag
19786 IFS=$ac_save_IFS
19787 shift
19788 ac_file=$1
19789 shift
19791 case $ac_mode in
19792 :L) ac_source=$1;;
19793 :[FH])
19794 ac_file_inputs=
19795 for ac_f
19797 case $ac_f in
19798 -) ac_f="$ac_tmp/stdin";;
19799 *) # Look for the file first in the build tree, then in the source tree
19800 # (if the path is not absolute). The absolute path cannot be DOS-style,
19801 # because $ac_f cannot contain `:'.
19802 test -f "$ac_f" ||
19803 case $ac_f in
19804 [\\/$]*) false;;
19805 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19806 esac ||
19807 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19808 esac
19809 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19810 as_fn_append ac_file_inputs " '$ac_f'"
19811 done
19813 # Let's still pretend it is `configure' which instantiates (i.e., don't
19814 # use $as_me), people would be surprised to read:
19815 # /* config.h. Generated by config.status. */
19816 configure_input='Generated from '`
19817 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19818 `' by configure.'
19819 if test x"$ac_file" != x-; then
19820 configure_input="$ac_file. $configure_input"
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19822 $as_echo "$as_me: creating $ac_file" >&6;}
19824 # Neutralize special characters interpreted by sed in replacement strings.
19825 case $configure_input in #(
19826 *\&* | *\|* | *\\* )
19827 ac_sed_conf_input=`$as_echo "$configure_input" |
19828 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19829 *) ac_sed_conf_input=$configure_input;;
19830 esac
19832 case $ac_tag in
19833 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19835 esac
19837 esac
19839 ac_dir=`$as_dirname -- "$ac_file" ||
19840 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19841 X"$ac_file" : 'X\(//\)[^/]' \| \
19842 X"$ac_file" : 'X\(//\)$' \| \
19843 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19844 $as_echo X"$ac_file" |
19845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19846 s//\1/
19849 /^X\(\/\/\)[^/].*/{
19850 s//\1/
19853 /^X\(\/\/\)$/{
19854 s//\1/
19857 /^X\(\/\).*/{
19858 s//\1/
19861 s/.*/./; q'`
19862 as_dir="$ac_dir"; as_fn_mkdir_p
19863 ac_builddir=.
19865 case "$ac_dir" in
19866 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19868 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19869 # A ".." for each directory in $ac_dir_suffix.
19870 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19871 case $ac_top_builddir_sub in
19872 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19873 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19874 esac ;;
19875 esac
19876 ac_abs_top_builddir=$ac_pwd
19877 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19878 # for backward compatibility:
19879 ac_top_builddir=$ac_top_build_prefix
19881 case $srcdir in
19882 .) # We are building in place.
19883 ac_srcdir=.
19884 ac_top_srcdir=$ac_top_builddir_sub
19885 ac_abs_top_srcdir=$ac_pwd ;;
19886 [\\/]* | ?:[\\/]* ) # Absolute name.
19887 ac_srcdir=$srcdir$ac_dir_suffix;
19888 ac_top_srcdir=$srcdir
19889 ac_abs_top_srcdir=$srcdir ;;
19890 *) # Relative name.
19891 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19892 ac_top_srcdir=$ac_top_build_prefix$srcdir
19893 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19894 esac
19895 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19898 case $ac_mode in
19901 # CONFIG_FILE
19904 _ACEOF
19906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19907 # If the template does not know about datarootdir, expand it.
19908 # FIXME: This hack should be removed a few years after 2.60.
19909 ac_datarootdir_hack=; ac_datarootdir_seen=
19910 ac_sed_dataroot='
19911 /datarootdir/ {
19915 /@datadir@/p
19916 /@docdir@/p
19917 /@infodir@/p
19918 /@localedir@/p
19919 /@mandir@/p'
19920 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19921 *datarootdir*) ac_datarootdir_seen=yes;;
19922 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19924 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19925 _ACEOF
19926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19927 ac_datarootdir_hack='
19928 s&@datadir@&$datadir&g
19929 s&@docdir@&$docdir&g
19930 s&@infodir@&$infodir&g
19931 s&@localedir@&$localedir&g
19932 s&@mandir@&$mandir&g
19933 s&\\\${datarootdir}&$datarootdir&g' ;;
19934 esac
19935 _ACEOF
19937 # Neutralize VPATH when `$srcdir' = `.'.
19938 # Shell code in configure.ac might set extrasub.
19939 # FIXME: do we really want to maintain this feature?
19940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19941 ac_sed_extra="$ac_vpsub
19942 $extrasub
19943 _ACEOF
19944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19946 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19947 s|@configure_input@|$ac_sed_conf_input|;t t
19948 s&@top_builddir@&$ac_top_builddir_sub&;t t
19949 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19950 s&@srcdir@&$ac_srcdir&;t t
19951 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19952 s&@top_srcdir@&$ac_top_srcdir&;t t
19953 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19954 s&@builddir@&$ac_builddir&;t t
19955 s&@abs_builddir@&$ac_abs_builddir&;t t
19956 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19957 $ac_datarootdir_hack
19959 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19960 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19963 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19964 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19965 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19967 which seems to be undefined. Please make sure it is defined" >&5
19968 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19969 which seems to be undefined. Please make sure it is defined" >&2;}
19971 rm -f "$ac_tmp/stdin"
19972 case $ac_file in
19973 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19974 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19975 esac \
19976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19980 # CONFIG_HEADER
19982 if test x"$ac_file" != x-; then
19984 $as_echo "/* $configure_input */" \
19985 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19986 } >"$ac_tmp/config.h" \
19987 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19988 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19991 else
19992 rm -f "$ac_file"
19993 mv "$ac_tmp/config.h" "$ac_file" \
19994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19996 else
19997 $as_echo "/* $configure_input */" \
19998 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19999 || as_fn_error $? "could not create -" "$LINENO" 5
20004 # CONFIG_LINK
20007 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20009 else
20010 # Prefer the file from the source tree if names are identical.
20011 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20012 ac_source=$srcdir/$ac_source
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20016 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20018 if test ! -r "$ac_source"; then
20019 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20021 rm -f "$ac_file"
20023 # Try a relative symlink, then a hard link, then a copy.
20024 case $ac_source in
20025 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20026 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20027 esac
20028 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20029 ln "$ac_source" "$ac_file" 2>/dev/null ||
20030 cp -p "$ac_source" "$ac_file" ||
20031 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20034 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20035 $as_echo "$as_me: executing $ac_file commands" >&6;}
20037 esac
20040 case $ac_file$ac_mode in
20041 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20042 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20043 "Makefile":C) wine_fn_output_makefile Makefile ;;
20045 esac
20046 done # for ac_tag
20049 as_fn_exit 0
20050 _ACEOF
20051 ac_clean_files=$ac_clean_files_save
20053 test $ac_write_fail = 0 ||
20054 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20057 # configure is writing to config.log, and then calls config.status.
20058 # config.status does its own redirection, appending to config.log.
20059 # Unfortunately, on DOS this fails, as config.log is still kept open
20060 # by configure, so config.status won't be able to write to it; its
20061 # output is simply discarded. So we exec the FD to /dev/null,
20062 # effectively closing config.log, so it can be properly (re)opened and
20063 # appended to by config.status. When coming back to configure, we
20064 # need to make the FD available again.
20065 if test "$no_create" != yes; then
20066 ac_cs_success=:
20067 ac_config_status_args=
20068 test "$silent" = yes &&
20069 ac_config_status_args="$ac_config_status_args --quiet"
20070 exec 5>/dev/null
20071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20072 exec 5>>config.log
20073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20074 # would make configure fail if this is the last instruction.
20075 $ac_cs_success || as_fn_exit 1
20077 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20079 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20083 if test "$no_create" = "yes"
20084 then
20085 exit 0
20088 ac_save_IFS="$IFS"
20089 if test "x$wine_notices" != x; then
20090 echo >&6
20091 IFS="|"
20092 for msg in $wine_notices; do
20093 IFS="$ac_save_IFS"
20094 if ${msg:+false} :; then :
20096 else
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20098 $as_echo "$as_me: $msg" >&6;}
20100 done
20102 IFS="|"
20103 for msg in $wine_warnings; do
20104 IFS="$ac_save_IFS"
20105 if ${msg:+false} :; then :
20107 else
20108 echo >&2
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20110 $as_echo "$as_me: WARNING: $msg" >&2;}
20112 done
20113 IFS="$ac_save_IFS"
20115 $as_echo "
20116 $as_me: Finished. Do '${ac_make}' to compile Wine.
20117 " >&6