wsdapi/tests: Add tests for WSDXMLBuildAnyForSingleElement.
[wine.git] / configure
blob36ec652d17dd220136182844a7ee3ad0418f0bf9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.7.
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.7'
584 PACKAGE_STRING='Wine 2.7'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xinerama
857 with_xinput
858 with_xinput2
859 with_xml
860 with_xrandr
861 with_xrender
862 with_xshape
863 with_xshm
864 with_xslt
865 with_xxf86vm
866 with_zlib
867 with_wine_tools
868 with_wine64
869 enable_largefile
870 with_x
871 enable_acledit
872 enable_aclui
873 enable_activeds
874 enable_actxprxy
875 enable_advapi32
876 enable_advpack
877 enable_amstream
878 enable_api_ms_win_appmodel_identity_l1_1_0
879 enable_api_ms_win_appmodel_runtime_l1_1_1
880 enable_api_ms_win_core_apiquery_l1_1_0
881 enable_api_ms_win_core_appcompat_l1_1_1
882 enable_api_ms_win_core_appinit_l1_1_0
883 enable_api_ms_win_core_atoms_l1_1_0
884 enable_api_ms_win_core_bem_l1_1_0
885 enable_api_ms_win_core_com_l1_1_0
886 enable_api_ms_win_core_com_l1_1_1
887 enable_api_ms_win_core_com_private_l1_1_0
888 enable_api_ms_win_core_console_l1_1_0
889 enable_api_ms_win_core_console_l2_1_0
890 enable_api_ms_win_core_datetime_l1_1_0
891 enable_api_ms_win_core_datetime_l1_1_1
892 enable_api_ms_win_core_debug_l1_1_0
893 enable_api_ms_win_core_debug_l1_1_1
894 enable_api_ms_win_core_delayload_l1_1_0
895 enable_api_ms_win_core_delayload_l1_1_1
896 enable_api_ms_win_core_errorhandling_l1_1_0
897 enable_api_ms_win_core_errorhandling_l1_1_1
898 enable_api_ms_win_core_errorhandling_l1_1_2
899 enable_api_ms_win_core_fibers_l1_1_0
900 enable_api_ms_win_core_fibers_l1_1_1
901 enable_api_ms_win_core_file_l1_1_0
902 enable_api_ms_win_core_file_l1_2_0
903 enable_api_ms_win_core_file_l1_2_1
904 enable_api_ms_win_core_file_l2_1_0
905 enable_api_ms_win_core_file_l2_1_1
906 enable_api_ms_win_core_handle_l1_1_0
907 enable_api_ms_win_core_heap_l1_1_0
908 enable_api_ms_win_core_heap_l1_2_0
909 enable_api_ms_win_core_heap_obsolete_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_1_0
911 enable_api_ms_win_core_interlocked_l1_2_0
912 enable_api_ms_win_core_io_l1_1_0
913 enable_api_ms_win_core_io_l1_1_1
914 enable_api_ms_win_core_job_l1_1_0
915 enable_api_ms_win_core_job_l2_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_0
917 enable_api_ms_win_core_kernel32_legacy_l1_1_1
918 enable_api_ms_win_core_kernel32_private_l1_1_1
919 enable_api_ms_win_core_libraryloader_l1_1_0
920 enable_api_ms_win_core_libraryloader_l1_1_1
921 enable_api_ms_win_core_libraryloader_l1_2_0
922 enable_api_ms_win_core_libraryloader_l1_2_2
923 enable_api_ms_win_core_localization_l1_1_0
924 enable_api_ms_win_core_localization_l1_2_0
925 enable_api_ms_win_core_localization_l1_2_1
926 enable_api_ms_win_core_localization_l2_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_1_0
928 enable_api_ms_win_core_localization_obsolete_l1_2_0
929 enable_api_ms_win_core_localization_private_l1_1_0
930 enable_api_ms_win_core_localregistry_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_0
932 enable_api_ms_win_core_memory_l1_1_1
933 enable_api_ms_win_core_memory_l1_1_2
934 enable_api_ms_win_core_misc_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_1_0
936 enable_api_ms_win_core_namedpipe_l1_2_0
937 enable_api_ms_win_core_namespace_l1_1_0
938 enable_api_ms_win_core_normalization_l1_1_0
939 enable_api_ms_win_core_path_l1_1_0
940 enable_api_ms_win_core_privateprofile_l1_1_1
941 enable_api_ms_win_core_processenvironment_l1_1_0
942 enable_api_ms_win_core_processenvironment_l1_2_0
943 enable_api_ms_win_core_processthreads_l1_1_0
944 enable_api_ms_win_core_processthreads_l1_1_1
945 enable_api_ms_win_core_processthreads_l1_1_2
946 enable_api_ms_win_core_profile_l1_1_0
947 enable_api_ms_win_core_psapi_l1_1_0
948 enable_api_ms_win_core_psapi_obsolete_l1_1_0
949 enable_api_ms_win_core_quirks_l1_1_0
950 enable_api_ms_win_core_realtime_l1_1_0
951 enable_api_ms_win_core_registry_l1_1_0
952 enable_api_ms_win_core_registry_l2_1_0
953 enable_api_ms_win_core_registryuserspecific_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_1_0
955 enable_api_ms_win_core_rtlsupport_l1_2_0
956 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
957 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
958 enable_api_ms_win_core_sidebyside_l1_1_0
959 enable_api_ms_win_core_string_l1_1_0
960 enable_api_ms_win_core_string_l2_1_0
961 enable_api_ms_win_core_string_obsolete_l1_1_0
962 enable_api_ms_win_core_stringansi_l1_1_0
963 enable_api_ms_win_core_synch_l1_1_0
964 enable_api_ms_win_core_synch_l1_2_0
965 enable_api_ms_win_core_sysinfo_l1_1_0
966 enable_api_ms_win_core_sysinfo_l1_2_0
967 enable_api_ms_win_core_sysinfo_l1_2_1
968 enable_api_ms_win_core_threadpool_l1_1_0
969 enable_api_ms_win_core_threadpool_l1_2_0
970 enable_api_ms_win_core_threadpool_legacy_l1_1_0
971 enable_api_ms_win_core_threadpool_private_l1_1_0
972 enable_api_ms_win_core_timezone_l1_1_0
973 enable_api_ms_win_core_toolhelp_l1_1_0
974 enable_api_ms_win_core_url_l1_1_0
975 enable_api_ms_win_core_util_l1_1_0
976 enable_api_ms_win_core_version_l1_1_0
977 enable_api_ms_win_core_version_private_l1_1_0
978 enable_api_ms_win_core_versionansi_l1_1_0
979 enable_api_ms_win_core_windowserrorreporting_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_0
981 enable_api_ms_win_core_winrt_error_l1_1_1
982 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
983 enable_api_ms_win_core_winrt_l1_1_0
984 enable_api_ms_win_core_winrt_registration_l1_1_0
985 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
986 enable_api_ms_win_core_winrt_string_l1_1_0
987 enable_api_ms_win_core_wow64_l1_1_0
988 enable_api_ms_win_core_xstate_l1_1_0
989 enable_api_ms_win_core_xstate_l2_1_0
990 enable_api_ms_win_crt_conio_l1_1_0
991 enable_api_ms_win_crt_convert_l1_1_0
992 enable_api_ms_win_crt_environment_l1_1_0
993 enable_api_ms_win_crt_filesystem_l1_1_0
994 enable_api_ms_win_crt_heap_l1_1_0
995 enable_api_ms_win_crt_locale_l1_1_0
996 enable_api_ms_win_crt_math_l1_1_0
997 enable_api_ms_win_crt_multibyte_l1_1_0
998 enable_api_ms_win_crt_private_l1_1_0
999 enable_api_ms_win_crt_process_l1_1_0
1000 enable_api_ms_win_crt_runtime_l1_1_0
1001 enable_api_ms_win_crt_stdio_l1_1_0
1002 enable_api_ms_win_crt_string_l1_1_0
1003 enable_api_ms_win_crt_time_l1_1_0
1004 enable_api_ms_win_crt_utility_l1_1_0
1005 enable_api_ms_win_devices_config_l1_1_1
1006 enable_api_ms_win_devices_query_l1_1_1
1007 enable_api_ms_win_downlevel_advapi32_l1_1_0
1008 enable_api_ms_win_downlevel_advapi32_l2_1_0
1009 enable_api_ms_win_downlevel_normaliz_l1_1_0
1010 enable_api_ms_win_downlevel_ole32_l1_1_0
1011 enable_api_ms_win_downlevel_shell32_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1013 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1014 enable_api_ms_win_downlevel_user32_l1_1_0
1015 enable_api_ms_win_downlevel_version_l1_1_0
1016 enable_api_ms_win_dx_d3dkmt_l1_1_0
1017 enable_api_ms_win_eventing_classicprovider_l1_1_0
1018 enable_api_ms_win_eventing_consumer_l1_1_0
1019 enable_api_ms_win_eventing_controller_l1_1_0
1020 enable_api_ms_win_eventing_provider_l1_1_0
1021 enable_api_ms_win_eventlog_legacy_l1_1_0
1022 enable_api_ms_win_mm_misc_l1_1_1
1023 enable_api_ms_win_mm_mme_l1_1_0
1024 enable_api_ms_win_ntuser_dc_access_l1_1_0
1025 enable_api_ms_win_power_base_l1_1_0
1026 enable_api_ms_win_power_setting_l1_1_0
1027 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1028 enable_api_ms_win_security_audit_l1_1_1
1029 enable_api_ms_win_security_base_l1_1_0
1030 enable_api_ms_win_security_base_l1_2_0
1031 enable_api_ms_win_security_base_private_l1_1_1
1032 enable_api_ms_win_security_grouppolicy_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_0
1034 enable_api_ms_win_security_lsalookup_l1_1_1
1035 enable_api_ms_win_security_lsalookup_l2_1_1
1036 enable_api_ms_win_security_lsapolicy_l1_1_0
1037 enable_api_ms_win_security_sddl_l1_1_0
1038 enable_api_ms_win_security_systemfunctions_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_0
1040 enable_api_ms_win_service_core_l1_1_1
1041 enable_api_ms_win_service_management_l1_1_0
1042 enable_api_ms_win_service_management_l2_1_0
1043 enable_api_ms_win_service_private_l1_1_1
1044 enable_api_ms_win_service_winsvc_l1_1_0
1045 enable_api_ms_win_service_winsvc_l1_2_0
1046 enable_api_ms_win_shell_shellcom_l1_1_0
1047 enable_api_ms_win_shell_shellfolders_l1_1_0
1048 enable_apphelp
1049 enable_appwiz_cpl
1050 enable_atl
1051 enable_atl100
1052 enable_atl110
1053 enable_atl80
1054 enable_atl90
1055 enable_authz
1056 enable_avicap32
1057 enable_avifil32
1058 enable_avrt
1059 enable_bcrypt
1060 enable_bluetoothapis
1061 enable_browseui
1062 enable_bthprops_cpl
1063 enable_cabinet
1064 enable_capi2032
1065 enable_cards
1066 enable_cfgmgr32
1067 enable_clusapi
1068 enable_combase
1069 enable_comcat
1070 enable_comctl32
1071 enable_comdlg32
1072 enable_compstui
1073 enable_comsvcs
1074 enable_concrt140
1075 enable_connect
1076 enable_credui
1077 enable_crtdll
1078 enable_crypt32
1079 enable_cryptdlg
1080 enable_cryptdll
1081 enable_cryptext
1082 enable_cryptnet
1083 enable_cryptui
1084 enable_ctapi32
1085 enable_ctl3d32
1086 enable_d2d1
1087 enable_d3d10
1088 enable_d3d10_1
1089 enable_d3d10core
1090 enable_d3d11
1091 enable_d3d8
1092 enable_d3d9
1093 enable_d3dcompiler_33
1094 enable_d3dcompiler_34
1095 enable_d3dcompiler_35
1096 enable_d3dcompiler_36
1097 enable_d3dcompiler_37
1098 enable_d3dcompiler_38
1099 enable_d3dcompiler_39
1100 enable_d3dcompiler_40
1101 enable_d3dcompiler_41
1102 enable_d3dcompiler_42
1103 enable_d3dcompiler_43
1104 enable_d3dcompiler_46
1105 enable_d3dcompiler_47
1106 enable_d3dim
1107 enable_d3drm
1108 enable_d3dx10_33
1109 enable_d3dx10_34
1110 enable_d3dx10_35
1111 enable_d3dx10_36
1112 enable_d3dx10_37
1113 enable_d3dx10_38
1114 enable_d3dx10_39
1115 enable_d3dx10_40
1116 enable_d3dx10_41
1117 enable_d3dx10_42
1118 enable_d3dx10_43
1119 enable_d3dx11_42
1120 enable_d3dx11_43
1121 enable_d3dx9_24
1122 enable_d3dx9_25
1123 enable_d3dx9_26
1124 enable_d3dx9_27
1125 enable_d3dx9_28
1126 enable_d3dx9_29
1127 enable_d3dx9_30
1128 enable_d3dx9_31
1129 enable_d3dx9_32
1130 enable_d3dx9_33
1131 enable_d3dx9_34
1132 enable_d3dx9_35
1133 enable_d3dx9_36
1134 enable_d3dx9_37
1135 enable_d3dx9_38
1136 enable_d3dx9_39
1137 enable_d3dx9_40
1138 enable_d3dx9_41
1139 enable_d3dx9_42
1140 enable_d3dx9_43
1141 enable_d3dxof
1142 enable_davclnt
1143 enable_dbgeng
1144 enable_dbghelp
1145 enable_dciman32
1146 enable_ddraw
1147 enable_ddrawex
1148 enable_devenum
1149 enable_dhcpcsvc
1150 enable_difxapi
1151 enable_dinput
1152 enable_dinput8
1153 enable_dispex
1154 enable_dmband
1155 enable_dmcompos
1156 enable_dmime
1157 enable_dmloader
1158 enable_dmscript
1159 enable_dmstyle
1160 enable_dmsynth
1161 enable_dmusic
1162 enable_dmusic32
1163 enable_dnsapi
1164 enable_dplay
1165 enable_dplayx
1166 enable_dpnaddr
1167 enable_dpnet
1168 enable_dpnhpast
1169 enable_dpnlobby
1170 enable_dpvoice
1171 enable_dpwsockx
1172 enable_drmclien
1173 enable_dsound
1174 enable_dssenh
1175 enable_dswave
1176 enable_dwmapi
1177 enable_dwrite
1178 enable_dxdiagn
1179 enable_dxgi
1180 enable_dxva2
1181 enable_esent
1182 enable_evr
1183 enable_explorerframe
1184 enable_ext_ms_win_authz_context_l1_1_0
1185 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1186 enable_ext_ms_win_gdi_dc_create_l1_1_1
1187 enable_ext_ms_win_gdi_dc_l1_2_0
1188 enable_ext_ms_win_gdi_devcaps_l1_1_0
1189 enable_ext_ms_win_gdi_draw_l1_1_1
1190 enable_ext_ms_win_gdi_render_l1_1_0
1191 enable_ext_ms_win_kernel32_package_current_l1_1_0
1192 enable_ext_ms_win_ntuser_message_l1_1_1
1193 enable_ext_ms_win_ntuser_private_l1_1_1
1194 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1195 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1196 enable_ext_ms_win_ntuser_window_l1_1_1
1197 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1198 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1200 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1201 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1202 enable_faultrep
1203 enable_fltlib
1204 enable_fltmgr_sys
1205 enable_fntcache
1206 enable_fontsub
1207 enable_fusion
1208 enable_fwpuclnt
1209 enable_gameux
1210 enable_gdi32
1211 enable_gdiplus
1212 enable_glu32
1213 enable_gphoto2_ds
1214 enable_gpkcsp
1215 enable_hal
1216 enable_hhctrl_ocx
1217 enable_hid
1218 enable_hidclass_sys
1219 enable_hlink
1220 enable_hnetcfg
1221 enable_httpapi
1222 enable_iccvid
1223 enable_icmp
1224 enable_ieframe
1225 enable_imaadp32_acm
1226 enable_imagehlp
1227 enable_imm32
1228 enable_inetcomm
1229 enable_inetcpl_cpl
1230 enable_inetmib1
1231 enable_infosoft
1232 enable_initpki
1233 enable_inkobj
1234 enable_inseng
1235 enable_iphlpapi
1236 enable_iprop
1237 enable_irprops_cpl
1238 enable_itircl
1239 enable_itss
1240 enable_joy_cpl
1241 enable_jscript
1242 enable_jsproxy
1243 enable_kernel32
1244 enable_kernelbase
1245 enable_ksuser
1246 enable_ktmw32
1247 enable_loadperf
1248 enable_localspl
1249 enable_localui
1250 enable_lz32
1251 enable_mapi32
1252 enable_mapistub
1253 enable_mciavi32
1254 enable_mcicda
1255 enable_mciqtz32
1256 enable_mciseq
1257 enable_mciwave
1258 enable_mf
1259 enable_mf3216
1260 enable_mfplat
1261 enable_mfreadwrite
1262 enable_mgmtapi
1263 enable_midimap
1264 enable_mlang
1265 enable_mmcndmgr
1266 enable_mmdevapi
1267 enable_mountmgr_sys
1268 enable_mpr
1269 enable_mprapi
1270 enable_msacm32_drv
1271 enable_msacm32
1272 enable_msadp32_acm
1273 enable_msasn1
1274 enable_mscat32
1275 enable_mscms
1276 enable_mscoree
1277 enable_msctf
1278 enable_msctfp
1279 enable_msdaps
1280 enable_msdelta
1281 enable_msdmo
1282 enable_msdrm
1283 enable_msftedit
1284 enable_msg711_acm
1285 enable_msgsm32_acm
1286 enable_mshtml_tlb
1287 enable_mshtml
1288 enable_msi
1289 enable_msident
1290 enable_msimg32
1291 enable_msimsg
1292 enable_msimtf
1293 enable_msisip
1294 enable_msisys_ocx
1295 enable_msls31
1296 enable_msnet32
1297 enable_mspatcha
1298 enable_msports
1299 enable_msrle32
1300 enable_msscript_ocx
1301 enable_mssign32
1302 enable_mssip32
1303 enable_mstask
1304 enable_msvcirt
1305 enable_msvcm80
1306 enable_msvcm90
1307 enable_msvcp100
1308 enable_msvcp110
1309 enable_msvcp120
1310 enable_msvcp120_app
1311 enable_msvcp140
1312 enable_msvcp60
1313 enable_msvcp70
1314 enable_msvcp71
1315 enable_msvcp80
1316 enable_msvcp90
1317 enable_msvcr100
1318 enable_msvcr110
1319 enable_msvcr120
1320 enable_msvcr120_app
1321 enable_msvcr70
1322 enable_msvcr71
1323 enable_msvcr80
1324 enable_msvcr90
1325 enable_msvcrt
1326 enable_msvcrt20
1327 enable_msvcrt40
1328 enable_msvcrtd
1329 enable_msvfw32
1330 enable_msvidc32
1331 enable_mswsock
1332 enable_msxml
1333 enable_msxml2
1334 enable_msxml3
1335 enable_msxml4
1336 enable_msxml6
1337 enable_mtxdm
1338 enable_ncrypt
1339 enable_nddeapi
1340 enable_ndis_sys
1341 enable_netapi32
1342 enable_netcfgx
1343 enable_netprofm
1344 enable_newdev
1345 enable_normaliz
1346 enable_npmshtml
1347 enable_npptools
1348 enable_ntdll
1349 enable_ntdsapi
1350 enable_ntoskrnl_exe
1351 enable_ntprint
1352 enable_objsel
1353 enable_odbc32
1354 enable_odbccp32
1355 enable_odbccu32
1356 enable_ole32
1357 enable_oleacc
1358 enable_oleaut32
1359 enable_olecli32
1360 enable_oledb32
1361 enable_oledlg
1362 enable_olepro32
1363 enable_olesvr32
1364 enable_olethk32
1365 enable_openal32
1366 enable_opencl
1367 enable_opengl32
1368 enable_packager
1369 enable_pdh
1370 enable_photometadatahandler
1371 enable_pidgen
1372 enable_powrprof
1373 enable_printui
1374 enable_prntvpt
1375 enable_propsys
1376 enable_psapi
1377 enable_pstorec
1378 enable_qcap
1379 enable_qedit
1380 enable_qmgr
1381 enable_qmgrprxy
1382 enable_quartz
1383 enable_query
1384 enable_rasapi32
1385 enable_rasdlg
1386 enable_regapi
1387 enable_resutils
1388 enable_riched20
1389 enable_riched32
1390 enable_rpcrt4
1391 enable_rsabase
1392 enable_rsaenh
1393 enable_rstrtmgr
1394 enable_rtutils
1395 enable_samlib
1396 enable_sane_ds
1397 enable_scarddlg
1398 enable_sccbase
1399 enable_schannel
1400 enable_schedsvc
1401 enable_scrobj
1402 enable_scrrun
1403 enable_scsiport_sys
1404 enable_secur32
1405 enable_security
1406 enable_sensapi
1407 enable_serialui
1408 enable_setupapi
1409 enable_sfc
1410 enable_sfc_os
1411 enable_shdoclc
1412 enable_shdocvw
1413 enable_shell32
1414 enable_shfolder
1415 enable_shlwapi
1416 enable_slbcsp
1417 enable_slc
1418 enable_snmpapi
1419 enable_softpub
1420 enable_spoolss
1421 enable_sspicli
1422 enable_stdole2_tlb
1423 enable_stdole32_tlb
1424 enable_sti
1425 enable_svrapi
1426 enable_sxs
1427 enable_t2embed
1428 enable_tapi32
1429 enable_taskschd
1430 enable_tdi_sys
1431 enable_traffic
1432 enable_twain_32
1433 enable_ucrtbase
1434 enable_uiautomationcore
1435 enable_unicows
1436 enable_updspapi
1437 enable_url
1438 enable_urlmon
1439 enable_usbd_sys
1440 enable_user32
1441 enable_userenv
1442 enable_usp10
1443 enable_uxtheme
1444 enable_vbscript
1445 enable_vcomp
1446 enable_vcomp100
1447 enable_vcomp110
1448 enable_vcomp120
1449 enable_vcomp140
1450 enable_vcomp90
1451 enable_vcruntime140
1452 enable_vdmdbg
1453 enable_version
1454 enable_virtdisk
1455 enable_vssapi
1456 enable_wbemdisp
1457 enable_wbemprox
1458 enable_webservices
1459 enable_wer
1460 enable_wevtapi
1461 enable_wiaservc
1462 enable_wimgapi
1463 enable_windowscodecs
1464 enable_windowscodecsext
1465 enable_winealsa_drv
1466 enable_winebus_sys
1467 enable_winecoreaudio_drv
1468 enable_wined3d
1469 enable_winegstreamer
1470 enable_winehid_sys
1471 enable_winejoystick_drv
1472 enable_winemac_drv
1473 enable_winemapi
1474 enable_winemp3_acm
1475 enable_wineoss_drv
1476 enable_wineps_drv
1477 enable_winepulse_drv
1478 enable_wineqtdecoder
1479 enable_winex11_drv
1480 enable_wing32
1481 enable_winhttp
1482 enable_wininet
1483 enable_winmm
1484 enable_winnls32
1485 enable_winscard
1486 enable_winspool_drv
1487 enable_winsta
1488 enable_wintab32
1489 enable_wintrust
1490 enable_winusb
1491 enable_wlanapi
1492 enable_wldap32
1493 enable_wmasf
1494 enable_wmi
1495 enable_wmiutils
1496 enable_wmp
1497 enable_wmvcore
1498 enable_wnaspi32
1499 enable_wpc
1500 enable_wpcap
1501 enable_ws2_32
1502 enable_wsdapi
1503 enable_wshom_ocx
1504 enable_wsnmp32
1505 enable_wsock32
1506 enable_wtsapi32
1507 enable_wuapi
1508 enable_wuaueng
1509 enable_x3daudio1_0
1510 enable_x3daudio1_1
1511 enable_x3daudio1_2
1512 enable_x3daudio1_3
1513 enable_x3daudio1_4
1514 enable_x3daudio1_5
1515 enable_x3daudio1_6
1516 enable_x3daudio1_7
1517 enable_xapofx1_1
1518 enable_xapofx1_2
1519 enable_xapofx1_3
1520 enable_xapofx1_4
1521 enable_xapofx1_5
1522 enable_xaudio2_0
1523 enable_xaudio2_1
1524 enable_xaudio2_2
1525 enable_xaudio2_3
1526 enable_xaudio2_4
1527 enable_xaudio2_5
1528 enable_xaudio2_6
1529 enable_xaudio2_7
1530 enable_xaudio2_8
1531 enable_xaudio2_9
1532 enable_xinput1_1
1533 enable_xinput1_2
1534 enable_xinput1_3
1535 enable_xinput1_4
1536 enable_xinput9_1_0
1537 enable_xmllite
1538 enable_xolehlp
1539 enable_xpsprint
1540 enable_xpssvcs
1541 enable_fonts
1542 enable_include
1543 enable_libs_port
1544 enable_libs_wine
1545 enable_libs_wpp
1546 enable_loader
1547 enable_po
1548 enable_arp
1549 enable_aspnet_regiis
1550 enable_attrib
1551 enable_cabarc
1552 enable_cacls
1553 enable_clock
1554 enable_cmd
1555 enable_conhost
1556 enable_control
1557 enable_cscript
1558 enable_dpnsvr
1559 enable_dxdiag
1560 enable_eject
1561 enable_expand
1562 enable_explorer
1563 enable_extrac32
1564 enable_findstr
1565 enable_fsutil
1566 enable_hh
1567 enable_hostname
1568 enable_icacls
1569 enable_icinfo
1570 enable_iexplore
1571 enable_ipconfig
1572 enable_lodctr
1573 enable_mofcomp
1574 enable_mshta
1575 enable_msiexec
1576 enable_msinfo32
1577 enable_net
1578 enable_netsh
1579 enable_netstat
1580 enable_ngen
1581 enable_notepad
1582 enable_oleview
1583 enable_ping
1584 enable_plugplay
1585 enable_presentationfontcache
1586 enable_progman
1587 enable_reg
1588 enable_regasm
1589 enable_regedit
1590 enable_regsvcs
1591 enable_regsvr32
1592 enable_rpcss
1593 enable_rundll32
1594 enable_sc
1595 enable_schtasks
1596 enable_sdbinst
1597 enable_secedit
1598 enable_servicemodelreg
1599 enable_services
1600 enable_shutdown
1601 enable_spoolsv
1602 enable_start
1603 enable_subst
1604 enable_svchost
1605 enable_systeminfo
1606 enable_taskkill
1607 enable_tasklist
1608 enable_taskmgr
1609 enable_termsv
1610 enable_uninstaller
1611 enable_unlodctr
1612 enable_view
1613 enable_wevtutil
1614 enable_wineboot
1615 enable_winebrowser
1616 enable_winecfg
1617 enable_wineconsole
1618 enable_winedbg
1619 enable_winedevice
1620 enable_winefile
1621 enable_winemenubuilder
1622 enable_winemine
1623 enable_winemsibuilder
1624 enable_winepath
1625 enable_winetest
1626 enable_winhlp32
1627 enable_winver
1628 enable_wmic
1629 enable_wmplayer
1630 enable_wordpad
1631 enable_write
1632 enable_wscript
1633 enable_wusa
1634 enable_xcopy
1635 enable_server
1636 enable_tools
1638 ac_precious_vars='build_alias
1639 host_alias
1640 target_alias
1642 CFLAGS
1643 LDFLAGS
1644 LIBS
1645 CPPFLAGS
1647 CXXFLAGS
1650 XMKMF
1651 XML2_CFLAGS
1652 XML2_LIBS
1653 XSLT_CFLAGS
1654 XSLT_LIBS
1655 DBUS_CFLAGS
1656 DBUS_LIBS
1657 HAL_CFLAGS
1658 HAL_LIBS
1659 GNUTLS_CFLAGS
1660 GNUTLS_LIBS
1661 SANE_CFLAGS
1662 SANE_LIBS
1663 GPHOTO2_CFLAGS
1664 GPHOTO2_LIBS
1665 GPHOTO2_PORT_CFLAGS
1666 GPHOTO2_PORT_LIBS
1667 LCMS2_CFLAGS
1668 LCMS2_LIBS
1669 FREETYPE_CFLAGS
1670 FREETYPE_LIBS
1671 PULSE_CFLAGS
1672 PULSE_LIBS
1673 GSTREAMER_CFLAGS
1674 GSTREAMER_LIBS
1675 UDEV_CFLAGS
1676 UDEV_LIBS
1677 CAPI20_CFLAGS
1678 CAPI20_LIBS
1679 FONTCONFIG_CFLAGS
1680 FONTCONFIG_LIBS
1681 JPEG_CFLAGS
1682 JPEG_LIBS
1683 PNG_CFLAGS
1684 PNG_LIBS
1685 TIFF_CFLAGS
1686 TIFF_LIBS
1687 MPG123_CFLAGS
1688 MPG123_LIBS
1689 NETAPI_CFLAGS
1690 NETAPI_LIBS'
1693 # Initialize some variables set by options.
1694 ac_init_help=
1695 ac_init_version=false
1696 ac_unrecognized_opts=
1697 ac_unrecognized_sep=
1698 # The variables have the same names as the options, with
1699 # dashes changed to underlines.
1700 cache_file=/dev/null
1701 exec_prefix=NONE
1702 no_create=
1703 no_recursion=
1704 prefix=NONE
1705 program_prefix=NONE
1706 program_suffix=NONE
1707 program_transform_name=s,x,x,
1708 silent=
1709 site=
1710 srcdir=
1711 verbose=
1712 x_includes=NONE
1713 x_libraries=NONE
1715 # Installation directory options.
1716 # These are left unexpanded so users can "make install exec_prefix=/foo"
1717 # and all the variables that are supposed to be based on exec_prefix
1718 # by default will actually change.
1719 # Use braces instead of parens because sh, perl, etc. also accept them.
1720 # (The list follows the same order as the GNU Coding Standards.)
1721 bindir='${exec_prefix}/bin'
1722 sbindir='${exec_prefix}/sbin'
1723 libexecdir='${exec_prefix}/libexec'
1724 datarootdir='${prefix}/share'
1725 datadir='${datarootdir}'
1726 sysconfdir='${prefix}/etc'
1727 sharedstatedir='${prefix}/com'
1728 localstatedir='${prefix}/var'
1729 runstatedir='${localstatedir}/run'
1730 includedir='${prefix}/include'
1731 oldincludedir='/usr/include'
1732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1733 infodir='${datarootdir}/info'
1734 htmldir='${docdir}'
1735 dvidir='${docdir}'
1736 pdfdir='${docdir}'
1737 psdir='${docdir}'
1738 libdir='${exec_prefix}/lib'
1739 localedir='${datarootdir}/locale'
1740 mandir='${datarootdir}/man'
1742 ac_prev=
1743 ac_dashdash=
1744 for ac_option
1746 # If the previous option needs an argument, assign it.
1747 if test -n "$ac_prev"; then
1748 eval $ac_prev=\$ac_option
1749 ac_prev=
1750 continue
1753 case $ac_option in
1754 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1755 *=) ac_optarg= ;;
1756 *) ac_optarg=yes ;;
1757 esac
1759 # Accept the important Cygnus configure options, so we can diagnose typos.
1761 case $ac_dashdash$ac_option in
1763 ac_dashdash=yes ;;
1765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1766 ac_prev=bindir ;;
1767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1768 bindir=$ac_optarg ;;
1770 -build | --build | --buil | --bui | --bu)
1771 ac_prev=build_alias ;;
1772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1773 build_alias=$ac_optarg ;;
1775 -cache-file | --cache-file | --cache-fil | --cache-fi \
1776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1777 ac_prev=cache_file ;;
1778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1780 cache_file=$ac_optarg ;;
1782 --config-cache | -C)
1783 cache_file=config.cache ;;
1785 -datadir | --datadir | --datadi | --datad)
1786 ac_prev=datadir ;;
1787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1788 datadir=$ac_optarg ;;
1790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1791 | --dataroo | --dataro | --datar)
1792 ac_prev=datarootdir ;;
1793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1795 datarootdir=$ac_optarg ;;
1797 -disable-* | --disable-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid feature name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "enable_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval enable_$ac_useropt=no ;;
1813 -docdir | --docdir | --docdi | --doc | --do)
1814 ac_prev=docdir ;;
1815 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1816 docdir=$ac_optarg ;;
1818 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1819 ac_prev=dvidir ;;
1820 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1821 dvidir=$ac_optarg ;;
1823 -enable-* | --enable-*)
1824 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1827 as_fn_error $? "invalid feature name: $ac_useropt"
1828 ac_useropt_orig=$ac_useropt
1829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1832 "enable_$ac_useropt"
1833 "*) ;;
1834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1835 ac_unrecognized_sep=', ';;
1836 esac
1837 eval enable_$ac_useropt=\$ac_optarg ;;
1839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1841 | --exec | --exe | --ex)
1842 ac_prev=exec_prefix ;;
1843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1845 | --exec=* | --exe=* | --ex=*)
1846 exec_prefix=$ac_optarg ;;
1848 -gas | --gas | --ga | --g)
1849 # Obsolete; use --with-gas.
1850 with_gas=yes ;;
1852 -help | --help | --hel | --he | -h)
1853 ac_init_help=long ;;
1854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1855 ac_init_help=recursive ;;
1856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1857 ac_init_help=short ;;
1859 -host | --host | --hos | --ho)
1860 ac_prev=host_alias ;;
1861 -host=* | --host=* | --hos=* | --ho=*)
1862 host_alias=$ac_optarg ;;
1864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1865 ac_prev=htmldir ;;
1866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1867 | --ht=*)
1868 htmldir=$ac_optarg ;;
1870 -includedir | --includedir | --includedi | --included | --include \
1871 | --includ | --inclu | --incl | --inc)
1872 ac_prev=includedir ;;
1873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1874 | --includ=* | --inclu=* | --incl=* | --inc=*)
1875 includedir=$ac_optarg ;;
1877 -infodir | --infodir | --infodi | --infod | --info | --inf)
1878 ac_prev=infodir ;;
1879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1880 infodir=$ac_optarg ;;
1882 -libdir | --libdir | --libdi | --libd)
1883 ac_prev=libdir ;;
1884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1885 libdir=$ac_optarg ;;
1887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1888 | --libexe | --libex | --libe)
1889 ac_prev=libexecdir ;;
1890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1891 | --libexe=* | --libex=* | --libe=*)
1892 libexecdir=$ac_optarg ;;
1894 -localedir | --localedir | --localedi | --localed | --locale)
1895 ac_prev=localedir ;;
1896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1897 localedir=$ac_optarg ;;
1899 -localstatedir | --localstatedir | --localstatedi | --localstated \
1900 | --localstate | --localstat | --localsta | --localst | --locals)
1901 ac_prev=localstatedir ;;
1902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1904 localstatedir=$ac_optarg ;;
1906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1907 ac_prev=mandir ;;
1908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1909 mandir=$ac_optarg ;;
1911 -nfp | --nfp | --nf)
1912 # Obsolete; use --without-fp.
1913 with_fp=no ;;
1915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1916 | --no-cr | --no-c | -n)
1917 no_create=yes ;;
1919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1921 no_recursion=yes ;;
1923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1925 | --oldin | --oldi | --old | --ol | --o)
1926 ac_prev=oldincludedir ;;
1927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1930 oldincludedir=$ac_optarg ;;
1932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1933 ac_prev=prefix ;;
1934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1935 prefix=$ac_optarg ;;
1937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1938 | --program-pre | --program-pr | --program-p)
1939 ac_prev=program_prefix ;;
1940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1942 program_prefix=$ac_optarg ;;
1944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1945 | --program-suf | --program-su | --program-s)
1946 ac_prev=program_suffix ;;
1947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1949 program_suffix=$ac_optarg ;;
1951 -program-transform-name | --program-transform-name \
1952 | --program-transform-nam | --program-transform-na \
1953 | --program-transform-n | --program-transform- \
1954 | --program-transform | --program-transfor \
1955 | --program-transfo | --program-transf \
1956 | --program-trans | --program-tran \
1957 | --progr-tra | --program-tr | --program-t)
1958 ac_prev=program_transform_name ;;
1959 -program-transform-name=* | --program-transform-name=* \
1960 | --program-transform-nam=* | --program-transform-na=* \
1961 | --program-transform-n=* | --program-transform-=* \
1962 | --program-transform=* | --program-transfor=* \
1963 | --program-transfo=* | --program-transf=* \
1964 | --program-trans=* | --program-tran=* \
1965 | --progr-tra=* | --program-tr=* | --program-t=*)
1966 program_transform_name=$ac_optarg ;;
1968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1969 ac_prev=pdfdir ;;
1970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1971 pdfdir=$ac_optarg ;;
1973 -psdir | --psdir | --psdi | --psd | --ps)
1974 ac_prev=psdir ;;
1975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1976 psdir=$ac_optarg ;;
1978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1979 | -silent | --silent | --silen | --sile | --sil)
1980 silent=yes ;;
1982 -runstatedir | --runstatedir | --runstatedi | --runstated \
1983 | --runstate | --runstat | --runsta | --runst | --runs \
1984 | --run | --ru | --r)
1985 ac_prev=runstatedir ;;
1986 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1987 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1988 | --run=* | --ru=* | --r=*)
1989 runstatedir=$ac_optarg ;;
1991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1992 ac_prev=sbindir ;;
1993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1994 | --sbi=* | --sb=*)
1995 sbindir=$ac_optarg ;;
1997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1999 | --sharedst | --shareds | --shared | --share | --shar \
2000 | --sha | --sh)
2001 ac_prev=sharedstatedir ;;
2002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2005 | --sha=* | --sh=*)
2006 sharedstatedir=$ac_optarg ;;
2008 -site | --site | --sit)
2009 ac_prev=site ;;
2010 -site=* | --site=* | --sit=*)
2011 site=$ac_optarg ;;
2013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2014 ac_prev=srcdir ;;
2015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2016 srcdir=$ac_optarg ;;
2018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2019 | --syscon | --sysco | --sysc | --sys | --sy)
2020 ac_prev=sysconfdir ;;
2021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2023 sysconfdir=$ac_optarg ;;
2025 -target | --target | --targe | --targ | --tar | --ta | --t)
2026 ac_prev=target_alias ;;
2027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2028 target_alias=$ac_optarg ;;
2030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2031 verbose=yes ;;
2033 -version | --version | --versio | --versi | --vers | -V)
2034 ac_init_version=: ;;
2036 -with-* | --with-*)
2037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2038 # Reject names that are not valid shell variable names.
2039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2040 as_fn_error $? "invalid package name: $ac_useropt"
2041 ac_useropt_orig=$ac_useropt
2042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2043 case $ac_user_opts in
2045 "with_$ac_useropt"
2046 "*) ;;
2047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2048 ac_unrecognized_sep=', ';;
2049 esac
2050 eval with_$ac_useropt=\$ac_optarg ;;
2052 -without-* | --without-*)
2053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2054 # Reject names that are not valid shell variable names.
2055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2056 as_fn_error $? "invalid package name: $ac_useropt"
2057 ac_useropt_orig=$ac_useropt
2058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2059 case $ac_user_opts in
2061 "with_$ac_useropt"
2062 "*) ;;
2063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2064 ac_unrecognized_sep=', ';;
2065 esac
2066 eval with_$ac_useropt=no ;;
2068 --x)
2069 # Obsolete; use --with-x.
2070 with_x=yes ;;
2072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2073 | --x-incl | --x-inc | --x-in | --x-i)
2074 ac_prev=x_includes ;;
2075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2077 x_includes=$ac_optarg ;;
2079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2081 ac_prev=x_libraries ;;
2082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2084 x_libraries=$ac_optarg ;;
2086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2087 Try \`$0 --help' for more information"
2090 *=*)
2091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2092 # Reject names that are not valid shell variable names.
2093 case $ac_envvar in #(
2094 '' | [0-9]* | *[!_$as_cr_alnum]* )
2095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2096 esac
2097 eval $ac_envvar=\$ac_optarg
2098 export $ac_envvar ;;
2101 # FIXME: should be removed in autoconf 3.0.
2102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2108 esac
2109 done
2111 if test -n "$ac_prev"; then
2112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2113 as_fn_error $? "missing argument to $ac_option"
2116 if test -n "$ac_unrecognized_opts"; then
2117 case $enable_option_checking in
2118 no) ;;
2119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2121 esac
2124 # Check all directory arguments for consistency.
2125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2126 datadir sysconfdir sharedstatedir localstatedir includedir \
2127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2128 libdir localedir mandir runstatedir
2130 eval ac_val=\$$ac_var
2131 # Remove trailing slashes.
2132 case $ac_val in
2133 */ )
2134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2135 eval $ac_var=\$ac_val;;
2136 esac
2137 # Be sure to have absolute directory names.
2138 case $ac_val in
2139 [\\/$]* | ?:[\\/]* ) continue;;
2140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2141 esac
2142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2143 done
2145 # There might be people who depend on the old broken behavior: `$host'
2146 # used to hold the argument of --host etc.
2147 # FIXME: To remove some day.
2148 build=$build_alias
2149 host=$host_alias
2150 target=$target_alias
2152 # FIXME: To remove some day.
2153 if test "x$host_alias" != x; then
2154 if test "x$build_alias" = x; then
2155 cross_compiling=maybe
2156 elif test "x$build_alias" != "x$host_alias"; then
2157 cross_compiling=yes
2161 ac_tool_prefix=
2162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2164 test "$silent" = yes && exec 6>/dev/null
2167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2168 ac_ls_di=`ls -di .` &&
2169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2170 as_fn_error $? "working directory cannot be determined"
2171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2172 as_fn_error $? "pwd does not report name of working directory"
2175 # Find the source files, if location was not specified.
2176 if test -z "$srcdir"; then
2177 ac_srcdir_defaulted=yes
2178 # Try the directory containing this script, then the parent directory.
2179 ac_confdir=`$as_dirname -- "$as_myself" ||
2180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2181 X"$as_myself" : 'X\(//\)[^/]' \| \
2182 X"$as_myself" : 'X\(//\)$' \| \
2183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2184 $as_echo X"$as_myself" |
2185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2186 s//\1/
2189 /^X\(\/\/\)[^/].*/{
2190 s//\1/
2193 /^X\(\/\/\)$/{
2194 s//\1/
2197 /^X\(\/\).*/{
2198 s//\1/
2201 s/.*/./; q'`
2202 srcdir=$ac_confdir
2203 if test ! -r "$srcdir/$ac_unique_file"; then
2204 srcdir=..
2206 else
2207 ac_srcdir_defaulted=no
2209 if test ! -r "$srcdir/$ac_unique_file"; then
2210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2214 ac_abs_confdir=`(
2215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2216 pwd)`
2217 # When building in place, set srcdir=.
2218 if test "$ac_abs_confdir" = "$ac_pwd"; then
2219 srcdir=.
2221 # Remove unnecessary trailing slashes from srcdir.
2222 # Double slashes in file names in object file debugging info
2223 # mess up M-x gdb in Emacs.
2224 case $srcdir in
2225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2226 esac
2227 for ac_var in $ac_precious_vars; do
2228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2229 eval ac_env_${ac_var}_value=\$${ac_var}
2230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2232 done
2235 # Report the --help message.
2237 if test "$ac_init_help" = "long"; then
2238 # Omit some internal or obsolete options to make the list less imposing.
2239 # This message is too long to be a string in the A/UX 3.1 sh.
2240 cat <<_ACEOF
2241 \`configure' configures Wine 2.7 to adapt to many kinds of systems.
2243 Usage: $0 [OPTION]... [VAR=VALUE]...
2245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2246 VAR=VALUE. See below for descriptions of some of the useful variables.
2248 Defaults for the options are specified in brackets.
2250 Configuration:
2251 -h, --help display this help and exit
2252 --help=short display options specific to this package
2253 --help=recursive display the short help of all the included packages
2254 -V, --version display version information and exit
2255 -q, --quiet, --silent do not print \`checking ...' messages
2256 --cache-file=FILE cache test results in FILE [disabled]
2257 -C, --config-cache alias for \`--cache-file=config.cache'
2258 -n, --no-create do not create output files
2259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2261 Installation directories:
2262 --prefix=PREFIX install architecture-independent files in PREFIX
2263 [$ac_default_prefix]
2264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2265 [PREFIX]
2267 By default, \`make install' will install all the files in
2268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2270 for instance \`--prefix=\$HOME'.
2272 For better control, use the options below.
2274 Fine tuning of the installation directories:
2275 --bindir=DIR user executables [EPREFIX/bin]
2276 --sbindir=DIR system admin executables [EPREFIX/sbin]
2277 --libexecdir=DIR program executables [EPREFIX/libexec]
2278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2281 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2282 --libdir=DIR object code libraries [EPREFIX/lib]
2283 --includedir=DIR C header files [PREFIX/include]
2284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2287 --infodir=DIR info documentation [DATAROOTDIR/info]
2288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2289 --mandir=DIR man documentation [DATAROOTDIR/man]
2290 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2291 --htmldir=DIR html documentation [DOCDIR]
2292 --dvidir=DIR dvi documentation [DOCDIR]
2293 --pdfdir=DIR pdf documentation [DOCDIR]
2294 --psdir=DIR ps documentation [DOCDIR]
2295 _ACEOF
2297 cat <<\_ACEOF
2299 X features:
2300 --x-includes=DIR X include files are in DIR
2301 --x-libraries=DIR X library files are in DIR
2303 System types:
2304 --build=BUILD configure for building on BUILD [guessed]
2305 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2306 _ACEOF
2309 if test -n "$ac_init_help"; then
2310 case $ac_init_help in
2311 short | recursive ) echo "Configuration of Wine 2.7:";;
2312 esac
2313 cat <<\_ACEOF
2315 Optional Features:
2316 --disable-option-checking ignore unrecognized --enable/--with options
2317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2319 --disable-win16 do not include Win16 support
2320 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2321 binaries)
2322 --disable-tests do not build the regression tests
2323 --enable-maintainer-mode
2324 enable maintainer-specific build rules
2325 --disable-largefile omit support for large files
2327 Optional Packages:
2328 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2329 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2330 --without-alsa do not use the Alsa sound support
2331 --without-capi do not use CAPI (ISDN support)
2332 --without-cms do not use CMS (color management support)
2333 --without-coreaudio do not use the CoreAudio sound support
2334 --without-cups do not use CUPS
2335 --without-curses do not use (n)curses
2336 --without-dbus do not use DBus (dynamic device support)
2337 --without-fontconfig do not use fontconfig
2338 --without-freetype do not use the FreeType library
2339 --without-gettext do not use gettext
2340 --with-gettextpo use the GetTextPO library to rebuild po files
2341 --without-gphoto do not use gphoto (Digital Camera support)
2342 --without-glu do not use the GLU library
2343 --without-gnutls do not use GnuTLS (schannel support)
2344 --without-gsm do not use libgsm (GSM 06.10 codec support)
2345 --without-gstreamer do not use GStreamer (codecs support)
2346 --without-hal do not use HAL (dynamic device support)
2347 --without-jpeg do not use JPEG
2348 --without-ldap do not use LDAP
2349 --without-mpg123 do not use the mpg123 library
2350 --without-netapi do not use the Samba NetAPI library
2351 --without-openal do not use OpenAL
2352 --without-opencl do not use OpenCL
2353 --without-opengl do not use OpenGL
2354 --without-osmesa do not use the OSMesa library
2355 --without-oss do not use the OSS sound support
2356 --without-pcap do not use the Packet Capture library
2357 --without-png do not use PNG
2358 --without-pthread do not use the pthread library
2359 --without-pulse do not use PulseAudio sound support
2360 --without-sane do not use SANE (scanner support)
2361 --without-tiff do not use TIFF
2362 --without-udev do not use udev (plug and play support)
2363 --without-v4l do not use v4l1 (v4l support)
2364 --without-xcomposite do not use the Xcomposite extension
2365 --without-xcursor do not use the Xcursor extension
2366 --without-xinerama do not use Xinerama (multi-monitor support)
2367 --without-xinput do not use the Xinput extension
2368 --without-xinput2 do not use the Xinput 2 extension
2369 --without-xml do not use XML
2370 --without-xrandr do not use Xrandr (resolution changes)
2371 --without-xrender do not use the Xrender extension
2372 --without-xshape do not use the Xshape extension
2373 --without-xshm do not use XShm (shared memory extension)
2374 --without-xslt do not use XSLT
2375 --without-xxf86vm do not use XFree video mode extension
2376 --without-zlib do not use Zlib (data compression)
2377 --with-wine-tools=DIR use Wine tools from directory DIR
2378 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2379 --with-x use the X Window System
2381 Some influential environment variables:
2382 CC C compiler command
2383 CFLAGS C compiler flags
2384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2385 nonstandard directory <lib dir>
2386 LIBS libraries to pass to the linker, e.g. -l<library>
2387 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2388 you have headers in a nonstandard directory <include dir>
2389 CXX C++ compiler command
2390 CXXFLAGS C++ compiler flags
2391 CPP C preprocessor
2392 XMKMF Path to xmkmf, Makefile generator for X Window System
2393 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2394 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2395 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2396 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2397 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2398 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2399 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2400 HAL_LIBS Linker flags for hal, overriding pkg-config
2401 GNUTLS_CFLAGS
2402 C compiler flags for gnutls, overriding pkg-config
2403 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2404 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2405 SANE_LIBS Linker flags for libsane, overriding pkg-config
2406 GPHOTO2_CFLAGS
2407 C compiler flags for libgphoto2, overriding pkg-config
2408 GPHOTO2_LIBS
2409 Linker flags for libgphoto2, overriding pkg-config
2410 GPHOTO2_PORT_CFLAGS
2411 C compiler flags for libgphoto2_port, overriding pkg-config
2412 GPHOTO2_PORT_LIBS
2413 Linker flags for libgphoto2_port, overriding pkg-config
2414 LCMS2_CFLAGS
2415 C compiler flags for lcms2, overriding pkg-config
2416 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2417 FREETYPE_CFLAGS
2418 C compiler flags for freetype2, overriding pkg-config
2419 FREETYPE_LIBS
2420 Linker flags for freetype2, overriding pkg-config
2421 PULSE_CFLAGS
2422 C compiler flags for libpulse, overriding pkg-config
2423 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2424 GSTREAMER_CFLAGS
2425 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2426 gstreamer-audio-1.0, overriding pkg-config
2427 GSTREAMER_LIBS
2428 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2429 gstreamer-audio-1.0, overriding pkg-config
2430 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2431 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2432 CAPI20_CFLAGS
2433 C compiler flags for capi20, overriding pkg-config
2434 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2435 FONTCONFIG_CFLAGS
2436 C compiler flags for fontconfig, overriding pkg-config
2437 FONTCONFIG_LIBS
2438 Linker flags for fontconfig, overriding pkg-config
2439 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2440 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2441 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2442 PNG_LIBS Linker flags for libpng, overriding pkg-config
2443 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2444 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2445 MPG123_CFLAGS
2446 C compiler flags for libmpg123, overriding pkg-config
2447 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2448 NETAPI_CFLAGS
2449 C compiler flags for netapi, overriding pkg-config
2450 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2452 Use these variables to override the choices made by `configure' or to help
2453 it to find libraries and programs with nonstandard names/locations.
2455 Report bugs to <wine-devel@winehq.org>.
2456 Wine home page: <http://www.winehq.org>.
2457 _ACEOF
2458 ac_status=$?
2461 if test "$ac_init_help" = "recursive"; then
2462 # If there are subdirs, report their specific --help.
2463 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2464 test -d "$ac_dir" ||
2465 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2466 continue
2467 ac_builddir=.
2469 case "$ac_dir" in
2470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2473 # A ".." for each directory in $ac_dir_suffix.
2474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2475 case $ac_top_builddir_sub in
2476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2478 esac ;;
2479 esac
2480 ac_abs_top_builddir=$ac_pwd
2481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2482 # for backward compatibility:
2483 ac_top_builddir=$ac_top_build_prefix
2485 case $srcdir in
2486 .) # We are building in place.
2487 ac_srcdir=.
2488 ac_top_srcdir=$ac_top_builddir_sub
2489 ac_abs_top_srcdir=$ac_pwd ;;
2490 [\\/]* | ?:[\\/]* ) # Absolute name.
2491 ac_srcdir=$srcdir$ac_dir_suffix;
2492 ac_top_srcdir=$srcdir
2493 ac_abs_top_srcdir=$srcdir ;;
2494 *) # Relative name.
2495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2496 ac_top_srcdir=$ac_top_build_prefix$srcdir
2497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2498 esac
2499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2501 cd "$ac_dir" || { ac_status=$?; continue; }
2502 # Check for guested configure.
2503 if test -f "$ac_srcdir/configure.gnu"; then
2504 echo &&
2505 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2506 elif test -f "$ac_srcdir/configure"; then
2507 echo &&
2508 $SHELL "$ac_srcdir/configure" --help=recursive
2509 else
2510 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2511 fi || ac_status=$?
2512 cd "$ac_pwd" || { ac_status=$?; break; }
2513 done
2516 test -n "$ac_init_help" && exit $ac_status
2517 if $ac_init_version; then
2518 cat <<\_ACEOF
2519 Wine configure 2.7
2520 generated by GNU Autoconf 2.69
2522 Copyright (C) 2012 Free Software Foundation, Inc.
2523 This configure script is free software; the Free Software Foundation
2524 gives unlimited permission to copy, distribute and modify it.
2525 _ACEOF
2526 exit
2529 ## ------------------------ ##
2530 ## Autoconf initialization. ##
2531 ## ------------------------ ##
2533 # ac_fn_c_try_compile LINENO
2534 # --------------------------
2535 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2536 ac_fn_c_try_compile ()
2538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539 rm -f conftest.$ac_objext
2540 if { { ac_try="$ac_compile"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2546 $as_echo "$ac_try_echo"; } >&5
2547 (eval "$ac_compile") 2>conftest.err
2548 ac_status=$?
2549 if test -s conftest.err; then
2550 grep -v '^ *+' conftest.err >conftest.er1
2551 cat conftest.er1 >&5
2552 mv -f conftest.er1 conftest.err
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; } && {
2556 test -z "$ac_c_werror_flag" ||
2557 test ! -s conftest.err
2558 } && test -s conftest.$ac_objext; then :
2559 ac_retval=0
2560 else
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 ac_retval=1
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567 as_fn_set_status $ac_retval
2569 } # ac_fn_c_try_compile
2571 # ac_fn_cxx_try_compile LINENO
2572 # ----------------------------
2573 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2574 ac_fn_cxx_try_compile ()
2576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2577 rm -f conftest.$ac_objext
2578 if { { ac_try="$ac_compile"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_compile") 2>conftest.err
2586 ac_status=$?
2587 if test -s conftest.err; then
2588 grep -v '^ *+' conftest.err >conftest.er1
2589 cat conftest.er1 >&5
2590 mv -f conftest.er1 conftest.err
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } && {
2594 test -z "$ac_cxx_werror_flag" ||
2595 test ! -s conftest.err
2596 } && test -s conftest.$ac_objext; then :
2597 ac_retval=0
2598 else
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2602 ac_retval=1
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2607 } # ac_fn_cxx_try_compile
2609 # ac_fn_c_try_link LINENO
2610 # -----------------------
2611 # Try to link conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_c_try_link ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 rm -f conftest.$ac_objext conftest$ac_exeext
2616 if { { ac_try="$ac_link"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_link") 2>conftest.err
2624 ac_status=$?
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } && {
2632 test -z "$ac_c_werror_flag" ||
2633 test ! -s conftest.err
2634 } && test -s conftest$ac_exeext && {
2635 test "$cross_compiling" = yes ||
2636 test -x conftest$ac_exeext
2637 }; then :
2638 ac_retval=0
2639 else
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_retval=1
2645 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2646 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2647 # interfere with the next link command; also delete a directory that is
2648 # left behind by Apple's compiler. We do this before executing the actions.
2649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 as_fn_set_status $ac_retval
2653 } # ac_fn_c_try_link
2655 # ac_fn_c_try_cpp LINENO
2656 # ----------------------
2657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2658 ac_fn_c_try_cpp ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 if { { ac_try="$ac_cpp conftest.$ac_ext"
2662 case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2667 $as_echo "$ac_try_echo"; } >&5
2668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2669 ac_status=$?
2670 if test -s conftest.err; then
2671 grep -v '^ *+' conftest.err >conftest.er1
2672 cat conftest.er1 >&5
2673 mv -f conftest.er1 conftest.err
2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; } > conftest.i && {
2677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 }; then :
2680 ac_retval=0
2681 else
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 ac_retval=1
2687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 as_fn_set_status $ac_retval
2690 } # ac_fn_c_try_cpp
2692 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2693 # -------------------------------------------------------
2694 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2695 # the include files in INCLUDES and setting the cache variable VAR
2696 # accordingly.
2697 ac_fn_c_check_header_mongrel ()
2699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2700 if eval \${$3+:} false; then :
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2702 $as_echo_n "checking for $2... " >&6; }
2703 if eval \${$3+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 else
2710 # Is the header compilable?
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2712 $as_echo_n "checking $2 usability... " >&6; }
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2716 #include <$2>
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 ac_header_compiler=yes
2720 else
2721 ac_header_compiler=no
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2725 $as_echo "$ac_header_compiler" >&6; }
2727 # Is the header present?
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2729 $as_echo_n "checking $2 presence... " >&6; }
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_cpp "$LINENO"; then :
2735 ac_header_preproc=yes
2736 else
2737 ac_header_preproc=no
2739 rm -f conftest.err conftest.i conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2741 $as_echo "$ac_header_preproc" >&6; }
2743 # So? What about this header?
2744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2745 yes:no: )
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2747 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2751 no:yes:* )
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2753 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2755 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2757 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2759 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2761 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2762 ( $as_echo "## ------------------------------------ ##
2763 ## Report this to wine-devel@winehq.org ##
2764 ## ------------------------------------ ##"
2765 ) | sed "s/^/$as_me: WARNING: /" >&2
2767 esac
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2769 $as_echo_n "checking for $2... " >&6; }
2770 if eval \${$3+:} false; then :
2771 $as_echo_n "(cached) " >&6
2772 else
2773 eval "$3=\$ac_header_compiler"
2775 eval ac_res=\$$3
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 } # ac_fn_c_check_header_mongrel
2783 # ac_fn_c_try_run LINENO
2784 # ----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2786 # that executables *can* be run.
2787 ac_fn_c_try_run ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>&5
2798 ac_status=$?
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2801 { { case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_try") 2>&5
2808 ac_status=$?
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; }; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: program exited with status $ac_status" >&5
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=$ac_status
2819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 as_fn_set_status $ac_retval
2823 } # ac_fn_c_try_run
2825 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2826 # -------------------------------------------------------
2827 # Tests whether HEADER exists and can be compiled using the include files in
2828 # INCLUDES, setting the cache variable VAR accordingly.
2829 ac_fn_c_check_header_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2833 $as_echo_n "checking for $2... " >&6; }
2834 if eval \${$3+:} false; then :
2835 $as_echo_n "(cached) " >&6
2836 else
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2840 #include <$2>
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 eval "$3=yes"
2844 else
2845 eval "$3=no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 eval ac_res=\$$3
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851 $as_echo "$ac_res" >&6; }
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 } # ac_fn_c_check_header_compile
2856 # ac_fn_c_check_func LINENO FUNC VAR
2857 # ----------------------------------
2858 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2859 ac_fn_c_check_func ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2863 $as_echo_n "checking for $2... " >&6; }
2864 if eval \${$3+:} false; then :
2865 $as_echo_n "(cached) " >&6
2866 else
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2869 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2871 #define $2 innocuous_$2
2873 /* System header to define __stub macros and hopefully few prototypes,
2874 which can conflict with char $2 (); below.
2875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2876 <limits.h> exists even on freestanding compilers. */
2878 #ifdef __STDC__
2879 # include <limits.h>
2880 #else
2881 # include <assert.h>
2882 #endif
2884 #undef $2
2886 /* Override any GCC internal prototype to avoid an error.
2887 Use char because int might match the return type of a GCC
2888 builtin and then its argument prototype would still apply. */
2889 #ifdef __cplusplus
2890 extern "C"
2891 #endif
2892 char $2 ();
2893 /* The GNU C library defines this for functions which it implements
2894 to always fail with ENOSYS. Some functions are actually named
2895 something starting with __ and the normal name is an alias. */
2896 #if defined __stub_$2 || defined __stub___$2
2897 choke me
2898 #endif
2901 main ()
2903 return $2 ();
2905 return 0;
2907 _ACEOF
2908 if ac_fn_c_try_link "$LINENO"; then :
2909 eval "$3=yes"
2910 else
2911 eval "$3=no"
2913 rm -f core conftest.err conftest.$ac_objext \
2914 conftest$ac_exeext conftest.$ac_ext
2916 eval ac_res=\$$3
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2918 $as_echo "$ac_res" >&6; }
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 } # ac_fn_c_check_func
2923 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2924 # ----------------------------------------------------
2925 # Tries to find if the field MEMBER exists in type AGGR, after including
2926 # INCLUDES, setting cache variable VAR accordingly.
2927 ac_fn_c_check_member ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2931 $as_echo_n "checking for $2.$3... " >&6; }
2932 if eval \${$4+:} false; then :
2933 $as_echo_n "(cached) " >&6
2934 else
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 main ()
2941 static $2 ac_aggr;
2942 if (ac_aggr.$3)
2943 return 0;
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 eval "$4=yes"
2950 else
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 main ()
2957 static $2 ac_aggr;
2958 if (sizeof ac_aggr.$3)
2959 return 0;
2961 return 0;
2963 _ACEOF
2964 if ac_fn_c_try_compile "$LINENO"; then :
2965 eval "$4=yes"
2966 else
2967 eval "$4=no"
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 eval ac_res=\$$4
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2975 $as_echo "$ac_res" >&6; }
2976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 } # ac_fn_c_check_member
2980 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2981 # -------------------------------------------
2982 # Tests whether TYPE exists after having included INCLUDES, setting cache
2983 # variable VAR accordingly.
2984 ac_fn_c_check_type ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2988 $as_echo_n "checking for $2... " >&6; }
2989 if eval \${$3+:} false; then :
2990 $as_echo_n "(cached) " >&6
2991 else
2992 eval "$3=no"
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
2999 if (sizeof ($2))
3000 return 0;
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3010 main ()
3012 if (sizeof (($2)))
3013 return 0;
3015 return 0;
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3020 else
3021 eval "$3=yes"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 eval ac_res=\$$3
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 $as_echo "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_type
3033 cat >config.log <<_ACEOF
3034 This file contains any messages produced by compilers while
3035 running configure, to aid debugging if configure makes a mistake.
3037 It was created by Wine $as_me 2.7, which was
3038 generated by GNU Autoconf 2.69. Invocation command line was
3040 $ $0 $@
3042 _ACEOF
3043 exec 5>>config.log
3045 cat <<_ASUNAME
3046 ## --------- ##
3047 ## Platform. ##
3048 ## --------- ##
3050 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3051 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3052 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3053 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3054 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3056 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3057 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3059 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3060 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3061 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3062 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3063 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3064 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3065 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3067 _ASUNAME
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3072 IFS=$as_save_IFS
3073 test -z "$as_dir" && as_dir=.
3074 $as_echo "PATH: $as_dir"
3075 done
3076 IFS=$as_save_IFS
3078 } >&5
3080 cat >&5 <<_ACEOF
3083 ## ----------- ##
3084 ## Core tests. ##
3085 ## ----------- ##
3087 _ACEOF
3090 # Keep a trace of the command line.
3091 # Strip out --no-create and --no-recursion so they do not pile up.
3092 # Strip out --silent because we don't want to record it for future runs.
3093 # Also quote any args containing shell meta-characters.
3094 # Make two passes to allow for proper duplicate-argument suppression.
3095 ac_configure_args=
3096 ac_configure_args0=
3097 ac_configure_args1=
3098 ac_must_keep_next=false
3099 for ac_pass in 1 2
3101 for ac_arg
3103 case $ac_arg in
3104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3106 | -silent | --silent | --silen | --sile | --sil)
3107 continue ;;
3108 *\'*)
3109 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3110 esac
3111 case $ac_pass in
3112 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3114 as_fn_append ac_configure_args1 " '$ac_arg'"
3115 if test $ac_must_keep_next = true; then
3116 ac_must_keep_next=false # Got value, back to normal.
3117 else
3118 case $ac_arg in
3119 *=* | --config-cache | -C | -disable-* | --disable-* \
3120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3122 | -with-* | --with-* | -without-* | --without-* | --x)
3123 case "$ac_configure_args0 " in
3124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3125 esac
3127 -* ) ac_must_keep_next=true ;;
3128 esac
3130 as_fn_append ac_configure_args " '$ac_arg'"
3132 esac
3133 done
3134 done
3135 { ac_configure_args0=; unset ac_configure_args0;}
3136 { ac_configure_args1=; unset ac_configure_args1;}
3138 # When interrupted or exit'd, cleanup temporary files, and complete
3139 # config.log. We remove comments because anyway the quotes in there
3140 # would cause problems or look ugly.
3141 # WARNING: Use '\'' to represent an apostrophe within the trap.
3142 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3143 trap 'exit_status=$?
3144 # Save into config.log some information that might help in debugging.
3146 echo
3148 $as_echo "## ---------------- ##
3149 ## Cache variables. ##
3150 ## ---------------- ##"
3151 echo
3152 # The following way of writing the cache mishandles newlines in values,
3154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3155 eval ac_val=\$$ac_var
3156 case $ac_val in #(
3157 *${as_nl}*)
3158 case $ac_var in #(
3159 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3161 esac
3162 case $ac_var in #(
3163 _ | IFS | as_nl) ;; #(
3164 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3165 *) { eval $ac_var=; unset $ac_var;} ;;
3166 esac ;;
3167 esac
3168 done
3169 (set) 2>&1 |
3170 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3171 *${as_nl}ac_space=\ *)
3172 sed -n \
3173 "s/'\''/'\''\\\\'\'''\''/g;
3174 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3175 ;; #(
3177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3179 esac |
3180 sort
3182 echo
3184 $as_echo "## ----------------- ##
3185 ## Output variables. ##
3186 ## ----------------- ##"
3187 echo
3188 for ac_var in $ac_subst_vars
3190 eval ac_val=\$$ac_var
3191 case $ac_val in
3192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3193 esac
3194 $as_echo "$ac_var='\''$ac_val'\''"
3195 done | sort
3196 echo
3198 if test -n "$ac_subst_files"; then
3199 $as_echo "## ------------------- ##
3200 ## File substitutions. ##
3201 ## ------------------- ##"
3202 echo
3203 for ac_var in $ac_subst_files
3205 eval ac_val=\$$ac_var
3206 case $ac_val in
3207 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3208 esac
3209 $as_echo "$ac_var='\''$ac_val'\''"
3210 done | sort
3211 echo
3214 if test -s confdefs.h; then
3215 $as_echo "## ----------- ##
3216 ## confdefs.h. ##
3217 ## ----------- ##"
3218 echo
3219 cat confdefs.h
3220 echo
3222 test "$ac_signal" != 0 &&
3223 $as_echo "$as_me: caught signal $ac_signal"
3224 $as_echo "$as_me: exit $exit_status"
3225 } >&5
3226 rm -f core *.core core.conftest.* &&
3227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3228 exit $exit_status
3230 for ac_signal in 1 2 13 15; do
3231 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3232 done
3233 ac_signal=0
3235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3236 rm -f -r conftest* confdefs.h
3238 $as_echo "/* confdefs.h */" > confdefs.h
3240 # Predefined preprocessor variables.
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_NAME "$PACKAGE_NAME"
3244 _ACEOF
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3248 _ACEOF
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3252 _ACEOF
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_STRING "$PACKAGE_STRING"
3256 _ACEOF
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3260 _ACEOF
3262 cat >>confdefs.h <<_ACEOF
3263 #define PACKAGE_URL "$PACKAGE_URL"
3264 _ACEOF
3267 # Let the site file select an alternate cache file if it wants to.
3268 # Prefer an explicitly selected file to automatically selected ones.
3269 ac_site_file1=NONE
3270 ac_site_file2=NONE
3271 if test -n "$CONFIG_SITE"; then
3272 # We do not want a PATH search for config.site.
3273 case $CONFIG_SITE in #((
3274 -*) ac_site_file1=./$CONFIG_SITE;;
3275 */*) ac_site_file1=$CONFIG_SITE;;
3276 *) ac_site_file1=./$CONFIG_SITE;;
3277 esac
3278 elif test "x$prefix" != xNONE; then
3279 ac_site_file1=$prefix/share/config.site
3280 ac_site_file2=$prefix/etc/config.site
3281 else
3282 ac_site_file1=$ac_default_prefix/share/config.site
3283 ac_site_file2=$ac_default_prefix/etc/config.site
3285 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3287 test "x$ac_site_file" = xNONE && continue
3288 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3290 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3291 sed 's/^/| /' "$ac_site_file" >&5
3292 . "$ac_site_file" \
3293 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $? "failed to load site script $ac_site_file
3296 See \`config.log' for more details" "$LINENO" 5; }
3298 done
3300 if test -r "$cache_file"; then
3301 # Some versions of bash will fail to source /dev/null (special files
3302 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3303 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3305 $as_echo "$as_me: loading cache $cache_file" >&6;}
3306 case $cache_file in
3307 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3308 *) . "./$cache_file";;
3309 esac
3311 else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3313 $as_echo "$as_me: creating cache $cache_file" >&6;}
3314 >$cache_file
3317 # Check that the precious variables saved in the cache have kept the same
3318 # value.
3319 ac_cache_corrupted=false
3320 for ac_var in $ac_precious_vars; do
3321 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3322 eval ac_new_set=\$ac_env_${ac_var}_set
3323 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3324 eval ac_new_val=\$ac_env_${ac_var}_value
3325 case $ac_old_set,$ac_new_set in
3326 set,)
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3328 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3329 ac_cache_corrupted=: ;;
3330 ,set)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3332 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3333 ac_cache_corrupted=: ;;
3334 ,);;
3336 if test "x$ac_old_val" != "x$ac_new_val"; then
3337 # differences in whitespace do not lead to failure.
3338 ac_old_val_w=`echo x $ac_old_val`
3339 ac_new_val_w=`echo x $ac_new_val`
3340 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3342 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3343 ac_cache_corrupted=:
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3346 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3347 eval $ac_var=\$ac_old_val
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3350 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3352 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3353 fi;;
3354 esac
3355 # Pass precious variables to config.status.
3356 if test "$ac_new_set" = set; then
3357 case $ac_new_val in
3358 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3359 *) ac_arg=$ac_var=$ac_new_val ;;
3360 esac
3361 case " $ac_configure_args " in
3362 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3363 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3364 esac
3366 done
3367 if $ac_cache_corrupted; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3371 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3372 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3374 ## -------------------- ##
3375 ## Main body of script. ##
3376 ## -------------------- ##
3378 ac_ext=c
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 ac_config_headers="$ac_config_headers include/config.h"
3388 ac_aux_dir=
3389 for ac_dir in tools "$srcdir"/tools; do
3390 if test -f "$ac_dir/install-sh"; then
3391 ac_aux_dir=$ac_dir
3392 ac_install_sh="$ac_aux_dir/install-sh -c"
3393 break
3394 elif test -f "$ac_dir/install.sh"; then
3395 ac_aux_dir=$ac_dir
3396 ac_install_sh="$ac_aux_dir/install.sh -c"
3397 break
3398 elif test -f "$ac_dir/shtool"; then
3399 ac_aux_dir=$ac_dir
3400 ac_install_sh="$ac_aux_dir/shtool install -c"
3401 break
3403 done
3404 if test -z "$ac_aux_dir"; then
3405 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3408 # These three variables are undocumented and unsupported,
3409 # and are intended to be withdrawn in a future Autoconf release.
3410 # They can cause serious problems if a builder's source tree is in a directory
3411 # whose full name contains unusual characters.
3412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3418 libwine_version="1.0"
3422 # Check whether --enable-win16 was given.
3423 if test "${enable_win16+set}" = set; then :
3424 enableval=$enable_win16;
3427 # Check whether --enable-win64 was given.
3428 if test "${enable_win64+set}" = set; then :
3429 enableval=$enable_win64;
3432 # Check whether --enable-tests was given.
3433 if test "${enable_tests+set}" = set; then :
3434 enableval=$enable_tests;
3437 # Check whether --enable-maintainer-mode was given.
3438 if test "${enable_maintainer_mode+set}" = set; then :
3439 enableval=$enable_maintainer_mode;
3444 # Check whether --with-alsa was given.
3445 if test "${with_alsa+set}" = set; then :
3446 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3450 # Check whether --with-capi was given.
3451 if test "${with_capi+set}" = set; then :
3452 withval=$with_capi;
3456 # Check whether --with-cms was given.
3457 if test "${with_cms+set}" = set; then :
3458 withval=$with_cms;
3462 # Check whether --with-coreaudio was given.
3463 if test "${with_coreaudio+set}" = set; then :
3464 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3468 # Check whether --with-cups was given.
3469 if test "${with_cups+set}" = set; then :
3470 withval=$with_cups;
3474 # Check whether --with-curses was given.
3475 if test "${with_curses+set}" = set; then :
3476 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3480 # Check whether --with-dbus was given.
3481 if test "${with_dbus+set}" = set; then :
3482 withval=$with_dbus;
3486 # Check whether --with-fontconfig was given.
3487 if test "${with_fontconfig+set}" = set; then :
3488 withval=$with_fontconfig;
3492 # Check whether --with-freetype was given.
3493 if test "${with_freetype+set}" = set; then :
3494 withval=$with_freetype;
3498 # Check whether --with-gettext was given.
3499 if test "${with_gettext+set}" = set; then :
3500 withval=$with_gettext;
3504 # Check whether --with-gettextpo was given.
3505 if test "${with_gettextpo+set}" = set; then :
3506 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3510 # Check whether --with-gphoto was given.
3511 if test "${with_gphoto+set}" = set; then :
3512 withval=$with_gphoto;
3516 # Check whether --with-glu was given.
3517 if test "${with_glu+set}" = set; then :
3518 withval=$with_glu;
3522 # Check whether --with-gnutls was given.
3523 if test "${with_gnutls+set}" = set; then :
3524 withval=$with_gnutls;
3528 # Check whether --with-gsm was given.
3529 if test "${with_gsm+set}" = set; then :
3530 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3534 # Check whether --with-gstreamer was given.
3535 if test "${with_gstreamer+set}" = set; then :
3536 withval=$with_gstreamer;
3540 # Check whether --with-hal was given.
3541 if test "${with_hal+set}" = set; then :
3542 withval=$with_hal;
3546 # Check whether --with-jpeg was given.
3547 if test "${with_jpeg+set}" = set; then :
3548 withval=$with_jpeg;
3552 # Check whether --with-ldap was given.
3553 if test "${with_ldap+set}" = set; then :
3554 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3558 # Check whether --with-mpg123 was given.
3559 if test "${with_mpg123+set}" = set; then :
3560 withval=$with_mpg123;
3564 # Check whether --with-netapi was given.
3565 if test "${with_netapi+set}" = set; then :
3566 withval=$with_netapi;
3570 # Check whether --with-openal was given.
3571 if test "${with_openal+set}" = set; then :
3572 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3576 # Check whether --with-opencl was given.
3577 if test "${with_opencl+set}" = set; then :
3578 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3582 # Check whether --with-opengl was given.
3583 if test "${with_opengl+set}" = set; then :
3584 withval=$with_opengl;
3588 # Check whether --with-osmesa was given.
3589 if test "${with_osmesa+set}" = set; then :
3590 withval=$with_osmesa;
3594 # Check whether --with-oss was given.
3595 if test "${with_oss+set}" = set; then :
3596 withval=$with_oss;
3600 # Check whether --with-pcap was given.
3601 if test "${with_pcap+set}" = set; then :
3602 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3606 # Check whether --with-png was given.
3607 if test "${with_png+set}" = set; then :
3608 withval=$with_png;
3612 # Check whether --with-pthread was given.
3613 if test "${with_pthread+set}" = set; then :
3614 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3618 # Check whether --with-pulse was given.
3619 if test "${with_pulse+set}" = set; then :
3620 withval=$with_pulse;
3624 # Check whether --with-sane was given.
3625 if test "${with_sane+set}" = set; then :
3626 withval=$with_sane;
3630 # Check whether --with-tiff was given.
3631 if test "${with_tiff+set}" = set; then :
3632 withval=$with_tiff;
3636 # Check whether --with-udev was given.
3637 if test "${with_udev+set}" = set; then :
3638 withval=$with_udev;
3642 # Check whether --with-v4l was given.
3643 if test "${with_v4l+set}" = set; then :
3644 withval=$with_v4l;
3648 # Check whether --with-xcomposite was given.
3649 if test "${with_xcomposite+set}" = set; then :
3650 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3654 # Check whether --with-xcursor was given.
3655 if test "${with_xcursor+set}" = set; then :
3656 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3660 # Check whether --with-xinerama was given.
3661 if test "${with_xinerama+set}" = set; then :
3662 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3666 # Check whether --with-xinput was given.
3667 if test "${with_xinput+set}" = set; then :
3668 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3672 # Check whether --with-xinput2 was given.
3673 if test "${with_xinput2+set}" = set; then :
3674 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3678 # Check whether --with-xml was given.
3679 if test "${with_xml+set}" = set; then :
3680 withval=$with_xml;
3684 # Check whether --with-xrandr was given.
3685 if test "${with_xrandr+set}" = set; then :
3686 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3690 # Check whether --with-xrender was given.
3691 if test "${with_xrender+set}" = set; then :
3692 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3696 # Check whether --with-xshape was given.
3697 if test "${with_xshape+set}" = set; then :
3698 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3702 # Check whether --with-xshm was given.
3703 if test "${with_xshm+set}" = set; then :
3704 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3708 # Check whether --with-xslt was given.
3709 if test "${with_xslt+set}" = set; then :
3710 withval=$with_xslt;
3714 # Check whether --with-xxf86vm was given.
3715 if test "${with_xxf86vm+set}" = set; then :
3716 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
3720 # Check whether --with-zlib was given.
3721 if test "${with_zlib+set}" = set; then :
3722 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3727 # Check whether --with-wine-tools was given.
3728 if test "${with_wine_tools+set}" = set; then :
3729 withval=$with_wine_tools;
3733 # Check whether --with-wine64 was given.
3734 if test "${with_wine64+set}" = set; then :
3735 withval=$with_wine64;
3739 # Make sure we can run config.sub.
3740 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3741 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3744 $as_echo_n "checking build system type... " >&6; }
3745 if ${ac_cv_build+:} false; then :
3746 $as_echo_n "(cached) " >&6
3747 else
3748 ac_build_alias=$build_alias
3749 test "x$ac_build_alias" = x &&
3750 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3751 test "x$ac_build_alias" = x &&
3752 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3754 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3758 $as_echo "$ac_cv_build" >&6; }
3759 case $ac_cv_build in
3760 *-*-*) ;;
3761 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3762 esac
3763 build=$ac_cv_build
3764 ac_save_IFS=$IFS; IFS='-'
3765 set x $ac_cv_build
3766 shift
3767 build_cpu=$1
3768 build_vendor=$2
3769 shift; shift
3770 # Remember, the first character of IFS is used to create $*,
3771 # except with old shells:
3772 build_os=$*
3773 IFS=$ac_save_IFS
3774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3778 $as_echo_n "checking host system type... " >&6; }
3779 if ${ac_cv_host+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test "x$host_alias" = x; then
3783 ac_cv_host=$ac_cv_build
3784 else
3785 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3786 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3791 $as_echo "$ac_cv_host" >&6; }
3792 case $ac_cv_host in
3793 *-*-*) ;;
3794 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3795 esac
3796 host=$ac_cv_host
3797 ac_save_IFS=$IFS; IFS='-'
3798 set x $ac_cv_host
3799 shift
3800 host_cpu=$1
3801 host_vendor=$2
3802 shift; shift
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3805 host_os=$*
3806 IFS=$ac_save_IFS
3807 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3811 case "$srcdir" in
3812 .) ;;
3813 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3814 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3815 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3816 fi ;;
3817 esac
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3821 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3822 set x ${MAKE-make}
3823 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3824 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 cat >conftest.make <<\_ACEOF
3828 SHELL = /bin/sh
3829 all:
3830 @echo '@@@%%%=$(MAKE)=@@@%%%'
3831 _ACEOF
3832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3833 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3834 *@@@%%%=?*=@@@%%%*)
3835 eval ac_cv_prog_make_${ac_make}_set=yes;;
3837 eval ac_cv_prog_make_${ac_make}_set=no;;
3838 esac
3839 rm -f conftest.make
3841 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3843 $as_echo "yes" >&6; }
3844 SET_MAKE=
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3848 SET_MAKE="MAKE=${MAKE-make}"
3851 ac_ext=c
3852 ac_cpp='$CPP $CPPFLAGS'
3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3856 if test -n "$ac_tool_prefix"; then
3857 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3858 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if ${ac_cv_prog_CC+:} false; then :
3862 $as_echo_n "(cached) " >&6
3863 else
3864 if test -n "$CC"; then
3865 ac_cv_prog_CC="$CC" # Let the user override the test.
3866 else
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 for as_dir in $PATH
3870 IFS=$as_save_IFS
3871 test -z "$as_dir" && as_dir=.
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3874 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 break 2
3878 done
3879 done
3880 IFS=$as_save_IFS
3884 CC=$ac_cv_prog_CC
3885 if test -n "$CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887 $as_echo "$CC" >&6; }
3888 else
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3895 if test -z "$ac_cv_prog_CC"; then
3896 ac_ct_CC=$CC
3897 # Extract the first word of "gcc", so it can be a program name with args.
3898 set dummy gcc; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3902 $as_echo_n "(cached) " >&6
3903 else
3904 if test -n "$ac_ct_CC"; then
3905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3906 else
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 for as_dir in $PATH
3910 IFS=$as_save_IFS
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3914 ac_cv_prog_ac_ct_CC="gcc"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 break 2
3918 done
3919 done
3920 IFS=$as_save_IFS
3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3925 if test -n "$ac_ct_CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3927 $as_echo "$ac_ct_CC" >&6; }
3928 else
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3933 if test "x$ac_ct_CC" = x; then
3934 CC=""
3935 else
3936 case $cross_compiling:$ac_tool_warned in
3937 yes:)
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3940 ac_tool_warned=yes ;;
3941 esac
3942 CC=$ac_ct_CC
3944 else
3945 CC="$ac_cv_prog_CC"
3948 if test -z "$CC"; then
3949 if test -n "$ac_tool_prefix"; then
3950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3951 set dummy ${ac_tool_prefix}cc; ac_word=$2
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3953 $as_echo_n "checking for $ac_word... " >&6; }
3954 if ${ac_cv_prog_CC+:} false; then :
3955 $as_echo_n "(cached) " >&6
3956 else
3957 if test -n "$CC"; then
3958 ac_cv_prog_CC="$CC" # Let the user override the test.
3959 else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 for as_dir in $PATH
3963 IFS=$as_save_IFS
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_CC="${ac_tool_prefix}cc"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 break 2
3971 done
3972 done
3973 IFS=$as_save_IFS
3977 CC=$ac_cv_prog_CC
3978 if test -n "$CC"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3980 $as_echo "$CC" >&6; }
3981 else
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3989 if test -z "$CC"; then
3990 # Extract the first word of "cc", so it can be a program name with args.
3991 set dummy cc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if ${ac_cv_prog_CC+:} false; then :
3995 $as_echo_n "(cached) " >&6
3996 else
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 else
4000 ac_prog_rejected=no
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH
4004 IFS=$as_save_IFS
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4009 ac_prog_rejected=yes
4010 continue
4012 ac_cv_prog_CC="cc"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 break 2
4016 done
4017 done
4018 IFS=$as_save_IFS
4020 if test $ac_prog_rejected = yes; then
4021 # We found a bogon in the path, so make sure we never use it.
4022 set dummy $ac_cv_prog_CC
4023 shift
4024 if test $# != 0; then
4025 # We chose a different compiler from the bogus one.
4026 # However, it has the same basename, so the bogon will be chosen
4027 # first if we set CC to just the basename; use the full file name.
4028 shift
4029 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4034 CC=$ac_cv_prog_CC
4035 if test -n "$CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037 $as_echo "$CC" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4045 if test -z "$CC"; then
4046 if test -n "$ac_tool_prefix"; then
4047 for ac_prog in cl.exe
4049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052 $as_echo_n "checking for $ac_word... " >&6; }
4053 if ${ac_cv_prog_CC+:} false; then :
4054 $as_echo_n "(cached) " >&6
4055 else
4056 if test -n "$CC"; then
4057 ac_cv_prog_CC="$CC" # Let the user override the test.
4058 else
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060 for as_dir in $PATH
4062 IFS=$as_save_IFS
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4066 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 break 2
4070 done
4071 done
4072 IFS=$as_save_IFS
4076 CC=$ac_cv_prog_CC
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4080 else
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4086 test -n "$CC" && break
4087 done
4089 if test -z "$CC"; then
4090 ac_ct_CC=$CC
4091 for ac_prog in cl.exe
4093 # Extract the first word of "$ac_prog", so it can be a program name with args.
4094 set dummy $ac_prog; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$ac_ct_CC"; then
4101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_ac_ct_CC="$ac_prog"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4114 done
4115 done
4116 IFS=$as_save_IFS
4120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4121 if test -n "$ac_ct_CC"; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4123 $as_echo "$ac_ct_CC" >&6; }
4124 else
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126 $as_echo "no" >&6; }
4130 test -n "$ac_ct_CC" && break
4131 done
4133 if test "x$ac_ct_CC" = x; then
4134 CC=""
4135 else
4136 case $cross_compiling:$ac_tool_warned in
4137 yes:)
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4140 ac_tool_warned=yes ;;
4141 esac
4142 CC=$ac_ct_CC
4149 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error $? "no acceptable C compiler found in \$PATH
4152 See \`config.log' for more details" "$LINENO" 5; }
4154 # Provide some information about the compiler.
4155 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4156 set X $ac_compile
4157 ac_compiler=$2
4158 for ac_option in --version -v -V -qversion; do
4159 { { ac_try="$ac_compiler $ac_option >&5"
4160 case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4167 ac_status=$?
4168 if test -s conftest.err; then
4169 sed '10a\
4170 ... rest of stderr output deleted ...
4171 10q' conftest.err >conftest.er1
4172 cat conftest.er1 >&5
4174 rm -f conftest.er1 conftest.err
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }
4177 done
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 ac_clean_files_save=$ac_clean_files
4191 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4192 # Try to create an executable without -o first, disregard a.out.
4193 # It will help us diagnose broken compilers, and finding out an intuition
4194 # of exeext.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4196 $as_echo_n "checking whether the C compiler works... " >&6; }
4197 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4199 # The possible output files:
4200 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4202 ac_rmfiles=
4203 for ac_file in $ac_files
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4207 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4208 esac
4209 done
4210 rm -f $ac_rmfiles
4212 if { { ac_try="$ac_link_default"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4218 $as_echo "$ac_try_echo"; } >&5
4219 (eval "$ac_link_default") 2>&5
4220 ac_status=$?
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then :
4223 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4224 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4225 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4226 # so that the user can short-circuit this test for compilers unknown to
4227 # Autoconf.
4228 for ac_file in $ac_files ''
4230 test -f "$ac_file" || continue
4231 case $ac_file in
4232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4234 [ab].out )
4235 # We found the default executable, but exeext='' is most
4236 # certainly right.
4237 break;;
4238 *.* )
4239 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4240 then :; else
4241 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4243 # We set ac_cv_exeext here because the later test for it is not
4244 # safe: cross compilers may not add the suffix if given an `-o'
4245 # argument, so we may need to know it at that point already.
4246 # Even if this section looks crufty: it has the advantage of
4247 # actually working.
4248 break;;
4250 break;;
4251 esac
4252 done
4253 test "$ac_cv_exeext" = no && ac_cv_exeext=
4255 else
4256 ac_file=''
4258 if test -z "$ac_file"; then :
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4261 $as_echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error 77 "C compiler cannot create executables
4267 See \`config.log' for more details" "$LINENO" 5; }
4268 else
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4270 $as_echo "yes" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4273 $as_echo_n "checking for C compiler default output file name... " >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4275 $as_echo "$ac_file" >&6; }
4276 ac_exeext=$ac_cv_exeext
4278 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4279 ac_clean_files=$ac_clean_files_save
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4281 $as_echo_n "checking for suffix of executables... " >&6; }
4282 if { { ac_try="$ac_link"
4283 case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4286 esac
4287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4288 $as_echo "$ac_try_echo"; } >&5
4289 (eval "$ac_link") 2>&5
4290 ac_status=$?
4291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4292 test $ac_status = 0; }; then :
4293 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4295 # work properly (i.e., refer to `conftest.exe'), while it won't with
4296 # `rm'.
4297 for ac_file in conftest.exe conftest conftest.*; do
4298 test -f "$ac_file" || continue
4299 case $ac_file in
4300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4301 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4302 break;;
4303 * ) break;;
4304 esac
4305 done
4306 else
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4310 See \`config.log' for more details" "$LINENO" 5; }
4312 rm -f conftest conftest$ac_cv_exeext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4314 $as_echo "$ac_cv_exeext" >&6; }
4316 rm -f conftest.$ac_ext
4317 EXEEXT=$ac_cv_exeext
4318 ac_exeext=$EXEEXT
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 #include <stdio.h>
4323 main ()
4325 FILE *f = fopen ("conftest.out", "w");
4326 return ferror (f) || fclose (f) != 0;
4329 return 0;
4331 _ACEOF
4332 ac_clean_files="$ac_clean_files conftest.out"
4333 # Check that the compiler produces executables we can run. If not, either
4334 # the compiler is broken, or we cross compile.
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4336 $as_echo_n "checking whether we are cross compiling... " >&6; }
4337 if test "$cross_compiling" != yes; then
4338 { { ac_try="$ac_link"
4339 case "(($ac_try" in
4340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4341 *) ac_try_echo=$ac_try;;
4342 esac
4343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4344 $as_echo "$ac_try_echo"; } >&5
4345 (eval "$ac_link") 2>&5
4346 ac_status=$?
4347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348 test $ac_status = 0; }
4349 if { ac_try='./conftest$ac_cv_exeext'
4350 { { case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_try") 2>&5
4357 ac_status=$?
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }; }; then
4360 cross_compiling=no
4361 else
4362 if test "$cross_compiling" = maybe; then
4363 cross_compiling=yes
4364 else
4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4367 as_fn_error $? "cannot run C compiled programs.
4368 If you meant to cross compile, use \`--host'.
4369 See \`config.log' for more details" "$LINENO" 5; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4374 $as_echo "$cross_compiling" >&6; }
4376 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4377 ac_clean_files=$ac_clean_files_save
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4379 $as_echo_n "checking for suffix of object files... " >&6; }
4380 if ${ac_cv_objext+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 rm -f conftest.o conftest.obj
4395 if { { ac_try="$ac_compile"
4396 case "(($ac_try" in
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_compile") 2>&5
4403 ac_status=$?
4404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }; then :
4406 for ac_file in conftest.o conftest.obj conftest.*; do
4407 test -f "$ac_file" || continue;
4408 case $ac_file in
4409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4410 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4411 break;;
4412 esac
4413 done
4414 else
4415 $as_echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.$ac_ext >&5
4418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 as_fn_error $? "cannot compute suffix of object files: cannot compile
4421 See \`config.log' for more details" "$LINENO" 5; }
4423 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4426 $as_echo "$ac_cv_objext" >&6; }
4427 OBJEXT=$ac_cv_objext
4428 ac_objext=$OBJEXT
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4431 if ${ac_cv_c_compiler_gnu+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4438 main ()
4440 #ifndef __GNUC__
4441 choke me
4442 #endif
4445 return 0;
4447 _ACEOF
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_compiler_gnu=yes
4450 else
4451 ac_compiler_gnu=no
4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4458 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4460 GCC=yes
4461 else
4462 GCC=
4464 ac_test_CFLAGS=${CFLAGS+set}
4465 ac_save_CFLAGS=$CFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4467 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4468 if ${ac_cv_prog_cc_g+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 ac_save_c_werror_flag=$ac_c_werror_flag
4472 ac_c_werror_flag=yes
4473 ac_cv_prog_cc_g=no
4474 CFLAGS="-g"
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_cv_prog_cc_g=yes
4488 else
4489 CFLAGS=""
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4503 else
4504 ac_c_werror_flag=$ac_save_c_werror_flag
4505 CFLAGS="-g"
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4514 return 0;
4516 _ACEOF
4517 if ac_fn_c_try_compile "$LINENO"; then :
4518 ac_cv_prog_cc_g=yes
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 ac_c_werror_flag=$ac_save_c_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4528 $as_echo "$ac_cv_prog_cc_g" >&6; }
4529 if test "$ac_test_CFLAGS" = set; then
4530 CFLAGS=$ac_save_CFLAGS
4531 elif test $ac_cv_prog_cc_g = yes; then
4532 if test "$GCC" = yes; then
4533 CFLAGS="-g -O2"
4534 else
4535 CFLAGS="-g"
4537 else
4538 if test "$GCC" = yes; then
4539 CFLAGS="-O2"
4540 else
4541 CFLAGS=
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4545 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4546 if ${ac_cv_prog_cc_c89+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 ac_cv_prog_cc_c89=no
4550 ac_save_CC=$CC
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553 #include <stdarg.h>
4554 #include <stdio.h>
4555 struct stat;
4556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4557 struct buf { int x; };
4558 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4559 static char *e (p, i)
4560 char **p;
4561 int i;
4563 return p[i];
4565 static char *f (char * (*g) (char **, int), char **p, ...)
4567 char *s;
4568 va_list v;
4569 va_start (v,p);
4570 s = g (p, va_arg (v,int));
4571 va_end (v);
4572 return s;
4575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4576 function prototypes and stuff, but not '\xHH' hex character constants.
4577 These don't provoke an error unfortunately, instead are silently treated
4578 as 'x'. The following induces an error, until -std is added to get
4579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4580 array size at least. It's necessary to write '\x00'==0 to get something
4581 that's true only with -std. */
4582 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4584 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4585 inside strings and character constants. */
4586 #define FOO(x) 'x'
4587 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4589 int test (int i, double x);
4590 struct s1 {int (*f) (int a);};
4591 struct s2 {int (*f) (double a);};
4592 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4593 int argc;
4594 char **argv;
4596 main ()
4598 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4600 return 0;
4602 _ACEOF
4603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4604 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4606 CC="$ac_save_CC $ac_arg"
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608 ac_cv_prog_cc_c89=$ac_arg
4610 rm -f core conftest.err conftest.$ac_objext
4611 test "x$ac_cv_prog_cc_c89" != "xno" && break
4612 done
4613 rm -f conftest.$ac_ext
4614 CC=$ac_save_CC
4617 # AC_CACHE_VAL
4618 case "x$ac_cv_prog_cc_c89" in
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4621 $as_echo "none needed" >&6; } ;;
4622 xno)
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4624 $as_echo "unsupported" >&6; } ;;
4626 CC="$CC $ac_cv_prog_cc_c89"
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4628 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4629 esac
4630 if test "x$ac_cv_prog_cc_c89" != xno; then :
4634 ac_ext=c
4635 ac_cpp='$CPP $CPPFLAGS'
4636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 ac_ext=cpp
4641 ac_cpp='$CXXCPP $CPPFLAGS'
4642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4645 if test -z "$CXX"; then
4646 if test -n "$CCC"; then
4647 CXX=$CCC
4648 else
4649 if test -n "$ac_tool_prefix"; then
4650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if ${ac_cv_prog_CXX+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 if test -n "$CXX"; then
4660 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 CXX=$ac_cv_prog_CXX
4680 if test -n "$CXX"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4682 $as_echo "$CXX" >&6; }
4683 else
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4689 test -n "$CXX" && break
4690 done
4692 if test -z "$CXX"; then
4693 ac_ct_CXX=$CXX
4694 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4696 # Extract the first word of "$ac_prog", so it can be a program name with args.
4697 set dummy $ac_prog; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 if test -n "$ac_ct_CXX"; then
4704 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4705 else
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH
4709 IFS=$as_save_IFS
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CXX="$ac_prog"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 break 2
4717 done
4718 done
4719 IFS=$as_save_IFS
4723 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4724 if test -n "$ac_ct_CXX"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4726 $as_echo "$ac_ct_CXX" >&6; }
4727 else
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 test -n "$ac_ct_CXX" && break
4734 done
4736 if test "x$ac_ct_CXX" = x; then
4737 CXX="g++"
4738 else
4739 case $cross_compiling:$ac_tool_warned in
4740 yes:)
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned=yes ;;
4744 esac
4745 CXX=$ac_ct_CXX
4751 # Provide some information about the compiler.
4752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4753 set X $ac_compile
4754 ac_compiler=$2
4755 for ac_option in --version -v -V -qversion; do
4756 { { ac_try="$ac_compiler $ac_option >&5"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4764 ac_status=$?
4765 if test -s conftest.err; then
4766 sed '10a\
4767 ... rest of stderr output deleted ...
4768 10q' conftest.err >conftest.er1
4769 cat conftest.er1 >&5
4771 rm -f conftest.er1 conftest.err
4772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773 test $ac_status = 0; }
4774 done
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4777 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4778 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4779 $as_echo_n "(cached) " >&6
4780 else
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4785 main ()
4787 #ifndef __GNUC__
4788 choke me
4789 #endif
4792 return 0;
4794 _ACEOF
4795 if ac_fn_cxx_try_compile "$LINENO"; then :
4796 ac_compiler_gnu=yes
4797 else
4798 ac_compiler_gnu=no
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4805 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4806 if test $ac_compiler_gnu = yes; then
4807 GXX=yes
4808 else
4809 GXX=
4811 ac_test_CXXFLAGS=${CXXFLAGS+set}
4812 ac_save_CXXFLAGS=$CXXFLAGS
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4814 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4815 if ${ac_cv_prog_cxx_g+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4819 ac_cxx_werror_flag=yes
4820 ac_cv_prog_cxx_g=no
4821 CXXFLAGS="-g"
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4826 main ()
4830 return 0;
4832 _ACEOF
4833 if ac_fn_cxx_try_compile "$LINENO"; then :
4834 ac_cv_prog_cxx_g=yes
4835 else
4836 CXXFLAGS=""
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4841 main ()
4845 return 0;
4847 _ACEOF
4848 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 else
4851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4852 CXXFLAGS="-g"
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 main ()
4861 return 0;
4863 _ACEOF
4864 if ac_fn_cxx_try_compile "$LINENO"; then :
4865 ac_cv_prog_cxx_g=yes
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4875 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4876 if test "$ac_test_CXXFLAGS" = set; then
4877 CXXFLAGS=$ac_save_CXXFLAGS
4878 elif test $ac_cv_prog_cxx_g = yes; then
4879 if test "$GXX" = yes; then
4880 CXXFLAGS="-g -O2"
4881 else
4882 CXXFLAGS="-g"
4884 else
4885 if test "$GXX" = yes; then
4886 CXXFLAGS="-O2"
4887 else
4888 CXXFLAGS=
4891 ac_ext=c
4892 ac_cpp='$CPP $CPPFLAGS'
4893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 if test -n "$ac_tool_prefix"; then
4898 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4899 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_CPPBIN+:} false; then :
4903 $as_echo_n "(cached) " >&6
4904 else
4905 if test -n "$CPPBIN"; then
4906 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 break 2
4919 done
4920 done
4921 IFS=$as_save_IFS
4925 CPPBIN=$ac_cv_prog_CPPBIN
4926 if test -n "$CPPBIN"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4928 $as_echo "$CPPBIN" >&6; }
4929 else
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4936 if test -z "$ac_cv_prog_CPPBIN"; then
4937 ac_ct_CPPBIN=$CPPBIN
4938 # Extract the first word of "cpp", so it can be a program name with args.
4939 set dummy cpp; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 if test -n "$ac_ct_CPPBIN"; then
4946 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_CPPBIN="cpp"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4966 if test -n "$ac_ct_CPPBIN"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4968 $as_echo "$ac_ct_CPPBIN" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4974 if test "x$ac_ct_CPPBIN" = x; then
4975 CPPBIN="cpp"
4976 else
4977 case $cross_compiling:$ac_tool_warned in
4978 yes:)
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4981 ac_tool_warned=yes ;;
4982 esac
4983 CPPBIN=$ac_ct_CPPBIN
4985 else
4986 CPPBIN="$ac_cv_prog_CPPBIN"
4990 cat >>confdefs.h <<_ACEOF
4991 #define EXEEXT "$ac_exeext"
4992 _ACEOF
4994 if test -n "$ac_tool_prefix"; then
4995 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4996 set dummy ${ac_tool_prefix}ld; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_LD+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002 if test -n "$LD"; then
5003 ac_cv_prog_LD="$LD" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_LD="${ac_tool_prefix}ld"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 LD=$ac_cv_prog_LD
5023 if test -n "$LD"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5025 $as_echo "$LD" >&6; }
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5033 if test -z "$ac_cv_prog_LD"; then
5034 ac_ct_LD=$LD
5035 # Extract the first word of "ld", so it can be a program name with args.
5036 set dummy ld; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$ac_ct_LD"; then
5043 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_LD="ld"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5063 if test -n "$ac_ct_LD"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5065 $as_echo "$ac_ct_LD" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5071 if test "x$ac_ct_LD" = x; then
5072 LD=""
5073 else
5074 case $cross_compiling:$ac_tool_warned in
5075 yes:)
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5078 ac_tool_warned=yes ;;
5079 esac
5080 LD=$ac_ct_LD
5082 else
5083 LD="$ac_cv_prog_LD"
5087 case $host in
5088 *-darwin*)
5089 with_fontconfig=${with_fontconfig:-no}
5091 *-mingw32*|*-cygwin*)
5092 enable_win16=${enable_win16:-no}
5093 CFLAGS="$CFLAGS -D_WIN32"
5095 esac
5097 case $host in
5098 x86_64*|amd64*)
5099 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5100 then
5101 CC="$CC -m32"
5102 CXX="$CXX -m32"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5104 $as_echo_n "checking whether $CC works... " >&6; }
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5110 main ()
5114 return 0;
5116 _ACEOF
5117 if ac_fn_c_try_link "$LINENO"; then :
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5119 $as_echo "yes" >&6; }
5120 else
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5123 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5125 rm -f core conftest.err conftest.$ac_objext \
5126 conftest$ac_exeext conftest.$ac_ext
5127 host_cpu="i386"
5128 notice_platform="32-bit "
5129 TARGETFLAGS="-m32"
5131 enable_win16=${enable_win16:-yes}
5132 else
5133 if test "x${GCC}" = "xyes"
5134 then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5136 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #include <stdarg.h>
5141 main ()
5143 void func(__builtin_ms_va_list *args);
5145 return 0;
5147 _ACEOF
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 CC="$CC -m64"
5159 CXX="$CXX -m64"
5160 host_cpu="x86_64"
5161 notice_platform="64-bit "
5162 TARGETFLAGS="-m64"
5166 arm*)
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5168 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5171 int ac_test(int i) { return i; }
5173 main ()
5175 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5177 return 0;
5179 _ACEOF
5180 if ac_fn_c_try_link "$LINENO"; then :
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5182 $as_echo "yes" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5186 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5188 rm -f core conftest.err conftest.$ac_objext \
5189 conftest$ac_exeext conftest.$ac_ext
5190 CFLAGS="$CFLAGS -marm"
5191 TARGETFLAGS="-marm"
5194 i[3456789]86*)
5195 enable_win16=${enable_win16:-yes}
5197 esac
5199 enable_win16=${enable_win16:-no}
5200 enable_win64=${enable_win64:-no}
5202 enable_winetest=${enable_winetest:-$enable_tests}
5204 if test -n "$with_wine64"
5205 then
5206 if test "x$enable_win64" = "xyes"
5207 then
5208 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5209 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5211 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5212 You should create a separate build directory and run configure from there." "$LINENO" 5
5213 enable_fonts=${enable_fonts:-no}
5214 enable_server=${enable_server:-no}
5215 elif test "x$enable_win64" = "xyes"
5216 then
5217 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5221 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5222 if ${wine_cv_toolsdir+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 wine_cv_toolsdir="$with_wine_tools"
5226 if test -z "$with_wine_tools"; then
5227 if test "$cross_compiling" = "yes"; then
5228 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5229 elif test -n "$with_wine64"; then
5230 wine_cv_toolsdir="$with_wine64"
5233 if test -z "$wine_cv_toolsdir"; then
5234 wine_makedep=tools/makedep
5235 wine_cv_toolsdir="\$(top_builddir)"
5236 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5237 wine_makedep=$wine_cv_toolsdir/tools/makedep
5238 case "$wine_cv_toolsdir" in
5239 /*) ;;
5240 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5241 esac
5242 enable_tools=${enable_tools:-no}
5243 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5244 else
5245 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5249 $as_echo "$wine_cv_toolsdir" >&6; }
5250 TOOLSDIR=$wine_cv_toolsdir
5252 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5253 then
5254 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5258 for ac_prog in flex
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_FLEX+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$FLEX"; then
5268 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_FLEX="$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 FLEX=$ac_cv_prog_FLEX
5288 if test -n "$FLEX"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5290 $as_echo "$FLEX" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$FLEX" && break
5298 done
5299 test -n "$FLEX" || FLEX="none"
5301 if test "$FLEX" = "none"
5302 then
5303 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5306 $as_echo_n "checking whether flex is recent enough... " >&6; }
5307 cat >conftest.l <<EOF
5308 %top{
5309 #include "prediluvian.h"
5313 if $FLEX -t conftest.l >/dev/null 2>&5
5314 then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5320 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5323 for ac_prog in bison
5325 # Extract the first word of "$ac_prog", so it can be a program name with args.
5326 set dummy $ac_prog; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_BISON+:} false; then :
5330 $as_echo_n "(cached) " >&6
5331 else
5332 if test -n "$BISON"; then
5333 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5334 else
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH
5338 IFS=$as_save_IFS
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_BISON="$ac_prog"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 break 2
5346 done
5347 done
5348 IFS=$as_save_IFS
5352 BISON=$ac_cv_prog_BISON
5353 if test -n "$BISON"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5355 $as_echo "$BISON" >&6; }
5356 else
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 test -n "$BISON" && break
5363 done
5364 test -n "$BISON" || BISON="none"
5366 if test "$BISON" = "none"
5367 then
5368 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5371 if test -n "$ac_tool_prefix"; then
5372 for ac_prog in ar gar
5374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_AR+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$AR"; then
5382 ac_cv_prog_AR="$AR" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 AR=$ac_cv_prog_AR
5402 if test -n "$AR"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5404 $as_echo "$AR" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$AR" && break
5412 done
5414 if test -z "$AR"; then
5415 ac_ct_AR=$AR
5416 for ac_prog in ar gar
5418 # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy $ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_AR"; then
5426 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_AR="$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5446 if test -n "$ac_ct_AR"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5448 $as_echo "$ac_ct_AR" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$ac_ct_AR" && break
5456 done
5458 if test "x$ac_ct_AR" = x; then
5459 AR="ar"
5460 else
5461 case $cross_compiling:$ac_tool_warned in
5462 yes:)
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned=yes ;;
5466 esac
5467 AR=$ac_ct_AR
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}strip; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_STRIP+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$STRIP"; then
5480 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 STRIP=$ac_cv_prog_STRIP
5500 if test -n "$STRIP"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5502 $as_echo "$STRIP" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_STRIP"; then
5511 ac_ct_STRIP=$STRIP
5512 # Extract the first word of "strip", so it can be a program name with args.
5513 set dummy strip; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_STRIP"; then
5520 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_STRIP="strip"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5540 if test -n "$ac_ct_STRIP"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5542 $as_echo "$ac_ct_STRIP" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_STRIP" = x; then
5549 STRIP="strip"
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 STRIP=$ac_ct_STRIP
5559 else
5560 STRIP="$ac_cv_prog_STRIP"
5563 ARFLAGS=rc
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_RANLIB+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 if test -n "$RANLIB"; then
5574 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5575 else
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 break 2
5587 done
5588 done
5589 IFS=$as_save_IFS
5593 RANLIB=$ac_cv_prog_RANLIB
5594 if test -n "$RANLIB"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5596 $as_echo "$RANLIB" >&6; }
5597 else
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5604 if test -z "$ac_cv_prog_RANLIB"; then
5605 ac_ct_RANLIB=$RANLIB
5606 # Extract the first word of "ranlib", so it can be a program name with args.
5607 set dummy ranlib; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 if test -n "$ac_ct_RANLIB"; then
5614 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_RANLIB="ranlib"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5634 if test -n "$ac_ct_RANLIB"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5636 $as_echo "$ac_ct_RANLIB" >&6; }
5637 else
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5642 if test "x$ac_ct_RANLIB" = x; then
5643 RANLIB=":"
5644 else
5645 case $cross_compiling:$ac_tool_warned in
5646 yes:)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5650 esac
5651 RANLIB=$ac_ct_RANLIB
5653 else
5654 RANLIB="$ac_cv_prog_RANLIB"
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5658 $as_echo_n "checking whether ln -s works... " >&6; }
5659 LN_S=$as_ln_s
5660 if test "$LN_S" = "ln -s"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5662 $as_echo "yes" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5665 $as_echo "no, using $LN_S" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5669 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5670 if ${ac_cv_path_GREP+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -z "$GREP"; then
5674 ac_path_GREP_found=false
5675 # Loop through the user's path and test for each of PROGNAME-LIST
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_prog in grep ggrep; do
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5684 as_fn_executable_p "$ac_path_GREP" || continue
5685 # Check for GNU ac_path_GREP and select it if it is found.
5686 # Check for GNU $ac_path_GREP
5687 case `"$ac_path_GREP" --version 2>&1` in
5688 *GNU*)
5689 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5691 ac_count=0
5692 $as_echo_n 0123456789 >"conftest.in"
5693 while :
5695 cat "conftest.in" "conftest.in" >"conftest.tmp"
5696 mv "conftest.tmp" "conftest.in"
5697 cp "conftest.in" "conftest.nl"
5698 $as_echo 'GREP' >> "conftest.nl"
5699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5701 as_fn_arith $ac_count + 1 && ac_count=$as_val
5702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5703 # Best one so far, save it but keep looking for a better one
5704 ac_cv_path_GREP="$ac_path_GREP"
5705 ac_path_GREP_max=$ac_count
5707 # 10*(2^10) chars as input seems more than enough
5708 test $ac_count -gt 10 && break
5709 done
5710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5711 esac
5713 $ac_path_GREP_found && break 3
5714 done
5715 done
5716 done
5717 IFS=$as_save_IFS
5718 if test -z "$ac_cv_path_GREP"; then
5719 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5721 else
5722 ac_cv_path_GREP=$GREP
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5727 $as_echo "$ac_cv_path_GREP" >&6; }
5728 GREP="$ac_cv_path_GREP"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5732 $as_echo_n "checking for egrep... " >&6; }
5733 if ${ac_cv_path_EGREP+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5737 then ac_cv_path_EGREP="$GREP -E"
5738 else
5739 if test -z "$EGREP"; then
5740 ac_path_EGREP_found=false
5741 # Loop through the user's path and test for each of PROGNAME-LIST
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_prog in egrep; do
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5750 as_fn_executable_p "$ac_path_EGREP" || continue
5751 # Check for GNU ac_path_EGREP and select it if it is found.
5752 # Check for GNU $ac_path_EGREP
5753 case `"$ac_path_EGREP" --version 2>&1` in
5754 *GNU*)
5755 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5757 ac_count=0
5758 $as_echo_n 0123456789 >"conftest.in"
5759 while :
5761 cat "conftest.in" "conftest.in" >"conftest.tmp"
5762 mv "conftest.tmp" "conftest.in"
5763 cp "conftest.in" "conftest.nl"
5764 $as_echo 'EGREP' >> "conftest.nl"
5765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5766 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5767 as_fn_arith $ac_count + 1 && ac_count=$as_val
5768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5769 # Best one so far, save it but keep looking for a better one
5770 ac_cv_path_EGREP="$ac_path_EGREP"
5771 ac_path_EGREP_max=$ac_count
5773 # 10*(2^10) chars as input seems more than enough
5774 test $ac_count -gt 10 && break
5775 done
5776 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5777 esac
5779 $ac_path_EGREP_found && break 3
5780 done
5781 done
5782 done
5783 IFS=$as_save_IFS
5784 if test -z "$ac_cv_path_EGREP"; then
5785 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5787 else
5788 ac_cv_path_EGREP=$EGREP
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5794 $as_echo "$ac_cv_path_EGREP" >&6; }
5795 EGREP="$ac_cv_path_EGREP"
5798 # Extract the first word of "ldconfig", so it can be a program name with args.
5799 set dummy ldconfig; ac_word=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_path_LDCONFIG+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 case $LDCONFIG in
5806 [\\/]* | ?:[\\/]*)
5807 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in /sbin /usr/sbin $PATH
5813 IFS=$as_save_IFS
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 break 2
5821 done
5822 done
5823 IFS=$as_save_IFS
5825 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5827 esac
5829 LDCONFIG=$ac_cv_path_LDCONFIG
5830 if test -n "$LDCONFIG"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5832 $as_echo "$LDCONFIG" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5839 for ac_prog in msgfmt
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_MSGFMT+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$MSGFMT"; then
5849 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_MSGFMT="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 MSGFMT=$ac_cv_prog_MSGFMT
5869 if test -n "$MSGFMT"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5871 $as_echo "$MSGFMT" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$MSGFMT" && break
5879 done
5880 test -n "$MSGFMT" || MSGFMT="false"
5882 if ${ac_tool_prefix+:} false; then :
5883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$PKG_CONFIG"; then
5891 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5911 if test -n "$PKG_CONFIG"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5913 $as_echo "$PKG_CONFIG" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5921 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5922 if test "x$cross_compiling" = xyes; then :
5924 else
5925 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5926 # Extract the first word of "pkg-config", so it can be a program name with args.
5927 set dummy pkg-config; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$PKG_CONFIG"; then
5934 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_PKG_CONFIG="pkg-config"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5954 if test -n "$PKG_CONFIG"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5956 $as_echo "$PKG_CONFIG" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5964 else
5965 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5968 if test "x$enable_maintainer_mode" != "xyes"
5969 then
5970 FONTFORGE=""
5971 RSVG=""
5972 CONVERT=""
5973 ICOTOOL=""
5974 else
5975 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5976 for ac_prog in fontforge
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_FONTFORGE+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$FONTFORGE"; then
5986 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_FONTFORGE="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 FONTFORGE=$ac_cv_prog_FONTFORGE
6006 if test -n "$FONTFORGE"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6008 $as_echo "$FONTFORGE" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$FONTFORGE" && break
6016 done
6017 test -n "$FONTFORGE" || FONTFORGE="false"
6019 for ac_prog in rsvg-convert rsvg
6021 # Extract the first word of "$ac_prog", so it can be a program name with args.
6022 set dummy $ac_prog; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_RSVG+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 if test -n "$RSVG"; then
6029 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6034 IFS=$as_save_IFS
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_RSVG="$ac_prog"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 RSVG=$ac_cv_prog_RSVG
6049 if test -n "$RSVG"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6051 $as_echo "$RSVG" >&6; }
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6058 test -n "$RSVG" && break
6059 done
6060 test -n "$RSVG" || RSVG="false"
6062 for ac_prog in convert
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy $ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_CONVERT+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 if test -n "$CONVERT"; then
6072 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_CONVERT="$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 CONVERT=$ac_cv_prog_CONVERT
6092 if test -n "$CONVERT"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6094 $as_echo "$CONVERT" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$CONVERT" && break
6102 done
6103 test -n "$CONVERT" || CONVERT="false"
6105 for ac_prog in icotool
6107 # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 set dummy $ac_prog; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ICOTOOL+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ICOTOOL"; then
6115 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ICOTOOL="$ac_prog"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ICOTOOL=$ac_cv_prog_ICOTOOL
6135 if test -n "$ICOTOOL"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6137 $as_echo "$ICOTOOL" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6144 test -n "$ICOTOOL" && break
6145 done
6146 test -n "$ICOTOOL" || ICOTOOL="false"
6148 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6149 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6151 if test "$CONVERT" = false
6152 then
6153 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6156 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6157 convert_version=`convert --version | head -n1`
6158 if test "x$convert_version" != "x"
6159 then
6160 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6161 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6162 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6163 then
6164 CONVERT=false
6167 if test "$CONVERT" = false
6168 then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6170 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6171 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6174 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6178 if test "$ICOTOOL" = false
6179 then
6180 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6183 $as_echo_n "checking for recent enough icotool... " >&6; }
6184 icotool_version=`icotool --version | head -n1`
6185 if test "x$icotool_version" != "x"
6186 then
6187 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6188 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6189 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6190 then
6191 ICOTOOL=false
6192 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6195 if test "$ICOTOOL" = false
6196 then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6198 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6199 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6202 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6206 with_gettext=yes
6207 with_gettextpo=yes
6208 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6211 test "x$with_gettext" != xno || MSGFMT=false
6212 if test "$MSGFMT" != "false"
6213 then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6215 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6216 cat >conftest.po <<EOF
6217 # comment
6218 msgctxt "ctxt"
6219 msgid "id"
6220 msgstr "str"
6222 if $MSGFMT -o /dev/null conftest.po 2>&5
6223 then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6225 $as_echo "yes" >&6; }
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6229 MSGFMT=false
6232 if test "$MSGFMT" = false; then :
6233 case "x$with_gettext" in
6234 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6235 xno) ;;
6236 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6237 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6238 esac
6239 enable_po=${enable_po:-no}
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6244 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6245 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 ac_check_lib_save_LIBS=$LIBS
6249 LIBS="-li386 $LIBS"
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6253 /* Override any GCC internal prototype to avoid an error.
6254 Use char because int might match the return type of a GCC
6255 builtin and then its argument prototype would still apply. */
6256 #ifdef __cplusplus
6257 extern "C"
6258 #endif
6259 char i386_set_ldt ();
6261 main ()
6263 return i386_set_ldt ();
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_link "$LINENO"; then :
6269 ac_cv_lib_i386_i386_set_ldt=yes
6270 else
6271 ac_cv_lib_i386_i386_set_ldt=no
6273 rm -f core conftest.err conftest.$ac_objext \
6274 conftest$ac_exeext conftest.$ac_ext
6275 LIBS=$ac_check_lib_save_LIBS
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6278 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6279 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6280 cat >>confdefs.h <<_ACEOF
6281 #define HAVE_LIBI386 1
6282 _ACEOF
6284 LIBS="-li386 $LIBS"
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6289 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6290 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 ac_check_lib_save_LIBS=$LIBS
6294 LIBS="-lossaudio $LIBS"
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6298 /* Override any GCC internal prototype to avoid an error.
6299 Use char because int might match the return type of a GCC
6300 builtin and then its argument prototype would still apply. */
6301 #ifdef __cplusplus
6302 extern "C"
6303 #endif
6304 char _oss_ioctl ();
6306 main ()
6308 return _oss_ioctl ();
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_link "$LINENO"; then :
6314 ac_cv_lib_ossaudio__oss_ioctl=yes
6315 else
6316 ac_cv_lib_ossaudio__oss_ioctl=no
6318 rm -f core conftest.err conftest.$ac_objext \
6319 conftest$ac_exeext conftest.$ac_ext
6320 LIBS=$ac_check_lib_save_LIBS
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6323 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6324 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6325 cat >>confdefs.h <<_ACEOF
6326 #define HAVE_LIBOSSAUDIO 1
6327 _ACEOF
6329 LIBS="-lossaudio $LIBS"
6334 OPENGL_LIBS=""
6338 # Check whether --enable-largefile was given.
6339 if test "${enable_largefile+set}" = set; then :
6340 enableval=$enable_largefile;
6343 if test "$enable_largefile" != no; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6346 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6347 if ${ac_cv_sys_largefile_CC+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 ac_cv_sys_largefile_CC=no
6351 if test "$GCC" != yes; then
6352 ac_save_CC=$CC
6353 while :; do
6354 # IRIX 6.2 and later do not support large files by default,
6355 # so use the C compiler's -n32 option if that helps.
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 break
6378 rm -f core conftest.err conftest.$ac_objext
6379 CC="$CC -n32"
6380 if ac_fn_c_try_compile "$LINENO"; then :
6381 ac_cv_sys_largefile_CC=' -n32'; break
6383 rm -f core conftest.err conftest.$ac_objext
6384 break
6385 done
6386 CC=$ac_save_CC
6387 rm -f conftest.$ac_ext
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6391 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6392 if test "$ac_cv_sys_largefile_CC" != no; then
6393 CC=$CC$ac_cv_sys_largefile_CC
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6397 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6398 if ${ac_cv_sys_file_offset_bits+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 while :; do
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <sys/types.h>
6405 /* Check that off_t can represent 2**63 - 1 correctly.
6406 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6407 since some C++ compilers masquerading as C compilers
6408 incorrectly reject 9223372036854775807. */
6409 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6410 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6411 && LARGE_OFF_T % 2147483647 == 1)
6412 ? 1 : -1];
6414 main ()
6418 return 0;
6420 _ACEOF
6421 if ac_fn_c_try_compile "$LINENO"; then :
6422 ac_cv_sys_file_offset_bits=no; break
6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #define _FILE_OFFSET_BITS 64
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6436 ? 1 : -1];
6438 main ()
6442 return 0;
6444 _ACEOF
6445 if ac_fn_c_try_compile "$LINENO"; then :
6446 ac_cv_sys_file_offset_bits=64; break
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449 ac_cv_sys_file_offset_bits=unknown
6450 break
6451 done
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6454 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6455 case $ac_cv_sys_file_offset_bits in #(
6456 no | unknown) ;;
6458 cat >>confdefs.h <<_ACEOF
6459 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6460 _ACEOF
6462 esac
6463 rm -rf conftest*
6464 if test $ac_cv_sys_file_offset_bits = unknown; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6466 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6467 if ${ac_cv_sys_large_files+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 while :; do
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <sys/types.h>
6474 /* Check that off_t can represent 2**63 - 1 correctly.
6475 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6476 since some C++ compilers masquerading as C compilers
6477 incorrectly reject 9223372036854775807. */
6478 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6479 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6480 && LARGE_OFF_T % 2147483647 == 1)
6481 ? 1 : -1];
6483 main ()
6487 return 0;
6489 _ACEOF
6490 if ac_fn_c_try_compile "$LINENO"; then :
6491 ac_cv_sys_large_files=no; break
6493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6496 #define _LARGE_FILES 1
6497 #include <sys/types.h>
6498 /* Check that off_t can represent 2**63 - 1 correctly.
6499 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6500 since some C++ compilers masquerading as C compilers
6501 incorrectly reject 9223372036854775807. */
6502 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6503 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6504 && LARGE_OFF_T % 2147483647 == 1)
6505 ? 1 : -1];
6507 main ()
6511 return 0;
6513 _ACEOF
6514 if ac_fn_c_try_compile "$LINENO"; then :
6515 ac_cv_sys_large_files=1; break
6517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6518 ac_cv_sys_large_files=unknown
6519 break
6520 done
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6523 $as_echo "$ac_cv_sys_large_files" >&6; }
6524 case $ac_cv_sys_large_files in #(
6525 no | unknown) ;;
6527 cat >>confdefs.h <<_ACEOF
6528 #define _LARGE_FILES $ac_cv_sys_large_files
6529 _ACEOF
6531 esac
6532 rm -rf conftest*
6539 ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6545 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6546 # On Suns, sometimes $CPP names a directory.
6547 if test -n "$CPP" && test -d "$CPP"; then
6548 CPP=
6550 if test -z "$CPP"; then
6551 if ${ac_cv_prog_CPP+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 # Double quotes because CPP needs to be expanded
6555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6557 ac_preproc_ok=false
6558 for ac_c_preproc_warn_flag in '' yes
6560 # Use a header file that comes with gcc, so configuring glibc
6561 # with a fresh cross-compiler works.
6562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6563 # <limits.h> exists even on freestanding compilers.
6564 # On the NeXT, cc -E runs the code through the compiler's parser,
6565 # not just through cpp. "Syntax error" is here to catch this case.
6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6568 #ifdef __STDC__
6569 # include <limits.h>
6570 #else
6571 # include <assert.h>
6572 #endif
6573 Syntax error
6574 _ACEOF
6575 if ac_fn_c_try_cpp "$LINENO"; then :
6577 else
6578 # Broken: fails on valid input.
6579 continue
6581 rm -f conftest.err conftest.i conftest.$ac_ext
6583 # OK, works on sane cases. Now check whether nonexistent headers
6584 # can be detected and how.
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <ac_nonexistent.h>
6588 _ACEOF
6589 if ac_fn_c_try_cpp "$LINENO"; then :
6590 # Broken: success on invalid input.
6591 continue
6592 else
6593 # Passes both tests.
6594 ac_preproc_ok=:
6595 break
6597 rm -f conftest.err conftest.i conftest.$ac_ext
6599 done
6600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6601 rm -f conftest.i conftest.err conftest.$ac_ext
6602 if $ac_preproc_ok; then :
6603 break
6606 done
6607 ac_cv_prog_CPP=$CPP
6610 CPP=$ac_cv_prog_CPP
6611 else
6612 ac_cv_prog_CPP=$CPP
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6615 $as_echo "$CPP" >&6; }
6616 ac_preproc_ok=false
6617 for ac_c_preproc_warn_flag in '' yes
6619 # Use a header file that comes with gcc, so configuring glibc
6620 # with a fresh cross-compiler works.
6621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6622 # <limits.h> exists even on freestanding compilers.
6623 # On the NeXT, cc -E runs the code through the compiler's parser,
6624 # not just through cpp. "Syntax error" is here to catch this case.
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6627 #ifdef __STDC__
6628 # include <limits.h>
6629 #else
6630 # include <assert.h>
6631 #endif
6632 Syntax error
6633 _ACEOF
6634 if ac_fn_c_try_cpp "$LINENO"; then :
6636 else
6637 # Broken: fails on valid input.
6638 continue
6640 rm -f conftest.err conftest.i conftest.$ac_ext
6642 # OK, works on sane cases. Now check whether nonexistent headers
6643 # can be detected and how.
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #include <ac_nonexistent.h>
6647 _ACEOF
6648 if ac_fn_c_try_cpp "$LINENO"; then :
6649 # Broken: success on invalid input.
6650 continue
6651 else
6652 # Passes both tests.
6653 ac_preproc_ok=:
6654 break
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 done
6659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6660 rm -f conftest.i conftest.err conftest.$ac_ext
6661 if $ac_preproc_ok; then :
6663 else
6664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6666 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6667 See \`config.log' for more details" "$LINENO" 5; }
6670 ac_ext=c
6671 ac_cpp='$CPP $CPPFLAGS'
6672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6678 $as_echo_n "checking for ANSI C header files... " >&6; }
6679 if ${ac_cv_header_stdc+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 #include <stdlib.h>
6685 #include <stdarg.h>
6686 #include <string.h>
6687 #include <float.h>
6690 main ()
6694 return 0;
6696 _ACEOF
6697 if ac_fn_c_try_compile "$LINENO"; then :
6698 ac_cv_header_stdc=yes
6699 else
6700 ac_cv_header_stdc=no
6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6704 if test $ac_cv_header_stdc = yes; then
6705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #include <string.h>
6710 _ACEOF
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "memchr" >/dev/null 2>&1; then :
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f conftest*
6721 if test $ac_cv_header_stdc = yes; then
6722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <stdlib.h>
6727 _ACEOF
6728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6729 $EGREP "free" >/dev/null 2>&1; then :
6731 else
6732 ac_cv_header_stdc=no
6734 rm -f conftest*
6738 if test $ac_cv_header_stdc = yes; then
6739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6740 if test "$cross_compiling" = yes; then :
6742 else
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <ctype.h>
6746 #include <stdlib.h>
6747 #if ((' ' & 0x0FF) == 0x020)
6748 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6749 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6750 #else
6751 # define ISLOWER(c) \
6752 (('a' <= (c) && (c) <= 'i') \
6753 || ('j' <= (c) && (c) <= 'r') \
6754 || ('s' <= (c) && (c) <= 'z'))
6755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6756 #endif
6758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6760 main ()
6762 int i;
6763 for (i = 0; i < 256; i++)
6764 if (XOR (islower (i), ISLOWER (i))
6765 || toupper (i) != TOUPPER (i))
6766 return 2;
6767 return 0;
6769 _ACEOF
6770 if ac_fn_c_try_run "$LINENO"; then :
6772 else
6773 ac_cv_header_stdc=no
6775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6776 conftest.$ac_objext conftest.beam conftest.$ac_ext
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6782 $as_echo "$ac_cv_header_stdc" >&6; }
6783 if test $ac_cv_header_stdc = yes; then
6785 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6790 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6791 inttypes.h stdint.h unistd.h
6792 do :
6793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6794 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6797 cat >>confdefs.h <<_ACEOF
6798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6799 _ACEOF
6803 done
6806 for ac_header in \
6807 AL/al.h \
6808 ApplicationServices/ApplicationServices.h \
6809 AudioToolbox/AudioConverter.h \
6810 AudioUnit/AudioUnit.h \
6811 AudioUnit/AudioComponent.h \
6812 CL/cl.h \
6813 Carbon/Carbon.h \
6814 CommonCrypto/CommonDigest.h \
6815 CoreAudio/CoreAudio.h \
6816 CoreServices/CoreServices.h \
6817 DiskArbitration/DiskArbitration.h \
6818 IOKit/IOKitLib.h \
6819 IOKit/hid/IOHIDLib.h \
6820 OpenAL/al.h \
6821 OpenCL/opencl.h \
6822 QuickTime/ImageCompression.h \
6823 Security/Security.h \
6824 alias.h \
6825 alsa/asoundlib.h \
6826 arpa/inet.h \
6827 arpa/nameser.h \
6828 asm/types.h \
6829 asm/user.h \
6830 curses.h \
6831 direct.h \
6832 dirent.h \
6833 dlfcn.h \
6834 elf.h \
6835 float.h \
6836 fnmatch.h \
6837 getopt.h \
6838 gettext-po.h \
6839 grp.h \
6840 gsm.h \
6841 gsm/gsm.h \
6842 ieeefp.h \
6843 inet/mib2.h \
6844 io.h \
6845 kstat.h \
6846 lber.h \
6847 ldap.h \
6848 libproc.h \
6849 link.h \
6850 linux/cdrom.h \
6851 linux/compiler.h \
6852 linux/filter.h \
6853 linux/hdreg.h \
6854 linux/hidraw.h \
6855 linux/input.h \
6856 linux/ioctl.h \
6857 linux/joystick.h \
6858 linux/major.h \
6859 linux/param.h \
6860 linux/serial.h \
6861 linux/types.h \
6862 linux/ucdrom.h \
6863 lwp.h \
6864 mach-o/nlist.h \
6865 mach-o/loader.h \
6866 mach/mach.h \
6867 mach/machine.h \
6868 machine/cpu.h \
6869 machine/limits.h \
6870 machine/sysarch.h \
6871 mntent.h \
6872 ncurses.h \
6873 netdb.h \
6874 netinet/in.h \
6875 netinet/in_systm.h \
6876 netinet/tcp.h \
6877 netinet/tcp_fsm.h \
6878 pcap/pcap.h \
6879 poll.h \
6880 port.h \
6881 process.h \
6882 pthread.h \
6883 pwd.h \
6884 sched.h \
6885 scsi/scsi.h \
6886 scsi/scsi_ioctl.h \
6887 scsi/sg.h \
6888 stdbool.h \
6889 stdint.h \
6890 stropts.h \
6891 sys/asoundlib.h \
6892 sys/attr.h \
6893 sys/auxv.h \
6894 sys/cdio.h \
6895 sys/elf32.h \
6896 sys/epoll.h \
6897 sys/event.h \
6898 sys/exec_elf.h \
6899 sys/filio.h \
6900 sys/inotify.h \
6901 sys/ioctl.h \
6902 sys/ipc.h \
6903 sys/limits.h \
6904 sys/link.h \
6905 sys/mman.h \
6906 sys/modem.h \
6907 sys/msg.h \
6908 sys/mtio.h \
6909 sys/param.h \
6910 sys/poll.h \
6911 sys/prctl.h \
6912 sys/protosw.h \
6913 sys/ptrace.h \
6914 sys/queue.h \
6915 sys/resource.h \
6916 sys/scsiio.h \
6917 sys/shm.h \
6918 sys/signal.h \
6919 sys/socket.h \
6920 sys/socketvar.h \
6921 sys/sockio.h \
6922 sys/statvfs.h \
6923 sys/strtio.h \
6924 sys/syscall.h \
6925 sys/sysinfo.h \
6926 sys/tihdr.h \
6927 sys/time.h \
6928 sys/timeout.h \
6929 sys/times.h \
6930 sys/uio.h \
6931 sys/user.h \
6932 sys/utsname.h \
6933 sys/vm86.h \
6934 sys/vnode.h \
6935 sys/wait.h \
6936 syscall.h \
6937 termios.h \
6938 unistd.h \
6939 utime.h \
6940 valgrind/memcheck.h \
6941 valgrind/valgrind.h \
6942 zlib.h
6944 do :
6945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6946 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6948 cat >>confdefs.h <<_ACEOF
6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950 _ACEOF
6954 done
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6957 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6958 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6965 main ()
6967 return makedev(0, 0);
6969 return 0;
6971 _ACEOF
6972 if ac_fn_c_try_link "$LINENO"; then :
6973 ac_cv_header_sys_types_h_makedev=yes
6974 else
6975 ac_cv_header_sys_types_h_makedev=no
6977 rm -f core conftest.err conftest.$ac_objext \
6978 conftest$ac_exeext conftest.$ac_ext
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6982 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6984 if test $ac_cv_header_sys_types_h_makedev = no; then
6985 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6986 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6988 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6994 if test $ac_cv_header_sys_mkdev_h = no; then
6995 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6996 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6998 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7007 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7008 if ${ac_cv_header_stat_broken+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7013 #include <sys/types.h>
7014 #include <sys/stat.h>
7016 #if defined S_ISBLK && defined S_IFDIR
7017 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7018 #endif
7020 #if defined S_ISBLK && defined S_IFCHR
7021 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7022 #endif
7024 #if defined S_ISLNK && defined S_IFREG
7025 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7026 #endif
7028 #if defined S_ISSOCK && defined S_IFREG
7029 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7030 #endif
7032 _ACEOF
7033 if ac_fn_c_try_compile "$LINENO"; then :
7034 ac_cv_header_stat_broken=no
7035 else
7036 ac_cv_header_stat_broken=yes
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7041 $as_echo "$ac_cv_header_stat_broken" >&6; }
7042 if test $ac_cv_header_stat_broken = yes; then
7044 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7050 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7051 do :
7052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7053 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7054 #ifdef HAVE_SYS_PARAM_H
7055 # include <sys/param.h>
7056 #endif
7058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7059 cat >>confdefs.h <<_ACEOF
7060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 _ACEOF
7065 done
7068 for ac_header in \
7069 netinet/ip.h \
7070 net/if.h \
7071 net/if_arp.h \
7072 net/if_dl.h \
7073 net/if_types.h \
7074 net/route.h \
7075 netinet/if_ether.h \
7076 netinet/if_inarp.h \
7077 netinet/in_pcb.h \
7078 netinet/ip_icmp.h \
7079 netinet/ip_var.h \
7080 netinet/udp.h \
7081 netipx/ipx.h \
7082 sys/un.h \
7084 do :
7085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7087 #ifdef HAVE_SYS_SOCKET_H
7088 # include <sys/socket.h>
7089 #endif
7090 #ifdef HAVE_SYS_SOCKETVAR_H
7091 # include <sys/socketvar.h>
7092 #endif
7093 #ifdef HAVE_NET_ROUTE_H
7094 # include <net/route.h>
7095 #endif
7096 #ifdef HAVE_NETINET_IN_H
7097 # include <netinet/in.h>
7098 #endif
7099 #ifdef HAVE_NETINET_IN_SYSTM_H
7100 # include <netinet/in_systm.h>
7101 #endif
7102 #ifdef HAVE_NET_IF_H
7103 # include <net/if.h>
7104 #endif
7105 #ifdef HAVE_NETINET_IP_H
7106 # include <netinet/ip.h>
7107 #endif
7109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7112 _ACEOF
7116 done
7119 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7120 do :
7121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7123 #ifdef HAVE_ALIAS_H
7124 # include <alias.h>
7125 #endif
7126 #ifdef HAVE_SYS_SOCKET_H
7127 # include <sys/socket.h>
7128 #endif
7129 #ifdef HAVE_SYS_SOCKETVAR_H
7130 # include <sys/socketvar.h>
7131 #endif
7132 #ifdef HAVE_SYS_TIMEOUT_H
7133 # include <sys/timeout.h>
7134 #endif
7135 #ifdef HAVE_NETINET_IN_H
7136 # include <netinet/in.h>
7137 #endif
7138 #ifdef HAVE_NETINET_IN_SYSTM_H
7139 # include <netinet/in_systm.h>
7140 #endif
7141 #ifdef HAVE_NETINET_IP_H
7142 # include <netinet/ip.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IP_VAR_H
7145 # include <netinet/ip_var.h>
7146 #endif
7147 #ifdef HAVE_NETINET_IP_ICMP_H
7148 # include <netinet/ip_icmp.h>
7149 #endif
7150 #ifdef HAVE_NETINET_UDP_H
7151 # include <netinet/udp.h>
7152 #endif
7153 #ifdef HAVE_NETINET_TCP_H
7154 # include <netinet/tcp.h>
7155 #endif
7156 #ifdef HAVE_NETINET_TCP_TIMER_H
7157 #include <netinet/tcp_timer.h>
7158 #endif
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7163 _ACEOF
7167 done
7170 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7171 do :
7172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7173 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7174 #ifdef HAVE_ASM_TYPES_H
7175 # include <asm/types.h>
7176 #endif
7177 #ifdef HAVE_SYS_SOCKET_H
7178 # include <sys/socket.h>
7179 #endif
7180 #ifdef HAVE_LINUX_TYPES_H
7181 # include <linux/types.h>
7182 #endif
7184 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7185 cat >>confdefs.h <<_ACEOF
7186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 _ACEOF
7191 done
7194 for ac_header in mach-o/dyld_images.h
7195 do :
7196 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7197 # include <stdbool.h>
7198 #endif
7199 #ifdef HAVE_STDINT_H
7200 # include <stdint.h>
7201 #endif
7203 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7206 _ACEOF
7210 done
7213 for ac_header in resolv.h
7214 do :
7215 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7216 #ifdef HAVE_SYS_SOCKET_H
7217 # include <sys/socket.h>
7218 #endif
7219 #ifdef HAVE_NETINET_IN_H
7220 # include <netinet/in.h>
7221 #endif
7222 #ifdef HAVE_ARPA_NAMESER_H
7223 # include <arpa/nameser.h>
7224 #endif
7226 if test "x$ac_cv_header_resolv_h" = xyes; then :
7227 cat >>confdefs.h <<_ACEOF
7228 #define HAVE_RESOLV_H 1
7229 _ACEOF
7233 done
7236 for ac_header in ifaddrs.h
7237 do :
7238 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7240 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define HAVE_IFADDRS_H 1
7243 _ACEOF
7247 done
7250 for ac_header in sys/ucontext.h
7251 do :
7252 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7254 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_SYS_UCONTEXT_H 1
7257 _ACEOF
7261 done
7264 for ac_header in sys/thr.h
7265 do :
7266 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7267 #ifdef HAVE_SYS_UCONTEXT_H
7268 #include <sys/ucontext.h>
7269 #endif
7271 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define HAVE_SYS_THR_H 1
7274 _ACEOF
7278 done
7281 for ac_header in pthread_np.h
7282 do :
7283 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7284 #include <pthread.h>
7285 #endif
7287 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7288 cat >>confdefs.h <<_ACEOF
7289 #define HAVE_PTHREAD_NP_H 1
7290 _ACEOF
7294 done
7297 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7298 do :
7299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7301 #include <sys/time.h>
7302 #endif
7303 #include <sys/types.h>
7304 #ifdef HAVE_ASM_TYPES_H
7305 #include <asm/types.h>
7306 #endif
7308 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7309 cat >>confdefs.h <<_ACEOF
7310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7311 _ACEOF
7315 done
7318 for ac_header in libprocstat.h
7319 do :
7320 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7321 #include <sys/param.h>
7322 #endif
7323 #ifdef HAVE_SYS_QUEUE_H
7324 #include <sys/queue.h>
7325 #endif
7326 #ifdef HAVE_SYS_SOCKET_H
7327 #include <sys/socket.h>
7328 #endif
7330 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7331 cat >>confdefs.h <<_ACEOF
7332 #define HAVE_LIBPROCSTAT_H 1
7333 _ACEOF
7337 done
7341 dlldir="\${libdir}/wine"
7343 DLLFLAGS="-D_REENTRANT"
7345 LDRPATH_INSTALL=""
7347 LDRPATH_LOCAL=""
7349 LDEXECFLAGS=""
7351 WINELOADER_LDFLAGS=""
7353 LIBEXT="so"
7354 DLLEXT=".so"
7355 IMPLIBEXT="def"
7356 # Extract the first word of "ldd", so it can be a program name with args.
7357 set dummy ldd; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_path_LDD+:} false; then :
7361 $as_echo_n "(cached) " >&6
7362 else
7363 case $LDD in
7364 [\\/]* | ?:[\\/]*)
7365 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 as_dummy="/sbin:/usr/sbin:$PATH"
7370 for as_dir in $as_dummy
7372 IFS=$as_save_IFS
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 break 2
7380 done
7381 done
7382 IFS=$as_save_IFS
7384 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7386 esac
7388 LDD=$ac_cv_path_LDD
7389 if test -n "$LDD"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7391 $as_echo "$LDD" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7398 if test -n "$ac_tool_prefix"; then
7399 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7400 set dummy ${ac_tool_prefix}otool; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_OTOOL+:} false; then :
7404 $as_echo_n "(cached) " >&6
7405 else
7406 if test -n "$OTOOL"; then
7407 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7412 IFS=$as_save_IFS
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 break 2
7420 done
7421 done
7422 IFS=$as_save_IFS
7426 OTOOL=$ac_cv_prog_OTOOL
7427 if test -n "$OTOOL"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7429 $as_echo "$OTOOL" >&6; }
7430 else
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7437 if test -z "$ac_cv_prog_OTOOL"; then
7438 ac_ct_OTOOL=$OTOOL
7439 # Extract the first word of "otool", so it can be a program name with args.
7440 set dummy otool; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$ac_ct_OTOOL"; then
7447 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_ac_ct_OTOOL="otool"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7467 if test -n "$ac_ct_OTOOL"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7469 $as_echo "$ac_ct_OTOOL" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7475 if test "x$ac_ct_OTOOL" = x; then
7476 OTOOL="otool"
7477 else
7478 case $cross_compiling:$ac_tool_warned in
7479 yes:)
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7482 ac_tool_warned=yes ;;
7483 esac
7484 OTOOL=$ac_ct_OTOOL
7486 else
7487 OTOOL="$ac_cv_prog_OTOOL"
7490 if test -n "$ac_tool_prefix"; then
7491 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7492 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_READELF+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 if test -n "$READELF"; then
7499 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7504 IFS=$as_save_IFS
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 break 2
7512 done
7513 done
7514 IFS=$as_save_IFS
7518 READELF=$ac_cv_prog_READELF
7519 if test -n "$READELF"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7521 $as_echo "$READELF" >&6; }
7522 else
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7529 if test -z "$ac_cv_prog_READELF"; then
7530 ac_ct_READELF=$READELF
7531 # Extract the first word of "readelf", so it can be a program name with args.
7532 set dummy readelf; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$ac_ct_READELF"; then
7539 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_ac_ct_READELF="readelf"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7559 if test -n "$ac_ct_READELF"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7561 $as_echo "$ac_ct_READELF" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7567 if test "x$ac_ct_READELF" = x; then
7568 READELF="true"
7569 else
7570 case $cross_compiling:$ac_tool_warned in
7571 yes:)
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7574 ac_tool_warned=yes ;;
7575 esac
7576 READELF=$ac_ct_READELF
7578 else
7579 READELF="$ac_cv_prog_READELF"
7582 wine_rules_file=conf$$rules.make
7583 rm -f $wine_rules_file
7584 SUBDIRS=""
7586 DISABLED_SUBDIRS=""
7588 CONFIGURE_TARGETS=""
7590 ALL_TEST_RESOURCES=""
7593 wine_fn_append_file ()
7595 as_fn_append $1 " \\$as_nl $2"
7598 wine_fn_append_rule ()
7600 $as_echo "$1" >>$wine_rules_file
7603 wine_fn_has_flag ()
7605 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7608 wine_fn_all_rules ()
7610 wine_fn_append_file SUBDIRS $ac_dir
7611 wine_fn_append_rule \
7612 "all: $ac_dir
7613 .PHONY: $ac_dir
7614 $ac_dir: dummy
7615 @cd $ac_dir && \$(MAKE)"
7618 wine_fn_install_rules ()
7620 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7622 wine_fn_append_rule \
7623 ".PHONY: $ac_dir/install $ac_dir/uninstall
7624 $ac_dir/install:: $ac_dir
7625 @cd $ac_dir && \$(MAKE) install
7626 $ac_dir/uninstall::
7627 @cd $ac_dir && \$(MAKE) uninstall
7628 install:: $ac_dir/install
7629 __uninstall__: $ac_dir/uninstall"
7631 if wine_fn_has_flag install-lib
7632 then
7633 wine_fn_append_rule \
7634 ".PHONY: $ac_dir/install-lib
7635 $ac_dir/install-lib:: $ac_dir
7636 @cd $ac_dir && \$(MAKE) install-lib
7637 install-lib:: $ac_dir/install-lib"
7640 if wine_fn_has_flag install-dev
7641 then
7642 wine_fn_append_rule \
7643 ".PHONY: $ac_dir/install-dev
7644 $ac_dir/install-dev:: $ac_dir
7645 @cd $ac_dir && \$(MAKE) install-dev
7646 install-dev:: $ac_dir/install-dev"
7650 wine_fn_clean_rules ()
7652 ac_clean=$@
7654 if wine_fn_has_flag clean
7655 then
7656 wine_fn_append_rule \
7657 "$ac_dir/clean: dummy
7658 @cd $ac_dir && \$(MAKE) clean"
7659 else
7660 wine_fn_append_rule \
7661 "$ac_dir/clean: dummy
7662 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7664 wine_fn_append_rule \
7665 "__clean__: $ac_dir/clean
7666 .PHONY: $ac_dir/clean"
7669 wine_fn_disabled_rules ()
7671 ac_clean=$@
7673 wine_fn_append_file SUBDIRS $ac_dir
7674 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7675 wine_fn_append_rule \
7676 "__clean__: $ac_dir/clean
7677 .PHONY: $ac_dir/clean
7678 $ac_dir/clean: dummy
7679 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7682 wine_fn_config_makefile ()
7684 ac_dir=$1
7685 ac_enable=$2
7686 ac_flags=$3
7688 case $ac_dir in
7689 fonts|server) test -z "$with_wine64" || return ;;
7690 esac
7691 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7692 wine_fn_disabled_rules; return
7694 wine_fn_all_rules
7695 wine_fn_install_rules
7696 wine_fn_clean_rules
7699 wine_fn_config_lib ()
7701 ac_name=$1
7702 ac_flags=$2
7703 ac_dir=dlls/$ac_name
7704 ac_deps="include"
7706 if test "x$enable_tools" = xno; then :
7708 else
7709 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7711 wine_fn_all_rules
7712 wine_fn_clean_rules
7714 wine_fn_append_rule \
7715 ".PHONY: $ac_dir/install $ac_dir/uninstall
7716 $ac_dir/install:: $ac_dir
7717 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7718 $ac_dir/uninstall::
7719 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7720 install install-dev:: $ac_dir/install
7721 __uninstall__: $ac_dir/uninstall
7722 __builddeps__: $ac_dir
7723 $ac_dir: $ac_deps"
7726 wine_fn_config_dll ()
7728 ac_name=$1
7729 ac_dir=dlls/$ac_name
7730 ac_enable=$2
7731 ac_flags=$3
7732 ac_implib=${4:-$ac_name}
7733 ac_file=$ac_dir/lib$ac_implib
7734 ac_dll=$ac_name
7735 ac_deps="include"
7736 ac_implibflags=""
7738 if test "x$enable_tools" = xno; then :
7740 else
7741 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7743 case $ac_name in
7744 *.*16) ac_implibflags=" -m16" ;;
7745 *.*) ;;
7746 *) ac_dll=$ac_dll.dll ;;
7747 esac
7749 ac_clean=
7750 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7751 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7753 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7754 if test "$ac_enable" != enable_win16
7755 then
7756 wine_fn_clean_rules $ac_clean
7757 wine_fn_append_file SUBDIRS $ac_dir
7758 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7759 else
7760 wine_fn_disabled_rules $ac_clean
7761 return
7763 else
7764 wine_fn_all_rules
7765 wine_fn_clean_rules $ac_clean
7766 wine_fn_append_rule \
7767 "$ac_dir: __builddeps__
7768 manpages htmlpages sgmlpages xmlpages::
7769 @cd $ac_dir && \$(MAKE) \$@
7770 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7771 install install-lib:: $ac_dir/install-lib
7772 __uninstall__: $ac_dir/uninstall"
7773 if test -n "$DLLEXT"
7774 then
7775 wine_fn_append_rule \
7776 "$ac_dir/install-lib:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7778 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7781 else
7782 wine_fn_append_rule \
7783 "$ac_dir/install-lib:: $ac_dir
7784 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7790 if wine_fn_has_flag staticimplib
7791 then
7792 wine_fn_append_rule \
7793 "__builddeps__: $ac_file.a
7794 $ac_file.a $ac_file.cross.a: $ac_deps
7795 $ac_file.a: dummy
7796 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7797 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7798 $ac_dir/install-dev:: $ac_file.a
7799 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7802 install install-dev:: $ac_dir/install-dev
7803 __uninstall__: $ac_dir/uninstall"
7805 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7806 then
7807 wine_fn_append_rule \
7808 "__builddeps__: $ac_file.cross.a
7809 $ac_file.cross.a: dummy
7810 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7813 elif wine_fn_has_flag implib
7814 then
7815 wine_fn_append_rule \
7816 "__builddeps__: $ac_file.$IMPLIBEXT
7817 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7818 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7819 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7820 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7821 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7822 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7823 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7826 install install-dev:: $ac_dir/install-dev
7827 __uninstall__: $ac_dir/uninstall"
7828 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7829 then
7830 wine_fn_append_rule \
7831 "__builddeps__: $ac_file.cross.a
7832 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7833 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7838 wine_fn_config_program ()
7840 ac_name=$1
7841 ac_dir=programs/$ac_name
7842 ac_enable=$2
7843 ac_flags=$3
7844 ac_program=$ac_name
7846 case $ac_name in
7847 *.*) ;;
7848 *) ac_program=$ac_program.exe ;;
7849 esac
7851 ac_clean=
7852 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7853 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7855 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7856 wine_fn_disabled_rules $ac_clean; return
7859 wine_fn_all_rules
7860 wine_fn_clean_rules $ac_clean
7861 wine_fn_append_rule "$ac_dir: __builddeps__"
7863 wine_fn_has_flag install || return
7864 wine_fn_append_rule \
7865 ".PHONY: $ac_dir/install $ac_dir/uninstall
7866 install install-lib:: $ac_dir/install
7867 __uninstall__: $ac_dir/uninstall"
7869 if test -n "$DLLEXT"
7870 then
7871 wine_fn_append_rule \
7872 "$ac_dir/install:: $ac_dir
7873 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7874 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7875 $ac_dir/uninstall::
7876 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7878 if test -z "$with_wine64" && wine_fn_has_flag installbin
7879 then
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: __tooldeps__
7882 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7886 else
7887 wine_fn_append_rule \
7888 "$ac_dir/install:: $ac_dir
7889 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7894 if test -z "$with_wine64" && wine_fn_has_flag manpage
7895 then
7896 wine_fn_append_rule \
7897 "$ac_dir/install:: $ac_dir
7898 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7899 $ac_dir/uninstall::
7900 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7904 wine_fn_config_test ()
7906 ac_dir=$1
7907 ac_name=$2
7908 ac_flags=$3
7910 ac_clean=
7911 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7912 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7914 if test "x$enable_tests" = xno; then :
7915 wine_fn_disabled_rules $ac_clean; return
7918 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7919 wine_fn_all_rules
7920 wine_fn_clean_rules $ac_clean
7922 wine_fn_append_rule \
7923 "$ac_dir: __builddeps__
7924 programs/winetest: $ac_dir
7925 check test: $ac_dir/test
7926 .PHONY: $ac_dir/test
7927 $ac_dir/test: dummy
7928 @cd $ac_dir && \$(MAKE) test
7929 testclean::
7930 \$(RM) $ac_dir/*.ok"
7932 if test -n "$CROSSTARGET"
7933 then
7934 wine_fn_append_rule \
7935 "crosstest: $ac_dir/crosstest
7936 .PHONY: $ac_dir/crosstest
7937 $ac_dir/crosstest: __builddeps__ dummy
7938 @cd $ac_dir && \$(MAKE) crosstest"
7942 wine_fn_config_tool ()
7944 ac_dir=$1
7945 ac_flags=$2
7946 if test "x$enable_tools" = xno; then :
7947 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7950 wine_fn_all_rules
7951 wine_fn_install_rules
7952 wine_fn_clean_rules
7954 wine_fn_append_rule "__tooldeps__: $ac_dir"
7955 wine_fn_append_rule "$ac_dir: libs/port"
7956 case $ac_dir in
7957 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7958 esac
7961 wine_fn_config_symlink ()
7963 ac_linkdir=
7964 if test "x$1" = "x-d"
7965 then
7966 ac_linkdir=$2
7967 shift; shift
7969 ac_links=$@
7970 wine_fn_append_rule \
7971 "$ac_links:
7972 @./config.status \$@"
7973 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7974 test -n "$ac_linkdir" || return
7975 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7978 wine_binary="wine"
7979 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7980 WINELOADER_PROGRAMS="$wine_binary"
7982 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7984 case $host_os in
7985 cygwin*|mingw32*)
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_DLLTOOL+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 if test -n "$DLLTOOL"; then
7995 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7996 else
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 for as_dir in $PATH
8000 IFS=$as_save_IFS
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 break 2
8008 done
8009 done
8010 IFS=$as_save_IFS
8014 DLLTOOL=$ac_cv_prog_DLLTOOL
8015 if test -n "$DLLTOOL"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8017 $as_echo "$DLLTOOL" >&6; }
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test -z "$ac_cv_prog_DLLTOOL"; then
8026 ac_ct_DLLTOOL=$DLLTOOL
8027 # Extract the first word of "dlltool", so it can be a program name with args.
8028 set dummy dlltool; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$ac_ct_DLLTOOL"; then
8035 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8055 if test -n "$ac_ct_DLLTOOL"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8057 $as_echo "$ac_ct_DLLTOOL" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8063 if test "x$ac_ct_DLLTOOL" = x; then
8064 DLLTOOL="false"
8065 else
8066 case $cross_compiling:$ac_tool_warned in
8067 yes:)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 DLLTOOL=$ac_ct_DLLTOOL
8074 else
8075 DLLTOOL="$ac_cv_prog_DLLTOOL"
8078 LIBEXT="dll"
8079 DLLEXT=""
8080 IMPLIBEXT="a"
8081 enable_iphlpapi=${enable_iphlpapi:-no}
8082 enable_kernel32=${enable_kernel32:-no}
8083 enable_msvcrt=${enable_msvcrt:-no}
8084 enable_ntdll=${enable_ntdll:-no}
8085 enable_ws2_32=${enable_ws2_32:-no}
8086 enable_loader=${enable_loader:-no}
8087 enable_server=${enable_server:-no}
8088 with_x=${with_x:-no}
8089 with_pthread=${with_pthread:-no}
8091 crtlibs=""
8092 case $host_os in
8093 mingw32*)
8094 crtlibs="-lmsvcrt"
8095 SOCKET_LIBS="-lws2_32"
8097 esac
8099 LIBWINE_SHAREDLIB="libwine.dll"
8101 LIBWINE_IMPORTLIB="libwine.a"
8103 LIBWINE_INSTALL_LIB="libwine.dll"
8105 LIBWINE_INSTALL_DEV="libwine.a"
8107 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8109 LIBWINE_DEPENDS="wine.def"
8113 darwin*|macosx*)
8114 for ac_header in libunwind.h
8115 do :
8116 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8118 cat >>confdefs.h <<_ACEOF
8119 #define HAVE_LIBUNWIND_H 1
8120 _ACEOF
8124 done
8126 LIBEXT="dylib"
8127 DLLFLAGS="$DLLFLAGS -fPIC"
8128 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8129 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8130 COREFOUNDATION_LIBS="-framework CoreFoundation"
8132 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8134 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8136 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8138 CORESERVICES_LIBS="-framework CoreServices"
8140 APPKIT_LIBS="-framework AppKit"
8142 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8144 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8145 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8146 $as_echo_n "(cached) " >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -Wl,-no_pie"
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 ac_cv_cflags__Wl__no_pie=yes
8156 else
8157 ac_cv_cflags__Wl__no_pie=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 CFLAGS=$ac_wine_try_cflags_saved
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8164 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8165 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8166 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8168 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8169 then
8170 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8173 if test "$ac_cv_header_Security_Security_h" = "yes"
8174 then
8175 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8177 ac_save_LIBS="$LIBS"
8178 LIBS="$LIBS $SECURITY_LIBS"
8179 for ac_func in SSLCopyPeerCertificates
8180 do :
8181 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8182 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8183 cat >>confdefs.h <<_ACEOF
8184 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8185 _ACEOF
8188 done
8190 LIBS="$ac_save_LIBS"
8191 with_gnutls=${with_gnutls:-no}
8193 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8194 then
8195 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8196 then
8197 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8199 else
8200 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8203 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8204 ac_save_LIBS="$LIBS"
8205 LIBS="$LIBS $COREAUDIO_LIBS"
8206 for ac_func in AUGraphAddNode
8207 do :
8208 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8209 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8210 cat >>confdefs.h <<_ACEOF
8211 #define HAVE_AUGRAPHADDNODE 1
8212 _ACEOF
8215 done
8217 LIBS="$ac_save_LIBS"
8219 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8220 then
8221 OPENAL_LIBS="-framework OpenAL"
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_OPENAL 1
8226 _ACEOF
8228 ac_cv_lib_openal=yes
8230 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8231 then
8232 OPENCL_LIBS="-framework OpenCL"
8234 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8236 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8237 then
8238 ac_save_LIBS="$LIBS"
8239 LIBS="$LIBS $IOKIT_LIBS"
8240 for ac_func in IOHIDManagerCreate
8241 do :
8242 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8243 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8244 cat >>confdefs.h <<_ACEOF
8245 #define HAVE_IOHIDMANAGERCREATE 1
8246 _ACEOF
8249 done
8251 LIBS="$ac_save_LIBS"
8253 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8254 then
8255 ac_save_LIBS="$LIBS"
8256 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8258 $as_echo_n "checking for the QuickTime framework... " >&6; }
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 #include <QuickTime/ImageCompression.h>
8263 main ()
8265 CodecManagerVersion(NULL);
8267 return 0;
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8272 $as_echo "yes" >&6; }
8273 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8275 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8279 ac_cv_header_QuickTime_ImageCompression_h=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 LIBS="$ac_save_LIBS"
8285 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8286 then
8287 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8289 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8290 then
8291 CARBON_LIBS="-framework Carbon"
8295 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8296 then
8297 ac_save_LIBS="$LIBS"
8298 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8299 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8300 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8301 enable_winemac_drv=${enable_winemac_drv:-yes}
8304 LIBS="$ac_save_LIBS"
8307 if test "x$enable_win16" = "xyes"
8308 then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8310 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8311 if test "$cross_compiling" = yes; then :
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8313 $as_echo "cross-compiling, assuming yes" >&6; }
8314 else
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 asm(".text\n"
8318 "bad:\tnop;nop\n"
8319 "good:\tnop;nop\n\t"
8320 ".globl _testfunc\n"
8321 "_testfunc:\tcallw good");
8322 extern void testfunc();
8324 main ()
8326 unsigned short *p = (unsigned short *)testfunc;
8327 return p[0] != 0xe866 || p[1] != 0xfffa
8329 return 0;
8331 _ACEOF
8332 if ac_fn_c_try_run "$LINENO"; then :
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8334 $as_echo "yes" >&6; }
8335 else
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 $as_echo "no" >&6; }
8338 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
8340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8341 conftest.$ac_objext conftest.beam conftest.$ac_ext
8346 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8348 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8350 LIBWINE_INSTALL_DEV="libwine.dylib"
8352 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8354 WINELOADER_DEPENDS="wine_info.plist"
8358 linux-android*)
8359 DLLFLAGS="$DLLFLAGS -fPIC"
8360 LDEXECFLAGS="-Wl,-pie"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8363 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8374 else
8375 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8384 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8386 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8388 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8389 if eval \${$as_ac_var+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_wine_try_cflags_saved=$CFLAGS
8393 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 int main(int argc, char **argv) { return 0; }
8397 _ACEOF
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 eval "$as_ac_var=yes"
8400 else
8401 eval "$as_ac_var=no"
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 CFLAGS=$ac_wine_try_cflags_saved
8407 eval ac_res=\$$as_ac_var
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8409 $as_echo "$ac_res" >&6; }
8410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8411 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8412 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8413 else
8414 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8417 if eval \${$as_ac_var+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 eval "$as_ac_var=yes"
8428 else
8429 eval "$as_ac_var=no"
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 eval ac_res=\$$as_ac_var
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8437 $as_echo "$ac_res" >&6; }
8438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8439 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8440 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8444 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8445 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_cflags__Wl___enable_new_dtags=yes
8456 else
8457 ac_cv_cflags__Wl___enable_new_dtags=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8464 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8465 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8466 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8469 LIBWINE_SHAREDLIB="libwine.so"
8471 LIBWINE_INSTALL_LIB="libwine.so"
8473 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8478 DLLFLAGS="$DLLFLAGS -fPIC"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8480 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8481 if ${ac_cv_c_dll_gnuelf+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 void myfunc() {}
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_c_dll_gnuelf="yes"
8492 else
8493 ac_cv_c_dll_gnuelf="no"
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8500 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8501 if test "$ac_cv_c_dll_gnuelf" = "yes"
8502 then
8503 LIBWINE_LDFLAGS="-shared"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8517 else
8518 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8527 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8542 else
8543 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8552 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8556 echo '{ global: *; };' >conftest.map
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8559 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8570 else
8571 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8578 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8579 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8580 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8582 rm -f conftest.map
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8585 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8586 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8597 else
8598 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8605 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8606 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8607 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8610 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8613 if eval \${$as_ac_var+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 eval "$as_ac_var=yes"
8624 else
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 eval ac_res=\$$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8635 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8637 else
8638 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8640 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8641 if eval \${$as_ac_var+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 eval "$as_ac_var=yes"
8652 else
8653 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 eval ac_res=\$$as_ac_var
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8661 $as_echo "$ac_res" >&6; }
8662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8670 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl___enable_new_dtags=yes
8681 else
8682 ac_cv_cflags__Wl___enable_new_dtags=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8689 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8690 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8691 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8694 case $host_cpu in
8695 *i[3456789]86* | x86_64)
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8698 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8709 else
8710 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8717 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8718 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8719 case $host_os in
8720 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8721 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8722 esac
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8725 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8726 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8737 else
8738 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8745 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8746 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8747 case $host_os in
8748 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8749 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8750 esac
8752 # Extract the first word of "prelink", so it can be a program name with args.
8753 set dummy prelink; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_PRELINK+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 case $PRELINK in
8760 [\\/]* | ?:[\\/]*)
8761 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in /sbin /usr/sbin $PATH
8767 IFS=$as_save_IFS
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 break 2
8775 done
8776 done
8777 IFS=$as_save_IFS
8779 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8781 esac
8783 PRELINK=$ac_cv_path_PRELINK
8784 if test -n "$PRELINK"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8786 $as_echo "$PRELINK" >&6; }
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8793 if test "x$PRELINK" = xfalse
8794 then
8795 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8800 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8811 else
8812 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8819 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8820 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8821 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8824 esac
8826 else
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8828 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8829 if ${ac_cv_c_dll_unixware+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 void myfunc() {}
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_c_dll_unixware="yes"
8840 else
8841 ac_cv_c_dll_unixware="no"
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8848 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8849 if test "$ac_cv_c_dll_unixware" = "yes"
8850 then
8851 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8854 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8856 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8858 LIBWINE_INSTALL_DEV="libwine.so"
8860 LIBWINE_DEPENDS="wine.map"
8863 esac
8865 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8866 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8867 enable_winemac_drv=${enable_winemac_drv:-no}
8868 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8870 CROSSTARGET=""
8872 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8873 then
8874 case "$host_cpu" in
8875 arm*)
8876 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8877 i[3456789]86*)
8878 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
8879 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8880 mingw32-gcc" ;;
8881 x86_64)
8882 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
8883 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8885 ac_prefix_list="" ;;
8886 esac
8887 for ac_prog in $ac_prefix_list
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy $ac_prog; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_CROSSCC+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 if test -n "$CROSSCC"; then
8897 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8898 else
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in $PATH
8902 IFS=$as_save_IFS
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_CROSSCC="$ac_prog"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 break 2
8910 done
8911 done
8912 IFS=$as_save_IFS
8916 CROSSCC=$ac_cv_prog_CROSSCC
8917 if test -n "$CROSSCC"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8919 $as_echo "$CROSSCC" >&6; }
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8926 test -n "$CROSSCC" && break
8927 done
8928 test -n "$CROSSCC" || CROSSCC="false"
8930 if test "$CROSSCC" != "false"
8931 then
8932 ac_save_CC="$CC"
8933 CC="$CROSSCC"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8935 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8940 main ()
8944 return 0;
8946 _ACEOF
8947 if ac_fn_c_try_compile "$LINENO"; then :
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8949 $as_echo "yes" >&6; }
8950 set x $CROSSCC
8951 shift
8952 while test $# -ge 1
8954 case "$1" in
8955 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8956 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8957 esac
8958 shift
8959 done
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965 CC="$ac_save_CC"
8970 if test "$ac_cv_header_pthread_h" = "yes"
8971 then
8972 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8973 if test "x$ac_cv_func_pthread_create" = xyes; then :
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8977 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8978 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-lpthread $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8989 #ifdef __cplusplus
8990 extern "C"
8991 #endif
8992 char pthread_create ();
8994 main ()
8996 return pthread_create ();
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_pthread_pthread_create=yes
9003 else
9004 ac_cv_lib_pthread_pthread_create=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9011 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9012 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9013 PTHREAD_LIBS="-lpthread"
9020 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9021 case "x$with_pthread" in
9022 xno) ;;
9023 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9024 Wine cannot support threads without libpthread.
9025 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9026 esac
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9032 $as_echo_n "checking for X... " >&6; }
9035 # Check whether --with-x was given.
9036 if test "${with_x+set}" = set; then :
9037 withval=$with_x;
9040 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9041 if test "x$with_x" = xno; then
9042 # The user explicitly disabled X.
9043 have_x=disabled
9044 else
9045 case $x_includes,$x_libraries in #(
9046 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9047 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9048 $as_echo_n "(cached) " >&6
9049 else
9050 # One or both of the vars are not set, and there is no cached value.
9051 ac_x_includes=no ac_x_libraries=no
9052 rm -f -r conftest.dir
9053 if mkdir conftest.dir; then
9054 cd conftest.dir
9055 cat >Imakefile <<'_ACEOF'
9056 incroot:
9057 @echo incroot='${INCROOT}'
9058 usrlibdir:
9059 @echo usrlibdir='${USRLIBDIR}'
9060 libdir:
9061 @echo libdir='${LIBDIR}'
9062 _ACEOF
9063 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9065 for ac_var in incroot usrlibdir libdir; do
9066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9067 done
9068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9069 for ac_extension in a so sl dylib la dll; do
9070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9072 ac_im_usrlibdir=$ac_im_libdir; break
9074 done
9075 # Screen out bogus values from the imake configuration. They are
9076 # bogus both because they are the default anyway, and because
9077 # using them would break gcc on systems where it needs fixed includes.
9078 case $ac_im_incroot in
9079 /usr/include) ac_x_includes= ;;
9080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9081 esac
9082 case $ac_im_usrlibdir in
9083 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9085 esac
9087 cd ..
9088 rm -f -r conftest.dir
9091 # Standard set of common directories for X headers.
9092 # Check X11 before X11Rn because it is often a symlink to the current release.
9093 ac_x_header_dirs='
9094 /usr/X11/include
9095 /usr/X11R7/include
9096 /usr/X11R6/include
9097 /usr/X11R5/include
9098 /usr/X11R4/include
9100 /usr/include/X11
9101 /usr/include/X11R7
9102 /usr/include/X11R6
9103 /usr/include/X11R5
9104 /usr/include/X11R4
9106 /usr/local/X11/include
9107 /usr/local/X11R7/include
9108 /usr/local/X11R6/include
9109 /usr/local/X11R5/include
9110 /usr/local/X11R4/include
9112 /usr/local/include/X11
9113 /usr/local/include/X11R7
9114 /usr/local/include/X11R6
9115 /usr/local/include/X11R5
9116 /usr/local/include/X11R4
9118 /usr/X386/include
9119 /usr/x386/include
9120 /usr/XFree86/include/X11
9122 /usr/include
9123 /usr/local/include
9124 /usr/unsupported/include
9125 /usr/athena/include
9126 /usr/local/x11r5/include
9127 /usr/lpp/Xamples/include
9129 /usr/openwin/include
9130 /usr/openwin/share/include'
9132 if test "$ac_x_includes" = no; then
9133 # Guess where to find include files, by looking for Xlib.h.
9134 # First, try using that file with no special directory specified.
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9138 _ACEOF
9139 if ac_fn_c_try_cpp "$LINENO"; then :
9140 # We can compile using X headers with no special include directory.
9141 ac_x_includes=
9142 else
9143 for ac_dir in $ac_x_header_dirs; do
9144 if test -r "$ac_dir/X11/Xlib.h"; then
9145 ac_x_includes=$ac_dir
9146 break
9148 done
9150 rm -f conftest.err conftest.i conftest.$ac_ext
9151 fi # $ac_x_includes = no
9153 if test "$ac_x_libraries" = no; then
9154 # Check for the libraries.
9155 # See if we find them without any special options.
9156 # Don't add to $LIBS permanently.
9157 ac_save_LIBS=$LIBS
9158 LIBS="-lX11 $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 #include <X11/Xlib.h>
9163 main ()
9165 XrmInitialize ()
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 LIBS=$ac_save_LIBS
9172 # We can link X programs with no special library path.
9173 ac_x_libraries=
9174 else
9175 LIBS=$ac_save_LIBS
9176 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9178 # Don't even attempt the hair of trying to link an X program!
9179 for ac_extension in a so sl dylib la dll; do
9180 if test -r "$ac_dir/libX11.$ac_extension"; then
9181 ac_x_libraries=$ac_dir
9182 break 2
9184 done
9185 done
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 fi # $ac_x_libraries = no
9191 case $ac_x_includes,$ac_x_libraries in #(
9192 no,* | *,no | *\'*)
9193 # Didn't find X, or a directory has "'" in its name.
9194 ac_cv_have_x="have_x=no";; #(
9196 # Record where we found X for the cache.
9197 ac_cv_have_x="have_x=yes\
9198 ac_x_includes='$ac_x_includes'\
9199 ac_x_libraries='$ac_x_libraries'"
9200 esac
9202 ;; #(
9203 *) have_x=yes;;
9204 esac
9205 eval "$ac_cv_have_x"
9206 fi # $with_x != no
9208 if test "$have_x" != yes; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9210 $as_echo "$have_x" >&6; }
9211 no_x=yes
9212 else
9213 # If each of the values was on the command line, it overrides each guess.
9214 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9215 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9216 # Update the cache value to reflect the command line values.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$x_includes'\
9219 ac_x_libraries='$x_libraries'"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9221 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9224 if test "$no_x" = yes; then
9225 # Not all programs may use this symbol, but it does not hurt to define it.
9227 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9229 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9230 else
9231 if test -n "$x_includes"; then
9232 X_CFLAGS="$X_CFLAGS -I$x_includes"
9235 # It would also be nice to do this for all -L options, not just this one.
9236 if test -n "$x_libraries"; then
9237 X_LIBS="$X_LIBS -L$x_libraries"
9238 # For Solaris; some versions of Sun CC require a space after -R and
9239 # others require no space. Words are not sufficient . . . .
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9241 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9242 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9243 ac_xsave_c_werror_flag=$ac_c_werror_flag
9244 ac_c_werror_flag=yes
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9249 main ()
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9259 X_LIBS="$X_LIBS -R$x_libraries"
9260 else
9261 LIBS="$ac_xsave_LIBS -R $x_libraries"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9266 main ()
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9275 $as_echo "yes" >&6; }
9276 X_LIBS="$X_LIBS -R $x_libraries"
9277 else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9279 $as_echo "neither works" >&6; }
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9284 rm -f core conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 ac_c_werror_flag=$ac_xsave_c_werror_flag
9287 LIBS=$ac_xsave_LIBS
9290 # Check for system-dependent libraries X programs must link with.
9291 # Do this before checking for the system-independent R6 libraries
9292 # (-lICE), since we may need -lsocket or whatever for X linking.
9294 if test "$ISC" = yes; then
9295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9296 else
9297 # Martyn Johnson says this is needed for Ultrix, if the X
9298 # libraries were built with DECnet support. And Karl Berry says
9299 # the Alpha needs dnet_stub (dnet does not exist).
9300 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char XOpenDisplay ();
9312 main ()
9314 return XOpenDisplay ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9321 else
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9323 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9324 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-ldnet $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char dnet_ntoa ();
9340 main ()
9342 return dnet_ntoa ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 ac_cv_lib_dnet_dnet_ntoa=yes
9349 else
9350 ac_cv_lib_dnet_dnet_ntoa=no
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9357 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9358 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9359 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9362 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9364 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9365 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-ldnet_stub $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char dnet_ntoa ();
9381 main ()
9383 return dnet_ntoa ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9390 else
9391 ac_cv_lib_dnet_stub_dnet_ntoa=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9398 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9399 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS="$ac_xsave_LIBS"
9409 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9410 # to get the SysV transport functions.
9411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9412 # needs -lnsl.
9413 # The nsl library prevents programs from opening the X display
9414 # on Irix 5.2, according to T.E. Dickey.
9415 # The functions gethostbyname, getservbyname, and inet_addr are
9416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9417 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9418 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9422 if test $ac_cv_func_gethostbyname = no; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9424 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9425 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_check_lib_save_LIBS=$LIBS
9429 LIBS="-lnsl $LIBS"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char gethostbyname ();
9441 main ()
9443 return gethostbyname ();
9445 return 0;
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 ac_cv_lib_nsl_gethostbyname=yes
9450 else
9451 ac_cv_lib_nsl_gethostbyname=no
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9458 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9459 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9463 if test $ac_cv_lib_nsl_gethostbyname = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9465 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9466 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lbsd $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char gethostbyname ();
9482 main ()
9484 return gethostbyname ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_bsd_gethostbyname=yes
9491 else
9492 ac_cv_lib_bsd_gethostbyname=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9499 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9500 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9508 # socket/setsockopt and other routines are undefined under SCO ODT
9509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9510 # on later versions), says Simon Leinen: it contains gethostby*
9511 # variants that don't use the name server (or something). -lsocket
9512 # must be given before -lnsl if both are needed. We assume that
9513 # if connect needs -lnsl, so does gethostbyname.
9514 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9515 if test "x$ac_cv_func_connect" = xyes; then :
9519 if test $ac_cv_func_connect = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9521 $as_echo_n "checking for connect in -lsocket... " >&6; }
9522 if ${ac_cv_lib_socket_connect+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char connect ();
9538 main ()
9540 return connect ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_socket_connect=yes
9547 else
9548 ac_cv_lib_socket_connect=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9555 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9556 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9557 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9562 # Guillermo Gomez says -lposix is necessary on A/UX.
9563 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9564 if test "x$ac_cv_func_remove" = xyes; then :
9568 if test $ac_cv_func_remove = no; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9570 $as_echo_n "checking for remove in -lposix... " >&6; }
9571 if ${ac_cv_lib_posix_remove+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_check_lib_save_LIBS=$LIBS
9575 LIBS="-lposix $LIBS"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char remove ();
9587 main ()
9589 return remove ();
9591 return 0;
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595 ac_cv_lib_posix_remove=yes
9596 else
9597 ac_cv_lib_posix_remove=no
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 LIBS=$ac_check_lib_save_LIBS
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9604 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9605 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9612 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9613 if test "x$ac_cv_func_shmat" = xyes; then :
9617 if test $ac_cv_func_shmat = no; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9619 $as_echo_n "checking for shmat in -lipc... " >&6; }
9620 if ${ac_cv_lib_ipc_shmat+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lipc $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char shmat ();
9636 main ()
9638 return shmat ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_ipc_shmat=yes
9645 else
9646 ac_cv_lib_ipc_shmat=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9653 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9654 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9661 # Check for libraries that X11R6 Xt/Xaw programs need.
9662 ac_save_LDFLAGS=$LDFLAGS
9663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9665 # check for ICE first), but we must link in the order -lSM -lICE or
9666 # we get undefined symbols. So assume we have SM if we have ICE.
9667 # These have to be linked with before -lX11, unlike the other
9668 # libraries we check for below, so use a different variable.
9669 # John Interrante, Karl Berry
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9671 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9672 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_check_lib_save_LIBS=$LIBS
9676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 char IceConnectionNumber ();
9688 main ()
9690 return IceConnectionNumber ();
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_lib_ICE_IceConnectionNumber=yes
9697 else
9698 ac_cv_lib_ICE_IceConnectionNumber=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9705 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9706 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9707 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9710 LDFLAGS=$ac_save_LDFLAGS
9715 if test "$have_x" = "yes"
9716 then
9717 ac_save_CPPFLAGS="$CPPFLAGS"
9718 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9721 $as_echo_n "checking for -lX11... " >&6; }
9722 if ${ac_cv_lib_soname_X11+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_soname_save_LIBS=$LIBS
9726 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XCreateWindow ();
9738 main ()
9740 return XCreateWindow ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 case "$LIBEXT" in
9747 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_X11:+false} :; then :
9751 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 fi ;;
9753 esac
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9765 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9767 cat >>confdefs.h <<_ACEOF
9768 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9769 _ACEOF
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9774 $as_echo_n "checking for -lXext... " >&6; }
9775 if ${ac_cv_lib_soname_Xext+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_soname_save_LIBS=$LIBS
9779 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XextCreateExtension ();
9791 main ()
9793 return XextCreateExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 case "$LIBEXT" in
9800 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xext:+false} :; then :
9804 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 fi ;;
9806 esac
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9816 else
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9818 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9820 cat >>confdefs.h <<_ACEOF
9821 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9822 _ACEOF
9824 X_LIBS="$X_LIBS -lXext"
9826 X_LIBS="$X_LIBS -lX11"
9828 for ac_header in X11/Xlib.h \
9829 X11/XKBlib.h \
9830 X11/Xutil.h \
9831 X11/Xcursor/Xcursor.h \
9832 X11/extensions/shape.h \
9833 X11/extensions/XInput.h \
9834 X11/extensions/XInput2.h \
9835 X11/extensions/XShm.h \
9836 X11/extensions/Xcomposite.h \
9837 X11/extensions/Xinerama.h \
9838 X11/extensions/Xrandr.h \
9839 X11/extensions/Xrender.h \
9840 X11/extensions/xf86vmode.h \
9841 X11/extensions/xf86vmproto.h
9842 do :
9843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9845 # include <X11/Xlib.h>
9846 #endif
9847 #ifdef HAVE_X11_XUTIL_H
9848 # include <X11/Xutil.h>
9849 #endif
9851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9852 cat >>confdefs.h <<_ACEOF
9853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9854 _ACEOF
9858 done
9861 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9862 then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9864 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9865 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_check_lib_save_LIBS=$LIBS
9869 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9876 #ifdef __cplusplus
9877 extern "C"
9878 #endif
9879 char XkbQueryExtension ();
9881 main ()
9883 return XkbQueryExtension ();
9885 return 0;
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 ac_cv_lib_X11_XkbQueryExtension=yes
9890 else
9891 ac_cv_lib_X11_XkbQueryExtension=no
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9898 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9899 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9901 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9907 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9908 then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9910 $as_echo_n "checking for -lXcursor... " >&6; }
9911 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_soname_save_LIBS=$LIBS
9915 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char XcursorImageLoadCursor ();
9927 main ()
9929 return XcursorImageLoadCursor ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 case "$LIBEXT" in
9936 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9940 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 fi ;;
9942 esac
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9952 else
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9954 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9956 cat >>confdefs.h <<_ACEOF
9957 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9958 _ACEOF
9963 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9964 case "x$with_xcursor" in
9965 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9966 xno) ;;
9967 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9968 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9969 esac
9973 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9974 then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9976 $as_echo_n "checking for -lXi... " >&6; }
9977 if ${ac_cv_lib_soname_Xi+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_check_soname_save_LIBS=$LIBS
9981 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 #ifdef __cplusplus
9989 extern "C"
9990 #endif
9991 char XOpenDevice ();
9993 main ()
9995 return XOpenDevice ();
9997 return 0;
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 case "$LIBEXT" in
10002 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10003 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'` ;;
10004 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10005 if ${ac_cv_lib_soname_Xi:+false} :; then :
10006 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 fi ;;
10008 esac
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 LIBS=$ac_check_soname_save_LIBS
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10016 $as_echo "not found" >&6; }
10018 else
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10020 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10022 cat >>confdefs.h <<_ACEOF
10023 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10024 _ACEOF
10029 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10030 case "x$with_xinput" in
10031 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10032 xno) ;;
10033 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10034 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10035 esac
10039 if test "x$ac_cv_lib_soname_Xi" != x
10040 then
10041 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10042 case "x$with_xinput2" in
10043 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10046 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10047 esac
10052 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10053 then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10055 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10056 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char XShmQueryExtension ();
10072 main ()
10074 return XShmQueryExtension ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_Xext_XShmQueryExtension=yes
10081 else
10082 ac_cv_lib_Xext_XShmQueryExtension=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10089 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10090 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10092 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10097 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10098 case "x$with_xshm" in
10099 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10102 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10103 esac
10107 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10110 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10111 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_lib_save_LIBS=$LIBS
10115 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XShapeQueryExtension ();
10127 main ()
10129 return XShapeQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_lib_Xext_XShapeQueryExtension=yes
10136 else
10137 ac_cv_lib_Xext_XShapeQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10144 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10145 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10147 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10152 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10153 case "x$with_xshape" in
10154 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10155 xno) ;;
10156 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10158 esac
10162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10163 then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10165 $as_echo_n "checking for -lXxf86vm... " >&6; }
10166 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10177 #ifdef __cplusplus
10178 extern "C"
10179 #endif
10180 char XF86VidModeQueryExtension ();
10182 main ()
10184 return XF86VidModeQueryExtension ();
10186 return 0;
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 case "$LIBEXT" in
10191 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10195 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 fi ;;
10197 esac
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10207 else
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10209 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10211 cat >>confdefs.h <<_ACEOF
10212 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10213 _ACEOF
10218 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10219 case "x$with_xxf86vm" in
10220 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10221 xno) ;;
10222 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10223 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10224 esac
10228 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10229 then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10231 $as_echo_n "checking for -lXrender... " >&6; }
10232 if ${ac_cv_lib_soname_Xrender+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRenderQueryExtension ();
10248 main ()
10250 return XRenderQueryExtension ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10261 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10273 else
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10275 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10277 cat >>confdefs.h <<_ACEOF
10278 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10279 _ACEOF
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10282 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XRenderSetPictureTransform ();
10299 main ()
10301 return XRenderSetPictureTransform ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10308 else
10309 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10319 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10324 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10325 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10326 $as_echo_n "(cached) " >&6
10327 else
10328 ac_check_lib_save_LIBS=$LIBS
10329 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10336 #ifdef __cplusplus
10337 extern "C"
10338 #endif
10339 char XRenderCreateLinearGradient ();
10341 main ()
10343 return XRenderCreateLinearGradient ();
10345 return 0;
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10350 else
10351 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10358 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10359 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10361 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10368 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10369 case "x$with_xrender" in
10370 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10373 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10374 esac
10378 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10379 then
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 #include <X11/Xlib.h>
10383 #include <X11/extensions/Xrandr.h>
10385 main ()
10387 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_compile "$LINENO"; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10394 $as_echo_n "checking for -lXrandr... " >&6; }
10395 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XRRQueryExtension ();
10411 main ()
10413 return XRRQueryExtension ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10424 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10438 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10442 _ACEOF
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 #include <X11/Xlib.h>
10447 #include <X11/extensions/Xrandr.h>
10449 main ()
10451 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_compile "$LINENO"; then :
10458 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10466 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10467 case "x$with_xrandr" in
10468 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10469 xno) ;;
10470 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10471 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10472 esac
10476 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10477 then
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <X11/Xlib.h>
10481 #include <X11/extensions/Xinerama.h>
10483 main ()
10485 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_compile "$LINENO"; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10492 $as_echo_n "checking for -lXinerama... " >&6; }
10493 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_check_soname_save_LIBS=$LIBS
10497 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10501 /* Override any GCC internal prototype to avoid an error.
10502 Use char because int might match the return type of a GCC
10503 builtin and then its argument prototype would still apply. */
10504 #ifdef __cplusplus
10505 extern "C"
10506 #endif
10507 char XineramaQueryScreens ();
10509 main ()
10511 return XineramaQueryScreens ();
10513 return 0;
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 case "$LIBEXT" in
10518 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10519 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'` ;;
10520 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10521 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10522 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10523 fi ;;
10524 esac
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_soname_save_LIBS
10530 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10532 $as_echo "not found" >&6; }
10534 else
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10536 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10538 cat >>confdefs.h <<_ACEOF
10539 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10540 _ACEOF
10545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10547 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10548 case "x$with_xinerama" in
10549 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10550 xno) ;;
10551 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10552 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10553 esac
10557 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10558 then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10560 $as_echo_n "checking for -lXcomposite... " >&6; }
10561 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_check_soname_save_LIBS=$LIBS
10565 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char XCompositeRedirectWindow ();
10577 main ()
10579 return XCompositeRedirectWindow ();
10581 return 0;
10583 _ACEOF
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 case "$LIBEXT" in
10586 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10589 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10590 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10591 fi ;;
10592 esac
10594 rm -f core conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10596 LIBS=$ac_check_soname_save_LIBS
10598 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10600 $as_echo "not found" >&6; }
10602 else
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10604 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10606 cat >>confdefs.h <<_ACEOF
10607 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10608 _ACEOF
10613 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10614 case "x$with_xcomposite" in
10615 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10616 xno) ;;
10617 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10619 esac
10623 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10624 #include <X11/Xlib.h>
10625 #endif
10627 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10629 cat >>confdefs.h <<_ACEOF
10630 #define HAVE_XICCALLBACK_CALLBACK 1
10631 _ACEOF
10635 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10636 #include <X11/Xlib.h>
10637 #endif
10639 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10641 cat >>confdefs.h <<_ACEOF
10642 #define HAVE_XEVENT_XCOOKIE 1
10643 _ACEOF
10650 opengl_msg=""
10651 if test "x$with_opengl" != "xno"
10652 then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char glXCreateContext ();
10671 main ()
10673 return glXCreateContext ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10696 $as_echo_n "checking for -lGL... " >&6; }
10697 if ${ac_cv_lib_soname_GL+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_soname_save_LIBS=$LIBS
10701 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"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char glXCreateContext ();
10713 main ()
10715 return glXCreateContext ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 case "$LIBEXT" in
10722 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10723 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'` ;;
10724 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10725 if ${ac_cv_lib_soname_GL:+false} :; then :
10726 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 fi ;;
10728 esac
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_soname_save_LIBS
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10736 $as_echo "not found" >&6; }
10737 if test -f /usr/X11R6/lib/libGL.a
10738 then
10739 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10740 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10741 else
10742 opengl_msg="No OpenGL library found on this system."
10744 else
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10746 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10748 cat >>confdefs.h <<_ACEOF
10749 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10750 _ACEOF
10752 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"
10754 else
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h <<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10760 _ACEOF
10762 OPENGL_LIBS="-lGL"
10764 if test "x$with_glu" != "xno"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10767 $as_echo_n "checking for -lGLU... " >&6; }
10768 if ${ac_cv_lib_soname_GLU+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_soname_save_LIBS=$LIBS
10772 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char gluLookAt ();
10784 main ()
10786 return gluLookAt ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 case "$LIBEXT" in
10793 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10794 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'` ;;
10795 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10796 if ${ac_cv_lib_soname_GLU:+false} :; then :
10797 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 fi ;;
10799 esac
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_soname_save_LIBS
10805 if ${ac_cv_lib_soname_GLU:+false} :; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10807 $as_echo "not found" >&6; }
10809 else
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10811 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10813 cat >>confdefs.h <<_ACEOF
10814 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10815 _ACEOF
10819 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10820 case "x$with_glu" in
10821 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10824 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10825 esac
10830 if test "x$with_osmesa" != "xno"
10831 then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10833 $as_echo_n "checking for -lOSMesa... " >&6; }
10834 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_soname_save_LIBS=$LIBS
10838 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char OSMesaGetProcAddress ();
10850 main ()
10852 return OSMesaGetProcAddress ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 case "$LIBEXT" in
10859 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10860 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'` ;;
10861 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10862 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10863 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10864 fi ;;
10865 esac
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_soname_save_LIBS
10871 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10873 $as_echo "not found" >&6; }
10875 else
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10877 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10879 cat >>confdefs.h <<_ACEOF
10880 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10881 _ACEOF
10885 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10886 case "x$with_osmesa" in
10887 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10888 xno) ;;
10889 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10890 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10891 esac
10896 if test -n "$opengl_msg"; then :
10897 case "x$with_opengl" in
10898 x) as_fn_append wine_warnings "|$opengl_msg
10899 OpenGL and Direct3D won't be supported." ;;
10900 xno) ;;
10901 *) as_fn_error $? "$opengl_msg
10902 OpenGL and Direct3D won't be supported.
10903 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10904 esac
10908 CPPFLAGS="$ac_save_CPPFLAGS"
10909 else
10910 X_CFLAGS=""
10911 X_LIBS=""
10913 if test "x$X_LIBS" = "x"; then :
10914 case "x$with_x" in
10915 xno) ;;
10916 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10917 without X support, which probably isn't what you want. You will need
10918 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10919 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10920 esac
10921 enable_winex11_drv=${enable_winex11_drv:-no}
10924 if test "$ac_cv_header_CL_cl_h" = "yes"
10925 then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10927 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10928 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lOpenCL $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char clGetPlatformInfo ();
10944 main ()
10946 return clGetPlatformInfo ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10953 else
10954 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10961 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10962 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10963 OPENCL_LIBS="-lOpenCL"
10968 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10969 case "x$with_opencl" in
10970 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10971 xno) ;;
10972 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10973 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10974 esac
10975 enable_opencl=${enable_opencl:-no}
10978 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10979 then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10981 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10982 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lpcap $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char pcap_create ();
10998 main ()
11000 return pcap_create ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_pcap_pcap_create=yes
11007 else
11008 ac_cv_lib_pcap_pcap_create=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11015 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11016 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11017 PCAP_LIBS="-lpcap"
11022 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11023 case "x$with_pcap" in
11024 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11025 xno) ;;
11026 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11027 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11028 esac
11029 enable_wpcap=${enable_wpcap:-no}
11033 if test "x$with_xml" != "xno"
11034 then
11035 if ${XML2_CFLAGS:+false} :; then :
11036 if ${PKG_CONFIG+:} false; then :
11037 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11040 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11041 if ${XML2_LIBS:+false} :; then :
11042 if ${PKG_CONFIG+:} false; then :
11043 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11046 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11047 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11048 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11049 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11050 ac_save_CPPFLAGS=$CPPFLAGS
11051 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11052 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11053 do :
11054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11055 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11057 cat >>confdefs.h <<_ACEOF
11058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11059 _ACEOF
11063 done
11065 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"
11066 then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11068 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11069 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_lib_save_LIBS=$LIBS
11073 LIBS="-lxml2 $XML2_LIBS $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char xmlParseMemory ();
11085 main ()
11087 return xmlParseMemory ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 ac_cv_lib_xml2_xmlParseMemory=yes
11094 else
11095 ac_cv_lib_xml2_xmlParseMemory=no
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11102 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11103 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11105 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11107 else
11108 XML2_LIBS=""
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11112 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char xmlReadMemory ();
11129 main ()
11131 return xmlReadMemory ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_xml2_xmlReadMemory=yes
11138 else
11139 ac_cv_lib_xml2_xmlReadMemory=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11149 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11154 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char xmlNewDocPI ();
11171 main ()
11173 return xmlNewDocPI ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_xml2_xmlNewDocPI=yes
11180 else
11181 ac_cv_lib_xml2_xmlNewDocPI=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11191 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11196 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11197 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lxml2 $XML2_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char xmlSchemaSetParserStructuredErrors ();
11213 main ()
11215 return xmlSchemaSetParserStructuredErrors ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11222 else
11223 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11230 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11231 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11233 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11238 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11239 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11240 $as_echo_n "(cached) " >&6
11241 else
11242 ac_check_lib_save_LIBS=$LIBS
11243 LIBS="-lxml2 $XML2_LIBS $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char xmlSchemaSetValidStructuredErrors ();
11255 main ()
11257 return xmlSchemaSetValidStructuredErrors ();
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11264 else
11265 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11272 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11273 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11275 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11280 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11281 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-lxml2 $XML2_LIBS $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char xmlFirstElementChild ();
11297 main ()
11299 return xmlFirstElementChild ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_xml2_xmlFirstElementChild=yes
11306 else
11307 ac_cv_lib_xml2_xmlFirstElementChild=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11314 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11315 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11317 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11321 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11323 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11325 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11329 else
11330 XML2_CFLAGS=""
11331 XML2_LIBS=""
11333 CPPFLAGS=$ac_save_CPPFLAGS
11334 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11335 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11338 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11339 case "x$with_xml" in
11340 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11341 xno) ;;
11342 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11343 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11344 esac
11348 if test "x$with_xslt" != "xno"
11349 then
11350 if ${XSLT_CFLAGS:+false} :; then :
11351 if ${PKG_CONFIG+:} false; then :
11352 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11355 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11356 if ${XSLT_LIBS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11361 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11362 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11364 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11365 ac_save_CPPFLAGS=$CPPFLAGS
11366 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11367 for ac_header in libxslt/pattern.h libxslt/transform.h
11368 do :
11369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11370 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11371 # include <libxslt/pattern.h>
11372 #endif
11374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11375 cat >>confdefs.h <<_ACEOF
11376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11377 _ACEOF
11381 done
11383 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11384 then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11386 $as_echo_n "checking for -lxslt... " >&6; }
11387 if ${ac_cv_lib_soname_xslt+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_soname_save_LIBS=$LIBS
11391 LIBS="-lxslt $XSLT_LIBS $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char xsltCompilePattern ();
11403 main ()
11405 return xsltCompilePattern ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 case "$LIBEXT" in
11412 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11413 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'` ;;
11414 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11415 if ${ac_cv_lib_soname_xslt:+false} :; then :
11416 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 fi ;;
11418 esac
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_soname_save_LIBS
11424 if ${ac_cv_lib_soname_xslt:+false} :; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11428 else
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11430 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11432 cat >>confdefs.h <<_ACEOF
11433 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11434 _ACEOF
11438 else
11439 XSLT_CFLAGS=""
11441 CPPFLAGS=$ac_save_CPPFLAGS
11442 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11443 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11446 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11447 case "x$with_xslt" in
11448 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11449 xno) ;;
11450 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11451 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11452 esac
11456 if test "x$with_dbus" != "xno"
11457 then
11458 if ${DBUS_CFLAGS:+false} :; then :
11459 if ${PKG_CONFIG+:} false; then :
11460 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11464 if ${DBUS_LIBS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11472 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11473 ac_save_CPPFLAGS=$CPPFLAGS
11474 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11475 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11476 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11478 $as_echo_n "checking for -ldbus-1... " >&6; }
11479 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_soname_save_LIBS=$LIBS
11483 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char dbus_connection_close ();
11495 main ()
11497 return dbus_connection_close ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 case "$LIBEXT" in
11504 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) 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'`
11507 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11508 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 fi ;;
11510 esac
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11519 DBUS_CFLAGS=""
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11522 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11524 cat >>confdefs.h <<_ACEOF
11525 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11526 _ACEOF
11530 else
11531 DBUS_CFLAGS=""
11535 CPPFLAGS=$ac_save_CPPFLAGS
11536 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11537 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11540 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11541 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11542 case "x$with_dbus" in
11543 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11544 xno) ;;
11545 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11546 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11547 esac
11551 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11552 then
11553 if ${HAL_CFLAGS:+false} :; then :
11554 if ${PKG_CONFIG+:} false; then :
11555 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11559 if ${HAL_LIBS:+false} :; then :
11560 if ${PKG_CONFIG+:} false; then :
11561 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11565 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11566 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11567 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11568 ac_save_CPPFLAGS=$CPPFLAGS
11569 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11570 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11571 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11573 $as_echo_n "checking for -lhal... " >&6; }
11574 if ${ac_cv_lib_soname_hal+:} false; then :
11575 $as_echo_n "(cached) " >&6
11576 else
11577 ac_check_soname_save_LIBS=$LIBS
11578 LIBS="-lhal $HAL_LIBS $LIBS"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char libhal_ctx_new ();
11590 main ()
11592 return libhal_ctx_new ();
11594 return 0;
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 case "$LIBEXT" in
11599 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11600 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'` ;;
11601 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11602 if ${ac_cv_lib_soname_hal:+false} :; then :
11603 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11604 fi ;;
11605 esac
11607 rm -f core conftest.err conftest.$ac_objext \
11608 conftest$ac_exeext conftest.$ac_ext
11609 LIBS=$ac_check_soname_save_LIBS
11611 if ${ac_cv_lib_soname_hal:+false} :; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11613 $as_echo "not found" >&6; }
11614 HAL_CFLAGS=""
11615 else
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11617 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11619 cat >>confdefs.h <<_ACEOF
11620 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11621 _ACEOF
11625 else
11626 HAL_CFLAGS=""
11630 CPPFLAGS=$ac_save_CPPFLAGS
11631 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11632 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11634 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11635 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11636 case "x$with_hal" in
11637 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11638 xno) ;;
11639 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11640 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11641 esac
11646 if test "x$with_gnutls" != "xno"
11647 then
11648 if ${GNUTLS_CFLAGS:+false} :; then :
11649 if ${PKG_CONFIG+:} false; then :
11650 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11654 if ${GNUTLS_LIBS:+false} :; then :
11655 if ${PKG_CONFIG+:} false; then :
11656 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11661 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11662 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11663 ac_save_CPPFLAGS=$CPPFLAGS
11664 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11665 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11666 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 #include <gnutls/gnutls.h>
11670 #include <gnutls/crypto.h>
11672 main ()
11674 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_compile "$LINENO"; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11681 $as_echo_n "checking for -lgnutls... " >&6; }
11682 if ${ac_cv_lib_soname_gnutls+:} false; then :
11683 $as_echo_n "(cached) " >&6
11684 else
11685 ac_check_soname_save_LIBS=$LIBS
11686 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char gnutls_global_init ();
11698 main ()
11700 return gnutls_global_init ();
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 case "$LIBEXT" in
11707 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11708 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'` ;;
11709 *) 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'`
11710 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11711 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'`
11712 fi ;;
11713 esac
11715 rm -f core conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_soname_save_LIBS
11719 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11721 $as_echo "not found" >&6; }
11722 GNUTLS_CFLAGS=""
11723 else
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11725 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11727 cat >>confdefs.h <<_ACEOF
11728 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11729 _ACEOF
11733 ac_wine_check_funcs_save_LIBS="$LIBS"
11734 LIBS="$LIBS $GNUTLS_LIBS"
11735 for ac_func in gnutls_hash
11736 do :
11737 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11738 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11739 cat >>confdefs.h <<_ACEOF
11740 #define HAVE_GNUTLS_HASH 1
11741 _ACEOF
11743 else
11744 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11746 done
11748 LIBS="$ac_wine_check_funcs_save_LIBS"
11750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11751 else
11752 GNUTLS_CFLAGS=""
11756 CPPFLAGS=$ac_save_CPPFLAGS
11757 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11758 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11761 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11762 case "x$with_gnutls" in
11763 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11764 xno) ;;
11765 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11766 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11767 esac
11771 CURSES_LIBS=""
11772 if test "$ac_cv_header_ncurses_h" = "yes"
11773 then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11775 $as_echo_n "checking for -lncurses... " >&6; }
11776 if ${ac_cv_lib_soname_ncurses+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 ac_check_soname_save_LIBS=$LIBS
11780 LIBS="-lncurses $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char waddch ();
11792 main ()
11794 return waddch ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 case "$LIBEXT" in
11801 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11802 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'` ;;
11803 *) 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'`
11804 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11805 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11806 fi ;;
11807 esac
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_soname_save_LIBS
11813 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11815 $as_echo "not found" >&6; }
11817 else
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11819 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11821 cat >>confdefs.h <<_ACEOF
11822 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11823 _ACEOF
11825 CURSES_LIBS="-lncurses"
11827 elif test "$ac_cv_header_curses_h" = "yes"
11828 then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11830 $as_echo_n "checking for -lcurses... " >&6; }
11831 if ${ac_cv_lib_soname_curses+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_soname_save_LIBS=$LIBS
11835 LIBS="-lcurses $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char waddch ();
11847 main ()
11849 return waddch ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 case "$LIBEXT" in
11856 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11859 if ${ac_cv_lib_soname_curses:+false} :; then :
11860 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11861 fi ;;
11862 esac
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_soname_save_LIBS
11868 if ${ac_cv_lib_soname_curses:+false} :; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11872 else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11874 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11876 cat >>confdefs.h <<_ACEOF
11877 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11878 _ACEOF
11880 CURSES_LIBS="-lcurses"
11883 ac_save_LIBS="$LIBS"
11884 LIBS="$LIBS $CURSES_LIBS"
11885 for ac_func in mousemask
11886 do :
11887 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11888 if test "x$ac_cv_func_mousemask" = xyes; then :
11889 cat >>confdefs.h <<_ACEOF
11890 #define HAVE_MOUSEMASK 1
11891 _ACEOF
11894 done
11896 LIBS="$ac_save_LIBS"
11897 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11898 case "x$with_curses" in
11899 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11900 xno) ;;
11901 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11902 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11903 esac
11907 if test "x$with_sane" != "xno"
11908 then
11909 if ${SANE_CFLAGS:+false} :; then :
11910 if ${PKG_CONFIG+:} false; then :
11911 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11914 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11915 if ${SANE_LIBS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11920 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11923 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11924 ac_save_CPPFLAGS=$CPPFLAGS
11925 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11926 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11927 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11929 $as_echo_n "checking for -lsane... " >&6; }
11930 if ${ac_cv_lib_soname_sane+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 ac_check_soname_save_LIBS=$LIBS
11934 LIBS="-lsane $SANE_LIBS $LIBS"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 #ifdef __cplusplus
11942 extern "C"
11943 #endif
11944 char sane_init ();
11946 main ()
11948 return sane_init ();
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_link "$LINENO"; then :
11954 case "$LIBEXT" in
11955 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11956 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'` ;;
11957 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11958 if ${ac_cv_lib_soname_sane:+false} :; then :
11959 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11960 fi ;;
11961 esac
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 LIBS=$ac_check_soname_save_LIBS
11967 if ${ac_cv_lib_soname_sane:+false} :; then :
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11969 $as_echo "not found" >&6; }
11970 SANE_CFLAGS=""
11971 else
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11973 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11975 cat >>confdefs.h <<_ACEOF
11976 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11977 _ACEOF
11981 else
11982 SANE_CFLAGS=""
11986 CPPFLAGS=$ac_save_CPPFLAGS
11987 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11988 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11991 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11992 case "x$with_sane" in
11993 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11994 xno) ;;
11995 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11996 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11997 esac
12001 if test "x$with_v4l" != "xno"
12002 then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12004 $as_echo_n "checking for -lv4l1... " >&6; }
12005 if ${ac_cv_lib_soname_v4l1+:} false; then :
12006 $as_echo_n "(cached) " >&6
12007 else
12008 ac_check_soname_save_LIBS=$LIBS
12009 LIBS="-lv4l1 $LIBS"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 /* Override any GCC internal prototype to avoid an error.
12014 Use char because int might match the return type of a GCC
12015 builtin and then its argument prototype would still apply. */
12016 #ifdef __cplusplus
12017 extern "C"
12018 #endif
12019 char v4l1_open ();
12021 main ()
12023 return v4l1_open ();
12025 return 0;
12027 _ACEOF
12028 if ac_fn_c_try_link "$LINENO"; then :
12029 case "$LIBEXT" in
12030 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12031 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'` ;;
12032 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12033 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12034 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12035 fi ;;
12036 esac
12038 rm -f core conftest.err conftest.$ac_objext \
12039 conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_soname_save_LIBS
12042 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12044 $as_echo "not found" >&6; }
12046 else
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12048 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12050 cat >>confdefs.h <<_ACEOF
12051 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12052 _ACEOF
12057 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12058 case "x$with_v4l" in
12059 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12062 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12063 esac
12067 if test "x$with_gphoto" != "xno"
12068 then
12069 if ${GPHOTO2_CFLAGS:+false} :; then :
12070 if ${PKG_CONFIG+:} false; then :
12071 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12074 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12075 if ${GPHOTO2_LIBS:+false} :; then :
12076 if ${PKG_CONFIG+:} false; then :
12077 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12080 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12081 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12082 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12083 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12084 ac_save_CPPFLAGS=$CPPFLAGS
12085 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12086 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12087 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12089 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12090 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12091 $as_echo_n "(cached) " >&6
12092 else
12093 ac_check_lib_save_LIBS=$LIBS
12094 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 /* Override any GCC internal prototype to avoid an error.
12099 Use char because int might match the return type of a GCC
12100 builtin and then its argument prototype would still apply. */
12101 #ifdef __cplusplus
12102 extern "C"
12103 #endif
12104 char gp_camera_new ();
12106 main ()
12108 return gp_camera_new ();
12110 return 0;
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"; then :
12114 ac_cv_lib_gphoto2_gp_camera_new=yes
12115 else
12116 ac_cv_lib_gphoto2_gp_camera_new=no
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12123 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12124 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12126 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12128 else
12129 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12132 else
12133 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12137 CPPFLAGS=$ac_save_CPPFLAGS
12138 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12139 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12141 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12142 if ${PKG_CONFIG+:} false; then :
12143 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12146 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12147 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12152 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12153 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12155 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12156 ac_save_CPPFLAGS=$CPPFLAGS
12157 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12158 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12159 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12161 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12162 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_lib_save_LIBS=$LIBS
12166 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char gp_port_info_list_new ();
12178 main ()
12180 return gp_port_info_list_new ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12187 else
12188 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12195 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12196 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12198 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12200 else
12201 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12204 else
12205 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12209 CPPFLAGS=$ac_save_CPPFLAGS
12210 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12211 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12214 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12215 case "x$with_gphoto" in
12216 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12217 xno) ;;
12218 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12219 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12220 esac
12223 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12224 case "x$with_gphoto" in
12225 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12228 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12229 esac
12234 if test "$ac_cv_header_resolv_h" = "yes"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12237 $as_echo_n "checking for resolver library... " >&6; }
12238 if ${ac_cv_have_resolv+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_save_LIBS="$LIBS"
12242 for lib in '' -lresolv
12244 LIBS="$lib $ac_save_LIBS"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 #ifdef HAVE_NETINET_IN_H
12248 #include <netinet/in.h>
12249 #endif
12250 #include <resolv.h>
12252 main ()
12254 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 ac_cv_have_resolv=${lib:-"none required"}
12261 else
12262 ac_cv_have_resolv="not found"
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 test "x$ac_cv_have_resolv" = "xnot found" || break
12267 done
12268 LIBS="$ac_save_LIBS"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12271 $as_echo "$ac_cv_have_resolv" >&6; }
12273 case "$ac_cv_have_resolv" in
12274 "not found") ;;
12275 "none required")
12277 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12280 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12282 RESOLV_LIBS=$ac_cv_have_resolv
12284 esac
12287 if test "x$with_cms" != "xno"
12288 then
12289 if ${LCMS2_CFLAGS:+false} :; then :
12290 if ${PKG_CONFIG+:} false; then :
12291 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12295 if ${LCMS2_LIBS:+false} :; then :
12296 if ${PKG_CONFIG+:} false; then :
12297 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12301 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12302 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12303 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12304 ac_save_CPPFLAGS=$CPPFLAGS
12305 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12306 for ac_header in lcms2.h
12307 do :
12308 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12309 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12310 cat >>confdefs.h <<_ACEOF
12311 #define HAVE_LCMS2_H 1
12312 _ACEOF
12316 done
12318 if test "$ac_cv_header_lcms2_h" = "yes"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12321 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12322 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char cmsOpenProfileFromFile ();
12338 main ()
12340 return cmsOpenProfileFromFile ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12347 else
12348 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12355 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12356 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12358 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12360 else
12361 LCMS2_LIBS=""
12364 else
12365 LCMS2_CFLAGS=""
12366 LCMS2_LIBS=""
12368 CPPFLAGS=$ac_save_CPPFLAGS
12369 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12370 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12373 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12374 case "x$with_cms" in
12375 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12376 xno) ;;
12377 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12378 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12379 esac
12383 if test "x$with_freetype" != "xno"
12384 then
12385 if ${FREETYPE_CFLAGS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12390 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12391 if ${FREETYPE_LIBS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12396 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12397 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12398 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12400 ac_save_CPPFLAGS=$CPPFLAGS
12401 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12402 for ac_header in ft2build.h
12403 do :
12404 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12406 cat >>confdefs.h <<_ACEOF
12407 #define HAVE_FT2BUILD_H 1
12408 _ACEOF
12412 done
12414 if test "$ac_cv_header_ft2build_h" = "yes"
12415 then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12417 $as_echo_n "checking for -lfreetype... " >&6; }
12418 if ${ac_cv_lib_soname_freetype+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char FT_Init_FreeType ();
12434 main ()
12436 return FT_Init_FreeType ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 case "$LIBEXT" in
12443 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12444 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'` ;;
12445 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12446 if ${ac_cv_lib_soname_freetype:+false} :; then :
12447 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12448 fi ;;
12449 esac
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_freetype:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12458 FREETYPE_LIBS=""
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12461 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12465 _ACEOF
12468 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12470 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12471 #include FT_MODULE_H
12473 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12475 cat >>confdefs.h <<_ACEOF
12476 #define HAVE_FT_TRUETYPEENGINETYPE 1
12477 _ACEOF
12483 else
12484 FREETYPE_CFLAGS=""
12485 FREETYPE_LIBS=""
12487 CPPFLAGS=$ac_save_CPPFLAGS
12488 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12489 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12492 if test "x$ac_cv_lib_soname_freetype" = x; then :
12493 case "x$with_freetype" in
12494 xno) ;;
12495 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12496 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12497 esac
12498 enable_fonts=${enable_fonts:-no}
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12502 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12503 if ${ac_cv_c_ppdev+:} false; then :
12504 $as_echo_n "(cached) " >&6
12505 else
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507 /* end confdefs.h. */
12508 #ifdef HAVE_SYS_IOCTL_H
12509 # include <sys/ioctl.h>
12510 #endif
12511 #include <linux/ppdev.h>
12513 main ()
12515 ioctl (1,PPCLAIM,0)
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_compile "$LINENO"; then :
12521 ac_cv_c_ppdev="yes"
12522 else
12523 ac_cv_c_ppdev="no"
12525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12528 $as_echo "$ac_cv_c_ppdev" >&6; }
12529 if test "$ac_cv_c_ppdev" = "yes"
12530 then
12532 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12536 ac_wine_check_funcs_save_LIBS="$LIBS"
12537 LIBS="$LIBS $PTHREAD_LIBS"
12538 for ac_func in \
12539 pthread_attr_get_np \
12540 pthread_getattr_np \
12541 pthread_getthreadid_np \
12542 pthread_get_stackaddr_np \
12543 pthread_get_stacksize_np
12544 do :
12545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12550 _ACEOF
12553 done
12555 LIBS="$ac_wine_check_funcs_save_LIBS"
12557 if test "$ac_cv_header_zlib_h" = "yes"
12558 then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12560 $as_echo_n "checking for inflate in -lz... " >&6; }
12561 if ${ac_cv_lib_z_inflate+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_check_lib_save_LIBS=$LIBS
12565 LIBS="-lz $LIBS"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char inflate ();
12577 main ()
12579 return inflate ();
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 ac_cv_lib_z_inflate=yes
12586 else
12587 ac_cv_lib_z_inflate=no
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_lib_save_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12594 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12595 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12597 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12599 Z_LIBS="-lz"
12604 if test "x$Z_LIBS" = "x"; then :
12605 case "x$with_zlib" in
12606 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12607 xno) ;;
12608 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12609 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12610 esac
12614 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12615 then
12616 if test "$ac_cv_header_gettext_po_h" = "yes"
12617 then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12619 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12620 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_lib_save_LIBS=$LIBS
12624 LIBS="-lgettextpo $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char po_message_msgctxt ();
12636 main ()
12638 return po_message_msgctxt ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12645 else
12646 ac_cv_lib_gettextpo_po_message_msgctxt=no
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12653 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12654 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12656 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12658 GETTEXTPO_LIBS="-lgettextpo"
12663 if test "x$GETTEXTPO_LIBS" = "x"; then :
12664 case "x$with_gettextpo" in
12665 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12666 xno) ;;
12667 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12668 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12669 esac
12672 if test "$srcdir" != .; then :
12673 case "x$with_gettextpo" in
12674 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12675 xno) ;;
12676 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12677 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12678 esac
12683 if test "x$with_pulse" != "xno";
12684 then
12685 if ${PULSE_CFLAGS:+false} :; then :
12686 if ${PKG_CONFIG+:} false; then :
12687 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12691 if ${PULSE_LIBS:+false} :; then :
12692 if ${PKG_CONFIG+:} false; then :
12693 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12698 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12699 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12700 ac_save_CPPFLAGS=$CPPFLAGS
12701 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12702 for ac_header in pulse/pulseaudio.h
12703 do :
12704 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12705 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12706 cat >>confdefs.h <<_ACEOF
12707 #define HAVE_PULSE_PULSEAUDIO_H 1
12708 _ACEOF
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12710 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12711 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12712 $as_echo_n "(cached) " >&6
12713 else
12714 ac_check_lib_save_LIBS=$LIBS
12715 LIBS="-lpulse $PULSE_LIBS $LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char pa_stream_is_corked ();
12727 main ()
12729 return pa_stream_is_corked ();
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_lib_pulse_pa_stream_is_corked=yes
12736 else
12737 ac_cv_lib_pulse_pa_stream_is_corked=no
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12741 LIBS=$ac_check_lib_save_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12744 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12745 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12747 else
12748 PULSE_LIBS=""
12751 else
12752 PULSE_LIBS=""
12755 done
12757 CPPFLAGS=$ac_save_CPPFLAGS
12758 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12759 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12762 if test -z "$PULSE_LIBS"; then :
12763 case "x$with_pulse" in
12764 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12767 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12768 esac
12769 enable_winepulse_drv=${enable_winepulse_drv:-no}
12772 if test "x$with_gstreamer" != "xno"
12773 then
12774 if ${GSTREAMER_CFLAGS:+false} :; then :
12775 if ${PKG_CONFIG+:} false; then :
12776 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12780 if ${GSTREAMER_LIBS:+false} :; then :
12781 if ${PKG_CONFIG+:} false; then :
12782 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12787 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12788 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12789 ac_save_CPPFLAGS=$CPPFLAGS
12790 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12791 ac_gst_incl=""
12792 for i in $GSTREAMER_CFLAGS
12794 case "$i" in
12795 -I*) ac_gst_incl="$ac_gst_incl $i";;
12796 esac
12797 done
12798 GSTREAMER_CFLAGS=$ac_gst_incl
12799 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12800 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12801 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12803 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12806 #include <gst/gst.h>
12808 main ()
12810 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_compile "$LINENO"; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12817 $as_echo "yes" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12819 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12820 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12821 $as_echo_n "(cached) " >&6
12822 else
12823 ac_check_lib_save_LIBS=$LIBS
12824 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 /* Override any GCC internal prototype to avoid an error.
12829 Use char because int might match the return type of a GCC
12830 builtin and then its argument prototype would still apply. */
12831 #ifdef __cplusplus
12832 extern "C"
12833 #endif
12834 char gst_pad_new ();
12836 main ()
12838 return gst_pad_new ();
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_link "$LINENO"; then :
12844 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12845 else
12846 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12848 rm -f core conftest.err conftest.$ac_objext \
12849 conftest$ac_exeext conftest.$ac_ext
12850 LIBS=$ac_check_lib_save_LIBS
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12853 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12854 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12861 ac_glib2_broken=yes
12862 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12868 CPPFLAGS=$ac_save_CPPFLAGS
12869 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12870 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12873 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 :
12874 case "x$with_gstreamer" in
12875 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12876 xno) ;;
12877 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12878 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12879 esac
12882 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12884 ALSA_LIBS=""
12886 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12887 then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12889 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12890 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_lib_save_LIBS=$LIBS
12894 LIBS="-lasound $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char snd_pcm_hw_params_get_access_mask ();
12906 main ()
12908 return snd_pcm_hw_params_get_access_mask ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12915 else
12916 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12923 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12924 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 #ifdef HAVE_ALSA_ASOUNDLIB_H
12928 #include <alsa/asoundlib.h>
12929 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12930 #include <sys/asoundlib.h>
12931 #endif
12933 main ()
12935 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_compile "$LINENO"; then :
12941 ALSA_LIBS="-lasound"
12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12947 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12949 if test "x$with_oss" != xno
12950 then
12951 ac_save_CPPFLAGS="$CPPFLAGS"
12952 if test -f /etc/oss.conf
12953 then
12954 . /etc/oss.conf
12956 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12957 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12958 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12959 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12960 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12962 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12966 _ACEOF
12968 OSS4_CFLAGS="$ac_oss_incl"
12975 CPPFLAGS="$ac_save_CPPFLAGS"
12977 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12978 case "x$with_oss" in
12979 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12980 xno) ;;
12981 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12982 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12983 esac
12984 enable_wineoss_drv=${enable_wineoss_drv:-no}
12987 if test "x$with_udev" != "xno"
12988 then
12989 if ${UDEV_CFLAGS:+false} :; then :
12990 if ${PKG_CONFIG+:} false; then :
12991 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12995 if ${UDEV_LIBS:+false} :; then :
12996 if ${PKG_CONFIG+:} false; then :
12997 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13001 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13003 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13004 ac_save_CPPFLAGS=$CPPFLAGS
13005 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13006 for ac_header in libudev.h
13007 do :
13008 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13009 if test "x$ac_cv_header_libudev_h" = xyes; then :
13010 cat >>confdefs.h <<_ACEOF
13011 #define HAVE_LIBUDEV_H 1
13012 _ACEOF
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13014 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13015 if ${ac_cv_lib_udev_udev_new+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-ludev $UDEV_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char udev_new ();
13031 main ()
13033 return udev_new ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_udev_udev_new=yes
13040 else
13041 ac_cv_lib_udev_udev_new=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13048 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13049 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13051 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13053 else
13054 UDEV_LIBS=""
13057 else
13058 UDEV_LIBS=""
13061 done
13063 CPPFLAGS=$ac_save_CPPFLAGS
13064 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$UDEV_LIBS" = "x"; then :
13069 case "x$with_udev" in
13070 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13071 xno) ;;
13072 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13073 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13074 esac
13078 if test "x$with_capi" != "xno"
13079 then
13080 if ${CAPI20_CFLAGS:+false} :; then :
13081 if ${PKG_CONFIG+:} false; then :
13082 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13086 if ${CAPI20_LIBS:+false} :; then :
13087 if ${PKG_CONFIG+:} false; then :
13088 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13093 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13094 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13095 ac_save_CPPFLAGS=$CPPFLAGS
13096 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13097 for ac_header in capi20.h linux/capi.h
13098 do :
13099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13103 cat >>confdefs.h <<_ACEOF
13104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105 _ACEOF
13109 done
13111 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13112 then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13114 $as_echo_n "checking for -lcapi20... " >&6; }
13115 if ${ac_cv_lib_soname_capi20+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char capi20_register ();
13131 main ()
13133 return capi20_register ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13143 if ${ac_cv_lib_soname_capi20:+false} :; then :
13144 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_capi20:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13158 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13162 _ACEOF
13167 CPPFLAGS=$ac_save_CPPFLAGS
13168 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13169 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13172 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13173 case "x$with_capi" in
13174 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13175 xno) ;;
13176 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13177 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13178 esac
13182 CUPS_CFLAGS=""
13184 if test "x$with_cups" != "xno"
13185 then
13186 ac_save_CPPFLAGS="$CPPFLAGS"
13187 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13188 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13189 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13190 for ac_header in cups/cups.h
13191 do :
13192 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define HAVE_CUPS_CUPS_H 1
13196 _ACEOF
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13198 $as_echo_n "checking for -lcups... " >&6; }
13199 if ${ac_cv_lib_soname_cups+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_soname_save_LIBS=$LIBS
13203 LIBS="-lcups $ac_cups_libs $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char cupsGetDefault ();
13215 main ()
13217 return cupsGetDefault ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 case "$LIBEXT" in
13224 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_cups:+false} :; then :
13228 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13229 fi ;;
13230 esac
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_soname_save_LIBS
13236 if ${ac_cv_lib_soname_cups:+false} :; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13238 $as_echo "not found" >&6; }
13240 else
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13242 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13246 _ACEOF
13248 CUPS_CFLAGS="$ac_cups_cflags"
13250 for ac_header in cups/ppd.h
13251 do :
13252 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13253 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_CUPS_PPD_H 1
13256 _ACEOF
13260 done
13264 done
13266 CPPFLAGS="$ac_save_CPPFLAGS"
13268 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13269 case "x$with_cups" in
13270 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13271 xno) ;;
13272 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13273 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13274 esac
13278 if test "x$with_fontconfig" != "xno"
13279 then
13280 if ${FONTCONFIG_CFLAGS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13285 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13286 if ${FONTCONFIG_LIBS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13291 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13293 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13294 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13295 ac_save_CPPFLAGS=$CPPFLAGS
13296 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13297 for ac_header in fontconfig/fontconfig.h
13298 do :
13299 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13300 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13303 _ACEOF
13307 done
13309 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13310 then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13312 $as_echo_n "checking for -lfontconfig... " >&6; }
13313 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_soname_save_LIBS=$LIBS
13317 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char FcInit ();
13329 main ()
13331 return FcInit ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 case "$LIBEXT" in
13338 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13339 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'` ;;
13340 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13341 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13342 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13343 fi ;;
13344 esac
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_soname_save_LIBS
13350 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13352 $as_echo "not found" >&6; }
13353 FONTCONFIG_CFLAGS=""
13354 else
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13356 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13358 cat >>confdefs.h <<_ACEOF
13359 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13360 _ACEOF
13364 else
13365 FONTCONFIG_CFLAGS=""
13367 CPPFLAGS=$ac_save_CPPFLAGS
13368 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13369 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13372 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13373 case "x$with_fontconfig" in
13374 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13375 xno) ;;
13376 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13377 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13378 esac
13382 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13383 then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13385 $as_echo_n "checking for -lgsm... " >&6; }
13386 if ${ac_cv_lib_soname_gsm+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-lgsm $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char gsm_create ();
13402 main ()
13404 return gsm_create ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13414 if ${ac_cv_lib_soname_gsm:+false} :; then :
13415 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13416 fi ;;
13417 esac
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_soname_save_LIBS
13423 if ${ac_cv_lib_soname_gsm:+false} :; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13425 $as_echo "not found" >&6; }
13427 else
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13429 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13431 cat >>confdefs.h <<_ACEOF
13432 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13433 _ACEOF
13438 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13439 case "x$with_gsm" in
13440 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13441 xno) ;;
13442 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13443 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13444 esac
13448 if test "x$with_jpeg" != "xno"
13449 then
13450 if ${JPEG_CFLAGS:+false} :; then :
13451 if ${PKG_CONFIG+:} false; then :
13452 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13456 if ${JPEG_LIBS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13465 ac_save_CPPFLAGS=$CPPFLAGS
13466 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13467 for ac_header in jpeglib.h
13468 do :
13469 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13470 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13471 cat >>confdefs.h <<_ACEOF
13472 #define HAVE_JPEGLIB_H 1
13473 _ACEOF
13477 done
13479 if test "$ac_cv_header_jpeglib_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13482 $as_echo_n "checking for -ljpeg... " >&6; }
13483 if ${ac_cv_lib_soname_jpeg+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_soname_save_LIBS=$LIBS
13487 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char jpeg_start_decompress ();
13499 main ()
13501 return jpeg_start_decompress ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 case "$LIBEXT" in
13508 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13509 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'` ;;
13510 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13511 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13512 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13513 fi ;;
13514 esac
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 LIBS=$ac_check_soname_save_LIBS
13520 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13522 $as_echo "not found" >&6; }
13523 JPEG_CFLAGS=""
13524 else
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13526 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13528 cat >>confdefs.h <<_ACEOF
13529 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13530 _ACEOF
13534 else
13535 JPEG_CFLAGS=""
13537 CPPFLAGS=$ac_save_CPPFLAGS
13538 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13539 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13542 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13543 case "x$with_jpeg" in
13544 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13545 xno) ;;
13546 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13547 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13548 esac
13552 if test "x$with_png" != "xno"
13553 then
13554 if ${PNG_CFLAGS:+false} :; then :
13555 if ${PKG_CONFIG+:} false; then :
13556 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13559 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13560 if ${PNG_LIBS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13565 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13568 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13569 ac_save_CPPFLAGS=$CPPFLAGS
13570 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13571 for ac_header in png.h
13572 do :
13573 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13574 if test "x$ac_cv_header_png_h" = xyes; then :
13575 cat >>confdefs.h <<_ACEOF
13576 #define HAVE_PNG_H 1
13577 _ACEOF
13581 done
13583 if test "$ac_cv_header_png_h" = "yes"
13584 then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13586 $as_echo_n "checking for -lpng... " >&6; }
13587 if ${ac_cv_lib_soname_png+:} false; then :
13588 $as_echo_n "(cached) " >&6
13589 else
13590 ac_check_soname_save_LIBS=$LIBS
13591 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13595 /* Override any GCC internal prototype to avoid an error.
13596 Use char because int might match the return type of a GCC
13597 builtin and then its argument prototype would still apply. */
13598 #ifdef __cplusplus
13599 extern "C"
13600 #endif
13601 char png_create_read_struct ();
13603 main ()
13605 return png_create_read_struct ();
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 case "$LIBEXT" in
13612 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13613 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'` ;;
13614 *) 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'`
13615 if ${ac_cv_lib_soname_png:+false} :; then :
13616 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13617 fi ;;
13618 esac
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 LIBS=$ac_check_soname_save_LIBS
13624 if ${ac_cv_lib_soname_png:+false} :; then :
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13626 $as_echo "not found" >&6; }
13627 PNG_CFLAGS=""
13628 else
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13630 $as_echo "$ac_cv_lib_soname_png" >&6; }
13632 cat >>confdefs.h <<_ACEOF
13633 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13634 _ACEOF
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <png.h>
13640 main ()
13642 typeof(png_set_expand_gray_1_2_4_to_8) *p
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_compile "$LINENO"; then :
13649 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654 else
13655 PNG_CFLAGS=""
13657 CPPFLAGS=$ac_save_CPPFLAGS
13658 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13659 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13662 if test "x$ac_cv_lib_soname_png" = "x"; then :
13663 case "x$with_png" in
13664 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13665 xno) ;;
13666 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13667 This is an error since --with-png was requested." "$LINENO" 5 ;;
13668 esac
13672 if test "x$with_tiff" != "xno"
13673 then
13674 if ${TIFF_CFLAGS:+false} :; then :
13675 if ${PKG_CONFIG+:} false; then :
13676 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13680 if ${TIFF_LIBS:+false} :; then :
13681 if ${PKG_CONFIG+:} false; then :
13682 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13688 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13689 ac_save_CPPFLAGS=$CPPFLAGS
13690 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13691 for ac_header in tiffio.h
13692 do :
13693 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13694 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13695 cat >>confdefs.h <<_ACEOF
13696 #define HAVE_TIFFIO_H 1
13697 _ACEOF
13701 done
13703 if test "$ac_cv_header_tiffio_h" = "yes"
13704 then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13706 $as_echo_n "checking for -ltiff... " >&6; }
13707 if ${ac_cv_lib_soname_tiff+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 ac_check_soname_save_LIBS=$LIBS
13711 LIBS="-ltiff $TIFF_LIBS $LIBS"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13715 /* Override any GCC internal prototype to avoid an error.
13716 Use char because int might match the return type of a GCC
13717 builtin and then its argument prototype would still apply. */
13718 #ifdef __cplusplus
13719 extern "C"
13720 #endif
13721 char TIFFClientOpen ();
13723 main ()
13725 return TIFFClientOpen ();
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"; then :
13731 case "$LIBEXT" in
13732 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13733 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'` ;;
13734 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13735 if ${ac_cv_lib_soname_tiff:+false} :; then :
13736 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13737 fi ;;
13738 esac
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 LIBS=$ac_check_soname_save_LIBS
13744 if ${ac_cv_lib_soname_tiff:+false} :; then :
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13746 $as_echo "not found" >&6; }
13748 else
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13750 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13752 cat >>confdefs.h <<_ACEOF
13753 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13754 _ACEOF
13759 CPPFLAGS=$ac_save_CPPFLAGS
13760 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13761 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13764 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13765 case "x$with_tiff" in
13766 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13769 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13770 esac
13774 if test "x$with_mpg123" != "xno"
13775 then
13776 if ${MPG123_CFLAGS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13782 if ${MPG123_LIBS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13788 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13791 ac_save_CPPFLAGS=$CPPFLAGS
13792 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13793 for ac_header in mpg123.h
13794 do :
13795 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13796 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_MPG123_H 1
13799 _ACEOF
13803 done
13805 if test "$ac_cv_header_mpg123_h" = "yes"
13806 then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13808 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13809 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_check_lib_save_LIBS=$LIBS
13813 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13817 /* Override any GCC internal prototype to avoid an error.
13818 Use char because int might match the return type of a GCC
13819 builtin and then its argument prototype would still apply. */
13820 #ifdef __cplusplus
13821 extern "C"
13822 #endif
13823 char mpg123_feed ();
13825 main ()
13827 return mpg123_feed ();
13829 return 0;
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"; then :
13833 ac_cv_lib_mpg123_mpg123_feed=yes
13834 else
13835 ac_cv_lib_mpg123_mpg123_feed=no
13837 rm -f core conftest.err conftest.$ac_objext \
13838 conftest$ac_exeext conftest.$ac_ext
13839 LIBS=$ac_check_lib_save_LIBS
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13842 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13843 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13845 else
13846 MPG123_LIBS=""
13849 else
13850 MPG123_CFLAGS=""
13851 MPG123_LIBS=""
13853 CPPFLAGS=$ac_save_CPPFLAGS
13854 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13855 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13858 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13859 case "x$with_mpg123" in
13860 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13861 xno) ;;
13862 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13863 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13864 esac
13865 enable_winemp3_acm=${enable_winemp3_acm:-no}
13868 if test "$ac_cv_header_AL_al_h" = "yes"
13869 then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13871 $as_echo_n "checking for -lopenal... " >&6; }
13872 if ${ac_cv_lib_soname_openal+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_soname_save_LIBS=$LIBS
13876 LIBS="-lopenal $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char alGetSource3i ();
13888 main ()
13890 return alGetSource3i ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 case "$LIBEXT" in
13897 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13898 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'` ;;
13899 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13900 if ${ac_cv_lib_soname_openal:+false} :; then :
13901 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13902 fi ;;
13903 esac
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_soname_save_LIBS
13909 if ${ac_cv_lib_soname_openal:+false} :; then :
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13911 $as_echo "not found" >&6; }
13913 else
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13915 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13917 cat >>confdefs.h <<_ACEOF
13918 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13919 _ACEOF
13921 OPENAL_LIBS="-lopenal"
13923 ac_cv_lib_openal=yes
13925 cat >>confdefs.h <<_ACEOF
13926 #define HAVE_OPENAL 1
13927 _ACEOF
13931 if test "x$ac_cv_lib_openal" != xyes; then :
13932 case "x$with_openal" in
13933 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13934 xno) ;;
13935 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13936 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13937 esac
13938 enable_openal32=${enable_openal32:-no}
13941 if test "x$ac_cv_lib_openal" = xyes
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13944 $as_echo_n "checking for openal-soft... " >&6; }
13945 if ${ac_cv_have_openalsoft+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 #include <AL/al.h>
13951 #include <AL/alc.h>
13952 #include <AL/alext.h>
13953 LPALCRENDERSAMPLESSOFT x;
13955 main ()
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_compile "$LINENO"; then :
13963 ac_cv_have_openalsoft=yes
13964 else
13965 ac_cv_have_openalsoft=no
13967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13970 $as_echo "$ac_cv_have_openalsoft" >&6; }
13972 if test "x$ac_cv_have_openalsoft" != xyes
13973 then
13974 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13975 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13976 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13977 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13978 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13979 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13980 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13981 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13982 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13983 enable_xapofx1_1=${enable_xapofx1_1:-no}
13984 enable_xapofx1_2=${enable_xapofx1_2:-no}
13985 enable_xapofx1_3=${enable_xapofx1_3:-no}
13986 enable_xapofx1_4=${enable_xapofx1_4:-no}
13987 enable_xapofx1_5=${enable_xapofx1_5:-no}
13988 enable_xaudio2_0=${enable_xaudio2_0:-no}
13989 enable_xaudio2_1=${enable_xaudio2_1:-no}
13990 enable_xaudio2_2=${enable_xaudio2_2:-no}
13991 enable_xaudio2_3=${enable_xaudio2_3:-no}
13992 enable_xaudio2_4=${enable_xaudio2_4:-no}
13993 enable_xaudio2_5=${enable_xaudio2_5:-no}
13994 enable_xaudio2_6=${enable_xaudio2_6:-no}
13995 enable_xaudio2_7=${enable_xaudio2_7:-no}
13996 enable_xaudio2_8=${enable_xaudio2_8:-no}
13997 enable_xaudio2_9=${enable_xaudio2_9:-no}
14000 if test "$ac_cv_header_kstat_h" = "yes"
14001 then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14003 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14004 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_check_lib_save_LIBS=$LIBS
14008 LIBS="-lkstat $LIBS"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 /* Override any GCC internal prototype to avoid an error.
14013 Use char because int might match the return type of a GCC
14014 builtin and then its argument prototype would still apply. */
14015 #ifdef __cplusplus
14016 extern "C"
14017 #endif
14018 char kstat_open ();
14020 main ()
14022 return kstat_open ();
14024 return 0;
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_lib_kstat_kstat_open=yes
14029 else
14030 ac_cv_lib_kstat_kstat_open=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_lib_save_LIBS
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14037 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14038 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14040 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14042 KSTAT_LIBS="-lkstat"
14048 if test "$ac_cv_header_libprocstat_h" = "yes"
14049 then
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14051 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14052 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_check_lib_save_LIBS=$LIBS
14056 LIBS="-lprocstat $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14060 /* Override any GCC internal prototype to avoid an error.
14061 Use char because int might match the return type of a GCC
14062 builtin and then its argument prototype would still apply. */
14063 #ifdef __cplusplus
14064 extern "C"
14065 #endif
14066 char procstat_open_sysctl ();
14068 main ()
14070 return procstat_open_sysctl ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_lib_procstat_procstat_open_sysctl=yes
14077 else
14078 ac_cv_lib_procstat_procstat_open_sysctl=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14085 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14086 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14088 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14090 PROCSTAT_LIBS="-lprocstat"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14097 $as_echo_n "checking for -lodbc... " >&6; }
14098 if ${ac_cv_lib_soname_odbc+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_check_soname_save_LIBS=$LIBS
14102 LIBS="-lodbc $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 #ifdef __cplusplus
14110 extern "C"
14111 #endif
14112 char SQLConnect ();
14114 main ()
14116 return SQLConnect ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 case "$LIBEXT" in
14123 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14124 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'` ;;
14125 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14126 if ${ac_cv_lib_soname_odbc:+false} :; then :
14127 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14128 fi ;;
14129 esac
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if ${ac_cv_lib_soname_odbc:+false} :; then :
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14137 $as_echo "not found" >&6; }
14138 cat >>confdefs.h <<_ACEOF
14139 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14140 _ACEOF
14142 else
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14144 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14146 cat >>confdefs.h <<_ACEOF
14147 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14148 _ACEOF
14153 if test "x$with_netapi" != "xno"
14154 then
14155 if ${NETAPI_CFLAGS:+false} :; then :
14156 if ${PKG_CONFIG+:} false; then :
14157 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14161 if ${NETAPI_LIBS:+false} :; then :
14162 if ${PKG_CONFIG+:} false; then :
14163 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14169 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14170 ac_save_CPPFLAGS=$CPPFLAGS
14171 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14173 $as_echo_n "checking for -lnetapi... " >&6; }
14174 if ${ac_cv_lib_soname_netapi+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_check_soname_save_LIBS=$LIBS
14178 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char libnetapi_init ();
14190 main ()
14192 return libnetapi_init ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 case "$LIBEXT" in
14199 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14200 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'` ;;
14201 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14202 if ${ac_cv_lib_soname_netapi:+false} :; then :
14203 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14204 fi ;;
14205 esac
14207 rm -f core conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14209 LIBS=$ac_check_soname_save_LIBS
14211 if ${ac_cv_lib_soname_netapi:+false} :; then :
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14213 $as_echo "not found" >&6; }
14214 cat >>confdefs.h <<_ACEOF
14215 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14216 _ACEOF
14218 else
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14220 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14222 cat >>confdefs.h <<_ACEOF
14223 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14224 _ACEOF
14228 CPPFLAGS=$ac_save_CPPFLAGS
14229 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14230 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14234 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14235 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14236 then
14237 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14241 EXTRACFLAGS=""
14243 if test "x${GCC}" = "xyes"
14244 then
14245 EXTRACFLAGS="-Wall -pipe"
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14248 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14249 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 if test "$cross_compiling" = yes; then :
14253 ac_cv_c_gcc_strength_bug="no"
14254 else
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 int L[4] = {0,1,2,3};
14259 main ()
14261 static int Array[3];
14262 unsigned int B = 3;
14263 int i;
14264 for(i=0; i<B; i++) Array[i] = i - 3;
14265 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14266 L[i] = 4;
14267 return (Array[1] != -2 || L[2] != 3)
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_run "$LINENO"; then :
14273 ac_cv_c_gcc_strength_bug="no"
14274 else
14275 ac_cv_c_gcc_strength_bug="yes"
14277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14278 conftest.$ac_objext conftest.beam conftest.$ac_ext
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14283 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14284 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14285 then
14286 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14290 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14291 if ${ac_cv_cflags__fno_builtin+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_wine_try_cflags_saved=$CFLAGS
14295 CFLAGS="$CFLAGS -fno-builtin"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_cflags__fno_builtin=yes
14302 else
14303 ac_cv_cflags__fno_builtin=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 CFLAGS=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14310 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14311 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14312 BUILTINFLAG="-fno-builtin"
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14316 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14317 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14318 $as_echo_n "(cached) " >&6
14319 else
14320 ac_wine_try_cflags_saved=$CFLAGS
14321 CFLAGS="$CFLAGS -fno-strict-aliasing"
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 int main(int argc, char **argv) { return 0; }
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_cflags__fno_strict_aliasing=yes
14328 else
14329 ac_cv_cflags__fno_strict_aliasing=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 CFLAGS=$ac_wine_try_cflags_saved
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14336 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14337 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14338 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14341 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14342 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_wine_try_cflags_saved=$CFLAGS
14346 CFLAGS="$CFLAGS -fexcess-precision=standard"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 int main(int argc, char **argv) { return 0; }
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"; then :
14352 ac_cv_cflags__fexcess_precision_standard=yes
14353 else
14354 ac_cv_cflags__fexcess_precision_standard=no
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14358 CFLAGS=$ac_wine_try_cflags_saved
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14361 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14362 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14363 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14366 saved_CFLAGS=$CFLAGS
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14368 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14369 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_wine_try_cflags_saved=$CFLAGS
14373 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 int main(int argc, char **argv) { return 0; }
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 ac_cv_cflags__Werror_unknown_warning_option=yes
14380 else
14381 ac_cv_cflags__Werror_unknown_warning_option=no
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 CFLAGS=$ac_wine_try_cflags_saved
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14388 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14389 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14393 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14394 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_wine_try_cflags_saved=$CFLAGS
14398 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_cflags__Wdeclaration_after_statement=yes
14405 else
14406 ac_cv_cflags__Wdeclaration_after_statement=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 CFLAGS=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14413 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14414 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14415 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14418 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14419 if ${ac_cv_cflags__Wempty_body+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_wine_try_cflags_saved=$CFLAGS
14423 CFLAGS="$CFLAGS -Wempty-body"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14426 int main(int argc, char **argv) { return 0; }
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 ac_cv_cflags__Wempty_body=yes
14430 else
14431 ac_cv_cflags__Wempty_body=no
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 CFLAGS=$ac_wine_try_cflags_saved
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14438 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14439 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14440 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14443 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14444 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 ac_wine_try_cflags_saved=$CFLAGS
14448 CFLAGS="$CFLAGS -Wignored-qualifiers"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14451 int main(int argc, char **argv) { return 0; }
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"; then :
14454 ac_cv_cflags__Wignored_qualifiers=yes
14455 else
14456 ac_cv_cflags__Wignored_qualifiers=no
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14460 CFLAGS=$ac_wine_try_cflags_saved
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14463 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14464 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14465 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14468 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14469 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_wine_try_cflags_saved=$CFLAGS
14473 CFLAGS="$CFLAGS -Wshift-overflow=2"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int main(int argc, char **argv) { return 0; }
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_cflags__Wshift_overflow_2=yes
14480 else
14481 ac_cv_cflags__Wshift_overflow_2=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 CFLAGS=$ac_wine_try_cflags_saved
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14488 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14489 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14490 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14493 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14494 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_wine_try_cflags_saved=$CFLAGS
14498 CFLAGS="$CFLAGS -Wstrict-prototypes"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14501 int main(int argc, char **argv) { return 0; }
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 ac_cv_cflags__Wstrict_prototypes=yes
14505 else
14506 ac_cv_cflags__Wstrict_prototypes=no
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14510 CFLAGS=$ac_wine_try_cflags_saved
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14513 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14514 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14515 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14518 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14519 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14520 $as_echo_n "(cached) " >&6
14521 else
14522 ac_wine_try_cflags_saved=$CFLAGS
14523 CFLAGS="$CFLAGS -Wtype-limits"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526 int main(int argc, char **argv) { return 0; }
14527 _ACEOF
14528 if ac_fn_c_try_link "$LINENO"; then :
14529 ac_cv_cflags__Wtype_limits=yes
14530 else
14531 ac_cv_cflags__Wtype_limits=no
14533 rm -f core conftest.err conftest.$ac_objext \
14534 conftest$ac_exeext conftest.$ac_ext
14535 CFLAGS=$ac_wine_try_cflags_saved
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14538 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14539 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14540 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14543 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14544 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_wine_try_cflags_saved=$CFLAGS
14548 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_cflags__Wunused_but_set_parameter=yes
14555 else
14556 ac_cv_cflags__Wunused_but_set_parameter=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 CFLAGS=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14563 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14564 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14565 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14568 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14569 if ${ac_cv_cflags__Wvla+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_wine_try_cflags_saved=$CFLAGS
14573 CFLAGS="$CFLAGS -Wvla"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 ac_cv_cflags__Wvla=yes
14580 else
14581 ac_cv_cflags__Wvla=no
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 CFLAGS=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14588 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14589 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14590 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14593 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14594 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_wine_try_cflags_saved=$CFLAGS
14598 CFLAGS="$CFLAGS -Wwrite-strings"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int main(int argc, char **argv) { return 0; }
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_cflags__Wwrite_strings=yes
14605 else
14606 ac_cv_cflags__Wwrite_strings=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 CFLAGS=$ac_wine_try_cflags_saved
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14613 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14614 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14615 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14619 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14620 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_wine_try_cflags_saved=$CFLAGS
14624 CFLAGS="$CFLAGS -Wpointer-arith"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 int main(int argc, char **argv) { return 0; }
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 ac_cv_cflags__Wpointer_arith=yes
14631 else
14632 ac_cv_cflags__Wpointer_arith=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14636 CFLAGS=$ac_wine_try_cflags_saved
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14639 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14640 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14641 saved_string_h_CFLAGS=$CFLAGS
14642 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14644 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14645 if ${ac_cv_c_string_h_warnings+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 #include <string.h>
14652 main ()
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_compile "$LINENO"; then :
14660 ac_cv_c_string_h_warnings=no
14661 else
14662 ac_cv_c_string_h_warnings=yes
14664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14667 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14668 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14669 CFLAGS=$saved_string_h_CFLAGS
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14673 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14674 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_wine_try_cflags_saved=$CFLAGS
14678 CFLAGS="$CFLAGS -Wlogical-op"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 int main(int argc, char **argv) { return 0; }
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
14684 ac_cv_cflags__Wlogical_op=yes
14685 else
14686 ac_cv_cflags__Wlogical_op=no
14688 rm -f core conftest.err conftest.$ac_objext \
14689 conftest$ac_exeext conftest.$ac_ext
14690 CFLAGS=$ac_wine_try_cflags_saved
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14693 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14694 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14695 saved_string_h_CFLAGS=$CFLAGS
14696 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14698 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14699 if ${ac_cv_c_logicalop_noisy+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 #include <string.h>
14705 char*f(const char *h,char n) {return strchr(h,n);}
14707 main ()
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_compile "$LINENO"; then :
14715 ac_cv_c_logicalop_noisy=no
14716 else
14717 ac_cv_c_logicalop_noisy=yes
14719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14722 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14723 CFLAGS=$saved_string_h_CFLAGS
14724 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14727 CFLAGS=$saved_CFLAGS
14729 for ac_flag in $CFLAGS; do
14730 case $ac_flag in
14731 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14732 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14733 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 ac_wine_try_cflags_saved=$CFLAGS
14737 CFLAGS="$CFLAGS -gdwarf-2"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14740 int main(int argc, char **argv) { return 0; }
14741 _ACEOF
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_cflags__gdwarf_2=yes
14744 else
14745 ac_cv_cflags__gdwarf_2=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 CFLAGS=$ac_wine_try_cflags_saved
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14752 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14753 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14754 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14757 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14758 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_wine_try_cflags_saved=$CFLAGS
14762 CFLAGS="$CFLAGS -gstrict-dwarf"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 int main(int argc, char **argv) { return 0; }
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_cflags__gstrict_dwarf=yes
14769 else
14770 ac_cv_cflags__gstrict_dwarf=no
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 CFLAGS=$ac_wine_try_cflags_saved
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14777 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14778 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14779 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14780 fi ;;
14781 esac
14782 done
14784 case $host_cpu in
14785 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14786 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14787 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 ac_wine_try_cflags_saved=$CFLAGS
14791 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14794 int main(int argc, char **argv) { return 0; }
14795 _ACEOF
14796 if ac_fn_c_try_link "$LINENO"; then :
14797 ac_cv_cflags__fno_omit_frame_pointer=yes
14798 else
14799 ac_cv_cflags__fno_omit_frame_pointer=no
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14803 CFLAGS=$ac_wine_try_cflags_saved
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14806 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14807 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14808 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14809 fi ;;
14810 esac
14812 case $host in
14813 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14814 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14815 if ${ac_cv_cflags__Wno_format+:} false; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 ac_wine_try_cflags_saved=$CFLAGS
14819 CFLAGS="$CFLAGS -Wno-format"
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 int main(int argc, char **argv) { return 0; }
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"; then :
14825 ac_cv_cflags__Wno_format=yes
14826 else
14827 ac_cv_cflags__Wno_format=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 CFLAGS=$ac_wine_try_cflags_saved
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14834 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14835 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14836 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14837 fi ;;
14838 esac
14840 if test "x$enable_maintainer_mode" = "xyes"
14841 then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14843 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14844 if ${ac_cv_cflags__Werror+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -Werror"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__Werror=yes
14855 else
14856 ac_cv_cflags__Werror=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14863 $as_echo "$ac_cv_cflags__Werror" >&6; }
14864 if test "x$ac_cv_cflags__Werror" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14869 saved_CFLAGS="$CFLAGS"
14870 CFLAGS="$CFLAGS -Werror"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14872 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14873 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14880 main ()
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_compile "$LINENO"; then :
14888 ac_cv_have_ms_hook_prologue="yes"
14889 else
14890 ac_cv_have_ms_hook_prologue="no"
14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14895 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14896 CFLAGS="$saved_CFLAGS"
14897 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14898 then
14900 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14902 else
14903 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14910 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14911 if ${ac_cv_c_fortify_enabled+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #include <string.h>
14918 main ()
14920 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14921 #error Fortify enabled
14922 #endif
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_compile "$LINENO"; then :
14928 ac_cv_c_fortify_enabled=no
14929 else
14930 ac_cv_c_fortify_enabled=yes
14932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14935 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14936 if test "$ac_cv_c_fortify_enabled" = yes
14937 then
14938 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14943 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14944 if ${ac_cv_c_extern_prefix+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 extern int ac_test;
14951 main ()
14953 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_c_extern_prefix="yes"
14960 else
14961 ac_cv_c_extern_prefix="no"
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14967 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14969 case $host_cpu in
14970 *i[3456789]86*)
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14972 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14973 if ${ac_cv_c_stdcall_suffix+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 #ifndef _MSC_VER
14979 #define __stdcall __attribute__((__stdcall__))
14980 #endif
14981 int __stdcall ac_test(int i) { return i; }
14983 main ()
14985 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14987 return 0;
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 ac_cv_c_stdcall_suffix="yes"
14992 else
14993 ac_cv_c_stdcall_suffix="no"
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14999 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15000 *) ac_cv_c_stdcall_suffix="no" ;;
15001 esac
15004 if test "$ac_cv_c_extern_prefix" = "yes"
15005 then
15006 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15008 asm_name_prefix="_"
15009 else
15010 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15012 asm_name_prefix=""
15016 if test "$ac_cv_c_stdcall_suffix" = "yes"
15017 then
15018 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15020 else
15021 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15027 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15028 if ${ac_cv_asm_func_def+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15035 main ()
15037 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_link "$LINENO"; then :
15043 ac_cv_asm_func_def=".def"
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15049 main ()
15051 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_asm_func_def=".type @function"
15058 else
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15063 main ()
15065 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 ac_cv_asm_func_def=".type 2"
15072 else
15073 ac_cv_asm_func_def="unknown"
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15085 $as_echo "$ac_cv_asm_func_def" >&6; }
15088 case "$ac_cv_asm_func_def" in
15089 ".def")
15090 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15092 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15093 ".type @function")
15094 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15096 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15097 ".type 2")
15098 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15100 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15102 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15104 asm_func_header="" ;;
15105 esac
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15108 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15109 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 asm(".text\n\t.long 0");
15116 main ()
15120 return 0;
15122 _ACEOF
15123 if ac_fn_c_try_compile "$LINENO"; then :
15124 ac_cv_c_asm_outside_funcs="yes"
15125 else
15126 ac_cv_c_asm_outside_funcs="no"
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15131 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15134 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15135 if ${ac_cv_c_dot_previous+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15142 main ()
15144 asm(".text\nac_test:\t.long 0\n\t.previous");
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_link "$LINENO"; then :
15150 ac_cv_c_dot_previous="yes"
15151 else
15152 ac_cv_c_dot_previous="no"
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext conftest.$ac_ext
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15158 $as_echo "$ac_cv_c_dot_previous" >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15161 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15162 if ${ac_cv_c_cfi_support+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15169 main ()
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"; then :
15177 ac_cv_c_cfi_support="yes"
15178 else
15179 ac_cv_c_cfi_support="no"
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15184 $as_echo "$ac_cv_c_cfi_support" >&6; }
15186 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15187 asm_func_trailer=""
15188 if test "$ac_cv_c_dot_previous" = "yes"
15189 then
15190 asm_func_trailer="\\n\\t.previous"
15192 if test "$ac_cv_c_cfi_support" = "yes"
15193 then
15194 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15195 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15197 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15199 UNWINDFLAGS=-fasynchronous-unwind-tables
15201 else
15202 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15204 if test "x$enable_win64" = "xyes"
15205 then
15206 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15210 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15213 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15214 then
15215 cat >>confdefs.h <<_ACEOF
15216 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15217 _ACEOF
15219 else
15220 cat >>confdefs.h <<_ACEOF
15221 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15222 _ACEOF
15226 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15229 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15233 case $build_os in
15234 cygwin*|mingw32*) TOOLSEXT=".exe"
15236 esac
15238 case $host_os in
15239 linux*)
15240 case $host_cpu in
15241 *i[3456789]86*|x86_64*)
15242 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15243 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15245 esac
15247 esac
15250 ac_save_CFLAGS="$CFLAGS"
15251 CFLAGS="$CFLAGS $BUILTINFLAG"
15252 for ac_func in \
15253 __res_get_state \
15254 __res_getservers \
15255 _finite \
15256 _isnan \
15257 _pclose \
15258 _popen \
15259 _snprintf \
15260 _spawnvp \
15261 _strdup \
15262 _stricmp \
15263 _strnicmp \
15264 _strtoi64 \
15265 _strtoui64 \
15266 _vsnprintf \
15267 asctime_r \
15268 chsize \
15269 dlopen \
15270 epoll_create \
15271 ffs \
15272 finitef \
15273 fnmatch \
15274 fork \
15275 fpclass \
15276 fstatfs \
15277 fstatvfs \
15278 ftruncate \
15279 futimens \
15280 futimes \
15281 futimesat \
15282 getattrlist \
15283 getauxval \
15284 getopt_long_only \
15285 getpwuid \
15286 gettimeofday \
15287 getuid \
15288 isnanf \
15289 kqueue \
15290 lstat \
15291 memmove \
15292 mmap \
15293 pclose \
15294 pipe2 \
15295 poll \
15296 popen \
15297 port_create \
15298 prctl \
15299 pread \
15300 proc_pidinfo \
15301 pwrite \
15302 readdir \
15303 readlink \
15304 sched_yield \
15305 select \
15306 setproctitle \
15307 setprogname \
15308 setrlimit \
15309 settimeofday \
15310 sigaltstack \
15311 sigprocmask \
15312 snprintf \
15313 statfs \
15314 statvfs \
15315 strcasecmp \
15316 strdup \
15317 strerror \
15318 strncasecmp \
15319 strtold \
15320 strtoll \
15321 strtoull \
15322 symlink \
15323 sysinfo \
15324 tcdrain \
15325 thr_kill2 \
15326 timegm \
15327 usleep \
15328 vsnprintf
15330 do :
15331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15333 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15336 _ACEOF
15339 done
15341 CFLAGS="$ac_save_CFLAGS"
15343 if test "$ac_cv_func_dlopen" = no
15344 then
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15346 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15347 if ${ac_cv_lib_dl_dlopen+:} false; then :
15348 $as_echo_n "(cached) " >&6
15349 else
15350 ac_check_lib_save_LIBS=$LIBS
15351 LIBS="-ldl $LIBS"
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 #ifdef __cplusplus
15359 extern "C"
15360 #endif
15361 char dlopen ();
15363 main ()
15365 return dlopen ();
15367 return 0;
15369 _ACEOF
15370 if ac_fn_c_try_link "$LINENO"; then :
15371 ac_cv_lib_dl_dlopen=yes
15372 else
15373 ac_cv_lib_dl_dlopen=no
15375 rm -f core conftest.err conftest.$ac_objext \
15376 conftest$ac_exeext conftest.$ac_ext
15377 LIBS=$ac_check_lib_save_LIBS
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15380 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15381 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15382 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15383 DL_LIBS="-ldl"
15388 ac_wine_check_funcs_save_LIBS="$LIBS"
15389 LIBS="$LIBS $DL_LIBS"
15390 for ac_func in dladdr
15391 do :
15392 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15393 if test "x$ac_cv_func_dladdr" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_DLADDR 1
15396 _ACEOF
15399 done
15401 LIBS="$ac_wine_check_funcs_save_LIBS"
15403 if test "$ac_cv_func_poll" = no
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15406 $as_echo_n "checking for poll in -lpoll... " >&6; }
15407 if ${ac_cv_lib_poll_poll+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-lpoll $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char poll ();
15423 main ()
15425 return poll ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_lib_poll_poll=yes
15432 else
15433 ac_cv_lib_poll_poll=no
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_lib_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15440 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15441 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15442 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15443 POLL_LIBS="-lpoll"
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15450 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15451 if ${ac_cv_search_gethostbyname+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_func_search_save_LIBS=$LIBS
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 #endif
15464 char gethostbyname ();
15466 main ()
15468 return gethostbyname ();
15470 return 0;
15472 _ACEOF
15473 for ac_lib in '' nsl; do
15474 if test -z "$ac_lib"; then
15475 ac_res="none required"
15476 else
15477 ac_res=-l$ac_lib
15478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_search_gethostbyname=$ac_res
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext
15485 if ${ac_cv_search_gethostbyname+:} false; then :
15486 break
15488 done
15489 if ${ac_cv_search_gethostbyname+:} false; then :
15491 else
15492 ac_cv_search_gethostbyname=no
15494 rm conftest.$ac_ext
15495 LIBS=$ac_func_search_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15498 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15499 ac_res=$ac_cv_search_gethostbyname
15500 if test "$ac_res" != no; then :
15501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15507 $as_echo_n "checking for library containing connect... " >&6; }
15508 if ${ac_cv_search_connect+:} false; then :
15509 $as_echo_n "(cached) " >&6
15510 else
15511 ac_func_search_save_LIBS=$LIBS
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 /* Override any GCC internal prototype to avoid an error.
15516 Use char because int might match the return type of a GCC
15517 builtin and then its argument prototype would still apply. */
15518 #ifdef __cplusplus
15519 extern "C"
15520 #endif
15521 char connect ();
15523 main ()
15525 return connect ();
15527 return 0;
15529 _ACEOF
15530 for ac_lib in '' socket; do
15531 if test -z "$ac_lib"; then
15532 ac_res="none required"
15533 else
15534 ac_res=-l$ac_lib
15535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_search_connect=$ac_res
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext
15542 if ${ac_cv_search_connect+:} false; then :
15543 break
15545 done
15546 if ${ac_cv_search_connect+:} false; then :
15548 else
15549 ac_cv_search_connect=no
15551 rm conftest.$ac_ext
15552 LIBS=$ac_func_search_save_LIBS
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15555 $as_echo "$ac_cv_search_connect" >&6; }
15556 ac_res=$ac_cv_search_connect
15557 if test "$ac_res" != no; then :
15558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15564 $as_echo_n "checking for library containing inet_aton... " >&6; }
15565 if ${ac_cv_search_inet_aton+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 ac_func_search_save_LIBS=$LIBS
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15575 #ifdef __cplusplus
15576 extern "C"
15577 #endif
15578 char inet_aton ();
15580 main ()
15582 return inet_aton ();
15584 return 0;
15586 _ACEOF
15587 for ac_lib in '' resolv; do
15588 if test -z "$ac_lib"; then
15589 ac_res="none required"
15590 else
15591 ac_res=-l$ac_lib
15592 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 ac_cv_search_inet_aton=$ac_res
15597 rm -f core conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext
15599 if ${ac_cv_search_inet_aton+:} false; then :
15600 break
15602 done
15603 if ${ac_cv_search_inet_aton+:} false; then :
15605 else
15606 ac_cv_search_inet_aton=no
15608 rm conftest.$ac_ext
15609 LIBS=$ac_func_search_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15612 $as_echo "$ac_cv_search_inet_aton" >&6; }
15613 ac_res=$ac_cv_search_inet_aton
15614 if test "$ac_res" != no; then :
15615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15620 for ac_func in \
15621 getaddrinfo \
15622 getnameinfo \
15623 getnetbyname \
15624 getprotobyname \
15625 getprotobynumber \
15626 getservbyport \
15627 inet_addr \
15628 inet_network \
15629 inet_ntop \
15630 inet_pton \
15631 sendmsg \
15632 socketpair \
15634 do :
15635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15640 _ACEOF
15643 done
15646 ac_save_LIBS=$LIBS
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15648 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15649 if ${ac_cv_search_clock_gettime+:} false; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_func_search_save_LIBS=$LIBS
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15656 /* Override any GCC internal prototype to avoid an error.
15657 Use char because int might match the return type of a GCC
15658 builtin and then its argument prototype would still apply. */
15659 #ifdef __cplusplus
15660 extern "C"
15661 #endif
15662 char clock_gettime ();
15664 main ()
15666 return clock_gettime ();
15668 return 0;
15670 _ACEOF
15671 for ac_lib in '' rt; do
15672 if test -z "$ac_lib"; then
15673 ac_res="none required"
15674 else
15675 ac_res=-l$ac_lib
15676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 ac_cv_search_clock_gettime=$ac_res
15681 rm -f core conftest.err conftest.$ac_objext \
15682 conftest$ac_exeext
15683 if ${ac_cv_search_clock_gettime+:} false; then :
15684 break
15686 done
15687 if ${ac_cv_search_clock_gettime+:} false; then :
15689 else
15690 ac_cv_search_clock_gettime=no
15692 rm conftest.$ac_ext
15693 LIBS=$ac_func_search_save_LIBS
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15696 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15697 ac_res=$ac_cv_search_clock_gettime
15698 if test "$ac_res" != no; then :
15699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15701 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15703 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15707 LIBS=$ac_save_LIBS
15709 LDAP_LIBS=""
15711 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15712 then
15713 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15715 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15717 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15718 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15719 $as_echo_n "(cached) " >&6
15720 else
15721 ac_check_lib_save_LIBS=$LIBS
15722 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 #ifdef __cplusplus
15730 extern "C"
15731 #endif
15732 char ldap_initialize ();
15734 main ()
15736 return ldap_initialize ();
15738 return 0;
15740 _ACEOF
15741 if ac_fn_c_try_link "$LINENO"; then :
15742 ac_cv_lib_ldap_r_ldap_initialize=yes
15743 else
15744 ac_cv_lib_ldap_r_ldap_initialize=no
15746 rm -f core conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15748 LIBS=$ac_check_lib_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15751 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15752 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15754 $as_echo_n "checking for ber_init in -llber... " >&6; }
15755 if ${ac_cv_lib_lber_ber_init+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15758 ac_check_lib_save_LIBS=$LIBS
15759 LIBS="-llber $PTHREAD_LIBS $LIBS"
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15766 #ifdef __cplusplus
15767 extern "C"
15768 #endif
15769 char ber_init ();
15771 main ()
15773 return ber_init ();
15775 return 0;
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"; then :
15779 ac_cv_lib_lber_ber_init=yes
15780 else
15781 ac_cv_lib_lber_ber_init=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 LIBS=$ac_check_lib_save_LIBS
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15788 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15789 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15791 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15793 LDAP_LIBS="-lldap_r -llber"
15800 ac_wine_check_funcs_save_LIBS="$LIBS"
15801 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15802 for ac_func in \
15803 ldap_count_references \
15804 ldap_first_reference \
15805 ldap_next_reference \
15806 ldap_parse_reference \
15807 ldap_parse_sort_control \
15808 ldap_parse_sortresponse_control \
15809 ldap_parse_vlv_control \
15810 ldap_parse_vlvresponse_control
15811 do :
15812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15817 _ACEOF
15820 done
15822 LIBS="$ac_wine_check_funcs_save_LIBS"
15824 if test "x$LDAP_LIBS" = "x"; then :
15825 case "x$with_ldap" in
15826 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15827 xno) ;;
15828 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15829 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15830 esac
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15835 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15836 if ${wine_cv_one_arg_mkdir+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #include <sys/stat.h>
15843 main ()
15845 mkdir("foo");
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_compile "$LINENO"; then :
15851 wine_cv_one_arg_mkdir=yes
15852 else
15853 wine_cv_one_arg_mkdir=no
15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15858 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15859 if test "$wine_cv_one_arg_mkdir" = "yes"
15860 then
15862 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15867 $as_echo_n "checking for sched_setaffinity... " >&6; }
15868 if ${wine_cv_have_sched_setaffinity+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE
15874 #include <sched.h>
15876 main ()
15878 sched_setaffinity(0, 0, 0);
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"; then :
15884 wine_cv_have_sched_setaffinity=yes
15885 else
15886 wine_cv_have_sched_setaffinity=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15892 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15893 if test "$wine_cv_have_sched_setaffinity" = "yes"
15894 then
15896 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15901 $as_echo_n "checking for fallocate... " >&6; }
15902 if ${wine_cv_have_fallocate+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #define _GNU_SOURCE
15908 #include <fcntl.h>
15910 main ()
15912 fallocate(-1, 0, 0, 0);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 wine_cv_have_fallocate=yes
15919 else
15920 wine_cv_have_fallocate=no
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15926 $as_echo "$wine_cv_have_fallocate" >&6; }
15927 if test "$wine_cv_have_fallocate" = "yes"
15928 then
15930 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15936 $as_echo_n "checking for inline... " >&6; }
15937 if ${ac_cv_c_inline+:} false; then :
15938 $as_echo_n "(cached) " >&6
15939 else
15940 ac_cv_c_inline=no
15941 for ac_kw in inline __inline__ __inline; do
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944 #ifndef __cplusplus
15945 typedef int foo_t;
15946 static $ac_kw foo_t static_foo () {return 0; }
15947 $ac_kw foo_t foo () {return 0; }
15948 #endif
15950 _ACEOF
15951 if ac_fn_c_try_compile "$LINENO"; then :
15952 ac_cv_c_inline=$ac_kw
15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 test "$ac_cv_c_inline" != no && break
15956 done
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15960 $as_echo "$ac_cv_c_inline" >&6; }
15962 case $ac_cv_c_inline in
15963 inline | yes) ;;
15965 case $ac_cv_c_inline in
15966 no) ac_val=;;
15967 *) ac_val=$ac_cv_c_inline;;
15968 esac
15969 cat >>confdefs.h <<_ACEOF
15970 #ifndef __cplusplus
15971 #define inline $ac_val
15972 #endif
15973 _ACEOF
15975 esac
15977 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_mode_t" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_MODE_T 1
15982 _ACEOF
15986 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_off_t" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_OFF_T 1
15991 _ACEOF
15995 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_pid_t" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_PID_T 1
16000 _ACEOF
16004 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_size_t" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_SIZE_T 1
16009 _ACEOF
16013 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16014 if test "x$ac_cv_type_ssize_t" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_SSIZE_T 1
16018 _ACEOF
16022 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16023 if test "x$ac_cv_type_long_long" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_LONG_LONG 1
16027 _ACEOF
16031 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16032 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_FSBLKCNT_T 1
16036 _ACEOF
16040 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16041 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_FSFILCNT_T 1
16045 _ACEOF
16050 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16051 #include <signal.h>
16053 if test "x$ac_cv_type_sigset_t" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_SIGSET_T 1
16057 _ACEOF
16062 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16064 if test "x$ac_cv_type_request_sense" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_REQUEST_SENSE 1
16068 _ACEOF
16074 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16075 #ifdef HAVE_SYS_SOCKET_H
16076 #include <sys/socket.h>
16077 #endif
16078 #ifdef HAVE_SYS_SOCKETVAR_H
16079 #include <sys/socketvar.h>
16080 #endif
16081 #ifdef HAVE_NET_ROUTE_H
16082 #include <net/route.h>
16083 #endif
16084 #ifdef HAVE_NETINET_IN_H
16085 #include <netinet/in.h>
16086 #endif
16087 #ifdef HAVE_NETINET_IN_SYSTM_H
16088 #include <netinet/in_systm.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IP_H
16091 #include <netinet/ip.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IN_PCB_H
16094 #include <netinet/in_pcb.h>
16095 #endif
16097 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_XINPGEN 1
16101 _ACEOF
16107 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16108 #include <link.h>
16109 #endif
16110 #ifdef HAVE_SYS_LINK_H
16111 #include <sys/link.h>
16112 #endif
16114 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_R_DEBUG 1
16118 _ACEOF
16122 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16123 #include <link.h>
16124 #endif
16125 #ifdef HAVE_SYS_LINK_H
16126 #include <sys/link.h>
16127 #endif
16129 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_STRUCT_LINK_MAP 1
16133 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16140 #include <linux/input.h>
16141 #endif
16143 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16147 _ACEOF
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16154 $as_echo_n "checking for if_nameindex... " >&6; }
16155 if ${wine_cv_have_if_nameindex+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #ifdef HAVE_SYS_TYPES_H
16161 #include <sys/types.h>
16162 #endif
16163 #ifdef HAVE_NET_IF_H
16164 # include <net/if.h>
16165 #endif
16167 main ()
16169 struct if_nameindex *p = if_nameindex(); return p->if_index;
16171 return 0;
16173 _ACEOF
16174 if ac_fn_c_try_link "$LINENO"; then :
16175 wine_cv_have_if_nameindex=yes
16176 else
16177 wine_cv_have_if_nameindex=no
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16183 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16184 if test "$wine_cv_have_if_nameindex" = "yes"
16185 then
16187 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16192 $as_echo_n "checking for sigaddset... " >&6; }
16193 if ${wine_cv_have_sigaddset+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #include <signal.h>
16200 main ()
16202 sigset_t set; sigaddset(&set,SIGTERM);
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_link "$LINENO"; then :
16208 wine_cv_have_sigaddset=yes
16209 else
16210 wine_cv_have_sigaddset=no
16212 rm -f core conftest.err conftest.$ac_objext \
16213 conftest$ac_exeext conftest.$ac_ext
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16216 $as_echo "$wine_cv_have_sigaddset" >&6; }
16217 if test "$wine_cv_have_sigaddset" = "yes"
16218 then
16220 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16226 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16227 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16228 $as_echo_n "(cached) " >&6
16229 else
16230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16231 /* end confdefs.h. */
16232 #include <netdb.h>
16234 main ()
16237 char *name=0;
16238 struct hostent he;
16239 struct hostent *result;
16240 char *buf=0;
16241 int bufsize=0;
16242 int errnr;
16243 char *addr=0;
16244 int addrlen=0;
16245 int addrtype=0;
16246 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16247 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_link "$LINENO"; then :
16254 wine_cv_linux_gethostbyname_r_6=yes
16255 else
16256 wine_cv_linux_gethostbyname_r_6=no
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext conftest.$ac_ext
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16264 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16265 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16266 then
16268 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16272 if test "$ac_cv_header_linux_joystick_h" = "yes"
16273 then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16275 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16276 if ${wine_cv_linux_joystick_22_api+:} false; then :
16277 $as_echo_n "(cached) " >&6
16278 else
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16282 #include <sys/ioctl.h>
16283 #include <sys/types.h>
16284 #include <linux/joystick.h>
16286 struct js_event blub;
16287 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16288 #error "no 2.2 header"
16289 #endif
16292 main ()
16294 /*empty*/
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_compile "$LINENO"; then :
16300 wine_cv_linux_joystick_22_api=yes
16301 else
16302 wine_cv_linux_joystick_22_api=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16308 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16309 if test "$wine_cv_linux_joystick_22_api" = "yes"
16310 then
16312 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16318 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16319 #ifdef HAVE_SYS_PARAM_H
16320 # include <sys/param.h>
16321 #endif
16322 #ifdef HAVE_SYS_MOUNT_H
16323 # include <sys/mount.h>
16324 #endif
16325 #ifdef HAVE_SYS_VFS_H
16326 # include <sys/vfs.h>
16327 #endif
16328 #ifdef HAVE_SYS_STATFS_H
16329 # include <sys/statfs.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_STATFS_F_BFREE 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_PARAM_H
16342 # include <sys/param.h>
16343 #endif
16344 #ifdef HAVE_SYS_MOUNT_H
16345 # include <sys/mount.h>
16346 #endif
16347 #ifdef HAVE_SYS_VFS_H
16348 # include <sys/vfs.h>
16349 #endif
16350 #ifdef HAVE_SYS_STATFS_H
16351 # include <sys/statfs.h>
16352 #endif
16354 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16358 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16363 #ifdef HAVE_SYS_PARAM_H
16364 # include <sys/param.h>
16365 #endif
16366 #ifdef HAVE_SYS_MOUNT_H
16367 # include <sys/mount.h>
16368 #endif
16369 #ifdef HAVE_SYS_VFS_H
16370 # include <sys/vfs.h>
16371 #endif
16372 #ifdef HAVE_SYS_STATFS_H
16373 # include <sys/statfs.h>
16374 #endif
16376 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16380 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16385 #ifdef HAVE_SYS_PARAM_H
16386 # include <sys/param.h>
16387 #endif
16388 #ifdef HAVE_SYS_MOUNT_H
16389 # include <sys/mount.h>
16390 #endif
16391 #ifdef HAVE_SYS_VFS_H
16392 # include <sys/vfs.h>
16393 #endif
16394 #ifdef HAVE_SYS_STATFS_H
16395 # include <sys/statfs.h>
16396 #endif
16398 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STATFS_F_FFREE 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16407 #ifdef HAVE_SYS_PARAM_H
16408 # include <sys/param.h>
16409 #endif
16410 #ifdef HAVE_SYS_MOUNT_H
16411 # include <sys/mount.h>
16412 #endif
16413 #ifdef HAVE_SYS_VFS_H
16414 # include <sys/vfs.h>
16415 #endif
16416 #ifdef HAVE_SYS_STATFS_H
16417 # include <sys/statfs.h>
16418 #endif
16420 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16424 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16429 #ifdef HAVE_SYS_PARAM_H
16430 # include <sys/param.h>
16431 #endif
16432 #ifdef HAVE_SYS_MOUNT_H
16433 # include <sys/mount.h>
16434 #endif
16435 #ifdef HAVE_SYS_VFS_H
16436 # include <sys/vfs.h>
16437 #endif
16438 #ifdef HAVE_SYS_STATFS_H
16439 # include <sys/statfs.h>
16440 #endif
16442 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16446 _ACEOF
16452 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16453 #include <sys/statvfs.h>
16454 #endif
16456 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16467 #include <dirent.h>
16468 #endif
16470 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16474 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16481 #ifdef HAVE_SYS_SOCKET_H
16482 # include <sys/socket.h>
16483 #endif
16484 #ifdef HAVE_SYS_UN_H
16485 # include <sys/un.h>
16486 #endif
16488 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16492 _ACEOF
16496 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16497 #ifdef HAVE_SYS_SOCKET_H
16498 # include <sys/socket.h>
16499 #endif
16500 #ifdef HAVE_SYS_UN_H
16501 # include <sys/un.h>
16502 #endif
16504 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16508 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16513 #ifdef HAVE_SYS_SOCKET_H
16514 # include <sys/socket.h>
16515 #endif
16516 #ifdef HAVE_SYS_UN_H
16517 # include <sys/un.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16531 #ifdef HAVE_SCSI_SG_H
16532 #include <scsi/sg.h>
16533 #endif
16535 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_SCSIREQ_T_CMD 1
16539 _ACEOF
16543 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>
16544 #ifdef HAVE_SCSI_SG_H
16545 #include <scsi/sg.h>
16546 #endif
16548 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16552 _ACEOF
16558 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16560 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_SIGINFO_T_SI_FD 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16571 #ifdef HAVE_SYS_MTIO_H
16572 #include <sys/mtio.h>
16573 #endif
16575 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16579 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16584 #ifdef HAVE_SYS_MTIO_H
16585 #include <sys/mtio.h>
16586 #endif
16588 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16592 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16597 #ifdef HAVE_SYS_MTIO_H
16598 #include <sys/mtio.h>
16599 #endif
16601 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16612 #include <getopt.h>
16613 #endif
16615 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_OPTION_NAME 1
16619 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_STRUCT_STAT_ST_MTIM 1
16639 _ACEOF
16643 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16644 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16648 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16653 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_STAT_ST_CTIM 1
16657 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16662 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16666 _ACEOF
16670 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16671 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT_STAT_ST_ATIM 1
16675 _ACEOF
16679 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16680 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16684 _ACEOF
16688 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16689 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16693 _ACEOF
16697 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16698 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16700 cat >>confdefs.h <<_ACEOF
16701 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16702 _ACEOF
16706 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16707 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16709 cat >>confdefs.h <<_ACEOF
16710 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16711 _ACEOF
16715 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16716 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16720 _ACEOF
16724 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16725 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16729 _ACEOF
16735 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
16736 #include <sys/types.h>
16737 #endif
16738 #ifdef HAVE_NETINET_IN_H
16739 #include <netinet/in.h>
16740 #endif
16742 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16744 cat >>confdefs.h <<_ACEOF
16745 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16746 _ACEOF
16752 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16753 #include <sys/types.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IN_H
16756 #include <netinet/in.h>
16757 #endif
16758 #ifdef HAVE_RESOLV_H
16759 #include <resolv.h>
16760 #endif
16762 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT___RES_STATE 1
16766 _ACEOF
16772 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
16773 #include <resolv.h>
16774 #endif
16776 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16780 _ACEOF
16786 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16787 #include <sys/types.h>
16788 #endif
16789 #ifdef HAVE_NETINET_IN_H
16790 # include <netinet/in.h>
16791 #endif
16792 #ifdef HAVE_ARPA_NAMESER_H
16793 # include <arpa/nameser.h>
16794 #endif
16796 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16798 cat >>confdefs.h <<_ACEOF
16799 #define HAVE_NS_MSG__MSG_PTR 1
16800 _ACEOF
16806 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16807 #include <sys/types.h>
16808 #endif
16809 #ifdef HAVE_NETINET_IN_H
16810 #include <netinet/in.h>
16811 #endif
16812 #ifdef HAVE_NETINET_IP_H
16813 #include <netinet/ip.h>
16814 #endif
16815 #ifdef HAVE_NETINET_IP_ICMP_H
16816 #include <netinet/ip_icmp.h>
16817 #endif
16818 #ifdef HAVE_NETINET_ICMP_VAR_H
16819 #include <netinet/icmp_var.h>
16820 #endif
16822 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16826 _ACEOF
16832 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16833 #include <sys/types.h>
16834 #endif
16835 #ifdef HAVE_ALIAS_H
16836 #include <alias.h>
16837 #endif
16838 #ifdef HAVE_SYS_SOCKET_H
16839 #include <sys/socket.h>
16840 #endif
16841 #ifdef HAVE_SYS_SOCKETVAR_H
16842 #include <sys/socketvar.h>
16843 #endif
16844 #ifdef HAVE_SYS_TIMEOUT_H
16845 #include <sys/timeout.h>
16846 #endif
16847 #ifdef HAVE_NETINET_IN_H
16848 #include <netinet/in.h>
16849 #endif
16850 #ifdef HAVE_NETINET_IN_SYSTM_H
16851 #include <netinet/in_systm.h>
16852 #endif
16853 #ifdef HAVE_NETINET_IP_H
16854 #include <netinet/ip.h>
16855 #endif
16856 #ifdef HAVE_NETINET_IP_VAR_H
16857 #include <netinet/ip_var.h>
16858 #endif
16859 #ifdef HAVE_NETINET_IP_ICMP_H
16860 #include <netinet/ip_icmp.h>
16861 #endif
16862 #ifdef HAVE_NETINET_ICMP_VAR_H
16863 #include <netinet/icmp_var.h>
16864 #endif
16866 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16870 _ACEOF
16876 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16877 #include <sys/types.h>
16878 #endif
16879 #ifdef HAVE_SYS_SOCKETVAR_H
16880 #include <sys/socketvar.h>
16881 #endif
16882 #ifdef HAVE_NETINET_IN_H
16883 #include <netinet/in.h>
16884 #endif
16885 #ifdef HAVE_NETINET_IP_VAR_H
16886 #include <netinet/ip_var.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16893 _ACEOF
16899 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
16900 #include <netinet/ip_var.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16907 _ACEOF
16913 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16914 #include <sys/types.h>
16915 #endif
16916 #ifdef HAVE_SYS_SOCKETVAR_H
16917 #include <sys/socketvar.h>
16918 #endif
16919 #ifdef HAVE_NETINET_IN_H
16920 #include <netinet/in.h>
16921 #endif
16922 #ifdef HAVE_NETINET_TCP_H
16923 #include <netinet/tcp.h>
16924 #endif
16925 #ifdef HAVE_NETINET_TCP_VAR_H
16926 #include <netinet/tcp_var.h>
16927 #endif
16929 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16933 _ACEOF
16939 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
16940 #include <netinet/tcp_var.h>
16941 #endif
16943 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16947 _ACEOF
16953 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16954 #include <sys/types.h>
16955 #endif
16956 #ifdef HAVE_NETINET_IN_H
16957 #include <netinet/in.h>
16958 #endif
16959 #ifdef HAVE_NETINET_IP_VAR_H
16960 #include <netinet/ip_var.h>
16961 #endif
16962 #ifdef HAVE_NETINET_UDP_H
16963 #include <netinet/udp.h>
16964 #endif
16965 #ifdef HAVE_NETINET_UDP_VAR_H
16966 #include <netinet/udp_var.h>
16967 #endif
16969 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16973 _ACEOF
16979 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16980 #include <sys/types.h>
16981 #endif
16982 #ifdef HAVE_NET_IF_H
16983 # include <net/if.h>
16984 #endif
16986 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16988 cat >>confdefs.h <<_ACEOF
16989 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16990 _ACEOF
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16997 $as_echo_n "checking for timezone variable... " >&6; }
16998 if ${ac_cv_have_timezone+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #include <time.h>
17005 main ()
17007 timezone = 1
17009 return 0;
17011 _ACEOF
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_have_timezone="yes"
17014 else
17015 ac_cv_have_timezone="no"
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17021 $as_echo "$ac_cv_have_timezone" >&6; }
17022 if test "$ac_cv_have_timezone" = "yes"
17023 then
17025 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17029 $as_echo_n "checking for daylight variable... " >&6; }
17030 if ${ac_cv_have_daylight+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 #include <time.h>
17037 main ()
17039 daylight = 1
17041 return 0;
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 ac_cv_have_daylight="yes"
17046 else
17047 ac_cv_have_daylight="no"
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17053 $as_echo "$ac_cv_have_daylight" >&6; }
17054 if test "$ac_cv_have_daylight" = "yes"
17055 then
17057 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17061 ac_save_LIBS="$LIBS"
17062 LIBS="$LIBS -lm"
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17064 $as_echo_n "checking for isfinite... " >&6; }
17065 if ${ac_cv_have_isfinite+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #define _GNU_SOURCE
17071 #include <math.h>
17073 main ()
17075 float f = 0.0; return isfinite(f)
17077 return 0;
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_have_isfinite="yes"
17082 else
17083 ac_cv_have_isfinite="no"
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17089 $as_echo "$ac_cv_have_isfinite" >&6; }
17090 if test "$ac_cv_have_isfinite" = "yes"
17091 then
17093 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17098 $as_echo_n "checking for isinf... " >&6; }
17099 if ${ac_cv_have_isinf+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <math.h>
17106 main ()
17108 float f = 0.0; return isinf(f)
17110 return 0;
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_have_isinf="yes"
17115 else
17116 ac_cv_have_isinf="no"
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17122 $as_echo "$ac_cv_have_isinf" >&6; }
17123 if test "$ac_cv_have_isinf" = "yes"
17124 then
17126 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17131 $as_echo_n "checking for isnan... " >&6; }
17132 if ${ac_cv_have_isnan+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 #include <math.h>
17139 main ()
17141 float f = 0.0; return isnan(f)
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"; then :
17147 ac_cv_have_isnan="yes"
17148 else
17149 ac_cv_have_isnan="no"
17151 rm -f core conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17155 $as_echo "$ac_cv_have_isnan" >&6; }
17156 if test "$ac_cv_have_isnan" = "yes"
17157 then
17159 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17163 for ac_func in \
17164 asinh \
17165 asinhf \
17166 cbrt \
17167 cbrtf \
17168 erf \
17169 erff \
17170 exp2 \
17171 exp2f \
17172 lgamma \
17173 lgammaf \
17174 llrint \
17175 llrintf \
17176 llround \
17177 llroundf \
17178 log2 \
17179 log2f \
17180 lrint \
17181 lrintf \
17182 lround \
17183 lroundf \
17184 nearbyint \
17185 nearbyintf \
17186 powl \
17187 remainder \
17188 remainderf \
17189 rint \
17190 rintf \
17191 round \
17192 roundf \
17193 trunc \
17194 truncf
17196 do :
17197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17199 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17200 cat >>confdefs.h <<_ACEOF
17201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17202 _ACEOF
17205 done
17207 LIBS="$ac_save_LIBS"
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17210 $as_echo_n "checking for __builtin_clz... " >&6; }
17211 if ${ac_cv_have___builtin_clz+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17218 main ()
17220 return __builtin_clz(1)
17222 return 0;
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_have___builtin_clz="yes"
17227 else
17228 ac_cv_have___builtin_clz="no"
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17234 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17235 if test "$ac_cv_have___builtin_clz" = "yes"
17236 then
17238 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17243 $as_echo_n "checking for __builtin_popcount... " >&6; }
17244 if ${ac_cv_have___builtin_popcount+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17251 main ()
17253 return __builtin_popcount(1)
17255 return 0;
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259 ac_cv_have___builtin_popcount="yes"
17260 else
17261 ac_cv_have___builtin_popcount="no"
17263 rm -f core conftest.err conftest.$ac_objext \
17264 conftest$ac_exeext conftest.$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17267 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17268 if test "$ac_cv_have___builtin_popcount" = "yes"
17269 then
17271 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17276 case $host_cpu in
17277 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17278 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17279 if ${ac_cv_cpp_def___i386__+:} false; then :
17280 $as_echo_n "(cached) " >&6
17281 else
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 #ifndef __i386__
17286 #endif
17287 _ACEOF
17288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17289 $EGREP "yes" >/dev/null 2>&1; then :
17290 ac_cv_cpp_def___i386__=yes
17291 else
17292 ac_cv_cpp_def___i386__=no
17294 rm -f conftest*
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17298 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17299 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17300 CFLAGS="$CFLAGS -D__i386__"
17301 LINTFLAGS="$LINTFLAGS -D__i386__"
17302 fi ;;
17303 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17304 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17305 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #ifndef __x86_64__
17312 #endif
17313 _ACEOF
17314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17315 $EGREP "yes" >/dev/null 2>&1; then :
17316 ac_cv_cpp_def___x86_64__=yes
17317 else
17318 ac_cv_cpp_def___x86_64__=no
17320 rm -f conftest*
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17324 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17325 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17326 CFLAGS="$CFLAGS -D__x86_64__"
17327 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17328 fi ;;
17329 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17330 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17331 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 #ifndef __sparc64__
17338 #endif
17339 _ACEOF
17340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17341 $EGREP "yes" >/dev/null 2>&1; then :
17342 ac_cv_cpp_def___sparc64__=yes
17343 else
17344 ac_cv_cpp_def___sparc64__=no
17346 rm -f conftest*
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17350 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17351 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17352 CFLAGS="$CFLAGS -D__sparc64__"
17353 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17354 fi ;;
17355 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17356 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17357 if ${ac_cv_cpp_def___sparc__+:} false; then :
17358 $as_echo_n "(cached) " >&6
17359 else
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 #ifndef __sparc__
17364 #endif
17365 _ACEOF
17366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17367 $EGREP "yes" >/dev/null 2>&1; then :
17368 ac_cv_cpp_def___sparc__=yes
17369 else
17370 ac_cv_cpp_def___sparc__=no
17372 rm -f conftest*
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17376 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17377 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17378 CFLAGS="$CFLAGS -D__sparc__"
17379 LINTFLAGS="$LINTFLAGS -D__sparc__"
17380 fi ;;
17381 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17382 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17383 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17384 $as_echo_n "(cached) " >&6
17385 else
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #ifndef __powerpc64__
17390 #endif
17391 _ACEOF
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "yes" >/dev/null 2>&1; then :
17394 ac_cv_cpp_def___powerpc64__=yes
17395 else
17396 ac_cv_cpp_def___powerpc64__=no
17398 rm -f conftest*
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17402 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17403 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17404 CFLAGS="$CFLAGS -D__powerpc64__"
17405 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17406 fi ;;
17407 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17408 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17409 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #ifndef __powerpc__
17416 #endif
17417 _ACEOF
17418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17419 $EGREP "yes" >/dev/null 2>&1; then :
17420 ac_cv_cpp_def___powerpc__=yes
17421 else
17422 ac_cv_cpp_def___powerpc__=no
17424 rm -f conftest*
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17428 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17429 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17430 CFLAGS="$CFLAGS -D__powerpc__"
17431 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17432 fi ;;
17433 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17434 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17435 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #ifndef __aarch64__
17442 #endif
17443 _ACEOF
17444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17445 $EGREP "yes" >/dev/null 2>&1; then :
17446 ac_cv_cpp_def___aarch64__=yes
17447 else
17448 ac_cv_cpp_def___aarch64__=no
17450 rm -f conftest*
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17454 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17455 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17456 CFLAGS="$CFLAGS -D__aarch64__"
17457 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17458 fi ;;
17459 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17460 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17461 if ${ac_cv_cpp_def___arm__+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #ifndef __arm__
17468 #endif
17469 _ACEOF
17470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17471 $EGREP "yes" >/dev/null 2>&1; then :
17472 ac_cv_cpp_def___arm__=yes
17473 else
17474 ac_cv_cpp_def___arm__=no
17476 rm -f conftest*
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17480 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17481 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17482 CFLAGS="$CFLAGS -D__arm__"
17483 LINTFLAGS="$LINTFLAGS -D__arm__"
17484 fi ;;
17485 esac
17487 case $host_vendor in
17488 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17489 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17490 if ${ac_cv_cpp_def___sun__+:} false; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #ifndef __sun__
17497 #endif
17498 _ACEOF
17499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17500 $EGREP "yes" >/dev/null 2>&1; then :
17501 ac_cv_cpp_def___sun__=yes
17502 else
17503 ac_cv_cpp_def___sun__=no
17505 rm -f conftest*
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17509 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17510 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17511 CFLAGS="$CFLAGS -D__sun__"
17512 LINTFLAGS="$LINTFLAGS -D__sun__"
17513 fi ;;
17514 esac
17520 ac_config_commands="$ac_config_commands include/stamp-h"
17522 $as_echo_n "creating Makefile rules..." >&6
17524 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17525 SOCKET_LIBS = $SOCKET_LIBS
17526 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17527 IOKIT_LIBS = $IOKIT_LIBS
17528 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17529 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17530 CORESERVICES_LIBS = $CORESERVICES_LIBS
17531 APPKIT_LIBS = $APPKIT_LIBS
17532 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17533 SECURITY_LIBS = $SECURITY_LIBS
17534 COREAUDIO_LIBS = $COREAUDIO_LIBS
17535 OPENAL_LIBS = $OPENAL_LIBS
17536 OPENCL_LIBS = $OPENCL_LIBS
17537 QUICKTIME_LIBS = $QUICKTIME_LIBS
17538 CARBON_LIBS = $CARBON_LIBS
17539 PTHREAD_LIBS = $PTHREAD_LIBS
17540 X_CFLAGS = $X_CFLAGS
17541 X_PRE_LIBS = $X_PRE_LIBS
17542 X_LIBS = $X_LIBS
17543 X_EXTRA_LIBS = $X_EXTRA_LIBS
17544 PCAP_LIBS = $PCAP_LIBS
17545 XML2_CFLAGS = $XML2_CFLAGS
17546 XML2_LIBS = $XML2_LIBS
17547 XSLT_CFLAGS = $XSLT_CFLAGS
17548 XSLT_LIBS = $XSLT_LIBS
17549 DBUS_CFLAGS = $DBUS_CFLAGS
17550 DBUS_LIBS = $DBUS_LIBS
17551 HAL_CFLAGS = $HAL_CFLAGS
17552 HAL_LIBS = $HAL_LIBS
17553 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17554 GNUTLS_LIBS = $GNUTLS_LIBS
17555 SANE_CFLAGS = $SANE_CFLAGS
17556 SANE_LIBS = $SANE_LIBS
17557 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17558 GPHOTO2_LIBS = $GPHOTO2_LIBS
17559 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17560 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17561 RESOLV_LIBS = $RESOLV_LIBS
17562 LCMS2_CFLAGS = $LCMS2_CFLAGS
17563 LCMS2_LIBS = $LCMS2_LIBS
17564 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17565 FREETYPE_LIBS = $FREETYPE_LIBS
17566 Z_LIBS = $Z_LIBS
17567 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17568 PULSE_CFLAGS = $PULSE_CFLAGS
17569 PULSE_LIBS = $PULSE_LIBS
17570 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17571 GSTREAMER_LIBS = $GSTREAMER_LIBS
17572 ALSA_LIBS = $ALSA_LIBS
17573 OSS4_CFLAGS = $OSS4_CFLAGS
17574 UDEV_CFLAGS = $UDEV_CFLAGS
17575 UDEV_LIBS = $UDEV_LIBS
17576 CAPI20_CFLAGS = $CAPI20_CFLAGS
17577 CAPI20_LIBS = $CAPI20_LIBS
17578 CUPS_CFLAGS = $CUPS_CFLAGS
17579 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17580 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17581 JPEG_CFLAGS = $JPEG_CFLAGS
17582 JPEG_LIBS = $JPEG_LIBS
17583 PNG_CFLAGS = $PNG_CFLAGS
17584 PNG_LIBS = $PNG_LIBS
17585 TIFF_CFLAGS = $TIFF_CFLAGS
17586 TIFF_LIBS = $TIFF_LIBS
17587 MPG123_CFLAGS = $MPG123_CFLAGS
17588 MPG123_LIBS = $MPG123_LIBS
17589 KSTAT_LIBS = $KSTAT_LIBS
17590 PROCSTAT_LIBS = $PROCSTAT_LIBS
17591 NETAPI_CFLAGS = $NETAPI_CFLAGS
17592 NETAPI_LIBS = $NETAPI_LIBS
17593 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17594 DL_LIBS = $DL_LIBS
17595 POLL_LIBS = $POLL_LIBS
17596 RT_LIBS = $RT_LIBS
17597 LDAP_LIBS = $LDAP_LIBS
17602 wine_fn_append_rule "
17603 # Rules automatically generated by configure
17605 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17607 .INIT: Makefile
17608 .MAKEFILEDEPS:
17609 all: Makefile
17610 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17611 @./config.status Make.tmp Makefile
17612 depend: \$(MAKEDEP) dummy
17613 \$(MAKEDEP)"
17615 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17616 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17618 if test "x$enable_fonts" != xno; then
17619 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17620 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17621 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17622 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17623 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17624 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17626 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17627 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17628 ac_config_links="$ac_config_links wine:tools/winewrapper"
17629 wine_fn_config_symlink wine
17630 if test "x$enable_win64" != xno; then
17631 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17632 wine_fn_config_symlink wine64
17635 wine_fn_config_dll acledit enable_acledit
17636 wine_fn_config_dll aclui enable_aclui implib
17637 wine_fn_config_dll activeds enable_activeds implib
17638 wine_fn_config_dll actxprxy enable_actxprxy clean
17639 wine_fn_config_lib adsiid
17640 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17641 wine_fn_config_test dlls/advapi32/tests advapi32_test
17642 wine_fn_config_dll advpack enable_advpack implib
17643 wine_fn_config_test dlls/advpack/tests advpack_test
17644 wine_fn_config_dll amstream enable_amstream clean
17645 wine_fn_config_test dlls/amstream/tests amstream_test
17646 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17647 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17650 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17658 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17664 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17666 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17667 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17669 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17672 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17673 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17674 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17677 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17680 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17682 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17684 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17686 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17687 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17689 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17690 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17691 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17693 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17694 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17695 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17697 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17701 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17702 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17705 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17709 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17711 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17713 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17714 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17721 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17724 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17729 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17733 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17734 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17735 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17736 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17737 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17738 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17742 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17743 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17744 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17745 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17746 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17747 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17748 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17749 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17750 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17751 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17752 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17753 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17754 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17755 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17756 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17757 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17758 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17759 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17760 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17761 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17762 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17763 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17764 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17765 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17766 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17767 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17768 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17769 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17770 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17771 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17772 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17773 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17774 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17776 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17777 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17778 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17779 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17781 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17782 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17783 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17784 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17785 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17786 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17787 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17788 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17789 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17790 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17791 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17792 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17793 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17794 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17795 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17796 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17797 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17798 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17799 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17800 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17801 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17802 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17803 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17804 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17805 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17806 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17807 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17808 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17809 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17810 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17811 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17812 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17813 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17814 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17815 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17816 wine_fn_config_dll apphelp enable_apphelp
17817 wine_fn_config_test dlls/apphelp/tests apphelp_test
17818 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17819 wine_fn_config_dll atl enable_atl clean,implib
17820 wine_fn_config_test dlls/atl/tests atl_test
17821 wine_fn_config_dll atl100 enable_atl100 clean,implib
17822 wine_fn_config_test dlls/atl100/tests atl100_test
17823 wine_fn_config_dll atl110 enable_atl110 clean
17824 wine_fn_config_dll atl80 enable_atl80 clean,implib
17825 wine_fn_config_test dlls/atl80/tests atl80_test
17826 wine_fn_config_dll atl90 enable_atl90 clean
17827 wine_fn_config_dll authz enable_authz
17828 wine_fn_config_dll avicap32 enable_avicap32 implib
17829 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17830 wine_fn_config_test dlls/avifil32/tests avifil32_test
17831 wine_fn_config_dll avifile.dll16 enable_win16
17832 wine_fn_config_dll avrt enable_avrt implib
17833 wine_fn_config_dll bcrypt enable_bcrypt implib
17834 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17835 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17836 wine_fn_config_dll browseui enable_browseui clean
17837 wine_fn_config_test dlls/browseui/tests browseui_test
17838 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17839 wine_fn_config_dll cabinet enable_cabinet implib
17840 wine_fn_config_test dlls/cabinet/tests cabinet_test
17841 wine_fn_config_dll capi2032 enable_capi2032 implib
17842 wine_fn_config_dll cards enable_cards implib
17843 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17844 wine_fn_config_dll clusapi enable_clusapi implib
17845 wine_fn_config_dll combase enable_combase
17846 wine_fn_config_test dlls/combase/tests combase_test
17847 wine_fn_config_dll comcat enable_comcat
17848 wine_fn_config_test dlls/comcat/tests comcat_test
17849 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17850 wine_fn_config_test dlls/comctl32/tests comctl32_test
17851 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17852 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17853 wine_fn_config_dll comm.drv16 enable_win16
17854 wine_fn_config_dll commdlg.dll16 enable_win16
17855 wine_fn_config_dll compobj.dll16 enable_win16
17856 wine_fn_config_dll compstui enable_compstui implib
17857 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17858 wine_fn_config_dll concrt140 enable_concrt140
17859 wine_fn_config_dll connect enable_connect
17860 wine_fn_config_dll credui enable_credui clean,implib
17861 wine_fn_config_test dlls/credui/tests credui_test
17862 wine_fn_config_dll crtdll enable_crtdll
17863 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17864 wine_fn_config_test dlls/crypt32/tests crypt32_test
17865 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17866 wine_fn_config_dll cryptdll enable_cryptdll implib
17867 wine_fn_config_dll cryptext enable_cryptext
17868 wine_fn_config_dll cryptnet enable_cryptnet implib
17869 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17870 wine_fn_config_dll cryptui enable_cryptui clean,implib
17871 wine_fn_config_test dlls/cryptui/tests cryptui_test
17872 wine_fn_config_dll ctapi32 enable_ctapi32
17873 wine_fn_config_dll ctl3d.dll16 enable_win16
17874 wine_fn_config_dll ctl3d32 enable_ctl3d32
17875 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17876 wine_fn_config_dll d2d1 enable_d2d1 implib
17877 wine_fn_config_test dlls/d2d1/tests d2d1_test
17878 wine_fn_config_dll d3d10 enable_d3d10 implib
17879 wine_fn_config_test dlls/d3d10/tests d3d10_test
17880 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17881 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17882 wine_fn_config_dll d3d10core enable_d3d10core implib
17883 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17884 wine_fn_config_dll d3d11 enable_d3d11 implib
17885 wine_fn_config_test dlls/d3d11/tests d3d11_test
17886 wine_fn_config_dll d3d8 enable_d3d8 implib
17887 wine_fn_config_test dlls/d3d8/tests d3d8_test
17888 wine_fn_config_dll d3d9 enable_d3d9 implib
17889 wine_fn_config_test dlls/d3d9/tests d3d9_test
17890 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17891 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17892 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17893 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17894 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17895 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17896 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17897 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17898 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17899 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17900 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17901 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17902 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17903 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17904 wine_fn_config_dll d3dim enable_d3dim
17905 wine_fn_config_dll d3drm enable_d3drm implib
17906 wine_fn_config_test dlls/d3drm/tests d3drm_test
17907 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17908 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17909 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17910 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17911 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17912 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17913 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17914 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17915 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17916 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17917 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17918 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17919 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17920 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17921 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17922 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17923 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17924 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17925 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17926 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17927 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17928 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17929 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17930 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17931 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17932 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17933 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17934 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17935 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17936 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17937 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17938 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17939 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17940 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17941 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17942 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17943 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17944 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17945 wine_fn_config_dll davclnt enable_davclnt
17946 wine_fn_config_dll dbgeng enable_dbgeng implib
17947 wine_fn_config_dll dbghelp enable_dbghelp implib
17948 wine_fn_config_dll dciman32 enable_dciman32 implib
17949 wine_fn_config_dll ddeml.dll16 enable_win16
17950 wine_fn_config_dll ddraw enable_ddraw clean,implib
17951 wine_fn_config_test dlls/ddraw/tests ddraw_test
17952 wine_fn_config_dll ddrawex enable_ddrawex clean
17953 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17954 wine_fn_config_dll devenum enable_devenum clean
17955 wine_fn_config_test dlls/devenum/tests devenum_test
17956 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17957 wine_fn_config_dll difxapi enable_difxapi
17958 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17959 wine_fn_config_test dlls/dinput/tests dinput_test
17960 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17961 wine_fn_config_test dlls/dinput8/tests dinput8_test
17962 wine_fn_config_dll dispdib.dll16 enable_win16
17963 wine_fn_config_dll dispex enable_dispex clean
17964 wine_fn_config_test dlls/dispex/tests dispex_test
17965 wine_fn_config_dll display.drv16 enable_win16
17966 wine_fn_config_dll dmband enable_dmband clean
17967 wine_fn_config_test dlls/dmband/tests dmband_test
17968 wine_fn_config_dll dmcompos enable_dmcompos clean
17969 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17970 wine_fn_config_dll dmime enable_dmime clean
17971 wine_fn_config_test dlls/dmime/tests dmime_test
17972 wine_fn_config_dll dmloader enable_dmloader clean
17973 wine_fn_config_test dlls/dmloader/tests dmloader_test
17974 wine_fn_config_dll dmscript enable_dmscript clean
17975 wine_fn_config_test dlls/dmscript/tests dmscript_test
17976 wine_fn_config_dll dmstyle enable_dmstyle clean
17977 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17978 wine_fn_config_dll dmsynth enable_dmsynth clean
17979 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17980 wine_fn_config_dll dmusic enable_dmusic clean
17981 wine_fn_config_test dlls/dmusic/tests dmusic_test
17982 wine_fn_config_dll dmusic32 enable_dmusic32
17983 wine_fn_config_dll dnsapi enable_dnsapi implib
17984 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17985 wine_fn_config_dll dplay enable_dplay
17986 wine_fn_config_dll dplayx enable_dplayx clean,implib
17987 wine_fn_config_test dlls/dplayx/tests dplayx_test
17988 wine_fn_config_dll dpnaddr enable_dpnaddr
17989 wine_fn_config_dll dpnet enable_dpnet clean,implib
17990 wine_fn_config_test dlls/dpnet/tests dpnet_test
17991 wine_fn_config_dll dpnhpast enable_dpnhpast
17992 wine_fn_config_dll dpnlobby enable_dpnlobby
17993 wine_fn_config_dll dpvoice enable_dpvoice clean
17994 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17995 wine_fn_config_dll dpwsockx enable_dpwsockx
17996 wine_fn_config_dll drmclien enable_drmclien
17997 wine_fn_config_dll dsound enable_dsound clean,implib
17998 wine_fn_config_test dlls/dsound/tests dsound_test
17999 wine_fn_config_dll dssenh enable_dssenh
18000 wine_fn_config_test dlls/dssenh/tests dssenh_test
18001 wine_fn_config_dll dswave enable_dswave clean
18002 wine_fn_config_test dlls/dswave/tests dswave_test
18003 wine_fn_config_dll dwmapi enable_dwmapi implib
18004 wine_fn_config_dll dwrite enable_dwrite implib
18005 wine_fn_config_test dlls/dwrite/tests dwrite_test
18006 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18007 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18008 wine_fn_config_lib dxerr8
18009 wine_fn_config_lib dxerr9
18010 wine_fn_config_dll dxgi enable_dxgi implib
18011 wine_fn_config_test dlls/dxgi/tests dxgi_test
18012 wine_fn_config_lib dxguid
18013 wine_fn_config_dll dxva2 enable_dxva2
18014 wine_fn_config_dll esent enable_esent
18015 wine_fn_config_dll evr enable_evr
18016 wine_fn_config_dll explorerframe enable_explorerframe clean
18017 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18018 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18019 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18020 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18021 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18022 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18023 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18024 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18025 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18026 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18027 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18028 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18029 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18030 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18031 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18032 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18033 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
18034 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18035 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18036 wine_fn_config_dll faultrep enable_faultrep implib
18037 wine_fn_config_test dlls/faultrep/tests faultrep_test
18038 wine_fn_config_dll fltlib enable_fltlib
18039 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18040 wine_fn_config_dll fntcache enable_fntcache
18041 wine_fn_config_dll fontsub enable_fontsub
18042 wine_fn_config_dll fusion enable_fusion
18043 wine_fn_config_test dlls/fusion/tests fusion_test
18044 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18045 wine_fn_config_dll gameux enable_gameux clean
18046 wine_fn_config_test dlls/gameux/tests gameux_test
18047 wine_fn_config_dll gdi.exe16 enable_win16
18048 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18049 wine_fn_config_test dlls/gdi32/tests gdi32_test
18050 wine_fn_config_dll gdiplus enable_gdiplus implib
18051 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18052 wine_fn_config_dll glu32 enable_glu32 implib
18053 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18054 wine_fn_config_dll gpkcsp enable_gpkcsp
18055 wine_fn_config_dll hal enable_hal
18056 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18057 wine_fn_config_dll hid enable_hid implib
18058 wine_fn_config_test dlls/hid/tests hid_test
18059 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18060 wine_fn_config_dll hlink enable_hlink clean,implib
18061 wine_fn_config_test dlls/hlink/tests hlink_test
18062 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18063 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18064 wine_fn_config_dll httpapi enable_httpapi
18065 wine_fn_config_dll iccvid enable_iccvid clean
18066 wine_fn_config_dll icmp enable_icmp
18067 wine_fn_config_dll ieframe enable_ieframe clean,implib
18068 wine_fn_config_test dlls/ieframe/tests ieframe_test
18069 wine_fn_config_dll ifsmgr.vxd enable_win16
18070 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18071 wine_fn_config_dll imagehlp enable_imagehlp implib
18072 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18073 wine_fn_config_dll imm.dll16 enable_win16
18074 wine_fn_config_dll imm32 enable_imm32 implib
18075 wine_fn_config_test dlls/imm32/tests imm32_test
18076 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18077 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18078 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18079 wine_fn_config_dll inetmib1 enable_inetmib1
18080 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18081 wine_fn_config_dll infosoft enable_infosoft clean
18082 wine_fn_config_test dlls/infosoft/tests infosoft_test
18083 wine_fn_config_dll initpki enable_initpki
18084 wine_fn_config_dll inkobj enable_inkobj
18085 wine_fn_config_dll inseng enable_inseng clean
18086 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18087 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18088 wine_fn_config_dll iprop enable_iprop
18089 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18090 wine_fn_config_dll itircl enable_itircl
18091 wine_fn_config_dll itss enable_itss clean
18092 wine_fn_config_test dlls/itss/tests itss_test
18093 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18094 wine_fn_config_dll jscript enable_jscript clean
18095 wine_fn_config_test dlls/jscript/tests jscript_test
18096 wine_fn_config_dll jsproxy enable_jsproxy implib
18097 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18098 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18099 wine_fn_config_test dlls/kernel32/tests kernel32_test
18100 wine_fn_config_dll kernelbase enable_kernelbase
18101 wine_fn_config_dll keyboard.drv16 enable_win16
18102 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18103 wine_fn_config_dll ksuser enable_ksuser
18104 wine_fn_config_dll ktmw32 enable_ktmw32
18105 wine_fn_config_dll loadperf enable_loadperf implib
18106 wine_fn_config_dll localspl enable_localspl clean
18107 wine_fn_config_test dlls/localspl/tests localspl_test
18108 wine_fn_config_dll localui enable_localui clean
18109 wine_fn_config_test dlls/localui/tests localui_test
18110 wine_fn_config_dll lz32 enable_lz32 implib
18111 wine_fn_config_test dlls/lz32/tests lz32_test
18112 wine_fn_config_dll lzexpand.dll16 enable_win16
18113 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18114 wine_fn_config_test dlls/mapi32/tests mapi32_test
18115 wine_fn_config_dll mapistub enable_mapistub
18116 wine_fn_config_dll mciavi32 enable_mciavi32
18117 wine_fn_config_dll mcicda enable_mcicda
18118 wine_fn_config_dll mciqtz32 enable_mciqtz32
18119 wine_fn_config_dll mciseq enable_mciseq
18120 wine_fn_config_dll mciwave enable_mciwave
18121 wine_fn_config_dll mf enable_mf
18122 wine_fn_config_dll mf3216 enable_mf3216
18123 wine_fn_config_dll mfplat enable_mfplat
18124 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18125 wine_fn_config_dll mgmtapi enable_mgmtapi
18126 wine_fn_config_dll midimap enable_midimap
18127 wine_fn_config_dll mlang enable_mlang clean,implib
18128 wine_fn_config_test dlls/mlang/tests mlang_test
18129 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18130 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18131 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18132 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18133 wine_fn_config_dll mmdevldr.vxd enable_win16
18134 wine_fn_config_dll mmsystem.dll16 enable_win16
18135 wine_fn_config_dll monodebg.vxd enable_win16
18136 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18137 wine_fn_config_dll mouse.drv16 enable_win16
18138 wine_fn_config_dll mpr enable_mpr clean,implib
18139 wine_fn_config_test dlls/mpr/tests mpr_test
18140 wine_fn_config_dll mprapi enable_mprapi implib
18141 wine_fn_config_dll msacm.dll16 enable_win16
18142 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18143 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18144 wine_fn_config_test dlls/msacm32/tests msacm32_test
18145 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18146 wine_fn_config_dll msasn1 enable_msasn1 implib
18147 wine_fn_config_dll mscat32 enable_mscat32
18148 wine_fn_config_dll mscms enable_mscms implib
18149 wine_fn_config_test dlls/mscms/tests mscms_test
18150 wine_fn_config_dll mscoree enable_mscoree clean
18151 wine_fn_config_test dlls/mscoree/tests mscoree_test
18152 wine_fn_config_dll msctf enable_msctf clean
18153 wine_fn_config_test dlls/msctf/tests msctf_test
18154 wine_fn_config_dll msctfp enable_msctfp clean
18155 wine_fn_config_dll msdaps enable_msdaps clean
18156 wine_fn_config_dll msdelta enable_msdelta
18157 wine_fn_config_dll msdmo enable_msdmo implib
18158 wine_fn_config_test dlls/msdmo/tests msdmo_test
18159 wine_fn_config_dll msdrm enable_msdrm
18160 wine_fn_config_dll msftedit enable_msftedit
18161 wine_fn_config_dll msg711.acm enable_msg711_acm
18162 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18163 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18164 wine_fn_config_dll mshtml enable_mshtml clean,implib
18165 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18166 wine_fn_config_dll msi enable_msi clean,implib
18167 wine_fn_config_test dlls/msi/tests msi_test
18168 wine_fn_config_dll msident enable_msident clean
18169 wine_fn_config_dll msimg32 enable_msimg32 implib
18170 wine_fn_config_dll msimsg enable_msimsg
18171 wine_fn_config_dll msimtf enable_msimtf clean
18172 wine_fn_config_dll msisip enable_msisip
18173 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18174 wine_fn_config_dll msls31 enable_msls31
18175 wine_fn_config_dll msnet32 enable_msnet32
18176 wine_fn_config_dll mspatcha enable_mspatcha implib
18177 wine_fn_config_dll msports enable_msports
18178 wine_fn_config_dll msrle32 enable_msrle32 clean
18179 wine_fn_config_test dlls/msrle32/tests msrle32_test
18180 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18181 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18182 wine_fn_config_dll mssign32 enable_mssign32
18183 wine_fn_config_dll mssip32 enable_mssip32
18184 wine_fn_config_dll mstask enable_mstask clean
18185 wine_fn_config_test dlls/mstask/tests mstask_test
18186 wine_fn_config_dll msvcirt enable_msvcirt
18187 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18188 wine_fn_config_dll msvcm80 enable_msvcm80
18189 wine_fn_config_dll msvcm90 enable_msvcm90
18190 wine_fn_config_dll msvcp100 enable_msvcp100
18191 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18192 wine_fn_config_dll msvcp110 enable_msvcp110
18193 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18194 wine_fn_config_dll msvcp120 enable_msvcp120
18195 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18196 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18197 wine_fn_config_dll msvcp140 enable_msvcp140
18198 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18199 wine_fn_config_dll msvcp60 enable_msvcp60
18200 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18201 wine_fn_config_dll msvcp70 enable_msvcp70
18202 wine_fn_config_dll msvcp71 enable_msvcp71
18203 wine_fn_config_dll msvcp80 enable_msvcp80
18204 wine_fn_config_dll msvcp90 enable_msvcp90
18205 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18206 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18207 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18208 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18209 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18210 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18211 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18212 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18213 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18214 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18215 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18216 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18217 wine_fn_config_dll msvcrt enable_msvcrt implib
18218 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18219 wine_fn_config_dll msvcrt20 enable_msvcrt20
18220 wine_fn_config_dll msvcrt40 enable_msvcrt40
18221 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18222 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18223 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18224 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18225 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18226 wine_fn_config_dll msvideo.dll16 enable_win16
18227 wine_fn_config_dll mswsock enable_mswsock implib
18228 wine_fn_config_dll msxml enable_msxml clean
18229 wine_fn_config_dll msxml2 enable_msxml2 clean
18230 wine_fn_config_dll msxml3 enable_msxml3 clean
18231 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18232 wine_fn_config_dll msxml4 enable_msxml4 clean
18233 wine_fn_config_dll msxml6 enable_msxml6 clean
18234 wine_fn_config_dll mtxdm enable_mtxdm
18235 wine_fn_config_dll ncrypt enable_ncrypt
18236 wine_fn_config_dll nddeapi enable_nddeapi implib
18237 wine_fn_config_dll ndis.sys enable_ndis_sys
18238 wine_fn_config_dll netapi32 enable_netapi32 implib
18239 wine_fn_config_test dlls/netapi32/tests netapi32_test
18240 wine_fn_config_dll netcfgx enable_netcfgx clean
18241 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18242 wine_fn_config_dll netprofm enable_netprofm clean
18243 wine_fn_config_test dlls/netprofm/tests netprofm_test
18244 wine_fn_config_dll newdev enable_newdev implib
18245 wine_fn_config_dll normaliz enable_normaliz implib
18246 wine_fn_config_dll npmshtml enable_npmshtml
18247 wine_fn_config_dll npptools enable_npptools
18248 wine_fn_config_dll ntdll enable_ntdll implib
18249 wine_fn_config_test dlls/ntdll/tests ntdll_test
18250 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18251 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18252 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18253 wine_fn_config_dll ntprint enable_ntprint
18254 wine_fn_config_test dlls/ntprint/tests ntprint_test
18255 wine_fn_config_dll objsel enable_objsel clean
18256 wine_fn_config_dll odbc32 enable_odbc32 implib
18257 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18258 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18259 wine_fn_config_dll odbccu32 enable_odbccu32
18260 wine_fn_config_dll ole2.dll16 enable_win16
18261 wine_fn_config_dll ole2conv.dll16 enable_win16
18262 wine_fn_config_dll ole2disp.dll16 enable_win16
18263 wine_fn_config_dll ole2nls.dll16 enable_win16
18264 wine_fn_config_dll ole2prox.dll16 enable_win16
18265 wine_fn_config_dll ole2thk.dll16 enable_win16
18266 wine_fn_config_dll ole32 enable_ole32 clean,implib
18267 wine_fn_config_test dlls/ole32/tests ole32_test
18268 wine_fn_config_dll oleacc enable_oleacc clean,implib
18269 wine_fn_config_test dlls/oleacc/tests oleacc_test
18270 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18271 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18272 wine_fn_config_dll olecli.dll16 enable_win16
18273 wine_fn_config_dll olecli32 enable_olecli32 implib
18274 wine_fn_config_dll oledb32 enable_oledb32 clean
18275 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18276 wine_fn_config_dll oledlg enable_oledlg clean,implib
18277 wine_fn_config_test dlls/oledlg/tests oledlg_test
18278 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18279 wine_fn_config_dll olesvr.dll16 enable_win16
18280 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18281 wine_fn_config_dll olethk32 enable_olethk32
18282 wine_fn_config_dll openal32 enable_openal32
18283 wine_fn_config_dll opencl enable_opencl
18284 wine_fn_config_dll opengl32 enable_opengl32 implib
18285 wine_fn_config_test dlls/opengl32/tests opengl32_test
18286 wine_fn_config_dll packager enable_packager clean
18287 wine_fn_config_test dlls/packager/tests packager_test
18288 wine_fn_config_dll pdh enable_pdh implib
18289 wine_fn_config_test dlls/pdh/tests pdh_test
18290 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18291 wine_fn_config_dll pidgen enable_pidgen
18292 wine_fn_config_dll powrprof enable_powrprof implib
18293 wine_fn_config_dll printui enable_printui
18294 wine_fn_config_dll prntvpt enable_prntvpt
18295 wine_fn_config_dll propsys enable_propsys clean,implib
18296 wine_fn_config_test dlls/propsys/tests propsys_test
18297 wine_fn_config_dll psapi enable_psapi implib
18298 wine_fn_config_test dlls/psapi/tests psapi_test
18299 wine_fn_config_dll pstorec enable_pstorec clean
18300 wine_fn_config_test dlls/pstorec/tests pstorec_test
18301 wine_fn_config_dll qcap enable_qcap
18302 wine_fn_config_test dlls/qcap/tests qcap_test
18303 wine_fn_config_dll qedit enable_qedit clean
18304 wine_fn_config_test dlls/qedit/tests qedit_test
18305 wine_fn_config_dll qmgr enable_qmgr clean
18306 wine_fn_config_test dlls/qmgr/tests qmgr_test
18307 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18308 wine_fn_config_dll quartz enable_quartz clean,implib
18309 wine_fn_config_test dlls/quartz/tests quartz_test clean
18310 wine_fn_config_dll query enable_query
18311 wine_fn_config_dll rasapi16.dll16 enable_win16
18312 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18313 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18314 wine_fn_config_dll rasdlg enable_rasdlg implib
18315 wine_fn_config_dll regapi enable_regapi
18316 wine_fn_config_dll resutils enable_resutils implib
18317 wine_fn_config_dll riched20 enable_riched20 clean,implib
18318 wine_fn_config_test dlls/riched20/tests riched20_test
18319 wine_fn_config_dll riched32 enable_riched32
18320 wine_fn_config_test dlls/riched32/tests riched32_test
18321 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18322 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18323 wine_fn_config_dll rsabase enable_rsabase
18324 wine_fn_config_dll rsaenh enable_rsaenh implib
18325 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18326 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18327 wine_fn_config_dll rtutils enable_rtutils implib
18328 wine_fn_config_dll samlib enable_samlib
18329 wine_fn_config_dll sane.ds enable_sane_ds clean
18330 wine_fn_config_dll scarddlg enable_scarddlg
18331 wine_fn_config_dll sccbase enable_sccbase
18332 wine_fn_config_dll schannel enable_schannel
18333 wine_fn_config_test dlls/schannel/tests schannel_test
18334 wine_fn_config_dll schedsvc enable_schedsvc clean
18335 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18336 wine_fn_config_dll scrobj enable_scrobj clean
18337 wine_fn_config_dll scrrun enable_scrrun clean
18338 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18339 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18340 wine_fn_config_dll secur32 enable_secur32 implib
18341 wine_fn_config_test dlls/secur32/tests secur32_test
18342 wine_fn_config_dll security enable_security
18343 wine_fn_config_dll sensapi enable_sensapi implib
18344 wine_fn_config_dll serialui enable_serialui clean
18345 wine_fn_config_test dlls/serialui/tests serialui_test
18346 wine_fn_config_dll setupapi enable_setupapi clean,implib
18347 wine_fn_config_test dlls/setupapi/tests setupapi_test
18348 wine_fn_config_dll setupx.dll16 enable_win16
18349 wine_fn_config_dll sfc enable_sfc implib
18350 wine_fn_config_dll sfc_os enable_sfc_os implib
18351 wine_fn_config_dll shdoclc enable_shdoclc clean
18352 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18353 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18354 wine_fn_config_dll shell.dll16 enable_win16
18355 wine_fn_config_dll shell32 enable_shell32 clean,implib
18356 wine_fn_config_test dlls/shell32/tests shell32_test
18357 wine_fn_config_dll shfolder enable_shfolder implib
18358 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18359 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18360 wine_fn_config_dll slbcsp enable_slbcsp
18361 wine_fn_config_dll slc enable_slc implib
18362 wine_fn_config_test dlls/slc/tests slc_test
18363 wine_fn_config_dll snmpapi enable_snmpapi implib
18364 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18365 wine_fn_config_dll softpub enable_softpub
18366 wine_fn_config_dll sound.drv16 enable_win16
18367 wine_fn_config_dll spoolss enable_spoolss implib
18368 wine_fn_config_test dlls/spoolss/tests spoolss_test
18369 wine_fn_config_dll sspicli enable_sspicli
18370 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18371 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18372 wine_fn_config_dll sti enable_sti clean,implib
18373 wine_fn_config_test dlls/sti/tests sti_test
18374 wine_fn_config_dll storage.dll16 enable_win16
18375 wine_fn_config_dll stress.dll16 enable_win16
18376 wine_fn_config_lib strmbase
18377 wine_fn_config_lib strmiids
18378 wine_fn_config_dll svrapi enable_svrapi
18379 wine_fn_config_dll sxs enable_sxs implib
18380 wine_fn_config_test dlls/sxs/tests sxs_test
18381 wine_fn_config_dll system.drv16 enable_win16
18382 wine_fn_config_dll t2embed enable_t2embed implib
18383 wine_fn_config_test dlls/t2embed/tests t2embed_test
18384 wine_fn_config_dll tapi32 enable_tapi32 implib
18385 wine_fn_config_dll taskschd enable_taskschd clean
18386 wine_fn_config_test dlls/taskschd/tests taskschd_test
18387 wine_fn_config_dll tdi.sys enable_tdi_sys
18388 wine_fn_config_dll toolhelp.dll16 enable_win16
18389 wine_fn_config_dll traffic enable_traffic
18390 wine_fn_config_dll twain.dll16 enable_win16
18391 wine_fn_config_dll twain_32 enable_twain_32
18392 wine_fn_config_test dlls/twain_32/tests twain_32_test
18393 wine_fn_config_dll typelib.dll16 enable_win16
18394 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18395 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18396 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18397 wine_fn_config_dll unicows enable_unicows implib
18398 wine_fn_config_dll updspapi enable_updspapi
18399 wine_fn_config_dll url enable_url implib
18400 wine_fn_config_dll urlmon enable_urlmon clean,implib
18401 wine_fn_config_test dlls/urlmon/tests urlmon_test
18402 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18403 wine_fn_config_dll user.exe16 enable_win16
18404 wine_fn_config_dll user32 enable_user32 clean,implib
18405 wine_fn_config_test dlls/user32/tests user32_test
18406 wine_fn_config_dll userenv enable_userenv implib
18407 wine_fn_config_test dlls/userenv/tests userenv_test
18408 wine_fn_config_dll usp10 enable_usp10 implib
18409 wine_fn_config_test dlls/usp10/tests usp10_test
18410 wine_fn_config_lib uuid
18411 wine_fn_config_dll uxtheme enable_uxtheme implib
18412 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18413 wine_fn_config_dll vbscript enable_vbscript clean
18414 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18415 wine_fn_config_dll vcomp enable_vcomp
18416 wine_fn_config_test dlls/vcomp/tests vcomp_test
18417 wine_fn_config_dll vcomp100 enable_vcomp100
18418 wine_fn_config_dll vcomp110 enable_vcomp110
18419 wine_fn_config_dll vcomp120 enable_vcomp120
18420 wine_fn_config_dll vcomp140 enable_vcomp140
18421 wine_fn_config_dll vcomp90 enable_vcomp90
18422 wine_fn_config_dll vcruntime140 enable_vcruntime140
18423 wine_fn_config_dll vdhcp.vxd enable_win16
18424 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18425 wine_fn_config_dll ver.dll16 enable_win16
18426 wine_fn_config_dll version enable_version implib
18427 wine_fn_config_test dlls/version/tests version_test
18428 wine_fn_config_dll virtdisk enable_virtdisk
18429 wine_fn_config_dll vmm.vxd enable_win16
18430 wine_fn_config_dll vnbt.vxd enable_win16
18431 wine_fn_config_dll vnetbios.vxd enable_win16
18432 wine_fn_config_dll vssapi enable_vssapi
18433 wine_fn_config_dll vtdapi.vxd enable_win16
18434 wine_fn_config_dll vwin32.vxd enable_win16
18435 wine_fn_config_dll w32skrnl enable_win16
18436 wine_fn_config_dll w32sys.dll16 enable_win16
18437 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18438 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18439 wine_fn_config_dll wbemprox enable_wbemprox clean
18440 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18441 wine_fn_config_dll webservices enable_webservices implib
18442 wine_fn_config_test dlls/webservices/tests webservices_test
18443 wine_fn_config_dll wer enable_wer implib
18444 wine_fn_config_test dlls/wer/tests wer_test
18445 wine_fn_config_dll wevtapi enable_wevtapi
18446 wine_fn_config_dll wiaservc enable_wiaservc clean
18447 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18448 wine_fn_config_dll wimgapi enable_wimgapi
18449 wine_fn_config_dll win32s16.dll16 enable_win16
18450 wine_fn_config_dll win87em.dll16 enable_win16
18451 wine_fn_config_dll winaspi.dll16 enable_win16
18452 wine_fn_config_dll windebug.dll16 enable_win16
18453 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18454 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18455 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18456 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18457 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18458 wine_fn_config_dll winebus.sys enable_winebus_sys
18459 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18460 wine_fn_config_lib winecrt0
18461 wine_fn_config_dll wined3d enable_wined3d implib
18462 wine_fn_config_dll winegstreamer enable_winegstreamer
18463 wine_fn_config_dll winehid.sys enable_winehid_sys
18464 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18465 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18466 wine_fn_config_dll winemapi enable_winemapi
18467 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18468 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18469 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18470 wine_fn_config_dll wineps16.drv16 enable_win16
18471 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18472 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18473 wine_fn_config_dll winex11.drv enable_winex11_drv
18474 wine_fn_config_dll wing.dll16 enable_win16
18475 wine_fn_config_dll wing32 enable_wing32
18476 wine_fn_config_dll winhttp enable_winhttp clean,implib
18477 wine_fn_config_test dlls/winhttp/tests winhttp_test
18478 wine_fn_config_dll wininet enable_wininet clean,implib
18479 wine_fn_config_test dlls/wininet/tests wininet_test
18480 wine_fn_config_dll winmm enable_winmm clean,implib
18481 wine_fn_config_test dlls/winmm/tests winmm_test
18482 wine_fn_config_dll winnls.dll16 enable_win16
18483 wine_fn_config_dll winnls32 enable_winnls32 implib
18484 wine_fn_config_dll winscard enable_winscard implib
18485 wine_fn_config_dll winsock.dll16 enable_win16
18486 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18487 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18488 wine_fn_config_dll winsta enable_winsta
18489 wine_fn_config_dll wintab.dll16 enable_win16
18490 wine_fn_config_dll wintab32 enable_wintab32 implib
18491 wine_fn_config_test dlls/wintab32/tests wintab32_test
18492 wine_fn_config_dll wintrust enable_wintrust implib
18493 wine_fn_config_test dlls/wintrust/tests wintrust_test
18494 wine_fn_config_dll winusb enable_winusb
18495 wine_fn_config_dll wlanapi enable_wlanapi implib
18496 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18497 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18498 wine_fn_config_test dlls/wldap32/tests wldap32_test
18499 wine_fn_config_dll wmasf enable_wmasf
18500 wine_fn_config_dll wmi enable_wmi
18501 wine_fn_config_dll wmiutils enable_wmiutils clean
18502 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18503 wine_fn_config_dll wmp enable_wmp clean
18504 wine_fn_config_test dlls/wmp/tests wmp_test
18505 wine_fn_config_dll wmvcore enable_wmvcore implib
18506 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18507 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18508 wine_fn_config_dll wow32 enable_win16 implib
18509 wine_fn_config_dll wpc enable_wpc clean
18510 wine_fn_config_test dlls/wpc/tests wpc_test
18511 wine_fn_config_dll wpcap enable_wpcap
18512 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18513 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18514 wine_fn_config_dll wsdapi enable_wsdapi implib
18515 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18516 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18517 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18518 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18519 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18520 wine_fn_config_dll wsock32 enable_wsock32 implib
18521 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18522 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18523 wine_fn_config_dll wuapi enable_wuapi clean
18524 wine_fn_config_dll wuaueng enable_wuaueng
18525 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18526 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18527 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18528 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18529 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18530 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18531 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18532 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18533 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18534 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18535 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18536 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18537 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18538 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18539 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18540 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18541 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18542 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18543 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18544 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18545 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18546 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18547 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18548 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18549 wine_fn_config_dll xinput1_1 enable_xinput1_1
18550 wine_fn_config_dll xinput1_2 enable_xinput1_2
18551 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18552 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18553 wine_fn_config_dll xinput1_4 enable_xinput1_4
18554 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18555 wine_fn_config_dll xmllite enable_xmllite implib
18556 wine_fn_config_test dlls/xmllite/tests xmllite_test
18557 wine_fn_config_dll xolehlp enable_xolehlp
18558 wine_fn_config_dll xpsprint enable_xpsprint
18559 wine_fn_config_dll xpssvcs enable_xpssvcs
18560 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18561 wine_fn_config_makefile include enable_include clean,install-dev
18562 wine_fn_config_makefile libs/port enable_libs_port
18563 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18564 wine_fn_config_makefile libs/wpp enable_libs_wpp
18565 wine_fn_config_makefile loader enable_loader clean,install-lib
18566 wine_fn_config_makefile po enable_po clean
18567 wine_fn_config_program arp enable_arp install
18568 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18569 wine_fn_config_program attrib enable_attrib clean,install
18570 wine_fn_config_program cabarc enable_cabarc install
18571 wine_fn_config_program cacls enable_cacls install
18572 wine_fn_config_program clock enable_clock clean,install
18573 wine_fn_config_program cmd enable_cmd clean,install
18574 wine_fn_config_test programs/cmd/tests cmd.exe_test
18575 wine_fn_config_program conhost enable_conhost install
18576 wine_fn_config_program control enable_control install
18577 wine_fn_config_program cscript enable_cscript clean,install
18578 wine_fn_config_program dpnsvr enable_dpnsvr install
18579 wine_fn_config_program dxdiag enable_dxdiag clean,install
18580 wine_fn_config_program eject enable_eject install
18581 wine_fn_config_program expand enable_expand install
18582 wine_fn_config_program explorer enable_explorer clean,install
18583 wine_fn_config_program extrac32 enable_extrac32 install
18584 wine_fn_config_program findstr enable_findstr install
18585 wine_fn_config_program fsutil enable_fsutil install
18586 wine_fn_config_program hh enable_hh install
18587 wine_fn_config_program hostname enable_hostname clean,install
18588 wine_fn_config_program icacls enable_icacls install
18589 wine_fn_config_program icinfo enable_icinfo install
18590 wine_fn_config_program iexplore enable_iexplore install
18591 wine_fn_config_program ipconfig enable_ipconfig clean,install
18592 wine_fn_config_program lodctr enable_lodctr install
18593 wine_fn_config_program mofcomp enable_mofcomp install
18594 wine_fn_config_program mshta enable_mshta install
18595 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18596 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18597 wine_fn_config_program net enable_net clean,install
18598 wine_fn_config_program netsh enable_netsh install
18599 wine_fn_config_program netstat enable_netstat clean,install
18600 wine_fn_config_program ngen enable_ngen install
18601 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18602 wine_fn_config_program oleview enable_oleview clean,install
18603 wine_fn_config_program ping enable_ping install
18604 wine_fn_config_program plugplay enable_plugplay install
18605 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18606 wine_fn_config_program progman enable_progman clean,install
18607 wine_fn_config_program reg enable_reg clean,install
18608 wine_fn_config_test programs/reg/tests reg.exe_test
18609 wine_fn_config_program regasm enable_regasm install
18610 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18611 wine_fn_config_test programs/regedit/tests regedit.exe_test
18612 wine_fn_config_program regsvcs enable_regsvcs install
18613 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18614 wine_fn_config_program rpcss enable_rpcss clean,install
18615 wine_fn_config_program rundll.exe16 enable_win16 install
18616 wine_fn_config_program rundll32 enable_rundll32 install
18617 wine_fn_config_program sc enable_sc install
18618 wine_fn_config_program schtasks enable_schtasks install
18619 wine_fn_config_program sdbinst enable_sdbinst install
18620 wine_fn_config_program secedit enable_secedit install
18621 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18622 wine_fn_config_program services enable_services clean,install
18623 wine_fn_config_test programs/services/tests services.exe_test
18624 wine_fn_config_program shutdown enable_shutdown install
18625 wine_fn_config_program spoolsv enable_spoolsv install
18626 wine_fn_config_program start enable_start clean,install
18627 wine_fn_config_program subst enable_subst install
18628 wine_fn_config_program svchost enable_svchost install
18629 wine_fn_config_program systeminfo enable_systeminfo install
18630 wine_fn_config_program taskkill enable_taskkill clean,install
18631 wine_fn_config_program tasklist enable_tasklist install
18632 wine_fn_config_program taskmgr enable_taskmgr clean,install
18633 wine_fn_config_program termsv enable_termsv install
18634 wine_fn_config_program uninstaller enable_uninstaller clean,install
18635 wine_fn_config_program unlodctr enable_unlodctr install
18636 wine_fn_config_program view enable_view clean,install
18637 wine_fn_config_program wevtutil enable_wevtutil install
18638 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18639 wine_fn_config_program winebrowser enable_winebrowser install
18640 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18641 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18642 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18643 wine_fn_config_program winedevice enable_winedevice install
18644 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18645 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18646 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18647 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18648 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18649 wine_fn_config_program winetest enable_winetest clean
18650 wine_fn_config_program winevdm enable_win16 install
18651 wine_fn_config_program winhelp.exe16 enable_win16 install
18652 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18653 wine_fn_config_program winoldap.mod16 enable_win16 install
18654 wine_fn_config_program winver enable_winver install
18655 wine_fn_config_program wmic enable_wmic clean,install
18656 wine_fn_config_program wmplayer enable_wmplayer install
18657 wine_fn_config_program wordpad enable_wordpad clean,install
18658 wine_fn_config_program write enable_write clean,install
18659 wine_fn_config_program wscript enable_wscript clean,install
18660 wine_fn_config_test programs/wscript/tests wscript.exe_test
18661 wine_fn_config_program wusa enable_wusa install
18662 wine_fn_config_program xcopy enable_xcopy clean,install
18663 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18664 wine_fn_config_makefile server enable_server clean,install-lib
18665 wine_fn_config_tool tools clean
18666 wine_fn_config_tool tools/sfnt2fon clean
18667 wine_fn_config_tool tools/widl clean,install-dev
18668 wine_fn_config_tool tools/winebuild clean,install-dev
18669 wine_fn_config_tool tools/winedump clean,install-dev
18670 wine_fn_config_tool tools/winegcc clean,install-dev
18671 wine_fn_config_tool tools/winemaker clean,install-dev
18672 wine_fn_config_tool tools/wmc clean,install-dev
18673 wine_fn_config_tool tools/wrc clean,install-dev
18676 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18677 wine_fn_append_file CONFIGURE_TARGETS "tags"
18678 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18679 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18680 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18681 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18682 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18683 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18685 if test "x$enable_tools" != xno
18686 then
18687 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18688 ac_config_commands="$ac_config_commands tools/makedep"
18692 ac_config_commands="$ac_config_commands Makefile"
18695 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18699 if test "x$enable_maintainer_mode" = xyes
18700 then
18701 wine_fn_append_rule "configure: configure.ac aclocal.m4
18702 autoconf --warnings=all
18703 include/config.h.in: include/stamp-h.in
18704 include/stamp-h.in: configure.ac aclocal.m4
18705 autoheader --warnings=all
18706 @echo timestamp > \$@"
18709 if test "x$enable_tools" != xno
18710 then
18711 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18712 @./config.status tools/makedep
18713 Makefile: tools/makedep$ac_exeext"
18714 else
18715 wine_fn_append_rule "\$(MAKEDEP):
18716 @echo \"You need to run make in $TOOLSDIR first\" && false"
18719 if test -n "$with_wine64"
18720 then
18721 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18722 fonts server:
18723 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18724 $with_wine64/loader/wine:
18725 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18726 $with_wine64/loader/wine-preloader:
18727 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18728 clean::
18729 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18730 else
18731 WINELOADER_INSTALL="wine.inf"
18733 wine_fn_append_rule "install install-lib::
18734 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18735 uninstall::
18736 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18737 case $host_os in
18738 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18739 *) wine_fn_append_rule "install install-lib::
18740 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18741 uninstall::
18742 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18743 esac
18746 $as_echo " done" >&6
18747 cat >confcache <<\_ACEOF
18748 # This file is a shell script that caches the results of configure
18749 # tests run on this system so they can be shared between configure
18750 # scripts and configure runs, see configure's option --config-cache.
18751 # It is not useful on other systems. If it contains results you don't
18752 # want to keep, you may remove or edit it.
18754 # config.status only pays attention to the cache file if you give it
18755 # the --recheck option to rerun configure.
18757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18759 # following values.
18761 _ACEOF
18763 # The following way of writing the cache mishandles newlines in values,
18764 # but we know of no workaround that is simple, portable, and efficient.
18765 # So, we kill variables containing newlines.
18766 # Ultrix sh set writes to stderr and can't be redirected directly,
18767 # and sets the high bit in the cache file unless we assign to the vars.
18769 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18770 eval ac_val=\$$ac_var
18771 case $ac_val in #(
18772 *${as_nl}*)
18773 case $ac_var in #(
18774 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18775 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18776 esac
18777 case $ac_var in #(
18778 _ | IFS | as_nl) ;; #(
18779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18780 *) { eval $ac_var=; unset $ac_var;} ;;
18781 esac ;;
18782 esac
18783 done
18785 (set) 2>&1 |
18786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18787 *${as_nl}ac_space=\ *)
18788 # `set' does not quote correctly, so add quotes: double-quote
18789 # substitution turns \\\\ into \\, and sed turns \\ into \.
18790 sed -n \
18791 "s/'/'\\\\''/g;
18792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18793 ;; #(
18795 # `set' quotes correctly as required by POSIX, so do not add quotes.
18796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18798 esac |
18799 sort
18801 sed '
18802 /^ac_cv_env_/b end
18803 t clear
18804 :clear
18805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18806 t end
18807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18808 :end' >>confcache
18809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18810 if test -w "$cache_file"; then
18811 if test "x$cache_file" != "x/dev/null"; then
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18813 $as_echo "$as_me: updating cache $cache_file" >&6;}
18814 if test ! -f "$cache_file" || test -h "$cache_file"; then
18815 cat confcache >"$cache_file"
18816 else
18817 case $cache_file in #(
18818 */* | ?:*)
18819 mv -f confcache "$cache_file"$$ &&
18820 mv -f "$cache_file"$$ "$cache_file" ;; #(
18822 mv -f confcache "$cache_file" ;;
18823 esac
18826 else
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18828 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18831 rm -f confcache
18833 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18834 # Let make expand exec_prefix.
18835 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18837 DEFS=-DHAVE_CONFIG_H
18839 ac_libobjs=
18840 ac_ltlibobjs=
18842 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18843 # 1. Remove the extension, and $U if already installed.
18844 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18845 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18846 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18847 # will be set to the directory where LIBOBJS objects are built.
18848 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18849 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18850 done
18851 LIBOBJS=$ac_libobjs
18853 LTLIBOBJS=$ac_ltlibobjs
18857 : "${CONFIG_STATUS=./config.status}"
18858 ac_write_fail=0
18859 ac_clean_files_save=$ac_clean_files
18860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18862 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18863 as_write_fail=0
18864 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18865 #! $SHELL
18866 # Generated by $as_me.
18867 # Run this file to recreate the current configuration.
18868 # Compiler output produced by configure, useful for debugging
18869 # configure, is in config.log if it exists.
18871 debug=false
18872 ac_cs_recheck=false
18873 ac_cs_silent=false
18875 SHELL=\${CONFIG_SHELL-$SHELL}
18876 export SHELL
18877 _ASEOF
18878 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18879 ## -------------------- ##
18880 ## M4sh Initialization. ##
18881 ## -------------------- ##
18883 # Be more Bourne compatible
18884 DUALCASE=1; export DUALCASE # for MKS sh
18885 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18886 emulate sh
18887 NULLCMD=:
18888 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18889 # is contrary to our usage. Disable this feature.
18890 alias -g '${1+"$@"}'='"$@"'
18891 setopt NO_GLOB_SUBST
18892 else
18893 case `(set -o) 2>/dev/null` in #(
18894 *posix*) :
18895 set -o posix ;; #(
18896 *) :
18898 esac
18902 as_nl='
18904 export as_nl
18905 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18906 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18908 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18909 # Prefer a ksh shell builtin over an external printf program on Solaris,
18910 # but without wasting forks for bash or zsh.
18911 if test -z "$BASH_VERSION$ZSH_VERSION" \
18912 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18913 as_echo='print -r --'
18914 as_echo_n='print -rn --'
18915 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18916 as_echo='printf %s\n'
18917 as_echo_n='printf %s'
18918 else
18919 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18920 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18921 as_echo_n='/usr/ucb/echo -n'
18922 else
18923 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18924 as_echo_n_body='eval
18925 arg=$1;
18926 case $arg in #(
18927 *"$as_nl"*)
18928 expr "X$arg" : "X\\(.*\\)$as_nl";
18929 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18930 esac;
18931 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18933 export as_echo_n_body
18934 as_echo_n='sh -c $as_echo_n_body as_echo'
18936 export as_echo_body
18937 as_echo='sh -c $as_echo_body as_echo'
18940 # The user is always right.
18941 if test "${PATH_SEPARATOR+set}" != set; then
18942 PATH_SEPARATOR=:
18943 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18944 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18945 PATH_SEPARATOR=';'
18950 # IFS
18951 # We need space, tab and new line, in precisely that order. Quoting is
18952 # there to prevent editors from complaining about space-tab.
18953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18954 # splitting by setting IFS to empty value.)
18955 IFS=" "" $as_nl"
18957 # Find who we are. Look in the path if we contain no directory separator.
18958 as_myself=
18959 case $0 in #((
18960 *[\\/]* ) as_myself=$0 ;;
18961 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18962 for as_dir in $PATH
18964 IFS=$as_save_IFS
18965 test -z "$as_dir" && as_dir=.
18966 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18967 done
18968 IFS=$as_save_IFS
18971 esac
18972 # We did not find ourselves, most probably we were run as `sh COMMAND'
18973 # in which case we are not to be found in the path.
18974 if test "x$as_myself" = x; then
18975 as_myself=$0
18977 if test ! -f "$as_myself"; then
18978 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18979 exit 1
18982 # Unset variables that we do not need and which cause bugs (e.g. in
18983 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18984 # suppresses any "Segmentation fault" message there. '((' could
18985 # trigger a bug in pdksh 5.2.14.
18986 for as_var in BASH_ENV ENV MAIL MAILPATH
18987 do eval test x\${$as_var+set} = xset \
18988 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18989 done
18990 PS1='$ '
18991 PS2='> '
18992 PS4='+ '
18994 # NLS nuisances.
18995 LC_ALL=C
18996 export LC_ALL
18997 LANGUAGE=C
18998 export LANGUAGE
19000 # CDPATH.
19001 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19005 # ----------------------------------------
19006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19008 # script with STATUS, using 1 if that was 0.
19009 as_fn_error ()
19011 as_status=$1; test $as_status -eq 0 && as_status=1
19012 if test "$4"; then
19013 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19014 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19016 $as_echo "$as_me: error: $2" >&2
19017 as_fn_exit $as_status
19018 } # as_fn_error
19021 # as_fn_set_status STATUS
19022 # -----------------------
19023 # Set $? to STATUS, without forking.
19024 as_fn_set_status ()
19026 return $1
19027 } # as_fn_set_status
19029 # as_fn_exit STATUS
19030 # -----------------
19031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19032 as_fn_exit ()
19034 set +e
19035 as_fn_set_status $1
19036 exit $1
19037 } # as_fn_exit
19039 # as_fn_unset VAR
19040 # ---------------
19041 # Portably unset VAR.
19042 as_fn_unset ()
19044 { eval $1=; unset $1;}
19046 as_unset=as_fn_unset
19047 # as_fn_append VAR VALUE
19048 # ----------------------
19049 # Append the text in VALUE to the end of the definition contained in VAR. Take
19050 # advantage of any shell optimizations that allow amortized linear growth over
19051 # repeated appends, instead of the typical quadratic growth present in naive
19052 # implementations.
19053 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19054 eval 'as_fn_append ()
19056 eval $1+=\$2
19058 else
19059 as_fn_append ()
19061 eval $1=\$$1\$2
19063 fi # as_fn_append
19065 # as_fn_arith ARG...
19066 # ------------------
19067 # Perform arithmetic evaluation on the ARGs, and store the result in the
19068 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19069 # must be portable across $(()) and expr.
19070 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19071 eval 'as_fn_arith ()
19073 as_val=$(( $* ))
19075 else
19076 as_fn_arith ()
19078 as_val=`expr "$@" || test $? -eq 1`
19080 fi # as_fn_arith
19083 if expr a : '\(a\)' >/dev/null 2>&1 &&
19084 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19085 as_expr=expr
19086 else
19087 as_expr=false
19090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19091 as_basename=basename
19092 else
19093 as_basename=false
19096 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19097 as_dirname=dirname
19098 else
19099 as_dirname=false
19102 as_me=`$as_basename -- "$0" ||
19103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19104 X"$0" : 'X\(//\)$' \| \
19105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19106 $as_echo X/"$0" |
19107 sed '/^.*\/\([^/][^/]*\)\/*$/{
19108 s//\1/
19111 /^X\/\(\/\/\)$/{
19112 s//\1/
19115 /^X\/\(\/\).*/{
19116 s//\1/
19119 s/.*/./; q'`
19121 # Avoid depending upon Character Ranges.
19122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19125 as_cr_digits='0123456789'
19126 as_cr_alnum=$as_cr_Letters$as_cr_digits
19128 ECHO_C= ECHO_N= ECHO_T=
19129 case `echo -n x` in #(((((
19130 -n*)
19131 case `echo 'xy\c'` in
19132 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19133 xy) ECHO_C='\c';;
19134 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19135 ECHO_T=' ';;
19136 esac;;
19138 ECHO_N='-n';;
19139 esac
19141 rm -f conf$$ conf$$.exe conf$$.file
19142 if test -d conf$$.dir; then
19143 rm -f conf$$.dir/conf$$.file
19144 else
19145 rm -f conf$$.dir
19146 mkdir conf$$.dir 2>/dev/null
19148 if (echo >conf$$.file) 2>/dev/null; then
19149 if ln -s conf$$.file conf$$ 2>/dev/null; then
19150 as_ln_s='ln -s'
19151 # ... but there are two gotchas:
19152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19154 # In both cases, we have to default to `cp -pR'.
19155 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19156 as_ln_s='cp -pR'
19157 elif ln conf$$.file conf$$ 2>/dev/null; then
19158 as_ln_s=ln
19159 else
19160 as_ln_s='cp -pR'
19162 else
19163 as_ln_s='cp -pR'
19165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19166 rmdir conf$$.dir 2>/dev/null
19169 # as_fn_mkdir_p
19170 # -------------
19171 # Create "$as_dir" as a directory, including parents if necessary.
19172 as_fn_mkdir_p ()
19175 case $as_dir in #(
19176 -*) as_dir=./$as_dir;;
19177 esac
19178 test -d "$as_dir" || eval $as_mkdir_p || {
19179 as_dirs=
19180 while :; do
19181 case $as_dir in #(
19182 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19183 *) as_qdir=$as_dir;;
19184 esac
19185 as_dirs="'$as_qdir' $as_dirs"
19186 as_dir=`$as_dirname -- "$as_dir" ||
19187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19188 X"$as_dir" : 'X\(//\)[^/]' \| \
19189 X"$as_dir" : 'X\(//\)$' \| \
19190 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19191 $as_echo X"$as_dir" |
19192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19193 s//\1/
19196 /^X\(\/\/\)[^/].*/{
19197 s//\1/
19200 /^X\(\/\/\)$/{
19201 s//\1/
19204 /^X\(\/\).*/{
19205 s//\1/
19208 s/.*/./; q'`
19209 test -d "$as_dir" && break
19210 done
19211 test -z "$as_dirs" || eval "mkdir $as_dirs"
19212 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19215 } # as_fn_mkdir_p
19216 if mkdir -p . 2>/dev/null; then
19217 as_mkdir_p='mkdir -p "$as_dir"'
19218 else
19219 test -d ./-p && rmdir ./-p
19220 as_mkdir_p=false
19224 # as_fn_executable_p FILE
19225 # -----------------------
19226 # Test if FILE is an executable regular file.
19227 as_fn_executable_p ()
19229 test -f "$1" && test -x "$1"
19230 } # as_fn_executable_p
19231 as_test_x='test -x'
19232 as_executable_p=as_fn_executable_p
19234 # Sed expression to map a string onto a valid CPP name.
19235 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19237 # Sed expression to map a string onto a valid variable name.
19238 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19241 exec 6>&1
19242 ## ----------------------------------- ##
19243 ## Main body of $CONFIG_STATUS script. ##
19244 ## ----------------------------------- ##
19245 _ASEOF
19246 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19249 # Save the log message, to keep $0 and so on meaningful, and to
19250 # report actual input values of CONFIG_FILES etc. instead of their
19251 # values after options handling.
19252 ac_log="
19253 This file was extended by Wine $as_me 2.7, which was
19254 generated by GNU Autoconf 2.69. Invocation command line was
19256 CONFIG_FILES = $CONFIG_FILES
19257 CONFIG_HEADERS = $CONFIG_HEADERS
19258 CONFIG_LINKS = $CONFIG_LINKS
19259 CONFIG_COMMANDS = $CONFIG_COMMANDS
19260 $ $0 $@
19262 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19265 _ACEOF
19267 case $ac_config_files in *"
19268 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19269 esac
19271 case $ac_config_headers in *"
19272 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19273 esac
19276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19277 # Files that config.status was made for.
19278 config_files="$ac_config_files"
19279 config_headers="$ac_config_headers"
19280 config_links="$ac_config_links"
19281 config_commands="$ac_config_commands"
19283 _ACEOF
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19286 ac_cs_usage="\
19287 \`$as_me' instantiates files and other configuration actions
19288 from templates according to the current configuration. Unless the files
19289 and actions are specified as TAGs, all are instantiated by default.
19291 Usage: $0 [OPTION]... [TAG]...
19293 -h, --help print this help, then exit
19294 -V, --version print version number and configuration settings, then exit
19295 --config print configuration, then exit
19296 -q, --quiet, --silent
19297 do not print progress messages
19298 -d, --debug don't remove temporary files
19299 --recheck update $as_me by reconfiguring in the same conditions
19300 --file=FILE[:TEMPLATE]
19301 instantiate the configuration file FILE
19302 --header=FILE[:TEMPLATE]
19303 instantiate the configuration header FILE
19305 Configuration files:
19306 $config_files
19308 Configuration headers:
19309 $config_headers
19311 Configuration links:
19312 $config_links
19314 Configuration commands:
19315 $config_commands
19317 Report bugs to <wine-devel@winehq.org>.
19318 Wine home page: <http://www.winehq.org>."
19320 _ACEOF
19321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19322 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19323 ac_cs_version="\\
19324 Wine config.status 2.7
19325 configured by $0, generated by GNU Autoconf 2.69,
19326 with options \\"\$ac_cs_config\\"
19328 Copyright (C) 2012 Free Software Foundation, Inc.
19329 This config.status script is free software; the Free Software Foundation
19330 gives unlimited permission to copy, distribute and modify it."
19332 ac_pwd='$ac_pwd'
19333 srcdir='$srcdir'
19334 test -n "\$AWK" || AWK=awk
19335 _ACEOF
19337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19338 # The default lists apply if the user does not specify any file.
19339 ac_need_defaults=:
19340 while test $# != 0
19342 case $1 in
19343 --*=?*)
19344 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19345 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19346 ac_shift=:
19348 --*=)
19349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19350 ac_optarg=
19351 ac_shift=:
19354 ac_option=$1
19355 ac_optarg=$2
19356 ac_shift=shift
19358 esac
19360 case $ac_option in
19361 # Handling of the options.
19362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19363 ac_cs_recheck=: ;;
19364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19365 $as_echo "$ac_cs_version"; exit ;;
19366 --config | --confi | --conf | --con | --co | --c )
19367 $as_echo "$ac_cs_config"; exit ;;
19368 --debug | --debu | --deb | --de | --d | -d )
19369 debug=: ;;
19370 --file | --fil | --fi | --f )
19371 $ac_shift
19372 case $ac_optarg in
19373 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19374 '') as_fn_error $? "missing file argument" ;;
19375 esac
19376 as_fn_append CONFIG_FILES " '$ac_optarg'"
19377 ac_need_defaults=false;;
19378 --header | --heade | --head | --hea )
19379 $ac_shift
19380 case $ac_optarg in
19381 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19382 esac
19383 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19384 ac_need_defaults=false;;
19385 --he | --h)
19386 # Conflict between --help and --header
19387 as_fn_error $? "ambiguous option: \`$1'
19388 Try \`$0 --help' for more information.";;
19389 --help | --hel | -h )
19390 $as_echo "$ac_cs_usage"; exit ;;
19391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19392 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19393 ac_cs_silent=: ;;
19395 # This is an error.
19396 -*) as_fn_error $? "unrecognized option: \`$1'
19397 Try \`$0 --help' for more information." ;;
19399 *) as_fn_append ac_config_targets " $1"
19400 ac_need_defaults=false ;;
19402 esac
19403 shift
19404 done
19406 ac_configure_extra_args=
19408 if $ac_cs_silent; then
19409 exec 6>/dev/null
19410 ac_configure_extra_args="$ac_configure_extra_args --silent"
19413 _ACEOF
19414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19415 if \$ac_cs_recheck; then
19416 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19417 shift
19418 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19419 CONFIG_SHELL='$SHELL'
19420 export CONFIG_SHELL
19421 exec "\$@"
19424 _ACEOF
19425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19426 exec 5>>config.log
19428 echo
19429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19430 ## Running $as_me. ##
19431 _ASBOX
19432 $as_echo "$ac_log"
19433 } >&5
19435 _ACEOF
19436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19438 # INIT-COMMANDS
19440 wine_fn_output_makedep ()
19442 as_dir=tools; as_fn_mkdir_p
19443 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19445 wine_fn_output_makefile ()
19447 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19448 `cat $wine_rules_file`
19449 _WINE_EOF
19450 as_fn_error $? "could not create Makefile" "$LINENO" 5
19453 _ACEOF
19455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19457 # Handling of arguments.
19458 for ac_config_target in $ac_config_targets
19460 case $ac_config_target in
19461 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19462 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19463 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19464 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19465 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19466 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19467 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19468 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19469 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19470 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19471 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19472 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19473 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19475 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19476 esac
19477 done
19480 # If the user did not use the arguments to specify the items to instantiate,
19481 # then the envvar interface is used. Set only those that are not.
19482 # We use the long form for the default assignment because of an extremely
19483 # bizarre bug on SunOS 4.1.3.
19484 if $ac_need_defaults; then
19485 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19486 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19487 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19491 # Have a temporary directory for convenience. Make it in the build tree
19492 # simply because there is no reason against having it here, and in addition,
19493 # creating and moving files from /tmp can sometimes cause problems.
19494 # Hook for its removal unless debugging.
19495 # Note that there is a small window in which the directory will not be cleaned:
19496 # after its creation but before its name has been assigned to `$tmp'.
19497 $debug ||
19499 tmp= ac_tmp=
19500 trap 'exit_status=$?
19501 : "${ac_tmp:=$tmp}"
19502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19504 trap 'as_fn_exit 1' 1 2 13 15
19506 # Create a (secure) tmp directory for tmp files.
19509 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19510 test -d "$tmp"
19511 } ||
19513 tmp=./conf$$-$RANDOM
19514 (umask 077 && mkdir "$tmp")
19515 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19516 ac_tmp=$tmp
19518 # Set up the scripts for CONFIG_FILES section.
19519 # No need to generate them if there are no CONFIG_FILES.
19520 # This happens for instance with `./config.status config.h'.
19521 if test -n "$CONFIG_FILES"; then
19524 ac_cr=`echo X | tr X '\015'`
19525 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19526 # But we know of no other shell where ac_cr would be empty at this
19527 # point, so we can use a bashism as a fallback.
19528 if test "x$ac_cr" = x; then
19529 eval ac_cr=\$\'\\r\'
19531 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19532 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19533 ac_cs_awk_cr='\\r'
19534 else
19535 ac_cs_awk_cr=$ac_cr
19538 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19539 _ACEOF
19543 echo "cat >conf$$subs.awk <<_ACEOF" &&
19544 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19545 echo "_ACEOF"
19546 } >conf$$subs.sh ||
19547 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19548 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19549 ac_delim='%!_!# '
19550 for ac_last_try in false false false false false :; do
19551 . ./conf$$subs.sh ||
19552 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19554 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19555 if test $ac_delim_n = $ac_delim_num; then
19556 break
19557 elif $ac_last_try; then
19558 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19559 else
19560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19562 done
19563 rm -f conf$$subs.sh
19565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19566 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19567 _ACEOF
19568 sed -n '
19570 s/^/S["/; s/!.*/"]=/
19573 s/^[^!]*!//
19574 :repl
19575 t repl
19576 s/'"$ac_delim"'$//
19577 t delim
19580 s/\(.\{148\}\)..*/\1/
19581 t more1
19582 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19585 b repl
19586 :more1
19587 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19590 s/.\{148\}//
19591 t nl
19592 :delim
19594 s/\(.\{148\}\)..*/\1/
19595 t more2
19596 s/["\\]/\\&/g; s/^/"/; s/$/"/
19599 :more2
19600 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19603 s/.\{148\}//
19604 t delim
19605 ' <conf$$subs.awk | sed '
19606 /^[^""]/{
19608 s/\n//
19610 ' >>$CONFIG_STATUS || ac_write_fail=1
19611 rm -f conf$$subs.awk
19612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19613 _ACAWK
19614 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19615 for (key in S) S_is_set[key] = 1
19616 FS = "\a"
19620 line = $ 0
19621 nfields = split(line, field, "@")
19622 substed = 0
19623 len = length(field[1])
19624 for (i = 2; i < nfields; i++) {
19625 key = field[i]
19626 keylen = length(key)
19627 if (S_is_set[key]) {
19628 value = S[key]
19629 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19630 len += length(value) + length(field[++i])
19631 substed = 1
19632 } else
19633 len += 1 + keylen
19636 print line
19639 _ACAWK
19640 _ACEOF
19641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19642 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19643 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19644 else
19646 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19647 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19648 _ACEOF
19650 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19651 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19652 # trailing colons and then remove the whole line if VPATH becomes empty
19653 # (actually we leave an empty line to preserve line numbers).
19654 if test "x$srcdir" = x.; then
19655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19657 s///
19658 s/^/:/
19659 s/[ ]*$/:/
19660 s/:\$(srcdir):/:/g
19661 s/:\${srcdir}:/:/g
19662 s/:@srcdir@:/:/g
19663 s/^:*//
19664 s/:*$//
19666 s/\(=[ ]*\).*/\1/
19668 s/\n//
19669 s/^[^=]*=[ ]*$//
19673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19674 fi # test -n "$CONFIG_FILES"
19676 # Set up the scripts for CONFIG_HEADERS section.
19677 # No need to generate them if there are no CONFIG_HEADERS.
19678 # This happens for instance with `./config.status Makefile'.
19679 if test -n "$CONFIG_HEADERS"; then
19680 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19681 BEGIN {
19682 _ACEOF
19684 # Transform confdefs.h into an awk script `defines.awk', embedded as
19685 # here-document in config.status, that substitutes the proper values into
19686 # config.h.in to produce config.h.
19688 # Create a delimiter string that does not exist in confdefs.h, to ease
19689 # handling of long lines.
19690 ac_delim='%!_!# '
19691 for ac_last_try in false false :; do
19692 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19693 if test -z "$ac_tt"; then
19694 break
19695 elif $ac_last_try; then
19696 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19697 else
19698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19700 done
19702 # For the awk script, D is an array of macro values keyed by name,
19703 # likewise P contains macro parameters if any. Preserve backslash
19704 # newline sequences.
19706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19707 sed -n '
19708 s/.\{148\}/&'"$ac_delim"'/g
19709 t rset
19710 :rset
19711 s/^[ ]*#[ ]*define[ ][ ]*/ /
19712 t def
19714 :def
19715 s/\\$//
19716 t bsnl
19717 s/["\\]/\\&/g
19718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19719 D["\1"]=" \3"/p
19720 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19722 :bsnl
19723 s/["\\]/\\&/g
19724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19725 D["\1"]=" \3\\\\\\n"\\/p
19726 t cont
19727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19728 t cont
19730 :cont
19732 s/.\{148\}/&'"$ac_delim"'/g
19733 t clear
19734 :clear
19735 s/\\$//
19736 t bsnlc
19737 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19739 :bsnlc
19740 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19741 b cont
19742 ' <confdefs.h | sed '
19743 s/'"$ac_delim"'/"\\\
19744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19747 for (key in D) D_is_set[key] = 1
19748 FS = "\a"
19750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19751 line = \$ 0
19752 split(line, arg, " ")
19753 if (arg[1] == "#") {
19754 defundef = arg[2]
19755 mac1 = arg[3]
19756 } else {
19757 defundef = substr(arg[1], 2)
19758 mac1 = arg[2]
19760 split(mac1, mac2, "(") #)
19761 macro = mac2[1]
19762 prefix = substr(line, 1, index(line, defundef) - 1)
19763 if (D_is_set[macro]) {
19764 # Preserve the white space surrounding the "#".
19765 print prefix "define", macro P[macro] D[macro]
19766 next
19767 } else {
19768 # Replace #undef with comments. This is necessary, for example,
19769 # in the case of _POSIX_SOURCE, which is predefined and required
19770 # on some systems where configure will not decide to define it.
19771 if (defundef == "undef") {
19772 print "/*", prefix defundef, macro, "*/"
19773 next
19777 { print }
19778 _ACAWK
19779 _ACEOF
19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19781 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19782 fi # test -n "$CONFIG_HEADERS"
19785 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19786 shift
19787 for ac_tag
19789 case $ac_tag in
19790 :[FHLC]) ac_mode=$ac_tag; continue;;
19791 esac
19792 case $ac_mode$ac_tag in
19793 :[FHL]*:*);;
19794 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19795 :[FH]-) ac_tag=-:-;;
19796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19797 esac
19798 ac_save_IFS=$IFS
19799 IFS=:
19800 set x $ac_tag
19801 IFS=$ac_save_IFS
19802 shift
19803 ac_file=$1
19804 shift
19806 case $ac_mode in
19807 :L) ac_source=$1;;
19808 :[FH])
19809 ac_file_inputs=
19810 for ac_f
19812 case $ac_f in
19813 -) ac_f="$ac_tmp/stdin";;
19814 *) # Look for the file first in the build tree, then in the source tree
19815 # (if the path is not absolute). The absolute path cannot be DOS-style,
19816 # because $ac_f cannot contain `:'.
19817 test -f "$ac_f" ||
19818 case $ac_f in
19819 [\\/$]*) false;;
19820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19821 esac ||
19822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19823 esac
19824 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19825 as_fn_append ac_file_inputs " '$ac_f'"
19826 done
19828 # Let's still pretend it is `configure' which instantiates (i.e., don't
19829 # use $as_me), people would be surprised to read:
19830 # /* config.h. Generated by config.status. */
19831 configure_input='Generated from '`
19832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19833 `' by configure.'
19834 if test x"$ac_file" != x-; then
19835 configure_input="$ac_file. $configure_input"
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19837 $as_echo "$as_me: creating $ac_file" >&6;}
19839 # Neutralize special characters interpreted by sed in replacement strings.
19840 case $configure_input in #(
19841 *\&* | *\|* | *\\* )
19842 ac_sed_conf_input=`$as_echo "$configure_input" |
19843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19844 *) ac_sed_conf_input=$configure_input;;
19845 esac
19847 case $ac_tag in
19848 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19850 esac
19852 esac
19854 ac_dir=`$as_dirname -- "$ac_file" ||
19855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19856 X"$ac_file" : 'X\(//\)[^/]' \| \
19857 X"$ac_file" : 'X\(//\)$' \| \
19858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19859 $as_echo X"$ac_file" |
19860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19861 s//\1/
19864 /^X\(\/\/\)[^/].*/{
19865 s//\1/
19868 /^X\(\/\/\)$/{
19869 s//\1/
19872 /^X\(\/\).*/{
19873 s//\1/
19876 s/.*/./; q'`
19877 as_dir="$ac_dir"; as_fn_mkdir_p
19878 ac_builddir=.
19880 case "$ac_dir" in
19881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19883 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19884 # A ".." for each directory in $ac_dir_suffix.
19885 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19886 case $ac_top_builddir_sub in
19887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19889 esac ;;
19890 esac
19891 ac_abs_top_builddir=$ac_pwd
19892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19893 # for backward compatibility:
19894 ac_top_builddir=$ac_top_build_prefix
19896 case $srcdir in
19897 .) # We are building in place.
19898 ac_srcdir=.
19899 ac_top_srcdir=$ac_top_builddir_sub
19900 ac_abs_top_srcdir=$ac_pwd ;;
19901 [\\/]* | ?:[\\/]* ) # Absolute name.
19902 ac_srcdir=$srcdir$ac_dir_suffix;
19903 ac_top_srcdir=$srcdir
19904 ac_abs_top_srcdir=$srcdir ;;
19905 *) # Relative name.
19906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19907 ac_top_srcdir=$ac_top_build_prefix$srcdir
19908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19909 esac
19910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19913 case $ac_mode in
19916 # CONFIG_FILE
19919 _ACEOF
19921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19922 # If the template does not know about datarootdir, expand it.
19923 # FIXME: This hack should be removed a few years after 2.60.
19924 ac_datarootdir_hack=; ac_datarootdir_seen=
19925 ac_sed_dataroot='
19926 /datarootdir/ {
19930 /@datadir@/p
19931 /@docdir@/p
19932 /@infodir@/p
19933 /@localedir@/p
19934 /@mandir@/p'
19935 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19936 *datarootdir*) ac_datarootdir_seen=yes;;
19937 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19939 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19940 _ACEOF
19941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19942 ac_datarootdir_hack='
19943 s&@datadir@&$datadir&g
19944 s&@docdir@&$docdir&g
19945 s&@infodir@&$infodir&g
19946 s&@localedir@&$localedir&g
19947 s&@mandir@&$mandir&g
19948 s&\\\${datarootdir}&$datarootdir&g' ;;
19949 esac
19950 _ACEOF
19952 # Neutralize VPATH when `$srcdir' = `.'.
19953 # Shell code in configure.ac might set extrasub.
19954 # FIXME: do we really want to maintain this feature?
19955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19956 ac_sed_extra="$ac_vpsub
19957 $extrasub
19958 _ACEOF
19959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19962 s|@configure_input@|$ac_sed_conf_input|;t t
19963 s&@top_builddir@&$ac_top_builddir_sub&;t t
19964 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19965 s&@srcdir@&$ac_srcdir&;t t
19966 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19967 s&@top_srcdir@&$ac_top_srcdir&;t t
19968 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19969 s&@builddir@&$ac_builddir&;t t
19970 s&@abs_builddir@&$ac_abs_builddir&;t t
19971 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19972 $ac_datarootdir_hack
19974 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19975 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19977 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19978 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19979 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19980 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19982 which seems to be undefined. Please make sure it is defined" >&5
19983 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19984 which seems to be undefined. Please make sure it is defined" >&2;}
19986 rm -f "$ac_tmp/stdin"
19987 case $ac_file in
19988 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19989 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19990 esac \
19991 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19995 # CONFIG_HEADER
19997 if test x"$ac_file" != x-; then
19999 $as_echo "/* $configure_input */" \
20000 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20001 } >"$ac_tmp/config.h" \
20002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20003 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20005 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20006 else
20007 rm -f "$ac_file"
20008 mv "$ac_tmp/config.h" "$ac_file" \
20009 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20011 else
20012 $as_echo "/* $configure_input */" \
20013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20014 || as_fn_error $? "could not create -" "$LINENO" 5
20019 # CONFIG_LINK
20022 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20024 else
20025 # Prefer the file from the source tree if names are identical.
20026 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20027 ac_source=$srcdir/$ac_source
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20031 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20033 if test ! -r "$ac_source"; then
20034 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20036 rm -f "$ac_file"
20038 # Try a relative symlink, then a hard link, then a copy.
20039 case $ac_source in
20040 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20041 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20042 esac
20043 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20044 ln "$ac_source" "$ac_file" 2>/dev/null ||
20045 cp -p "$ac_source" "$ac_file" ||
20046 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20049 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20050 $as_echo "$as_me: executing $ac_file commands" >&6;}
20052 esac
20055 case $ac_file$ac_mode in
20056 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20057 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20058 "Makefile":C) wine_fn_output_makefile Makefile ;;
20060 esac
20061 done # for ac_tag
20064 as_fn_exit 0
20065 _ACEOF
20066 ac_clean_files=$ac_clean_files_save
20068 test $ac_write_fail = 0 ||
20069 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20072 # configure is writing to config.log, and then calls config.status.
20073 # config.status does its own redirection, appending to config.log.
20074 # Unfortunately, on DOS this fails, as config.log is still kept open
20075 # by configure, so config.status won't be able to write to it; its
20076 # output is simply discarded. So we exec the FD to /dev/null,
20077 # effectively closing config.log, so it can be properly (re)opened and
20078 # appended to by config.status. When coming back to configure, we
20079 # need to make the FD available again.
20080 if test "$no_create" != yes; then
20081 ac_cs_success=:
20082 ac_config_status_args=
20083 test "$silent" = yes &&
20084 ac_config_status_args="$ac_config_status_args --quiet"
20085 exec 5>/dev/null
20086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20087 exec 5>>config.log
20088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20089 # would make configure fail if this is the last instruction.
20090 $ac_cs_success || as_fn_exit 1
20092 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20094 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20098 if test "$no_create" = "yes"
20099 then
20100 exit 0
20103 ac_save_IFS="$IFS"
20104 if test "x$wine_notices" != x; then
20105 echo >&6
20106 IFS="|"
20107 for msg in $wine_notices; do
20108 IFS="$ac_save_IFS"
20109 if ${msg:+false} :; then :
20111 else
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20113 $as_echo "$as_me: $msg" >&6;}
20115 done
20117 IFS="|"
20118 for msg in $wine_warnings; do
20119 IFS="$ac_save_IFS"
20120 if ${msg:+false} :; then :
20122 else
20123 echo >&2
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20125 $as_echo "$as_me: WARNING: $msg" >&2;}
20127 done
20128 IFS="$ac_save_IFS"
20130 $as_echo "
20131 $as_me: Finished. Do '${ac_make}' to compile Wine.
20132 " >&6