winebuild: Use unsigned int in spec file variable parameters.
[wine.git] / configure
blob56904e9a087d3c33f5b8f1060b378d50e91fbfb8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0.
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.0'
584 PACKAGE_STRING='Wine 2.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_apphelp
1040 enable_appwiz_cpl
1041 enable_atl
1042 enable_atl100
1043 enable_atl110
1044 enable_atl80
1045 enable_atl90
1046 enable_authz
1047 enable_avicap32
1048 enable_avifil32
1049 enable_avrt
1050 enable_bcrypt
1051 enable_bluetoothapis
1052 enable_browseui
1053 enable_bthprops_cpl
1054 enable_cabinet
1055 enable_capi2032
1056 enable_cards
1057 enable_cfgmgr32
1058 enable_clusapi
1059 enable_combase
1060 enable_comcat
1061 enable_comctl32
1062 enable_comdlg32
1063 enable_compstui
1064 enable_comsvcs
1065 enable_concrt140
1066 enable_connect
1067 enable_credui
1068 enable_crtdll
1069 enable_crypt32
1070 enable_cryptdlg
1071 enable_cryptdll
1072 enable_cryptext
1073 enable_cryptnet
1074 enable_cryptui
1075 enable_ctapi32
1076 enable_ctl3d32
1077 enable_d2d1
1078 enable_d3d10
1079 enable_d3d10_1
1080 enable_d3d10core
1081 enable_d3d11
1082 enable_d3d8
1083 enable_d3d9
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1097 enable_d3dim
1098 enable_d3drm
1099 enable_d3dx10_33
1100 enable_d3dx10_34
1101 enable_d3dx10_35
1102 enable_d3dx10_36
1103 enable_d3dx10_37
1104 enable_d3dx10_38
1105 enable_d3dx10_39
1106 enable_d3dx10_40
1107 enable_d3dx10_41
1108 enable_d3dx10_42
1109 enable_d3dx10_43
1110 enable_d3dx11_42
1111 enable_d3dx11_43
1112 enable_d3dx9_24
1113 enable_d3dx9_25
1114 enable_d3dx9_26
1115 enable_d3dx9_27
1116 enable_d3dx9_28
1117 enable_d3dx9_29
1118 enable_d3dx9_30
1119 enable_d3dx9_31
1120 enable_d3dx9_32
1121 enable_d3dx9_33
1122 enable_d3dx9_34
1123 enable_d3dx9_35
1124 enable_d3dx9_36
1125 enable_d3dx9_37
1126 enable_d3dx9_38
1127 enable_d3dx9_39
1128 enable_d3dx9_40
1129 enable_d3dx9_41
1130 enable_d3dx9_42
1131 enable_d3dx9_43
1132 enable_d3dxof
1133 enable_davclnt
1134 enable_dbgeng
1135 enable_dbghelp
1136 enable_dciman32
1137 enable_ddraw
1138 enable_ddrawex
1139 enable_devenum
1140 enable_dhcpcsvc
1141 enable_difxapi
1142 enable_dinput
1143 enable_dinput8
1144 enable_dispex
1145 enable_dmband
1146 enable_dmcompos
1147 enable_dmime
1148 enable_dmloader
1149 enable_dmscript
1150 enable_dmstyle
1151 enable_dmsynth
1152 enable_dmusic
1153 enable_dmusic32
1154 enable_dnsapi
1155 enable_dplay
1156 enable_dplayx
1157 enable_dpnaddr
1158 enable_dpnet
1159 enable_dpnhpast
1160 enable_dpnlobby
1161 enable_dpvoice
1162 enable_dpwsockx
1163 enable_drmclien
1164 enable_dsound
1165 enable_dssenh
1166 enable_dswave
1167 enable_dwmapi
1168 enable_dwrite
1169 enable_dxdiagn
1170 enable_dxgi
1171 enable_dxva2
1172 enable_esent
1173 enable_evr
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1192 enable_faultrep
1193 enable_fltlib
1194 enable_fltmgr_sys
1195 enable_fntcache
1196 enable_fontsub
1197 enable_fusion
1198 enable_fwpuclnt
1199 enable_gameux
1200 enable_gdi32
1201 enable_gdiplus
1202 enable_glu32
1203 enable_gphoto2_ds
1204 enable_gpkcsp
1205 enable_hal
1206 enable_hhctrl_ocx
1207 enable_hid
1208 enable_hidclass_sys
1209 enable_hlink
1210 enable_hnetcfg
1211 enable_httpapi
1212 enable_iccvid
1213 enable_icmp
1214 enable_ieframe
1215 enable_imaadp32_acm
1216 enable_imagehlp
1217 enable_imm32
1218 enable_inetcomm
1219 enable_inetcpl_cpl
1220 enable_inetmib1
1221 enable_infosoft
1222 enable_initpki
1223 enable_inkobj
1224 enable_inseng
1225 enable_iphlpapi
1226 enable_iprop
1227 enable_irprops_cpl
1228 enable_itircl
1229 enable_itss
1230 enable_joy_cpl
1231 enable_jscript
1232 enable_jsproxy
1233 enable_kernel32
1234 enable_kernelbase
1235 enable_ksuser
1236 enable_ktmw32
1237 enable_loadperf
1238 enable_localspl
1239 enable_localui
1240 enable_lz32
1241 enable_mapi32
1242 enable_mapistub
1243 enable_mciavi32
1244 enable_mcicda
1245 enable_mciqtz32
1246 enable_mciseq
1247 enable_mciwave
1248 enable_mf
1249 enable_mf3216
1250 enable_mfplat
1251 enable_mfreadwrite
1252 enable_mgmtapi
1253 enable_midimap
1254 enable_mlang
1255 enable_mmcndmgr
1256 enable_mmdevapi
1257 enable_mountmgr_sys
1258 enable_mpr
1259 enable_mprapi
1260 enable_msacm32_drv
1261 enable_msacm32
1262 enable_msadp32_acm
1263 enable_msasn1
1264 enable_mscat32
1265 enable_mscms
1266 enable_mscoree
1267 enable_msctf
1268 enable_msctfp
1269 enable_msdaps
1270 enable_msdelta
1271 enable_msdmo
1272 enable_msdrm
1273 enable_msftedit
1274 enable_msg711_acm
1275 enable_msgsm32_acm
1276 enable_mshtml_tlb
1277 enable_mshtml
1278 enable_msi
1279 enable_msident
1280 enable_msimg32
1281 enable_msimsg
1282 enable_msimtf
1283 enable_msisip
1284 enable_msisys_ocx
1285 enable_msls31
1286 enable_msnet32
1287 enable_mspatcha
1288 enable_msports
1289 enable_msrle32
1290 enable_msscript_ocx
1291 enable_mssign32
1292 enable_mssip32
1293 enable_mstask
1294 enable_msvcirt
1295 enable_msvcm80
1296 enable_msvcm90
1297 enable_msvcp100
1298 enable_msvcp110
1299 enable_msvcp120
1300 enable_msvcp120_app
1301 enable_msvcp140
1302 enable_msvcp60
1303 enable_msvcp70
1304 enable_msvcp71
1305 enable_msvcp80
1306 enable_msvcp90
1307 enable_msvcr100
1308 enable_msvcr110
1309 enable_msvcr120
1310 enable_msvcr120_app
1311 enable_msvcr70
1312 enable_msvcr71
1313 enable_msvcr80
1314 enable_msvcr90
1315 enable_msvcrt
1316 enable_msvcrt20
1317 enable_msvcrt40
1318 enable_msvcrtd
1319 enable_msvfw32
1320 enable_msvidc32
1321 enable_mswsock
1322 enable_msxml
1323 enable_msxml2
1324 enable_msxml3
1325 enable_msxml4
1326 enable_msxml6
1327 enable_ncrypt
1328 enable_nddeapi
1329 enable_ndis_sys
1330 enable_netapi32
1331 enable_netcfgx
1332 enable_netprofm
1333 enable_newdev
1334 enable_normaliz
1335 enable_npmshtml
1336 enable_npptools
1337 enable_ntdll
1338 enable_ntdsapi
1339 enable_ntoskrnl_exe
1340 enable_ntprint
1341 enable_objsel
1342 enable_odbc32
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_openal32
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_qcap
1368 enable_qedit
1369 enable_qmgr
1370 enable_qmgrprxy
1371 enable_quartz
1372 enable_query
1373 enable_rasapi32
1374 enable_rasdlg
1375 enable_regapi
1376 enable_resutils
1377 enable_riched20
1378 enable_riched32
1379 enable_rpcrt4
1380 enable_rsabase
1381 enable_rsaenh
1382 enable_rstrtmgr
1383 enable_rtutils
1384 enable_samlib
1385 enable_sane_ds
1386 enable_scarddlg
1387 enable_sccbase
1388 enable_schannel
1389 enable_schedsvc
1390 enable_scrobj
1391 enable_scrrun
1392 enable_scsiport_sys
1393 enable_secur32
1394 enable_security
1395 enable_sensapi
1396 enable_serialui
1397 enable_setupapi
1398 enable_sfc
1399 enable_sfc_os
1400 enable_shdoclc
1401 enable_shdocvw
1402 enable_shell32
1403 enable_shfolder
1404 enable_shlwapi
1405 enable_slbcsp
1406 enable_slc
1407 enable_snmpapi
1408 enable_softpub
1409 enable_spoolss
1410 enable_sspicli
1411 enable_stdole2_tlb
1412 enable_stdole32_tlb
1413 enable_sti
1414 enable_svrapi
1415 enable_sxs
1416 enable_t2embed
1417 enable_tapi32
1418 enable_taskschd
1419 enable_tdi_sys
1420 enable_traffic
1421 enable_twain_32
1422 enable_ucrtbase
1423 enable_unicows
1424 enable_updspapi
1425 enable_url
1426 enable_urlmon
1427 enable_usbd_sys
1428 enable_user32
1429 enable_userenv
1430 enable_usp10
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vdmdbg
1441 enable_version
1442 enable_vssapi
1443 enable_wbemdisp
1444 enable_wbemprox
1445 enable_webservices
1446 enable_wer
1447 enable_wevtapi
1448 enable_wiaservc
1449 enable_wimgapi
1450 enable_windowscodecs
1451 enable_windowscodecsext
1452 enable_winealsa_drv
1453 enable_winebus_sys
1454 enable_winecoreaudio_drv
1455 enable_wined3d
1456 enable_winegstreamer
1457 enable_winehid_sys
1458 enable_winejoystick_drv
1459 enable_winemac_drv
1460 enable_winemapi
1461 enable_winemp3_acm
1462 enable_wineoss_drv
1463 enable_wineps_drv
1464 enable_winepulse_drv
1465 enable_wineqtdecoder
1466 enable_winex11_drv
1467 enable_wing32
1468 enable_winhttp
1469 enable_wininet
1470 enable_winmm
1471 enable_winnls32
1472 enable_winscard
1473 enable_winspool_drv
1474 enable_winsta
1475 enable_wintab32
1476 enable_wintrust
1477 enable_winusb
1478 enable_wlanapi
1479 enable_wldap32
1480 enable_wmasf
1481 enable_wmi
1482 enable_wmiutils
1483 enable_wmp
1484 enable_wmvcore
1485 enable_wnaspi32
1486 enable_wpc
1487 enable_wpcap
1488 enable_ws2_32
1489 enable_wshom_ocx
1490 enable_wsnmp32
1491 enable_wsock32
1492 enable_wtsapi32
1493 enable_wuapi
1494 enable_wuaueng
1495 enable_x3daudio1_0
1496 enable_x3daudio1_1
1497 enable_x3daudio1_2
1498 enable_x3daudio1_3
1499 enable_x3daudio1_4
1500 enable_x3daudio1_5
1501 enable_x3daudio1_6
1502 enable_x3daudio1_7
1503 enable_xapofx1_1
1504 enable_xapofx1_2
1505 enable_xapofx1_3
1506 enable_xapofx1_4
1507 enable_xapofx1_5
1508 enable_xaudio2_0
1509 enable_xaudio2_1
1510 enable_xaudio2_2
1511 enable_xaudio2_3
1512 enable_xaudio2_4
1513 enable_xaudio2_5
1514 enable_xaudio2_6
1515 enable_xaudio2_7
1516 enable_xaudio2_8
1517 enable_xaudio2_9
1518 enable_xinput1_1
1519 enable_xinput1_2
1520 enable_xinput1_3
1521 enable_xinput1_4
1522 enable_xinput9_1_0
1523 enable_xmllite
1524 enable_xolehlp
1525 enable_xpsprint
1526 enable_xpssvcs
1527 enable_fonts
1528 enable_include
1529 enable_libs_port
1530 enable_libs_wine
1531 enable_libs_wpp
1532 enable_loader
1533 enable_po
1534 enable_arp
1535 enable_aspnet_regiis
1536 enable_attrib
1537 enable_cabarc
1538 enable_cacls
1539 enable_clock
1540 enable_cmd
1541 enable_conhost
1542 enable_control
1543 enable_cscript
1544 enable_dpnsvr
1545 enable_dxdiag
1546 enable_eject
1547 enable_expand
1548 enable_explorer
1549 enable_extrac32
1550 enable_findstr
1551 enable_fsutil
1552 enable_hh
1553 enable_hostname
1554 enable_icacls
1555 enable_icinfo
1556 enable_iexplore
1557 enable_ipconfig
1558 enable_lodctr
1559 enable_mofcomp
1560 enable_mshta
1561 enable_msiexec
1562 enable_msinfo32
1563 enable_net
1564 enable_netsh
1565 enable_netstat
1566 enable_ngen
1567 enable_notepad
1568 enable_oleview
1569 enable_ping
1570 enable_plugplay
1571 enable_presentationfontcache
1572 enable_progman
1573 enable_reg
1574 enable_regasm
1575 enable_regedit
1576 enable_regsvcs
1577 enable_regsvr32
1578 enable_rpcss
1579 enable_rundll32
1580 enable_sc
1581 enable_schtasks
1582 enable_sdbinst
1583 enable_secedit
1584 enable_servicemodelreg
1585 enable_services
1586 enable_shutdown
1587 enable_spoolsv
1588 enable_start
1589 enable_subst
1590 enable_svchost
1591 enable_systeminfo
1592 enable_taskkill
1593 enable_tasklist
1594 enable_taskmgr
1595 enable_termsv
1596 enable_uninstaller
1597 enable_unlodctr
1598 enable_view
1599 enable_wevtutil
1600 enable_wineboot
1601 enable_winebrowser
1602 enable_winecfg
1603 enable_wineconsole
1604 enable_winedbg
1605 enable_winedevice
1606 enable_winefile
1607 enable_winemenubuilder
1608 enable_winemine
1609 enable_winemsibuilder
1610 enable_winepath
1611 enable_winetest
1612 enable_winhlp32
1613 enable_winver
1614 enable_wmic
1615 enable_wmplayer
1616 enable_wordpad
1617 enable_write
1618 enable_wscript
1619 enable_wusa
1620 enable_xcopy
1621 enable_server
1622 enable_tools
1624 ac_precious_vars='build_alias
1625 host_alias
1626 target_alias
1628 CFLAGS
1629 LDFLAGS
1630 LIBS
1631 CPPFLAGS
1633 CXXFLAGS
1636 XMKMF
1637 XML2_CFLAGS
1638 XML2_LIBS
1639 XSLT_CFLAGS
1640 XSLT_LIBS
1641 DBUS_CFLAGS
1642 DBUS_LIBS
1643 HAL_CFLAGS
1644 HAL_LIBS
1645 GNUTLS_CFLAGS
1646 GNUTLS_LIBS
1647 SANE_CFLAGS
1648 SANE_LIBS
1649 GPHOTO2_CFLAGS
1650 GPHOTO2_LIBS
1651 GPHOTO2_PORT_CFLAGS
1652 GPHOTO2_PORT_LIBS
1653 LCMS2_CFLAGS
1654 LCMS2_LIBS
1655 FREETYPE_CFLAGS
1656 FREETYPE_LIBS
1657 PULSE_CFLAGS
1658 PULSE_LIBS
1659 GSTREAMER_CFLAGS
1660 GSTREAMER_LIBS
1661 UDEV_CFLAGS
1662 UDEV_LIBS
1663 CAPI20_CFLAGS
1664 CAPI20_LIBS
1665 FONTCONFIG_CFLAGS
1666 FONTCONFIG_LIBS
1667 JPEG_CFLAGS
1668 JPEG_LIBS
1669 PNG_CFLAGS
1670 PNG_LIBS
1671 TIFF_CFLAGS
1672 TIFF_LIBS
1673 MPG123_CFLAGS
1674 MPG123_LIBS
1675 NETAPI_CFLAGS
1676 NETAPI_LIBS'
1679 # Initialize some variables set by options.
1680 ac_init_help=
1681 ac_init_version=false
1682 ac_unrecognized_opts=
1683 ac_unrecognized_sep=
1684 # The variables have the same names as the options, with
1685 # dashes changed to underlines.
1686 cache_file=/dev/null
1687 exec_prefix=NONE
1688 no_create=
1689 no_recursion=
1690 prefix=NONE
1691 program_prefix=NONE
1692 program_suffix=NONE
1693 program_transform_name=s,x,x,
1694 silent=
1695 site=
1696 srcdir=
1697 verbose=
1698 x_includes=NONE
1699 x_libraries=NONE
1701 # Installation directory options.
1702 # These are left unexpanded so users can "make install exec_prefix=/foo"
1703 # and all the variables that are supposed to be based on exec_prefix
1704 # by default will actually change.
1705 # Use braces instead of parens because sh, perl, etc. also accept them.
1706 # (The list follows the same order as the GNU Coding Standards.)
1707 bindir='${exec_prefix}/bin'
1708 sbindir='${exec_prefix}/sbin'
1709 libexecdir='${exec_prefix}/libexec'
1710 datarootdir='${prefix}/share'
1711 datadir='${datarootdir}'
1712 sysconfdir='${prefix}/etc'
1713 sharedstatedir='${prefix}/com'
1714 localstatedir='${prefix}/var'
1715 runstatedir='${localstatedir}/run'
1716 includedir='${prefix}/include'
1717 oldincludedir='/usr/include'
1718 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1719 infodir='${datarootdir}/info'
1720 htmldir='${docdir}'
1721 dvidir='${docdir}'
1722 pdfdir='${docdir}'
1723 psdir='${docdir}'
1724 libdir='${exec_prefix}/lib'
1725 localedir='${datarootdir}/locale'
1726 mandir='${datarootdir}/man'
1728 ac_prev=
1729 ac_dashdash=
1730 for ac_option
1732 # If the previous option needs an argument, assign it.
1733 if test -n "$ac_prev"; then
1734 eval $ac_prev=\$ac_option
1735 ac_prev=
1736 continue
1739 case $ac_option in
1740 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1741 *=) ac_optarg= ;;
1742 *) ac_optarg=yes ;;
1743 esac
1745 # Accept the important Cygnus configure options, so we can diagnose typos.
1747 case $ac_dashdash$ac_option in
1749 ac_dashdash=yes ;;
1751 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1752 ac_prev=bindir ;;
1753 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1754 bindir=$ac_optarg ;;
1756 -build | --build | --buil | --bui | --bu)
1757 ac_prev=build_alias ;;
1758 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1759 build_alias=$ac_optarg ;;
1761 -cache-file | --cache-file | --cache-fil | --cache-fi \
1762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1763 ac_prev=cache_file ;;
1764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1766 cache_file=$ac_optarg ;;
1768 --config-cache | -C)
1769 cache_file=config.cache ;;
1771 -datadir | --datadir | --datadi | --datad)
1772 ac_prev=datadir ;;
1773 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1774 datadir=$ac_optarg ;;
1776 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1777 | --dataroo | --dataro | --datar)
1778 ac_prev=datarootdir ;;
1779 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1780 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1781 datarootdir=$ac_optarg ;;
1783 -disable-* | --disable-*)
1784 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787 as_fn_error $? "invalid feature name: $ac_useropt"
1788 ac_useropt_orig=$ac_useropt
1789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1792 "enable_$ac_useropt"
1793 "*) ;;
1794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1795 ac_unrecognized_sep=', ';;
1796 esac
1797 eval enable_$ac_useropt=no ;;
1799 -docdir | --docdir | --docdi | --doc | --do)
1800 ac_prev=docdir ;;
1801 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1802 docdir=$ac_optarg ;;
1804 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1805 ac_prev=dvidir ;;
1806 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1807 dvidir=$ac_optarg ;;
1809 -enable-* | --enable-*)
1810 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1811 # Reject names that are not valid shell variable names.
1812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1813 as_fn_error $? "invalid feature name: $ac_useropt"
1814 ac_useropt_orig=$ac_useropt
1815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1816 case $ac_user_opts in
1818 "enable_$ac_useropt"
1819 "*) ;;
1820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1821 ac_unrecognized_sep=', ';;
1822 esac
1823 eval enable_$ac_useropt=\$ac_optarg ;;
1825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1827 | --exec | --exe | --ex)
1828 ac_prev=exec_prefix ;;
1829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1831 | --exec=* | --exe=* | --ex=*)
1832 exec_prefix=$ac_optarg ;;
1834 -gas | --gas | --ga | --g)
1835 # Obsolete; use --with-gas.
1836 with_gas=yes ;;
1838 -help | --help | --hel | --he | -h)
1839 ac_init_help=long ;;
1840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1841 ac_init_help=recursive ;;
1842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1843 ac_init_help=short ;;
1845 -host | --host | --hos | --ho)
1846 ac_prev=host_alias ;;
1847 -host=* | --host=* | --hos=* | --ho=*)
1848 host_alias=$ac_optarg ;;
1850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1851 ac_prev=htmldir ;;
1852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1853 | --ht=*)
1854 htmldir=$ac_optarg ;;
1856 -includedir | --includedir | --includedi | --included | --include \
1857 | --includ | --inclu | --incl | --inc)
1858 ac_prev=includedir ;;
1859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1860 | --includ=* | --inclu=* | --incl=* | --inc=*)
1861 includedir=$ac_optarg ;;
1863 -infodir | --infodir | --infodi | --infod | --info | --inf)
1864 ac_prev=infodir ;;
1865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1866 infodir=$ac_optarg ;;
1868 -libdir | --libdir | --libdi | --libd)
1869 ac_prev=libdir ;;
1870 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1871 libdir=$ac_optarg ;;
1873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1874 | --libexe | --libex | --libe)
1875 ac_prev=libexecdir ;;
1876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1877 | --libexe=* | --libex=* | --libe=*)
1878 libexecdir=$ac_optarg ;;
1880 -localedir | --localedir | --localedi | --localed | --locale)
1881 ac_prev=localedir ;;
1882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1883 localedir=$ac_optarg ;;
1885 -localstatedir | --localstatedir | --localstatedi | --localstated \
1886 | --localstate | --localstat | --localsta | --localst | --locals)
1887 ac_prev=localstatedir ;;
1888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1890 localstatedir=$ac_optarg ;;
1892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1893 ac_prev=mandir ;;
1894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1895 mandir=$ac_optarg ;;
1897 -nfp | --nfp | --nf)
1898 # Obsolete; use --without-fp.
1899 with_fp=no ;;
1901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1902 | --no-cr | --no-c | -n)
1903 no_create=yes ;;
1905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1907 no_recursion=yes ;;
1909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1911 | --oldin | --oldi | --old | --ol | --o)
1912 ac_prev=oldincludedir ;;
1913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1916 oldincludedir=$ac_optarg ;;
1918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1919 ac_prev=prefix ;;
1920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1921 prefix=$ac_optarg ;;
1923 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1924 | --program-pre | --program-pr | --program-p)
1925 ac_prev=program_prefix ;;
1926 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1928 program_prefix=$ac_optarg ;;
1930 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1931 | --program-suf | --program-su | --program-s)
1932 ac_prev=program_suffix ;;
1933 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1935 program_suffix=$ac_optarg ;;
1937 -program-transform-name | --program-transform-name \
1938 | --program-transform-nam | --program-transform-na \
1939 | --program-transform-n | --program-transform- \
1940 | --program-transform | --program-transfor \
1941 | --program-transfo | --program-transf \
1942 | --program-trans | --program-tran \
1943 | --progr-tra | --program-tr | --program-t)
1944 ac_prev=program_transform_name ;;
1945 -program-transform-name=* | --program-transform-name=* \
1946 | --program-transform-nam=* | --program-transform-na=* \
1947 | --program-transform-n=* | --program-transform-=* \
1948 | --program-transform=* | --program-transfor=* \
1949 | --program-transfo=* | --program-transf=* \
1950 | --program-trans=* | --program-tran=* \
1951 | --progr-tra=* | --program-tr=* | --program-t=*)
1952 program_transform_name=$ac_optarg ;;
1954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1955 ac_prev=pdfdir ;;
1956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1957 pdfdir=$ac_optarg ;;
1959 -psdir | --psdir | --psdi | --psd | --ps)
1960 ac_prev=psdir ;;
1961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1962 psdir=$ac_optarg ;;
1964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1965 | -silent | --silent | --silen | --sile | --sil)
1966 silent=yes ;;
1968 -runstatedir | --runstatedir | --runstatedi | --runstated \
1969 | --runstate | --runstat | --runsta | --runst | --runs \
1970 | --run | --ru | --r)
1971 ac_prev=runstatedir ;;
1972 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1973 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1974 | --run=* | --ru=* | --r=*)
1975 runstatedir=$ac_optarg ;;
1977 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1978 ac_prev=sbindir ;;
1979 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1980 | --sbi=* | --sb=*)
1981 sbindir=$ac_optarg ;;
1983 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1984 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1985 | --sharedst | --shareds | --shared | --share | --shar \
1986 | --sha | --sh)
1987 ac_prev=sharedstatedir ;;
1988 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1989 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1990 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1991 | --sha=* | --sh=*)
1992 sharedstatedir=$ac_optarg ;;
1994 -site | --site | --sit)
1995 ac_prev=site ;;
1996 -site=* | --site=* | --sit=*)
1997 site=$ac_optarg ;;
1999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2000 ac_prev=srcdir ;;
2001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2002 srcdir=$ac_optarg ;;
2004 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2005 | --syscon | --sysco | --sysc | --sys | --sy)
2006 ac_prev=sysconfdir ;;
2007 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2008 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2009 sysconfdir=$ac_optarg ;;
2011 -target | --target | --targe | --targ | --tar | --ta | --t)
2012 ac_prev=target_alias ;;
2013 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2014 target_alias=$ac_optarg ;;
2016 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2017 verbose=yes ;;
2019 -version | --version | --versio | --versi | --vers | -V)
2020 ac_init_version=: ;;
2022 -with-* | --with-*)
2023 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2024 # Reject names that are not valid shell variable names.
2025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2026 as_fn_error $? "invalid package name: $ac_useropt"
2027 ac_useropt_orig=$ac_useropt
2028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2029 case $ac_user_opts in
2031 "with_$ac_useropt"
2032 "*) ;;
2033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2034 ac_unrecognized_sep=', ';;
2035 esac
2036 eval with_$ac_useropt=\$ac_optarg ;;
2038 -without-* | --without-*)
2039 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2040 # Reject names that are not valid shell variable names.
2041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2042 as_fn_error $? "invalid package name: $ac_useropt"
2043 ac_useropt_orig=$ac_useropt
2044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2045 case $ac_user_opts in
2047 "with_$ac_useropt"
2048 "*) ;;
2049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2050 ac_unrecognized_sep=', ';;
2051 esac
2052 eval with_$ac_useropt=no ;;
2054 --x)
2055 # Obsolete; use --with-x.
2056 with_x=yes ;;
2058 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2059 | --x-incl | --x-inc | --x-in | --x-i)
2060 ac_prev=x_includes ;;
2061 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2062 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2063 x_includes=$ac_optarg ;;
2065 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2066 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2067 ac_prev=x_libraries ;;
2068 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2069 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2070 x_libraries=$ac_optarg ;;
2072 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2073 Try \`$0 --help' for more information"
2076 *=*)
2077 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2078 # Reject names that are not valid shell variable names.
2079 case $ac_envvar in #(
2080 '' | [0-9]* | *[!_$as_cr_alnum]* )
2081 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2082 esac
2083 eval $ac_envvar=\$ac_optarg
2084 export $ac_envvar ;;
2087 # FIXME: should be removed in autoconf 3.0.
2088 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2090 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2091 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2094 esac
2095 done
2097 if test -n "$ac_prev"; then
2098 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2099 as_fn_error $? "missing argument to $ac_option"
2102 if test -n "$ac_unrecognized_opts"; then
2103 case $enable_option_checking in
2104 no) ;;
2105 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2106 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2107 esac
2110 # Check all directory arguments for consistency.
2111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2112 datadir sysconfdir sharedstatedir localstatedir includedir \
2113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2114 libdir localedir mandir runstatedir
2116 eval ac_val=\$$ac_var
2117 # Remove trailing slashes.
2118 case $ac_val in
2119 */ )
2120 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2121 eval $ac_var=\$ac_val;;
2122 esac
2123 # Be sure to have absolute directory names.
2124 case $ac_val in
2125 [\\/$]* | ?:[\\/]* ) continue;;
2126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2127 esac
2128 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2129 done
2131 # There might be people who depend on the old broken behavior: `$host'
2132 # used to hold the argument of --host etc.
2133 # FIXME: To remove some day.
2134 build=$build_alias
2135 host=$host_alias
2136 target=$target_alias
2138 # FIXME: To remove some day.
2139 if test "x$host_alias" != x; then
2140 if test "x$build_alias" = x; then
2141 cross_compiling=maybe
2142 elif test "x$build_alias" != "x$host_alias"; then
2143 cross_compiling=yes
2147 ac_tool_prefix=
2148 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2150 test "$silent" = yes && exec 6>/dev/null
2153 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2154 ac_ls_di=`ls -di .` &&
2155 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2156 as_fn_error $? "working directory cannot be determined"
2157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2158 as_fn_error $? "pwd does not report name of working directory"
2161 # Find the source files, if location was not specified.
2162 if test -z "$srcdir"; then
2163 ac_srcdir_defaulted=yes
2164 # Try the directory containing this script, then the parent directory.
2165 ac_confdir=`$as_dirname -- "$as_myself" ||
2166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2167 X"$as_myself" : 'X\(//\)[^/]' \| \
2168 X"$as_myself" : 'X\(//\)$' \| \
2169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2170 $as_echo X"$as_myself" |
2171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2172 s//\1/
2175 /^X\(\/\/\)[^/].*/{
2176 s//\1/
2179 /^X\(\/\/\)$/{
2180 s//\1/
2183 /^X\(\/\).*/{
2184 s//\1/
2187 s/.*/./; q'`
2188 srcdir=$ac_confdir
2189 if test ! -r "$srcdir/$ac_unique_file"; then
2190 srcdir=..
2192 else
2193 ac_srcdir_defaulted=no
2195 if test ! -r "$srcdir/$ac_unique_file"; then
2196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2197 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2199 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2200 ac_abs_confdir=`(
2201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2202 pwd)`
2203 # When building in place, set srcdir=.
2204 if test "$ac_abs_confdir" = "$ac_pwd"; then
2205 srcdir=.
2207 # Remove unnecessary trailing slashes from srcdir.
2208 # Double slashes in file names in object file debugging info
2209 # mess up M-x gdb in Emacs.
2210 case $srcdir in
2211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2212 esac
2213 for ac_var in $ac_precious_vars; do
2214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2215 eval ac_env_${ac_var}_value=\$${ac_var}
2216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2218 done
2221 # Report the --help message.
2223 if test "$ac_init_help" = "long"; then
2224 # Omit some internal or obsolete options to make the list less imposing.
2225 # This message is too long to be a string in the A/UX 3.1 sh.
2226 cat <<_ACEOF
2227 \`configure' configures Wine 2.0 to adapt to many kinds of systems.
2229 Usage: $0 [OPTION]... [VAR=VALUE]...
2231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2232 VAR=VALUE. See below for descriptions of some of the useful variables.
2234 Defaults for the options are specified in brackets.
2236 Configuration:
2237 -h, --help display this help and exit
2238 --help=short display options specific to this package
2239 --help=recursive display the short help of all the included packages
2240 -V, --version display version information and exit
2241 -q, --quiet, --silent do not print \`checking ...' messages
2242 --cache-file=FILE cache test results in FILE [disabled]
2243 -C, --config-cache alias for \`--cache-file=config.cache'
2244 -n, --no-create do not create output files
2245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2247 Installation directories:
2248 --prefix=PREFIX install architecture-independent files in PREFIX
2249 [$ac_default_prefix]
2250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2251 [PREFIX]
2253 By default, \`make install' will install all the files in
2254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2256 for instance \`--prefix=\$HOME'.
2258 For better control, use the options below.
2260 Fine tuning of the installation directories:
2261 --bindir=DIR user executables [EPREFIX/bin]
2262 --sbindir=DIR system admin executables [EPREFIX/sbin]
2263 --libexecdir=DIR program executables [EPREFIX/libexec]
2264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2267 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2268 --libdir=DIR object code libraries [EPREFIX/lib]
2269 --includedir=DIR C header files [PREFIX/include]
2270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2273 --infodir=DIR info documentation [DATAROOTDIR/info]
2274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2275 --mandir=DIR man documentation [DATAROOTDIR/man]
2276 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2277 --htmldir=DIR html documentation [DOCDIR]
2278 --dvidir=DIR dvi documentation [DOCDIR]
2279 --pdfdir=DIR pdf documentation [DOCDIR]
2280 --psdir=DIR ps documentation [DOCDIR]
2281 _ACEOF
2283 cat <<\_ACEOF
2285 X features:
2286 --x-includes=DIR X include files are in DIR
2287 --x-libraries=DIR X library files are in DIR
2289 System types:
2290 --build=BUILD configure for building on BUILD [guessed]
2291 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2292 _ACEOF
2295 if test -n "$ac_init_help"; then
2296 case $ac_init_help in
2297 short | recursive ) echo "Configuration of Wine 2.0:";;
2298 esac
2299 cat <<\_ACEOF
2301 Optional Features:
2302 --disable-option-checking ignore unrecognized --enable/--with options
2303 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2304 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2305 --disable-win16 do not include Win16 support
2306 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2307 binaries)
2308 --disable-tests do not build the regression tests
2309 --enable-maintainer-mode
2310 enable maintainer-specific build rules
2311 --disable-largefile omit support for large files
2313 Optional Packages:
2314 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2315 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2316 --without-alsa do not use the Alsa sound support
2317 --without-capi do not use CAPI (ISDN support)
2318 --without-cms do not use CMS (color management support)
2319 --without-coreaudio do not use the CoreAudio sound support
2320 --without-cups do not use CUPS
2321 --without-curses do not use (n)curses
2322 --without-dbus do not use DBus (dynamic device support)
2323 --without-fontconfig do not use fontconfig
2324 --without-freetype do not use the FreeType library
2325 --without-gettext do not use gettext
2326 --with-gettextpo use the GetTextPO library to rebuild po files
2327 --without-gphoto do not use gphoto (Digital Camera support)
2328 --without-glu do not use the GLU library
2329 --without-gnutls do not use GnuTLS (schannel support)
2330 --without-gsm do not use libgsm (GSM 06.10 codec support)
2331 --without-gstreamer do not use GStreamer (codecs support)
2332 --without-hal do not use HAL (dynamic device support)
2333 --without-jpeg do not use JPEG
2334 --without-ldap do not use LDAP
2335 --without-mpg123 do not use the mpg123 library
2336 --without-netapi do not use the Samba NetAPI library
2337 --without-openal do not use OpenAL
2338 --without-opencl do not use OpenCL
2339 --without-opengl do not use OpenGL
2340 --without-osmesa do not use the OSMesa library
2341 --without-oss do not use the OSS sound support
2342 --without-pcap do not use the Packet Capture library
2343 --without-png do not use PNG
2344 --without-pthread do not use the pthread library
2345 --without-pulse do not use PulseAudio sound support
2346 --without-sane do not use SANE (scanner support)
2347 --without-tiff do not use TIFF
2348 --without-udev do not use udev (plug and play support)
2349 --without-v4l do not use v4l1 (v4l support)
2350 --without-xcomposite do not use the Xcomposite extension
2351 --without-xcursor do not use the Xcursor extension
2352 --without-xinerama do not use Xinerama (multi-monitor support)
2353 --without-xinput do not use the Xinput extension
2354 --without-xinput2 do not use the Xinput 2 extension
2355 --without-xml do not use XML
2356 --without-xrandr do not use Xrandr (resolution changes)
2357 --without-xrender do not use the Xrender extension
2358 --without-xshape do not use the Xshape extension
2359 --without-xshm do not use XShm (shared memory extension)
2360 --without-xslt do not use XSLT
2361 --without-xxf86vm do not use XFree video mode extension
2362 --without-zlib do not use Zlib (data compression)
2363 --with-wine-tools=DIR use Wine tools from directory DIR
2364 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2365 --with-x use the X Window System
2367 Some influential environment variables:
2368 CC C compiler command
2369 CFLAGS C compiler flags
2370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2371 nonstandard directory <lib dir>
2372 LIBS libraries to pass to the linker, e.g. -l<library>
2373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2374 you have headers in a nonstandard directory <include dir>
2375 CXX C++ compiler command
2376 CXXFLAGS C++ compiler flags
2377 CPP C preprocessor
2378 XMKMF Path to xmkmf, Makefile generator for X Window System
2379 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2380 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2381 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2382 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2383 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2384 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2385 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2386 HAL_LIBS Linker flags for hal, overriding pkg-config
2387 GNUTLS_CFLAGS
2388 C compiler flags for gnutls, overriding pkg-config
2389 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2390 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2391 SANE_LIBS Linker flags for libsane, overriding pkg-config
2392 GPHOTO2_CFLAGS
2393 C compiler flags for libgphoto2, overriding pkg-config
2394 GPHOTO2_LIBS
2395 Linker flags for libgphoto2, overriding pkg-config
2396 GPHOTO2_PORT_CFLAGS
2397 C compiler flags for libgphoto2_port, overriding pkg-config
2398 GPHOTO2_PORT_LIBS
2399 Linker flags for libgphoto2_port, overriding pkg-config
2400 LCMS2_CFLAGS
2401 C compiler flags for lcms2, overriding pkg-config
2402 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2403 FREETYPE_CFLAGS
2404 C compiler flags for freetype2, overriding pkg-config
2405 FREETYPE_LIBS
2406 Linker flags for freetype2, overriding pkg-config
2407 PULSE_CFLAGS
2408 C compiler flags for libpulse, overriding pkg-config
2409 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2410 GSTREAMER_CFLAGS
2411 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2412 gstreamer-audio-1.0, overriding pkg-config
2413 GSTREAMER_LIBS
2414 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2415 gstreamer-audio-1.0, overriding pkg-config
2416 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2417 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2418 CAPI20_CFLAGS
2419 C compiler flags for capi20, overriding pkg-config
2420 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2421 FONTCONFIG_CFLAGS
2422 C compiler flags for fontconfig, overriding pkg-config
2423 FONTCONFIG_LIBS
2424 Linker flags for fontconfig, overriding pkg-config
2425 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2426 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2427 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2428 PNG_LIBS Linker flags for libpng, overriding pkg-config
2429 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2430 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2431 MPG123_CFLAGS
2432 C compiler flags for libmpg123, overriding pkg-config
2433 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2434 NETAPI_CFLAGS
2435 C compiler flags for netapi, overriding pkg-config
2436 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2438 Use these variables to override the choices made by `configure' or to help
2439 it to find libraries and programs with nonstandard names/locations.
2441 Report bugs to <wine-devel@winehq.org>.
2442 Wine home page: <http://www.winehq.org>.
2443 _ACEOF
2444 ac_status=$?
2447 if test "$ac_init_help" = "recursive"; then
2448 # If there are subdirs, report their specific --help.
2449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2450 test -d "$ac_dir" ||
2451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2452 continue
2453 ac_builddir=.
2455 case "$ac_dir" in
2456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2459 # A ".." for each directory in $ac_dir_suffix.
2460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2461 case $ac_top_builddir_sub in
2462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2464 esac ;;
2465 esac
2466 ac_abs_top_builddir=$ac_pwd
2467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2468 # for backward compatibility:
2469 ac_top_builddir=$ac_top_build_prefix
2471 case $srcdir in
2472 .) # We are building in place.
2473 ac_srcdir=.
2474 ac_top_srcdir=$ac_top_builddir_sub
2475 ac_abs_top_srcdir=$ac_pwd ;;
2476 [\\/]* | ?:[\\/]* ) # Absolute name.
2477 ac_srcdir=$srcdir$ac_dir_suffix;
2478 ac_top_srcdir=$srcdir
2479 ac_abs_top_srcdir=$srcdir ;;
2480 *) # Relative name.
2481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2482 ac_top_srcdir=$ac_top_build_prefix$srcdir
2483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2484 esac
2485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2487 cd "$ac_dir" || { ac_status=$?; continue; }
2488 # Check for guested configure.
2489 if test -f "$ac_srcdir/configure.gnu"; then
2490 echo &&
2491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2492 elif test -f "$ac_srcdir/configure"; then
2493 echo &&
2494 $SHELL "$ac_srcdir/configure" --help=recursive
2495 else
2496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2497 fi || ac_status=$?
2498 cd "$ac_pwd" || { ac_status=$?; break; }
2499 done
2502 test -n "$ac_init_help" && exit $ac_status
2503 if $ac_init_version; then
2504 cat <<\_ACEOF
2505 Wine configure 2.0
2506 generated by GNU Autoconf 2.69
2508 Copyright (C) 2012 Free Software Foundation, Inc.
2509 This configure script is free software; the Free Software Foundation
2510 gives unlimited permission to copy, distribute and modify it.
2511 _ACEOF
2512 exit
2515 ## ------------------------ ##
2516 ## Autoconf initialization. ##
2517 ## ------------------------ ##
2519 # ac_fn_c_try_compile LINENO
2520 # --------------------------
2521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2522 ac_fn_c_try_compile ()
2524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525 rm -f conftest.$ac_objext
2526 if { { ac_try="$ac_compile"
2527 case "(($ac_try" in
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2530 esac
2531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532 $as_echo "$ac_try_echo"; } >&5
2533 (eval "$ac_compile") 2>conftest.err
2534 ac_status=$?
2535 if test -s conftest.err; then
2536 grep -v '^ *+' conftest.err >conftest.er1
2537 cat conftest.er1 >&5
2538 mv -f conftest.er1 conftest.err
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; } && {
2542 test -z "$ac_c_werror_flag" ||
2543 test ! -s conftest.err
2544 } && test -s conftest.$ac_objext; then :
2545 ac_retval=0
2546 else
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2550 ac_retval=1
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_try_compile
2557 # ac_fn_cxx_try_compile LINENO
2558 # ----------------------------
2559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2560 ac_fn_cxx_try_compile ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 rm -f conftest.$ac_objext
2564 if { { ac_try="$ac_compile"
2565 case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2568 esac
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_compile") 2>conftest.err
2572 ac_status=$?
2573 if test -s conftest.err; then
2574 grep -v '^ *+' conftest.err >conftest.er1
2575 cat conftest.er1 >&5
2576 mv -f conftest.er1 conftest.err
2578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2579 test $ac_status = 0; } && {
2580 test -z "$ac_cxx_werror_flag" ||
2581 test ! -s conftest.err
2582 } && test -s conftest.$ac_objext; then :
2583 ac_retval=0
2584 else
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2588 ac_retval=1
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 as_fn_set_status $ac_retval
2593 } # ac_fn_cxx_try_compile
2595 # ac_fn_c_try_link LINENO
2596 # -----------------------
2597 # Try to link conftest.$ac_ext, and return whether this succeeded.
2598 ac_fn_c_try_link ()
2600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2601 rm -f conftest.$ac_objext conftest$ac_exeext
2602 if { { ac_try="$ac_link"
2603 case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link") 2>conftest.err
2610 ac_status=$?
2611 if test -s conftest.err; then
2612 grep -v '^ *+' conftest.err >conftest.er1
2613 cat conftest.er1 >&5
2614 mv -f conftest.er1 conftest.err
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; } && {
2618 test -z "$ac_c_werror_flag" ||
2619 test ! -s conftest.err
2620 } && test -s conftest$ac_exeext && {
2621 test "$cross_compiling" = yes ||
2622 test -x conftest$ac_exeext
2623 }; then :
2624 ac_retval=0
2625 else
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2629 ac_retval=1
2631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2633 # interfere with the next link command; also delete a directory that is
2634 # left behind by Apple's compiler. We do this before executing the actions.
2635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 as_fn_set_status $ac_retval
2639 } # ac_fn_c_try_link
2641 # ac_fn_c_try_cpp LINENO
2642 # ----------------------
2643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2644 ac_fn_c_try_cpp ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 if { { ac_try="$ac_cpp conftest.$ac_ext"
2648 case "(($ac_try" in
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2651 esac
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 $as_echo "$ac_try_echo"; } >&5
2654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2655 ac_status=$?
2656 if test -s conftest.err; then
2657 grep -v '^ *+' conftest.err >conftest.er1
2658 cat conftest.er1 >&5
2659 mv -f conftest.er1 conftest.err
2661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2662 test $ac_status = 0; } > conftest.i && {
2663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2665 }; then :
2666 ac_retval=0
2667 else
2668 $as_echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2671 ac_retval=1
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 as_fn_set_status $ac_retval
2676 } # ac_fn_c_try_cpp
2678 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2679 # -------------------------------------------------------
2680 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2681 # the include files in INCLUDES and setting the cache variable VAR
2682 # accordingly.
2683 ac_fn_c_check_header_mongrel ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 if eval \${$3+:} false; then :
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2688 $as_echo_n "checking for $2... " >&6; }
2689 if eval \${$3+:} false; then :
2690 $as_echo_n "(cached) " >&6
2692 eval ac_res=\$$3
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2694 $as_echo "$ac_res" >&6; }
2695 else
2696 # Is the header compilable?
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2698 $as_echo_n "checking $2 usability... " >&6; }
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2702 #include <$2>
2703 _ACEOF
2704 if ac_fn_c_try_compile "$LINENO"; then :
2705 ac_header_compiler=yes
2706 else
2707 ac_header_compiler=no
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2711 $as_echo "$ac_header_compiler" >&6; }
2713 # Is the header present?
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2715 $as_echo_n "checking $2 presence... " >&6; }
2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2718 #include <$2>
2719 _ACEOF
2720 if ac_fn_c_try_cpp "$LINENO"; then :
2721 ac_header_preproc=yes
2722 else
2723 ac_header_preproc=no
2725 rm -f conftest.err conftest.i conftest.$ac_ext
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2727 $as_echo "$ac_header_preproc" >&6; }
2729 # So? What about this header?
2730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2731 yes:no: )
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2733 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2737 no:yes:* )
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2739 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2741 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2743 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2745 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2748 ( $as_echo "## ------------------------------------ ##
2749 ## Report this to wine-devel@winehq.org ##
2750 ## ------------------------------------ ##"
2751 ) | sed "s/^/$as_me: WARNING: /" >&2
2753 esac
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 eval "$3=\$ac_header_compiler"
2761 eval ac_res=\$$3
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 } # ac_fn_c_check_header_mongrel
2769 # ac_fn_c_try_run LINENO
2770 # ----------------------
2771 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2772 # that executables *can* be run.
2773 ac_fn_c_try_run ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 if { { ac_try="$ac_link"
2777 case "(($ac_try" in
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2780 esac
2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782 $as_echo "$ac_try_echo"; } >&5
2783 (eval "$ac_link") 2>&5
2784 ac_status=$?
2785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2787 { { case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_try") 2>&5
2794 ac_status=$?
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; }; }; then :
2797 ac_retval=0
2798 else
2799 $as_echo "$as_me: program exited with status $ac_status" >&5
2800 $as_echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_retval=$ac_status
2805 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 as_fn_set_status $ac_retval
2809 } # ac_fn_c_try_run
2811 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2812 # -------------------------------------------------------
2813 # Tests whether HEADER exists and can be compiled using the include files in
2814 # INCLUDES, setting the cache variable VAR accordingly.
2815 ac_fn_c_check_header_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2819 $as_echo_n "checking for $2... " >&6; }
2820 if eval \${$3+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2826 #include <$2>
2827 _ACEOF
2828 if ac_fn_c_try_compile "$LINENO"; then :
2829 eval "$3=yes"
2830 else
2831 eval "$3=no"
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 eval ac_res=\$$3
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2837 $as_echo "$ac_res" >&6; }
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 } # ac_fn_c_check_header_compile
2842 # ac_fn_c_check_func LINENO FUNC VAR
2843 # ----------------------------------
2844 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2845 ac_fn_c_check_func ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 $as_echo_n "checking for $2... " >&6; }
2850 if eval \${$3+:} false; then :
2851 $as_echo_n "(cached) " >&6
2852 else
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2855 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2857 #define $2 innocuous_$2
2859 /* System header to define __stub macros and hopefully few prototypes,
2860 which can conflict with char $2 (); below.
2861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2862 <limits.h> exists even on freestanding compilers. */
2864 #ifdef __STDC__
2865 # include <limits.h>
2866 #else
2867 # include <assert.h>
2868 #endif
2870 #undef $2
2872 /* Override any GCC internal prototype to avoid an error.
2873 Use char because int might match the return type of a GCC
2874 builtin and then its argument prototype would still apply. */
2875 #ifdef __cplusplus
2876 extern "C"
2877 #endif
2878 char $2 ();
2879 /* The GNU C library defines this for functions which it implements
2880 to always fail with ENOSYS. Some functions are actually named
2881 something starting with __ and the normal name is an alias. */
2882 #if defined __stub_$2 || defined __stub___$2
2883 choke me
2884 #endif
2887 main ()
2889 return $2 ();
2891 return 0;
2893 _ACEOF
2894 if ac_fn_c_try_link "$LINENO"; then :
2895 eval "$3=yes"
2896 else
2897 eval "$3=no"
2899 rm -f core conftest.err conftest.$ac_objext \
2900 conftest$ac_exeext conftest.$ac_ext
2902 eval ac_res=\$$3
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2904 $as_echo "$ac_res" >&6; }
2905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2907 } # ac_fn_c_check_func
2909 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2910 # ----------------------------------------------------
2911 # Tries to find if the field MEMBER exists in type AGGR, after including
2912 # INCLUDES, setting cache variable VAR accordingly.
2913 ac_fn_c_check_member ()
2915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2917 $as_echo_n "checking for $2.$3... " >&6; }
2918 if eval \${$4+:} false; then :
2919 $as_echo_n "(cached) " >&6
2920 else
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2925 main ()
2927 static $2 ac_aggr;
2928 if (ac_aggr.$3)
2929 return 0;
2931 return 0;
2933 _ACEOF
2934 if ac_fn_c_try_compile "$LINENO"; then :
2935 eval "$4=yes"
2936 else
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 main ()
2943 static $2 ac_aggr;
2944 if (sizeof ac_aggr.$3)
2945 return 0;
2947 return 0;
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 eval "$4=yes"
2952 else
2953 eval "$4=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2959 eval ac_res=\$$4
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 $as_echo "$ac_res" >&6; }
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 } # ac_fn_c_check_member
2966 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2967 # -------------------------------------------
2968 # Tests whether TYPE exists after having included INCLUDES, setting cache
2969 # variable VAR accordingly.
2970 ac_fn_c_check_type ()
2972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2974 $as_echo_n "checking for $2... " >&6; }
2975 if eval \${$3+:} false; then :
2976 $as_echo_n "(cached) " >&6
2977 else
2978 eval "$3=no"
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2983 main ()
2985 if (sizeof ($2))
2986 return 0;
2988 return 0;
2990 _ACEOF
2991 if ac_fn_c_try_compile "$LINENO"; then :
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 main ()
2998 if (sizeof (($2)))
2999 return 0;
3001 return 0;
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3006 else
3007 eval "$3=yes"
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 eval ac_res=\$$3
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3015 $as_echo "$ac_res" >&6; }
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 } # ac_fn_c_check_type
3019 cat >config.log <<_ACEOF
3020 This file contains any messages produced by compilers while
3021 running configure, to aid debugging if configure makes a mistake.
3023 It was created by Wine $as_me 2.0, which was
3024 generated by GNU Autoconf 2.69. Invocation command line was
3026 $ $0 $@
3028 _ACEOF
3029 exec 5>>config.log
3031 cat <<_ASUNAME
3032 ## --------- ##
3033 ## Platform. ##
3034 ## --------- ##
3036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3048 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3053 _ASUNAME
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3058 IFS=$as_save_IFS
3059 test -z "$as_dir" && as_dir=.
3060 $as_echo "PATH: $as_dir"
3061 done
3062 IFS=$as_save_IFS
3064 } >&5
3066 cat >&5 <<_ACEOF
3069 ## ----------- ##
3070 ## Core tests. ##
3071 ## ----------- ##
3073 _ACEOF
3076 # Keep a trace of the command line.
3077 # Strip out --no-create and --no-recursion so they do not pile up.
3078 # Strip out --silent because we don't want to record it for future runs.
3079 # Also quote any args containing shell meta-characters.
3080 # Make two passes to allow for proper duplicate-argument suppression.
3081 ac_configure_args=
3082 ac_configure_args0=
3083 ac_configure_args1=
3084 ac_must_keep_next=false
3085 for ac_pass in 1 2
3087 for ac_arg
3089 case $ac_arg in
3090 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3092 | -silent | --silent | --silen | --sile | --sil)
3093 continue ;;
3094 *\'*)
3095 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 esac
3097 case $ac_pass in
3098 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3100 as_fn_append ac_configure_args1 " '$ac_arg'"
3101 if test $ac_must_keep_next = true; then
3102 ac_must_keep_next=false # Got value, back to normal.
3103 else
3104 case $ac_arg in
3105 *=* | --config-cache | -C | -disable-* | --disable-* \
3106 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3107 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3108 | -with-* | --with-* | -without-* | --without-* | --x)
3109 case "$ac_configure_args0 " in
3110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3111 esac
3113 -* ) ac_must_keep_next=true ;;
3114 esac
3116 as_fn_append ac_configure_args " '$ac_arg'"
3118 esac
3119 done
3120 done
3121 { ac_configure_args0=; unset ac_configure_args0;}
3122 { ac_configure_args1=; unset ac_configure_args1;}
3124 # When interrupted or exit'd, cleanup temporary files, and complete
3125 # config.log. We remove comments because anyway the quotes in there
3126 # would cause problems or look ugly.
3127 # WARNING: Use '\'' to represent an apostrophe within the trap.
3128 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3129 trap 'exit_status=$?
3130 # Save into config.log some information that might help in debugging.
3132 echo
3134 $as_echo "## ---------------- ##
3135 ## Cache variables. ##
3136 ## ---------------- ##"
3137 echo
3138 # The following way of writing the cache mishandles newlines in values,
3140 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3141 eval ac_val=\$$ac_var
3142 case $ac_val in #(
3143 *${as_nl}*)
3144 case $ac_var in #(
3145 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3146 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3147 esac
3148 case $ac_var in #(
3149 _ | IFS | as_nl) ;; #(
3150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3151 *) { eval $ac_var=; unset $ac_var;} ;;
3152 esac ;;
3153 esac
3154 done
3155 (set) 2>&1 |
3156 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3157 *${as_nl}ac_space=\ *)
3158 sed -n \
3159 "s/'\''/'\''\\\\'\'''\''/g;
3160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3161 ;; #(
3163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3165 esac |
3166 sort
3168 echo
3170 $as_echo "## ----------------- ##
3171 ## Output variables. ##
3172 ## ----------------- ##"
3173 echo
3174 for ac_var in $ac_subst_vars
3176 eval ac_val=\$$ac_var
3177 case $ac_val in
3178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3179 esac
3180 $as_echo "$ac_var='\''$ac_val'\''"
3181 done | sort
3182 echo
3184 if test -n "$ac_subst_files"; then
3185 $as_echo "## ------------------- ##
3186 ## File substitutions. ##
3187 ## ------------------- ##"
3188 echo
3189 for ac_var in $ac_subst_files
3191 eval ac_val=\$$ac_var
3192 case $ac_val in
3193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3194 esac
3195 $as_echo "$ac_var='\''$ac_val'\''"
3196 done | sort
3197 echo
3200 if test -s confdefs.h; then
3201 $as_echo "## ----------- ##
3202 ## confdefs.h. ##
3203 ## ----------- ##"
3204 echo
3205 cat confdefs.h
3206 echo
3208 test "$ac_signal" != 0 &&
3209 $as_echo "$as_me: caught signal $ac_signal"
3210 $as_echo "$as_me: exit $exit_status"
3211 } >&5
3212 rm -f core *.core core.conftest.* &&
3213 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3214 exit $exit_status
3216 for ac_signal in 1 2 13 15; do
3217 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3218 done
3219 ac_signal=0
3221 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3222 rm -f -r conftest* confdefs.h
3224 $as_echo "/* confdefs.h */" > confdefs.h
3226 # Predefined preprocessor variables.
3228 cat >>confdefs.h <<_ACEOF
3229 #define PACKAGE_NAME "$PACKAGE_NAME"
3230 _ACEOF
3232 cat >>confdefs.h <<_ACEOF
3233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3234 _ACEOF
3236 cat >>confdefs.h <<_ACEOF
3237 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3238 _ACEOF
3240 cat >>confdefs.h <<_ACEOF
3241 #define PACKAGE_STRING "$PACKAGE_STRING"
3242 _ACEOF
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_URL "$PACKAGE_URL"
3250 _ACEOF
3253 # Let the site file select an alternate cache file if it wants to.
3254 # Prefer an explicitly selected file to automatically selected ones.
3255 ac_site_file1=NONE
3256 ac_site_file2=NONE
3257 if test -n "$CONFIG_SITE"; then
3258 # We do not want a PATH search for config.site.
3259 case $CONFIG_SITE in #((
3260 -*) ac_site_file1=./$CONFIG_SITE;;
3261 */*) ac_site_file1=$CONFIG_SITE;;
3262 *) ac_site_file1=./$CONFIG_SITE;;
3263 esac
3264 elif test "x$prefix" != xNONE; then
3265 ac_site_file1=$prefix/share/config.site
3266 ac_site_file2=$prefix/etc/config.site
3267 else
3268 ac_site_file1=$ac_default_prefix/share/config.site
3269 ac_site_file2=$ac_default_prefix/etc/config.site
3271 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3273 test "x$ac_site_file" = xNONE && continue
3274 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3276 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3277 sed 's/^/| /' "$ac_site_file" >&5
3278 . "$ac_site_file" \
3279 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 as_fn_error $? "failed to load site script $ac_site_file
3282 See \`config.log' for more details" "$LINENO" 5; }
3284 done
3286 if test -r "$cache_file"; then
3287 # Some versions of bash will fail to source /dev/null (special files
3288 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3289 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3291 $as_echo "$as_me: loading cache $cache_file" >&6;}
3292 case $cache_file in
3293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3294 *) . "./$cache_file";;
3295 esac
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3299 $as_echo "$as_me: creating cache $cache_file" >&6;}
3300 >$cache_file
3303 # Check that the precious variables saved in the cache have kept the same
3304 # value.
3305 ac_cache_corrupted=false
3306 for ac_var in $ac_precious_vars; do
3307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3308 eval ac_new_set=\$ac_env_${ac_var}_set
3309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3310 eval ac_new_val=\$ac_env_${ac_var}_value
3311 case $ac_old_set,$ac_new_set in
3312 set,)
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3314 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3315 ac_cache_corrupted=: ;;
3316 ,set)
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3318 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3319 ac_cache_corrupted=: ;;
3320 ,);;
3322 if test "x$ac_old_val" != "x$ac_new_val"; then
3323 # differences in whitespace do not lead to failure.
3324 ac_old_val_w=`echo x $ac_old_val`
3325 ac_new_val_w=`echo x $ac_new_val`
3326 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3328 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3329 ac_cache_corrupted=:
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3332 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3333 eval $ac_var=\$ac_old_val
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3336 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3338 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3339 fi;;
3340 esac
3341 # Pass precious variables to config.status.
3342 if test "$ac_new_set" = set; then
3343 case $ac_new_val in
3344 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3345 *) ac_arg=$ac_var=$ac_new_val ;;
3346 esac
3347 case " $ac_configure_args " in
3348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3349 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3350 esac
3352 done
3353 if $ac_cache_corrupted; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3357 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3358 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3360 ## -------------------- ##
3361 ## Main body of script. ##
3362 ## -------------------- ##
3364 ac_ext=c
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 ac_config_headers="$ac_config_headers include/config.h"
3374 ac_aux_dir=
3375 for ac_dir in tools "$srcdir"/tools; do
3376 if test -f "$ac_dir/install-sh"; then
3377 ac_aux_dir=$ac_dir
3378 ac_install_sh="$ac_aux_dir/install-sh -c"
3379 break
3380 elif test -f "$ac_dir/install.sh"; then
3381 ac_aux_dir=$ac_dir
3382 ac_install_sh="$ac_aux_dir/install.sh -c"
3383 break
3384 elif test -f "$ac_dir/shtool"; then
3385 ac_aux_dir=$ac_dir
3386 ac_install_sh="$ac_aux_dir/shtool install -c"
3387 break
3389 done
3390 if test -z "$ac_aux_dir"; then
3391 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3394 # These three variables are undocumented and unsupported,
3395 # and are intended to be withdrawn in a future Autoconf release.
3396 # They can cause serious problems if a builder's source tree is in a directory
3397 # whose full name contains unusual characters.
3398 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3399 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3400 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3404 libwine_version="1.0"
3408 # Check whether --enable-win16 was given.
3409 if test "${enable_win16+set}" = set; then :
3410 enableval=$enable_win16;
3413 # Check whether --enable-win64 was given.
3414 if test "${enable_win64+set}" = set; then :
3415 enableval=$enable_win64;
3418 # Check whether --enable-tests was given.
3419 if test "${enable_tests+set}" = set; then :
3420 enableval=$enable_tests;
3423 # Check whether --enable-maintainer-mode was given.
3424 if test "${enable_maintainer_mode+set}" = set; then :
3425 enableval=$enable_maintainer_mode;
3430 # Check whether --with-alsa was given.
3431 if test "${with_alsa+set}" = set; then :
3432 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3436 # Check whether --with-capi was given.
3437 if test "${with_capi+set}" = set; then :
3438 withval=$with_capi;
3442 # Check whether --with-cms was given.
3443 if test "${with_cms+set}" = set; then :
3444 withval=$with_cms;
3448 # Check whether --with-coreaudio was given.
3449 if test "${with_coreaudio+set}" = set; then :
3450 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3454 # Check whether --with-cups was given.
3455 if test "${with_cups+set}" = set; then :
3456 withval=$with_cups;
3460 # Check whether --with-curses was given.
3461 if test "${with_curses+set}" = set; then :
3462 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3466 # Check whether --with-dbus was given.
3467 if test "${with_dbus+set}" = set; then :
3468 withval=$with_dbus;
3472 # Check whether --with-fontconfig was given.
3473 if test "${with_fontconfig+set}" = set; then :
3474 withval=$with_fontconfig;
3478 # Check whether --with-freetype was given.
3479 if test "${with_freetype+set}" = set; then :
3480 withval=$with_freetype;
3484 # Check whether --with-gettext was given.
3485 if test "${with_gettext+set}" = set; then :
3486 withval=$with_gettext;
3490 # Check whether --with-gettextpo was given.
3491 if test "${with_gettextpo+set}" = set; then :
3492 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3496 # Check whether --with-gphoto was given.
3497 if test "${with_gphoto+set}" = set; then :
3498 withval=$with_gphoto;
3502 # Check whether --with-glu was given.
3503 if test "${with_glu+set}" = set; then :
3504 withval=$with_glu;
3508 # Check whether --with-gnutls was given.
3509 if test "${with_gnutls+set}" = set; then :
3510 withval=$with_gnutls;
3514 # Check whether --with-gsm was given.
3515 if test "${with_gsm+set}" = set; then :
3516 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3520 # Check whether --with-gstreamer was given.
3521 if test "${with_gstreamer+set}" = set; then :
3522 withval=$with_gstreamer;
3526 # Check whether --with-hal was given.
3527 if test "${with_hal+set}" = set; then :
3528 withval=$with_hal;
3532 # Check whether --with-jpeg was given.
3533 if test "${with_jpeg+set}" = set; then :
3534 withval=$with_jpeg;
3538 # Check whether --with-ldap was given.
3539 if test "${with_ldap+set}" = set; then :
3540 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3544 # Check whether --with-mpg123 was given.
3545 if test "${with_mpg123+set}" = set; then :
3546 withval=$with_mpg123;
3550 # Check whether --with-netapi was given.
3551 if test "${with_netapi+set}" = set; then :
3552 withval=$with_netapi;
3556 # Check whether --with-openal was given.
3557 if test "${with_openal+set}" = set; then :
3558 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3562 # Check whether --with-opencl was given.
3563 if test "${with_opencl+set}" = set; then :
3564 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3568 # Check whether --with-opengl was given.
3569 if test "${with_opengl+set}" = set; then :
3570 withval=$with_opengl;
3574 # Check whether --with-osmesa was given.
3575 if test "${with_osmesa+set}" = set; then :
3576 withval=$with_osmesa;
3580 # Check whether --with-oss was given.
3581 if test "${with_oss+set}" = set; then :
3582 withval=$with_oss;
3586 # Check whether --with-pcap was given.
3587 if test "${with_pcap+set}" = set; then :
3588 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3592 # Check whether --with-png was given.
3593 if test "${with_png+set}" = set; then :
3594 withval=$with_png;
3598 # Check whether --with-pthread was given.
3599 if test "${with_pthread+set}" = set; then :
3600 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3604 # Check whether --with-pulse was given.
3605 if test "${with_pulse+set}" = set; then :
3606 withval=$with_pulse;
3610 # Check whether --with-sane was given.
3611 if test "${with_sane+set}" = set; then :
3612 withval=$with_sane;
3616 # Check whether --with-tiff was given.
3617 if test "${with_tiff+set}" = set; then :
3618 withval=$with_tiff;
3622 # Check whether --with-udev was given.
3623 if test "${with_udev+set}" = set; then :
3624 withval=$with_udev;
3628 # Check whether --with-v4l was given.
3629 if test "${with_v4l+set}" = set; then :
3630 withval=$with_v4l;
3634 # Check whether --with-xcomposite was given.
3635 if test "${with_xcomposite+set}" = set; then :
3636 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3640 # Check whether --with-xcursor was given.
3641 if test "${with_xcursor+set}" = set; then :
3642 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3646 # Check whether --with-xinerama was given.
3647 if test "${with_xinerama+set}" = set; then :
3648 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3652 # Check whether --with-xinput was given.
3653 if test "${with_xinput+set}" = set; then :
3654 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3658 # Check whether --with-xinput2 was given.
3659 if test "${with_xinput2+set}" = set; then :
3660 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3664 # Check whether --with-xml was given.
3665 if test "${with_xml+set}" = set; then :
3666 withval=$with_xml;
3670 # Check whether --with-xrandr was given.
3671 if test "${with_xrandr+set}" = set; then :
3672 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3676 # Check whether --with-xrender was given.
3677 if test "${with_xrender+set}" = set; then :
3678 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3682 # Check whether --with-xshape was given.
3683 if test "${with_xshape+set}" = set; then :
3684 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3688 # Check whether --with-xshm was given.
3689 if test "${with_xshm+set}" = set; then :
3690 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3694 # Check whether --with-xslt was given.
3695 if test "${with_xslt+set}" = set; then :
3696 withval=$with_xslt;
3700 # Check whether --with-xxf86vm was given.
3701 if test "${with_xxf86vm+set}" = set; then :
3702 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
3706 # Check whether --with-zlib was given.
3707 if test "${with_zlib+set}" = set; then :
3708 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3713 # Check whether --with-wine-tools was given.
3714 if test "${with_wine_tools+set}" = set; then :
3715 withval=$with_wine_tools;
3719 # Check whether --with-wine64 was given.
3720 if test "${with_wine64+set}" = set; then :
3721 withval=$with_wine64;
3725 # Make sure we can run config.sub.
3726 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3727 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3730 $as_echo_n "checking build system type... " >&6; }
3731 if ${ac_cv_build+:} false; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 ac_build_alias=$build_alias
3735 test "x$ac_build_alias" = x &&
3736 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3737 test "x$ac_build_alias" = x &&
3738 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3739 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3740 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3744 $as_echo "$ac_cv_build" >&6; }
3745 case $ac_cv_build in
3746 *-*-*) ;;
3747 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3748 esac
3749 build=$ac_cv_build
3750 ac_save_IFS=$IFS; IFS='-'
3751 set x $ac_cv_build
3752 shift
3753 build_cpu=$1
3754 build_vendor=$2
3755 shift; shift
3756 # Remember, the first character of IFS is used to create $*,
3757 # except with old shells:
3758 build_os=$*
3759 IFS=$ac_save_IFS
3760 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3764 $as_echo_n "checking host system type... " >&6; }
3765 if ${ac_cv_host+:} false; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test "x$host_alias" = x; then
3769 ac_cv_host=$ac_cv_build
3770 else
3771 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3772 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3777 $as_echo "$ac_cv_host" >&6; }
3778 case $ac_cv_host in
3779 *-*-*) ;;
3780 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3781 esac
3782 host=$ac_cv_host
3783 ac_save_IFS=$IFS; IFS='-'
3784 set x $ac_cv_host
3785 shift
3786 host_cpu=$1
3787 host_vendor=$2
3788 shift; shift
3789 # Remember, the first character of IFS is used to create $*,
3790 # except with old shells:
3791 host_os=$*
3792 IFS=$ac_save_IFS
3793 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3797 case "$srcdir" in
3798 .) ;;
3799 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3800 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3801 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3802 fi ;;
3803 esac
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3808 set x ${MAKE-make}
3809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3810 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3811 $as_echo_n "(cached) " >&6
3812 else
3813 cat >conftest.make <<\_ACEOF
3814 SHELL = /bin/sh
3815 all:
3816 @echo '@@@%%%=$(MAKE)=@@@%%%'
3817 _ACEOF
3818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3820 *@@@%%%=?*=@@@%%%*)
3821 eval ac_cv_prog_make_${ac_make}_set=yes;;
3823 eval ac_cv_prog_make_${ac_make}_set=no;;
3824 esac
3825 rm -f conftest.make
3827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3829 $as_echo "yes" >&6; }
3830 SET_MAKE=
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 SET_MAKE="MAKE=${MAKE-make}"
3837 ac_ext=c
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3844 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 break 2
3864 done
3865 done
3866 IFS=$as_save_IFS
3870 CC=$ac_cv_prog_CC
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3881 if test -z "$ac_cv_prog_CC"; then
3882 ac_ct_CC=$CC
3883 # Extract the first word of "gcc", so it can be a program name with args.
3884 set dummy gcc; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3888 $as_echo_n "(cached) " >&6
3889 else
3890 if test -n "$ac_ct_CC"; then
3891 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3892 else
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3896 IFS=$as_save_IFS
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_prog_ac_ct_CC="gcc"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 break 2
3904 done
3905 done
3906 IFS=$as_save_IFS
3910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3911 if test -n "$ac_ct_CC"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3913 $as_echo "$ac_ct_CC" >&6; }
3914 else
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3919 if test "x$ac_ct_CC" = x; then
3920 CC=""
3921 else
3922 case $cross_compiling:$ac_tool_warned in
3923 yes:)
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3926 ac_tool_warned=yes ;;
3927 esac
3928 CC=$ac_ct_CC
3930 else
3931 CC="$ac_cv_prog_CC"
3934 if test -z "$CC"; then
3935 if test -n "$ac_tool_prefix"; then
3936 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3937 set dummy ${ac_tool_prefix}cc; ac_word=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_CC+:} false; then :
3941 $as_echo_n "(cached) " >&6
3942 else
3943 if test -n "$CC"; then
3944 ac_cv_prog_CC="$CC" # Let the user override the test.
3945 else
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH
3949 IFS=$as_save_IFS
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_CC="${ac_tool_prefix}cc"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 break 2
3957 done
3958 done
3959 IFS=$as_save_IFS
3963 CC=$ac_cv_prog_CC
3964 if test -n "$CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3966 $as_echo "$CC" >&6; }
3967 else
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3975 if test -z "$CC"; then
3976 # Extract the first word of "cc", so it can be a program name with args.
3977 set dummy cc; ac_word=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if ${ac_cv_prog_CC+:} false; then :
3981 $as_echo_n "(cached) " >&6
3982 else
3983 if test -n "$CC"; then
3984 ac_cv_prog_CC="$CC" # Let the user override the test.
3985 else
3986 ac_prog_rejected=no
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH
3990 IFS=$as_save_IFS
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3994 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3995 ac_prog_rejected=yes
3996 continue
3998 ac_cv_prog_CC="cc"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4006 if test $ac_prog_rejected = yes; then
4007 # We found a bogon in the path, so make sure we never use it.
4008 set dummy $ac_cv_prog_CC
4009 shift
4010 if test $# != 0; then
4011 # We chose a different compiler from the bogus one.
4012 # However, it has the same basename, so the bogon will be chosen
4013 # first if we set CC to just the basename; use the full file name.
4014 shift
4015 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4020 CC=$ac_cv_prog_CC
4021 if test -n "$CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4023 $as_echo "$CC" >&6; }
4024 else
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4031 if test -z "$CC"; then
4032 if test -n "$ac_tool_prefix"; then
4033 for ac_prog in cl.exe
4035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if ${ac_cv_prog_CC+:} false; then :
4040 $as_echo_n "(cached) " >&6
4041 else
4042 if test -n "$CC"; then
4043 ac_cv_prog_CC="$CC" # Let the user override the test.
4044 else
4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 for as_dir in $PATH
4048 IFS=$as_save_IFS
4049 test -z "$as_dir" && as_dir=.
4050 for ac_exec_ext in '' $ac_executable_extensions; do
4051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4052 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 break 2
4056 done
4057 done
4058 IFS=$as_save_IFS
4062 CC=$ac_cv_prog_CC
4063 if test -n "$CC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4065 $as_echo "$CC" >&6; }
4066 else
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4072 test -n "$CC" && break
4073 done
4075 if test -z "$CC"; then
4076 ac_ct_CC=$CC
4077 for ac_prog in cl.exe
4079 # Extract the first word of "$ac_prog", so it can be a program name with args.
4080 set dummy $ac_prog; ac_word=$2
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4082 $as_echo_n "checking for $ac_word... " >&6; }
4083 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 if test -n "$ac_ct_CC"; then
4087 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4088 else
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_ac_ct_CC="$ac_prog"
4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 break 2
4100 done
4101 done
4102 IFS=$as_save_IFS
4106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4107 if test -n "$ac_ct_CC"; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4109 $as_echo "$ac_ct_CC" >&6; }
4110 else
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4116 test -n "$ac_ct_CC" && break
4117 done
4119 if test "x$ac_ct_CC" = x; then
4120 CC=""
4121 else
4122 case $cross_compiling:$ac_tool_warned in
4123 yes:)
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4126 ac_tool_warned=yes ;;
4127 esac
4128 CC=$ac_ct_CC
4135 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 as_fn_error $? "no acceptable C compiler found in \$PATH
4138 See \`config.log' for more details" "$LINENO" 5; }
4140 # Provide some information about the compiler.
4141 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4142 set X $ac_compile
4143 ac_compiler=$2
4144 for ac_option in --version -v -V -qversion; do
4145 { { ac_try="$ac_compiler $ac_option >&5"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4151 $as_echo "$ac_try_echo"; } >&5
4152 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4153 ac_status=$?
4154 if test -s conftest.err; then
4155 sed '10a\
4156 ... rest of stderr output deleted ...
4157 10q' conftest.err >conftest.er1
4158 cat conftest.er1 >&5
4160 rm -f conftest.er1 conftest.err
4161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162 test $ac_status = 0; }
4163 done
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 ac_clean_files_save=$ac_clean_files
4177 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4178 # Try to create an executable without -o first, disregard a.out.
4179 # It will help us diagnose broken compilers, and finding out an intuition
4180 # of exeext.
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4182 $as_echo_n "checking whether the C compiler works... " >&6; }
4183 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4185 # The possible output files:
4186 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4188 ac_rmfiles=
4189 for ac_file in $ac_files
4191 case $ac_file in
4192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4193 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4194 esac
4195 done
4196 rm -f $ac_rmfiles
4198 if { { ac_try="$ac_link_default"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4204 $as_echo "$ac_try_echo"; } >&5
4205 (eval "$ac_link_default") 2>&5
4206 ac_status=$?
4207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4208 test $ac_status = 0; }; then :
4209 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4210 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4211 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4212 # so that the user can short-circuit this test for compilers unknown to
4213 # Autoconf.
4214 for ac_file in $ac_files ''
4216 test -f "$ac_file" || continue
4217 case $ac_file in
4218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4220 [ab].out )
4221 # We found the default executable, but exeext='' is most
4222 # certainly right.
4223 break;;
4224 *.* )
4225 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4226 then :; else
4227 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4229 # We set ac_cv_exeext here because the later test for it is not
4230 # safe: cross compilers may not add the suffix if given an `-o'
4231 # argument, so we may need to know it at that point already.
4232 # Even if this section looks crufty: it has the advantage of
4233 # actually working.
4234 break;;
4236 break;;
4237 esac
4238 done
4239 test "$ac_cv_exeext" = no && ac_cv_exeext=
4241 else
4242 ac_file=''
4244 if test -z "$ac_file"; then :
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4247 $as_echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.$ac_ext >&5
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4252 as_fn_error 77 "C compiler cannot create executables
4253 See \`config.log' for more details" "$LINENO" 5; }
4254 else
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4259 $as_echo_n "checking for C compiler default output file name... " >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4261 $as_echo "$ac_file" >&6; }
4262 ac_exeext=$ac_cv_exeext
4264 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4265 ac_clean_files=$ac_clean_files_save
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4267 $as_echo_n "checking for suffix of executables... " >&6; }
4268 if { { ac_try="$ac_link"
4269 case "(($ac_try" in
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4272 esac
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_link") 2>&5
4276 ac_status=$?
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }; then :
4279 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4280 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4281 # work properly (i.e., refer to `conftest.exe'), while it won't with
4282 # `rm'.
4283 for ac_file in conftest.exe conftest conftest.*; do
4284 test -f "$ac_file" || continue
4285 case $ac_file in
4286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4287 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4288 break;;
4289 * ) break;;
4290 esac
4291 done
4292 else
4293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4296 See \`config.log' for more details" "$LINENO" 5; }
4298 rm -f conftest conftest$ac_cv_exeext
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4300 $as_echo "$ac_cv_exeext" >&6; }
4302 rm -f conftest.$ac_ext
4303 EXEEXT=$ac_cv_exeext
4304 ac_exeext=$EXEEXT
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307 #include <stdio.h>
4309 main ()
4311 FILE *f = fopen ("conftest.out", "w");
4312 return ferror (f) || fclose (f) != 0;
4315 return 0;
4317 _ACEOF
4318 ac_clean_files="$ac_clean_files conftest.out"
4319 # Check that the compiler produces executables we can run. If not, either
4320 # the compiler is broken, or we cross compile.
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4322 $as_echo_n "checking whether we are cross compiling... " >&6; }
4323 if test "$cross_compiling" != yes; then
4324 { { ac_try="$ac_link"
4325 case "(($ac_try" in
4326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4327 *) ac_try_echo=$ac_try;;
4328 esac
4329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4330 $as_echo "$ac_try_echo"; } >&5
4331 (eval "$ac_link") 2>&5
4332 ac_status=$?
4333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4334 test $ac_status = 0; }
4335 if { ac_try='./conftest$ac_cv_exeext'
4336 { { case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341 $as_echo "$ac_try_echo"; } >&5
4342 (eval "$ac_try") 2>&5
4343 ac_status=$?
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }; }; then
4346 cross_compiling=no
4347 else
4348 if test "$cross_compiling" = maybe; then
4349 cross_compiling=yes
4350 else
4351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353 as_fn_error $? "cannot run C compiled programs.
4354 If you meant to cross compile, use \`--host'.
4355 See \`config.log' for more details" "$LINENO" 5; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4360 $as_echo "$cross_compiling" >&6; }
4362 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4363 ac_clean_files=$ac_clean_files_save
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4365 $as_echo_n "checking for suffix of object files... " >&6; }
4366 if ${ac_cv_objext+:} false; then :
4367 $as_echo_n "(cached) " >&6
4368 else
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 rm -f conftest.o conftest.obj
4381 if { { ac_try="$ac_compile"
4382 case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_compile") 2>&5
4389 ac_status=$?
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 for ac_file in conftest.o conftest.obj conftest.*; do
4393 test -f "$ac_file" || continue;
4394 case $ac_file in
4395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4396 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4397 break;;
4398 esac
4399 done
4400 else
4401 $as_echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 as_fn_error $? "cannot compute suffix of object files: cannot compile
4407 See \`config.log' for more details" "$LINENO" 5; }
4409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4412 $as_echo "$ac_cv_objext" >&6; }
4413 OBJEXT=$ac_cv_objext
4414 ac_objext=$OBJEXT
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4417 if ${ac_cv_c_compiler_gnu+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4424 main ()
4426 #ifndef __GNUC__
4427 choke me
4428 #endif
4431 return 0;
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 ac_compiler_gnu=yes
4436 else
4437 ac_compiler_gnu=no
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4444 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4445 if test $ac_compiler_gnu = yes; then
4446 GCC=yes
4447 else
4448 GCC=
4450 ac_test_CFLAGS=${CFLAGS+set}
4451 ac_save_CFLAGS=$CFLAGS
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4453 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4454 if ${ac_cv_prog_cc_g+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 ac_save_c_werror_flag=$ac_c_werror_flag
4458 ac_c_werror_flag=yes
4459 ac_cv_prog_cc_g=no
4460 CFLAGS="-g"
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4465 main ()
4469 return 0;
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_g=yes
4474 else
4475 CFLAGS=""
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4480 main ()
4484 return 0;
4486 _ACEOF
4487 if ac_fn_c_try_compile "$LINENO"; then :
4489 else
4490 ac_c_werror_flag=$ac_save_c_werror_flag
4491 CFLAGS="-g"
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4496 main ()
4500 return 0;
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 ac_cv_prog_cc_g=yes
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4514 $as_echo "$ac_cv_prog_cc_g" >&6; }
4515 if test "$ac_test_CFLAGS" = set; then
4516 CFLAGS=$ac_save_CFLAGS
4517 elif test $ac_cv_prog_cc_g = yes; then
4518 if test "$GCC" = yes; then
4519 CFLAGS="-g -O2"
4520 else
4521 CFLAGS="-g"
4523 else
4524 if test "$GCC" = yes; then
4525 CFLAGS="-O2"
4526 else
4527 CFLAGS=
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4532 if ${ac_cv_prog_cc_c89+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_cv_prog_cc_c89=no
4536 ac_save_CC=$CC
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539 #include <stdarg.h>
4540 #include <stdio.h>
4541 struct stat;
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4546 char **p;
4547 int i;
4549 return p[i];
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4553 char *s;
4554 va_list v;
4555 va_start (v,p);
4556 s = g (p, va_arg (v,int));
4557 va_end (v);
4558 return s;
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4562 function prototypes and stuff, but not '\xHH' hex character constants.
4563 These don't provoke an error unfortunately, instead are silently treated
4564 as 'x'. The following induces an error, until -std is added to get
4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4566 array size at least. It's necessary to write '\x00'==0 to get something
4567 that's true only with -std. */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571 inside strings and character constants. */
4572 #define FOO(x) 'x'
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4579 int argc;
4580 char **argv;
4582 main ()
4584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4586 return 0;
4588 _ACEOF
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4592 CC="$ac_save_CC $ac_arg"
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_cv_prog_cc_c89=$ac_arg
4596 rm -f core conftest.err conftest.$ac_objext
4597 test "x$ac_cv_prog_cc_c89" != "xno" && break
4598 done
4599 rm -f conftest.$ac_ext
4600 CC=$ac_save_CC
4603 # AC_CACHE_VAL
4604 case "x$ac_cv_prog_cc_c89" in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4607 $as_echo "none needed" >&6; } ;;
4608 xno)
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4610 $as_echo "unsupported" >&6; } ;;
4612 CC="$CC $ac_cv_prog_cc_c89"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4614 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4615 esac
4616 if test "x$ac_cv_prog_cc_c89" != xno; then :
4620 ac_ext=c
4621 ac_cpp='$CPP $CPPFLAGS'
4622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 ac_ext=cpp
4627 ac_cpp='$CXXCPP $CPPFLAGS'
4628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4631 if test -z "$CXX"; then
4632 if test -n "$CCC"; then
4633 CXX=$CCC
4634 else
4635 if test -n "$ac_tool_prefix"; then
4636 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_CXX+:} false; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 if test -n "$CXX"; then
4646 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4647 else
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH
4651 IFS=$as_save_IFS
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 break 2
4659 done
4660 done
4661 IFS=$as_save_IFS
4665 CXX=$ac_cv_prog_CXX
4666 if test -n "$CXX"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4668 $as_echo "$CXX" >&6; }
4669 else
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4675 test -n "$CXX" && break
4676 done
4678 if test -z "$CXX"; then
4679 ac_ct_CXX=$CXX
4680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4682 # Extract the first word of "$ac_prog", so it can be a program name with args.
4683 set dummy $ac_prog; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4687 $as_echo_n "(cached) " >&6
4688 else
4689 if test -n "$ac_ct_CXX"; then
4690 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4695 IFS=$as_save_IFS
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_ac_ct_CXX="$ac_prog"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 break 2
4703 done
4704 done
4705 IFS=$as_save_IFS
4709 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4710 if test -n "$ac_ct_CXX"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4712 $as_echo "$ac_ct_CXX" >&6; }
4713 else
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4719 test -n "$ac_ct_CXX" && break
4720 done
4722 if test "x$ac_ct_CXX" = x; then
4723 CXX="g++"
4724 else
4725 case $cross_compiling:$ac_tool_warned in
4726 yes:)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4729 ac_tool_warned=yes ;;
4730 esac
4731 CXX=$ac_ct_CXX
4737 # Provide some information about the compiler.
4738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4739 set X $ac_compile
4740 ac_compiler=$2
4741 for ac_option in --version -v -V -qversion; do
4742 { { ac_try="$ac_compiler $ac_option >&5"
4743 case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4746 esac
4747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4748 $as_echo "$ac_try_echo"; } >&5
4749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4750 ac_status=$?
4751 if test -s conftest.err; then
4752 sed '10a\
4753 ... rest of stderr output deleted ...
4754 10q' conftest.err >conftest.er1
4755 cat conftest.er1 >&5
4757 rm -f conftest.er1 conftest.err
4758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4759 test $ac_status = 0; }
4760 done
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4763 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4764 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4773 #ifndef __GNUC__
4774 choke me
4775 #endif
4778 return 0;
4780 _ACEOF
4781 if ac_fn_cxx_try_compile "$LINENO"; then :
4782 ac_compiler_gnu=yes
4783 else
4784 ac_compiler_gnu=no
4786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4787 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4791 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4792 if test $ac_compiler_gnu = yes; then
4793 GXX=yes
4794 else
4795 GXX=
4797 ac_test_CXXFLAGS=${CXXFLAGS+set}
4798 ac_save_CXXFLAGS=$CXXFLAGS
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4800 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4801 if ${ac_cv_prog_cxx_g+:} false; then :
4802 $as_echo_n "(cached) " >&6
4803 else
4804 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4805 ac_cxx_werror_flag=yes
4806 ac_cv_prog_cxx_g=no
4807 CXXFLAGS="-g"
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4812 main ()
4816 return 0;
4818 _ACEOF
4819 if ac_fn_cxx_try_compile "$LINENO"; then :
4820 ac_cv_prog_cxx_g=yes
4821 else
4822 CXXFLAGS=""
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4827 main ()
4831 return 0;
4833 _ACEOF
4834 if ac_fn_cxx_try_compile "$LINENO"; then :
4836 else
4837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4838 CXXFLAGS="-g"
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4843 main ()
4847 return 0;
4849 _ACEOF
4850 if ac_fn_cxx_try_compile "$LINENO"; then :
4851 ac_cv_prog_cxx_g=yes
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4861 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4862 if test "$ac_test_CXXFLAGS" = set; then
4863 CXXFLAGS=$ac_save_CXXFLAGS
4864 elif test $ac_cv_prog_cxx_g = yes; then
4865 if test "$GXX" = yes; then
4866 CXXFLAGS="-g -O2"
4867 else
4868 CXXFLAGS="-g"
4870 else
4871 if test "$GXX" = yes; then
4872 CXXFLAGS="-O2"
4873 else
4874 CXXFLAGS=
4877 ac_ext=c
4878 ac_cpp='$CPP $CPPFLAGS'
4879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_CPPBIN+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if test -n "$CPPBIN"; then
4892 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4905 done
4906 done
4907 IFS=$as_save_IFS
4911 CPPBIN=$ac_cv_prog_CPPBIN
4912 if test -n "$CPPBIN"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4914 $as_echo "$CPPBIN" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_CPPBIN"; then
4923 ac_ct_CPPBIN=$CPPBIN
4924 # Extract the first word of "cpp", so it can be a program name with args.
4925 set dummy cpp; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$ac_ct_CPPBIN"; then
4932 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_CPPBIN="cpp"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4945 done
4946 done
4947 IFS=$as_save_IFS
4951 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4952 if test -n "$ac_ct_CPPBIN"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4954 $as_echo "$ac_ct_CPPBIN" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_CPPBIN" = x; then
4961 CPPBIN="cpp"
4962 else
4963 case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969 CPPBIN=$ac_ct_CPPBIN
4971 else
4972 CPPBIN="$ac_cv_prog_CPPBIN"
4976 cat >>confdefs.h <<_ACEOF
4977 #define EXEEXT "$ac_exeext"
4978 _ACEOF
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}ld; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_LD+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 if test -n "$LD"; then
4989 ac_cv_prog_LD="$LD" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_LD="${ac_tool_prefix}ld"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 break 2
5002 done
5003 done
5004 IFS=$as_save_IFS
5008 LD=$ac_cv_prog_LD
5009 if test -n "$LD"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5011 $as_echo "$LD" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5019 if test -z "$ac_cv_prog_LD"; then
5020 ac_ct_LD=$LD
5021 # Extract the first word of "ld", so it can be a program name with args.
5022 set dummy ld; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$ac_ct_LD"; then
5029 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5038 ac_cv_prog_ac_ct_LD="ld"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5042 done
5043 done
5044 IFS=$as_save_IFS
5048 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5049 if test -n "$ac_ct_LD"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5051 $as_echo "$ac_ct_LD" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5057 if test "x$ac_ct_LD" = x; then
5058 LD=""
5059 else
5060 case $cross_compiling:$ac_tool_warned in
5061 yes:)
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5064 ac_tool_warned=yes ;;
5065 esac
5066 LD=$ac_ct_LD
5068 else
5069 LD="$ac_cv_prog_LD"
5073 case $host in
5074 *-darwin*)
5075 with_fontconfig=${with_fontconfig:-no}
5077 *-mingw32*|*-cygwin*)
5078 enable_win16=${enable_win16:-no}
5079 CFLAGS="$CFLAGS -D_WIN32"
5081 esac
5083 case $host in
5084 x86_64*|amd64*)
5085 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5086 then
5087 CC="$CC -m32"
5088 CXX="$CXX -m32"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5090 $as_echo_n "checking whether $CC works... " >&6; }
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5096 main ()
5100 return 0;
5102 _ACEOF
5103 if ac_fn_c_try_link "$LINENO"; then :
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5111 rm -f core conftest.err conftest.$ac_objext \
5112 conftest$ac_exeext conftest.$ac_ext
5113 host_cpu="i386"
5114 notice_platform="32-bit "
5115 TARGETFLAGS="-m32"
5117 enable_win16=${enable_win16:-yes}
5118 else
5119 if test "x${GCC}" = "xyes"
5120 then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5122 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 #include <stdarg.h>
5127 main ()
5129 void func(__builtin_ms_va_list *args);
5131 return 0;
5133 _ACEOF
5134 if ac_fn_c_try_compile "$LINENO"; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5144 CC="$CC -m64"
5145 CXX="$CXX -m64"
5146 host_cpu="x86_64"
5147 notice_platform="64-bit "
5148 TARGETFLAGS="-m64"
5152 arm*)
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5154 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5157 int ac_test(int i) { return i; }
5159 main ()
5161 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5163 return 0;
5165 _ACEOF
5166 if ac_fn_c_try_link "$LINENO"; then :
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5168 $as_echo "yes" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5172 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5174 rm -f core conftest.err conftest.$ac_objext \
5175 conftest$ac_exeext conftest.$ac_ext
5176 CFLAGS="$CFLAGS -marm"
5177 TARGETFLAGS="-marm"
5180 i[3456789]86*)
5181 enable_win16=${enable_win16:-yes}
5183 esac
5185 enable_win16=${enable_win16:-no}
5186 enable_win64=${enable_win64:-no}
5188 enable_winetest=${enable_winetest:-$enable_tests}
5190 if test -n "$with_wine64"
5191 then
5192 if test "x$enable_win64" = "xyes"
5193 then
5194 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5195 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5197 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5198 You should create a separate build directory and run configure from there." "$LINENO" 5
5199 enable_fonts=${enable_fonts:-no}
5200 enable_server=${enable_server:-no}
5201 elif test "x$enable_win64" = "xyes"
5202 then
5203 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5207 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5208 if ${wine_cv_toolsdir+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 wine_cv_toolsdir="$with_wine_tools"
5212 if test -z "$with_wine_tools"; then
5213 if test "$cross_compiling" = "yes"; then
5214 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5215 elif test -n "$with_wine64"; then
5216 wine_cv_toolsdir="$with_wine64"
5219 if test -z "$wine_cv_toolsdir"; then
5220 wine_makedep=tools/makedep
5221 wine_cv_toolsdir="\$(top_builddir)"
5222 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5223 wine_makedep=$wine_cv_toolsdir/tools/makedep
5224 case "$wine_cv_toolsdir" in
5225 /*) ;;
5226 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5227 esac
5228 enable_tools=${enable_tools:-no}
5229 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5230 else
5231 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5235 $as_echo "$wine_cv_toolsdir" >&6; }
5236 TOOLSDIR=$wine_cv_toolsdir
5238 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5239 then
5240 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5244 for ac_prog in flex
5246 # Extract the first word of "$ac_prog", so it can be a program name with args.
5247 set dummy $ac_prog; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_FLEX+:} false; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5253 if test -n "$FLEX"; then
5254 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5255 else
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 for as_dir in $PATH
5259 IFS=$as_save_IFS
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263 ac_cv_prog_FLEX="$ac_prog"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 break 2
5267 done
5268 done
5269 IFS=$as_save_IFS
5273 FLEX=$ac_cv_prog_FLEX
5274 if test -n "$FLEX"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5276 $as_echo "$FLEX" >&6; }
5277 else
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5283 test -n "$FLEX" && break
5284 done
5285 test -n "$FLEX" || FLEX="none"
5287 if test "$FLEX" = "none"
5288 then
5289 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5292 $as_echo_n "checking whether flex is recent enough... " >&6; }
5293 cat >conftest.l <<EOF
5294 %top{
5295 #include "prediluvian.h"
5299 if $FLEX -t conftest.l >/dev/null 2>&5
5300 then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5302 $as_echo "yes" >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5306 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5309 for ac_prog in bison
5311 # Extract the first word of "$ac_prog", so it can be a program name with args.
5312 set dummy $ac_prog; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_BISON+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -n "$BISON"; then
5319 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_BISON="$ac_prog"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 BISON=$ac_cv_prog_BISON
5339 if test -n "$BISON"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5341 $as_echo "$BISON" >&6; }
5342 else
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 test -n "$BISON" && break
5349 done
5350 test -n "$BISON" || BISON="none"
5352 if test "$BISON" = "none"
5353 then
5354 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5357 if test -n "$ac_tool_prefix"; then
5358 for ac_prog in ar gar
5360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_AR+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$AR"; then
5368 ac_cv_prog_AR="$AR" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 AR=$ac_cv_prog_AR
5388 if test -n "$AR"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5390 $as_echo "$AR" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5397 test -n "$AR" && break
5398 done
5400 if test -z "$AR"; then
5401 ac_ct_AR=$AR
5402 for ac_prog in ar gar
5404 # Extract the first word of "$ac_prog", so it can be a program name with args.
5405 set dummy $ac_prog; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -n "$ac_ct_AR"; then
5412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5413 else
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_prog_ac_ct_AR="$ac_prog"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5425 done
5426 done
5427 IFS=$as_save_IFS
5431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5432 if test -n "$ac_ct_AR"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5434 $as_echo "$ac_ct_AR" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5441 test -n "$ac_ct_AR" && break
5442 done
5444 if test "x$ac_ct_AR" = x; then
5445 AR="ar"
5446 else
5447 case $cross_compiling:$ac_tool_warned in
5448 yes:)
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5451 ac_tool_warned=yes ;;
5452 esac
5453 AR=$ac_ct_AR
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}strip; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_STRIP+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$STRIP"; then
5466 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 STRIP=$ac_cv_prog_STRIP
5486 if test -n "$STRIP"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5488 $as_echo "$STRIP" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$ac_cv_prog_STRIP"; then
5497 ac_ct_STRIP=$STRIP
5498 # Extract the first word of "strip", so it can be a program name with args.
5499 set dummy strip; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_STRIP"; then
5506 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_STRIP="strip"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5526 if test -n "$ac_ct_STRIP"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5528 $as_echo "$ac_ct_STRIP" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5534 if test "x$ac_ct_STRIP" = x; then
5535 STRIP="strip"
5536 else
5537 case $cross_compiling:$ac_tool_warned in
5538 yes:)
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 STRIP=$ac_ct_STRIP
5545 else
5546 STRIP="$ac_cv_prog_STRIP"
5549 ARFLAGS=rc
5551 if test -n "$ac_tool_prefix"; then
5552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555 $as_echo_n "checking for $ac_word... " >&6; }
5556 if ${ac_cv_prog_RANLIB+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -n "$RANLIB"; then
5560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5561 else
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 break 2
5573 done
5574 done
5575 IFS=$as_save_IFS
5579 RANLIB=$ac_cv_prog_RANLIB
5580 if test -n "$RANLIB"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5582 $as_echo "$RANLIB" >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5590 if test -z "$ac_cv_prog_RANLIB"; then
5591 ac_ct_RANLIB=$RANLIB
5592 # Extract the first word of "ranlib", so it can be a program name with args.
5593 set dummy ranlib; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$ac_ct_RANLIB"; then
5600 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_ac_ct_RANLIB="ranlib"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5613 done
5614 done
5615 IFS=$as_save_IFS
5619 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5620 if test -n "$ac_ct_RANLIB"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5622 $as_echo "$ac_ct_RANLIB" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5628 if test "x$ac_ct_RANLIB" = x; then
5629 RANLIB=":"
5630 else
5631 case $cross_compiling:$ac_tool_warned in
5632 yes:)
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5635 ac_tool_warned=yes ;;
5636 esac
5637 RANLIB=$ac_ct_RANLIB
5639 else
5640 RANLIB="$ac_cv_prog_RANLIB"
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5644 $as_echo_n "checking whether ln -s works... " >&6; }
5645 LN_S=$as_ln_s
5646 if test "$LN_S" = "ln -s"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5648 $as_echo "yes" >&6; }
5649 else
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5651 $as_echo "no, using $LN_S" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5655 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5656 if ${ac_cv_path_GREP+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -z "$GREP"; then
5660 ac_path_GREP_found=false
5661 # Loop through the user's path and test for each of PROGNAME-LIST
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_prog in grep ggrep; do
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5670 as_fn_executable_p "$ac_path_GREP" || continue
5671 # Check for GNU ac_path_GREP and select it if it is found.
5672 # Check for GNU $ac_path_GREP
5673 case `"$ac_path_GREP" --version 2>&1` in
5674 *GNU*)
5675 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5677 ac_count=0
5678 $as_echo_n 0123456789 >"conftest.in"
5679 while :
5681 cat "conftest.in" "conftest.in" >"conftest.tmp"
5682 mv "conftest.tmp" "conftest.in"
5683 cp "conftest.in" "conftest.nl"
5684 $as_echo 'GREP' >> "conftest.nl"
5685 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5686 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5687 as_fn_arith $ac_count + 1 && ac_count=$as_val
5688 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5689 # Best one so far, save it but keep looking for a better one
5690 ac_cv_path_GREP="$ac_path_GREP"
5691 ac_path_GREP_max=$ac_count
5693 # 10*(2^10) chars as input seems more than enough
5694 test $ac_count -gt 10 && break
5695 done
5696 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5697 esac
5699 $ac_path_GREP_found && break 3
5700 done
5701 done
5702 done
5703 IFS=$as_save_IFS
5704 if test -z "$ac_cv_path_GREP"; then
5705 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5707 else
5708 ac_cv_path_GREP=$GREP
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5713 $as_echo "$ac_cv_path_GREP" >&6; }
5714 GREP="$ac_cv_path_GREP"
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5718 $as_echo_n "checking for egrep... " >&6; }
5719 if ${ac_cv_path_EGREP+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5723 then ac_cv_path_EGREP="$GREP -E"
5724 else
5725 if test -z "$EGREP"; then
5726 ac_path_EGREP_found=false
5727 # Loop through the user's path and test for each of PROGNAME-LIST
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5731 IFS=$as_save_IFS
5732 test -z "$as_dir" && as_dir=.
5733 for ac_prog in egrep; do
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5736 as_fn_executable_p "$ac_path_EGREP" || continue
5737 # Check for GNU ac_path_EGREP and select it if it is found.
5738 # Check for GNU $ac_path_EGREP
5739 case `"$ac_path_EGREP" --version 2>&1` in
5740 *GNU*)
5741 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5743 ac_count=0
5744 $as_echo_n 0123456789 >"conftest.in"
5745 while :
5747 cat "conftest.in" "conftest.in" >"conftest.tmp"
5748 mv "conftest.tmp" "conftest.in"
5749 cp "conftest.in" "conftest.nl"
5750 $as_echo 'EGREP' >> "conftest.nl"
5751 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5753 as_fn_arith $ac_count + 1 && ac_count=$as_val
5754 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5755 # Best one so far, save it but keep looking for a better one
5756 ac_cv_path_EGREP="$ac_path_EGREP"
5757 ac_path_EGREP_max=$ac_count
5759 # 10*(2^10) chars as input seems more than enough
5760 test $ac_count -gt 10 && break
5761 done
5762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5763 esac
5765 $ac_path_EGREP_found && break 3
5766 done
5767 done
5768 done
5769 IFS=$as_save_IFS
5770 if test -z "$ac_cv_path_EGREP"; then
5771 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5773 else
5774 ac_cv_path_EGREP=$EGREP
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5780 $as_echo "$ac_cv_path_EGREP" >&6; }
5781 EGREP="$ac_cv_path_EGREP"
5784 # Extract the first word of "ldconfig", so it can be a program name with args.
5785 set dummy ldconfig; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_path_LDCONFIG+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 case $LDCONFIG in
5792 [\\/]* | ?:[\\/]*)
5793 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in /sbin /usr/sbin $PATH
5799 IFS=$as_save_IFS
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 break 2
5807 done
5808 done
5809 IFS=$as_save_IFS
5811 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5813 esac
5815 LDCONFIG=$ac_cv_path_LDCONFIG
5816 if test -n "$LDCONFIG"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5818 $as_echo "$LDCONFIG" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 for ac_prog in msgfmt
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy $ac_prog; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_MSGFMT+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 if test -n "$MSGFMT"; then
5835 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5836 else
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5840 IFS=$as_save_IFS
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_MSGFMT="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 break 2
5848 done
5849 done
5850 IFS=$as_save_IFS
5854 MSGFMT=$ac_cv_prog_MSGFMT
5855 if test -n "$MSGFMT"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5857 $as_echo "$MSGFMT" >&6; }
5858 else
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$MSGFMT" && break
5865 done
5866 test -n "$MSGFMT" || MSGFMT="false"
5868 if ${ac_tool_prefix+:} false; then :
5869 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5870 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$PKG_CONFIG"; then
5877 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5897 if test -n "$PKG_CONFIG"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5899 $as_echo "$PKG_CONFIG" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5907 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5908 if test "x$cross_compiling" = xyes; then :
5910 else
5911 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5912 # Extract the first word of "pkg-config", so it can be a program name with args.
5913 set dummy pkg-config; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$PKG_CONFIG"; then
5920 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_PKG_CONFIG="pkg-config"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5940 if test -n "$PKG_CONFIG"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5942 $as_echo "$PKG_CONFIG" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5950 else
5951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5954 if test "x$enable_maintainer_mode" != "xyes"
5955 then
5956 FONTFORGE=""
5957 RSVG=""
5958 CONVERT=""
5959 ICOTOOL=""
5960 else
5961 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5962 for ac_prog in fontforge
5964 # Extract the first word of "$ac_prog", so it can be a program name with args.
5965 set dummy $ac_prog; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_prog_FONTFORGE+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 if test -n "$FONTFORGE"; then
5972 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_FONTFORGE="$ac_prog"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 FONTFORGE=$ac_cv_prog_FONTFORGE
5992 if test -n "$FONTFORGE"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5994 $as_echo "$FONTFORGE" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 test -n "$FONTFORGE" && break
6002 done
6003 test -n "$FONTFORGE" || FONTFORGE="false"
6005 for ac_prog in rsvg-convert rsvg
6007 # Extract the first word of "$ac_prog", so it can be a program name with args.
6008 set dummy $ac_prog; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_prog_RSVG+:} false; then :
6012 $as_echo_n "(cached) " >&6
6013 else
6014 if test -n "$RSVG"; then
6015 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6016 else
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6020 IFS=$as_save_IFS
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_RSVG="$ac_prog"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026 break 2
6028 done
6029 done
6030 IFS=$as_save_IFS
6034 RSVG=$ac_cv_prog_RSVG
6035 if test -n "$RSVG"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6037 $as_echo "$RSVG" >&6; }
6038 else
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6044 test -n "$RSVG" && break
6045 done
6046 test -n "$RSVG" || RSVG="false"
6048 for ac_prog in convert
6050 # Extract the first word of "$ac_prog", so it can be a program name with args.
6051 set dummy $ac_prog; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_CONVERT+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 if test -n "$CONVERT"; then
6058 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_CONVERT="$ac_prog"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6073 IFS=$as_save_IFS
6077 CONVERT=$ac_cv_prog_CONVERT
6078 if test -n "$CONVERT"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6080 $as_echo "$CONVERT" >&6; }
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6087 test -n "$CONVERT" && break
6088 done
6089 test -n "$CONVERT" || CONVERT="false"
6091 for ac_prog in icotool
6093 # Extract the first word of "$ac_prog", so it can be a program name with args.
6094 set dummy $ac_prog; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ICOTOOL+:} false; then :
6098 $as_echo_n "(cached) " >&6
6099 else
6100 if test -n "$ICOTOOL"; then
6101 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ICOTOOL="$ac_prog"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6116 IFS=$as_save_IFS
6120 ICOTOOL=$ac_cv_prog_ICOTOOL
6121 if test -n "$ICOTOOL"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6123 $as_echo "$ICOTOOL" >&6; }
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6130 test -n "$ICOTOOL" && break
6131 done
6132 test -n "$ICOTOOL" || ICOTOOL="false"
6134 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6135 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6137 if test "$CONVERT" = false
6138 then
6139 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6142 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6143 convert_version=`convert --version | head -n1`
6144 if test "x$convert_version" != "x"
6145 then
6146 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6147 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6148 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6149 then
6150 CONVERT=false
6153 if test "$CONVERT" = false
6154 then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6156 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6157 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6158 else
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6160 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6164 if test "$ICOTOOL" = false
6165 then
6166 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6169 $as_echo_n "checking for recent enough icotool... " >&6; }
6170 icotool_version=`icotool --version | head -n1`
6171 if test "x$icotool_version" != "x"
6172 then
6173 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6174 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6175 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6176 then
6177 ICOTOOL=false
6178 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6181 if test "$ICOTOOL" = false
6182 then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6184 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6185 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6186 else
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6188 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6192 with_gettext=yes
6193 with_gettextpo=yes
6194 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6197 test "x$with_gettext" != xno || MSGFMT=false
6198 if test "$MSGFMT" != "false"
6199 then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6201 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6202 cat >conftest.po <<EOF
6203 # comment
6204 msgctxt "ctxt"
6205 msgid "id"
6206 msgstr "str"
6208 if $MSGFMT -o /dev/null conftest.po 2>&5
6209 then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6211 $as_echo "yes" >&6; }
6212 else
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6215 MSGFMT=false
6218 if test "$MSGFMT" = false; then :
6219 case "x$with_gettext" in
6220 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6221 xno) ;;
6222 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6223 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6224 esac
6225 enable_po=${enable_po:-no}
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6230 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6231 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 ac_check_lib_save_LIBS=$LIBS
6235 LIBS="-li386 $LIBS"
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6239 /* Override any GCC internal prototype to avoid an error.
6240 Use char because int might match the return type of a GCC
6241 builtin and then its argument prototype would still apply. */
6242 #ifdef __cplusplus
6243 extern "C"
6244 #endif
6245 char i386_set_ldt ();
6247 main ()
6249 return i386_set_ldt ();
6251 return 0;
6253 _ACEOF
6254 if ac_fn_c_try_link "$LINENO"; then :
6255 ac_cv_lib_i386_i386_set_ldt=yes
6256 else
6257 ac_cv_lib_i386_i386_set_ldt=no
6259 rm -f core conftest.err conftest.$ac_objext \
6260 conftest$ac_exeext conftest.$ac_ext
6261 LIBS=$ac_check_lib_save_LIBS
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6264 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6265 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6266 cat >>confdefs.h <<_ACEOF
6267 #define HAVE_LIBI386 1
6268 _ACEOF
6270 LIBS="-li386 $LIBS"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6275 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6276 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 ac_check_lib_save_LIBS=$LIBS
6280 LIBS="-lossaudio $LIBS"
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6287 #ifdef __cplusplus
6288 extern "C"
6289 #endif
6290 char _oss_ioctl ();
6292 main ()
6294 return _oss_ioctl ();
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_link "$LINENO"; then :
6300 ac_cv_lib_ossaudio__oss_ioctl=yes
6301 else
6302 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6320 OPENGL_LIBS=""
6324 # Check whether --enable-largefile was given.
6325 if test "${enable_largefile+set}" = set; then :
6326 enableval=$enable_largefile;
6329 if test "$enable_largefile" != no; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6332 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6333 if ${ac_cv_sys_largefile_CC+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 ac_cv_sys_largefile_CC=no
6337 if test "$GCC" != yes; then
6338 ac_save_CC=$CC
6339 while :; do
6340 # IRIX 6.2 and later do not support large files by default,
6341 # so use the C compiler's -n32 option if that helps.
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <sys/types.h>
6345 /* Check that off_t can represent 2**63 - 1 correctly.
6346 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6347 since some C++ compilers masquerading as C compilers
6348 incorrectly reject 9223372036854775807. */
6349 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6350 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6351 && LARGE_OFF_T % 2147483647 == 1)
6352 ? 1 : -1];
6354 main ()
6358 return 0;
6360 _ACEOF
6361 if ac_fn_c_try_compile "$LINENO"; then :
6362 break
6364 rm -f core conftest.err conftest.$ac_objext
6365 CC="$CC -n32"
6366 if ac_fn_c_try_compile "$LINENO"; then :
6367 ac_cv_sys_largefile_CC=' -n32'; break
6369 rm -f core conftest.err conftest.$ac_objext
6370 break
6371 done
6372 CC=$ac_save_CC
6373 rm -f conftest.$ac_ext
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6377 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6378 if test "$ac_cv_sys_largefile_CC" != no; then
6379 CC=$CC$ac_cv_sys_largefile_CC
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6383 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6384 if ${ac_cv_sys_file_offset_bits+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 while :; do
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6390 #include <sys/types.h>
6391 /* Check that off_t can represent 2**63 - 1 correctly.
6392 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6393 since some C++ compilers masquerading as C compilers
6394 incorrectly reject 9223372036854775807. */
6395 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6396 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6397 && LARGE_OFF_T % 2147483647 == 1)
6398 ? 1 : -1];
6400 main ()
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408 ac_cv_sys_file_offset_bits=no; break
6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #define _FILE_OFFSET_BITS 64
6414 #include <sys/types.h>
6415 /* Check that off_t can represent 2**63 - 1 correctly.
6416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6417 since some C++ compilers masquerading as C compilers
6418 incorrectly reject 9223372036854775807. */
6419 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6421 && LARGE_OFF_T % 2147483647 == 1)
6422 ? 1 : -1];
6424 main ()
6428 return 0;
6430 _ACEOF
6431 if ac_fn_c_try_compile "$LINENO"; then :
6432 ac_cv_sys_file_offset_bits=64; break
6434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6435 ac_cv_sys_file_offset_bits=unknown
6436 break
6437 done
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6440 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6441 case $ac_cv_sys_file_offset_bits in #(
6442 no | unknown) ;;
6444 cat >>confdefs.h <<_ACEOF
6445 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6446 _ACEOF
6448 esac
6449 rm -rf conftest*
6450 if test $ac_cv_sys_file_offset_bits = unknown; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6452 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6453 if ${ac_cv_sys_large_files+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 while :; do
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #include <sys/types.h>
6460 /* Check that off_t can represent 2**63 - 1 correctly.
6461 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6462 since some C++ compilers masquerading as C compilers
6463 incorrectly reject 9223372036854775807. */
6464 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6465 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6466 && LARGE_OFF_T % 2147483647 == 1)
6467 ? 1 : -1];
6469 main ()
6473 return 0;
6475 _ACEOF
6476 if ac_fn_c_try_compile "$LINENO"; then :
6477 ac_cv_sys_large_files=no; break
6479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6482 #define _LARGE_FILES 1
6483 #include <sys/types.h>
6484 /* Check that off_t can represent 2**63 - 1 correctly.
6485 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6486 since some C++ compilers masquerading as C compilers
6487 incorrectly reject 9223372036854775807. */
6488 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6489 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6490 && LARGE_OFF_T % 2147483647 == 1)
6491 ? 1 : -1];
6493 main ()
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_compile "$LINENO"; then :
6501 ac_cv_sys_large_files=1; break
6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 ac_cv_sys_large_files=unknown
6505 break
6506 done
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6509 $as_echo "$ac_cv_sys_large_files" >&6; }
6510 case $ac_cv_sys_large_files in #(
6511 no | unknown) ;;
6513 cat >>confdefs.h <<_ACEOF
6514 #define _LARGE_FILES $ac_cv_sys_large_files
6515 _ACEOF
6517 esac
6518 rm -rf conftest*
6525 ac_ext=c
6526 ac_cpp='$CPP $CPPFLAGS'
6527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6531 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6532 # On Suns, sometimes $CPP names a directory.
6533 if test -n "$CPP" && test -d "$CPP"; then
6534 CPP=
6536 if test -z "$CPP"; then
6537 if ${ac_cv_prog_CPP+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 # Double quotes because CPP needs to be expanded
6541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6543 ac_preproc_ok=false
6544 for ac_c_preproc_warn_flag in '' yes
6546 # Use a header file that comes with gcc, so configuring glibc
6547 # with a fresh cross-compiler works.
6548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6549 # <limits.h> exists even on freestanding compilers.
6550 # On the NeXT, cc -E runs the code through the compiler's parser,
6551 # not just through cpp. "Syntax error" is here to catch this case.
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #ifdef __STDC__
6555 # include <limits.h>
6556 #else
6557 # include <assert.h>
6558 #endif
6559 Syntax error
6560 _ACEOF
6561 if ac_fn_c_try_cpp "$LINENO"; then :
6563 else
6564 # Broken: fails on valid input.
6565 continue
6567 rm -f conftest.err conftest.i conftest.$ac_ext
6569 # OK, works on sane cases. Now check whether nonexistent headers
6570 # can be detected and how.
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <ac_nonexistent.h>
6574 _ACEOF
6575 if ac_fn_c_try_cpp "$LINENO"; then :
6576 # Broken: success on invalid input.
6577 continue
6578 else
6579 # Passes both tests.
6580 ac_preproc_ok=:
6581 break
6583 rm -f conftest.err conftest.i conftest.$ac_ext
6585 done
6586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6587 rm -f conftest.i conftest.err conftest.$ac_ext
6588 if $ac_preproc_ok; then :
6589 break
6592 done
6593 ac_cv_prog_CPP=$CPP
6596 CPP=$ac_cv_prog_CPP
6597 else
6598 ac_cv_prog_CPP=$CPP
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6601 $as_echo "$CPP" >&6; }
6602 ac_preproc_ok=false
6603 for ac_c_preproc_warn_flag in '' yes
6605 # Use a header file that comes with gcc, so configuring glibc
6606 # with a fresh cross-compiler works.
6607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6608 # <limits.h> exists even on freestanding compilers.
6609 # On the NeXT, cc -E runs the code through the compiler's parser,
6610 # not just through cpp. "Syntax error" is here to catch this case.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #ifdef __STDC__
6614 # include <limits.h>
6615 #else
6616 # include <assert.h>
6617 #endif
6618 Syntax error
6619 _ACEOF
6620 if ac_fn_c_try_cpp "$LINENO"; then :
6622 else
6623 # Broken: fails on valid input.
6624 continue
6626 rm -f conftest.err conftest.i conftest.$ac_ext
6628 # OK, works on sane cases. Now check whether nonexistent headers
6629 # can be detected and how.
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <ac_nonexistent.h>
6633 _ACEOF
6634 if ac_fn_c_try_cpp "$LINENO"; then :
6635 # Broken: success on invalid input.
6636 continue
6637 else
6638 # Passes both tests.
6639 ac_preproc_ok=:
6640 break
6642 rm -f conftest.err conftest.i conftest.$ac_ext
6644 done
6645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6646 rm -f conftest.i conftest.err conftest.$ac_ext
6647 if $ac_preproc_ok; then :
6649 else
6650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6652 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6653 See \`config.log' for more details" "$LINENO" 5; }
6656 ac_ext=c
6657 ac_cpp='$CPP $CPPFLAGS'
6658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6664 $as_echo_n "checking for ANSI C header files... " >&6; }
6665 if ${ac_cv_header_stdc+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <stdlib.h>
6671 #include <stdarg.h>
6672 #include <string.h>
6673 #include <float.h>
6676 main ()
6680 return 0;
6682 _ACEOF
6683 if ac_fn_c_try_compile "$LINENO"; then :
6684 ac_cv_header_stdc=yes
6685 else
6686 ac_cv_header_stdc=no
6688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6690 if test $ac_cv_header_stdc = yes; then
6691 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6694 #include <string.h>
6696 _ACEOF
6697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6698 $EGREP "memchr" >/dev/null 2>&1; then :
6700 else
6701 ac_cv_header_stdc=no
6703 rm -f conftest*
6707 if test $ac_cv_header_stdc = yes; then
6708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #include <stdlib.h>
6713 _ACEOF
6714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6715 $EGREP "free" >/dev/null 2>&1; then :
6717 else
6718 ac_cv_header_stdc=no
6720 rm -f conftest*
6724 if test $ac_cv_header_stdc = yes; then
6725 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6726 if test "$cross_compiling" = yes; then :
6728 else
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 #include <ctype.h>
6732 #include <stdlib.h>
6733 #if ((' ' & 0x0FF) == 0x020)
6734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6736 #else
6737 # define ISLOWER(c) \
6738 (('a' <= (c) && (c) <= 'i') \
6739 || ('j' <= (c) && (c) <= 'r') \
6740 || ('s' <= (c) && (c) <= 'z'))
6741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6742 #endif
6744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6746 main ()
6748 int i;
6749 for (i = 0; i < 256; i++)
6750 if (XOR (islower (i), ISLOWER (i))
6751 || toupper (i) != TOUPPER (i))
6752 return 2;
6753 return 0;
6755 _ACEOF
6756 if ac_fn_c_try_run "$LINENO"; then :
6758 else
6759 ac_cv_header_stdc=no
6761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6762 conftest.$ac_objext conftest.beam conftest.$ac_ext
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6768 $as_echo "$ac_cv_header_stdc" >&6; }
6769 if test $ac_cv_header_stdc = yes; then
6771 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6775 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6776 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6777 inttypes.h stdint.h unistd.h
6778 do :
6779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6780 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6783 cat >>confdefs.h <<_ACEOF
6784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6785 _ACEOF
6789 done
6792 for ac_header in \
6793 AL/al.h \
6794 ApplicationServices/ApplicationServices.h \
6795 AudioToolbox/AudioConverter.h \
6796 AudioUnit/AudioUnit.h \
6797 AudioUnit/AudioComponent.h \
6798 CL/cl.h \
6799 Carbon/Carbon.h \
6800 CommonCrypto/CommonDigest.h \
6801 CoreAudio/CoreAudio.h \
6802 CoreServices/CoreServices.h \
6803 DiskArbitration/DiskArbitration.h \
6804 IOKit/IOKitLib.h \
6805 IOKit/hid/IOHIDLib.h \
6806 OpenAL/al.h \
6807 OpenCL/opencl.h \
6808 QuickTime/ImageCompression.h \
6809 Security/Security.h \
6810 alias.h \
6811 alsa/asoundlib.h \
6812 arpa/inet.h \
6813 arpa/nameser.h \
6814 asm/types.h \
6815 asm/user.h \
6816 curses.h \
6817 direct.h \
6818 dirent.h \
6819 dlfcn.h \
6820 elf.h \
6821 float.h \
6822 fnmatch.h \
6823 getopt.h \
6824 gettext-po.h \
6825 grp.h \
6826 gsm.h \
6827 gsm/gsm.h \
6828 ieeefp.h \
6829 inet/mib2.h \
6830 io.h \
6831 kstat.h \
6832 lber.h \
6833 ldap.h \
6834 libproc.h \
6835 link.h \
6836 linux/cdrom.h \
6837 linux/compiler.h \
6838 linux/filter.h \
6839 linux/hdreg.h \
6840 linux/hidraw.h \
6841 linux/input.h \
6842 linux/ioctl.h \
6843 linux/joystick.h \
6844 linux/major.h \
6845 linux/param.h \
6846 linux/serial.h \
6847 linux/types.h \
6848 linux/ucdrom.h \
6849 lwp.h \
6850 mach-o/nlist.h \
6851 mach-o/loader.h \
6852 mach/mach.h \
6853 mach/machine.h \
6854 machine/cpu.h \
6855 machine/limits.h \
6856 machine/sysarch.h \
6857 mntent.h \
6858 ncurses.h \
6859 netdb.h \
6860 netinet/in.h \
6861 netinet/in_systm.h \
6862 netinet/tcp.h \
6863 netinet/tcp_fsm.h \
6864 pcap/pcap.h \
6865 poll.h \
6866 port.h \
6867 process.h \
6868 pthread.h \
6869 pwd.h \
6870 sched.h \
6871 scsi/scsi.h \
6872 scsi/scsi_ioctl.h \
6873 scsi/sg.h \
6874 stdbool.h \
6875 stdint.h \
6876 stropts.h \
6877 sys/asoundlib.h \
6878 sys/attr.h \
6879 sys/cdio.h \
6880 sys/elf32.h \
6881 sys/epoll.h \
6882 sys/event.h \
6883 sys/exec_elf.h \
6884 sys/filio.h \
6885 sys/inotify.h \
6886 sys/ioctl.h \
6887 sys/ipc.h \
6888 sys/limits.h \
6889 sys/link.h \
6890 sys/mman.h \
6891 sys/modem.h \
6892 sys/msg.h \
6893 sys/mtio.h \
6894 sys/param.h \
6895 sys/poll.h \
6896 sys/prctl.h \
6897 sys/protosw.h \
6898 sys/ptrace.h \
6899 sys/queue.h \
6900 sys/resource.h \
6901 sys/scsiio.h \
6902 sys/shm.h \
6903 sys/signal.h \
6904 sys/socket.h \
6905 sys/socketvar.h \
6906 sys/sockio.h \
6907 sys/statvfs.h \
6908 sys/strtio.h \
6909 sys/syscall.h \
6910 sys/sysinfo.h \
6911 sys/tihdr.h \
6912 sys/time.h \
6913 sys/timeout.h \
6914 sys/times.h \
6915 sys/uio.h \
6916 sys/user.h \
6917 sys/utsname.h \
6918 sys/vm86.h \
6919 sys/vnode.h \
6920 sys/wait.h \
6921 syscall.h \
6922 termios.h \
6923 unistd.h \
6924 utime.h \
6925 valgrind/memcheck.h \
6926 valgrind/valgrind.h \
6927 zlib.h
6929 do :
6930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6931 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 _ACEOF
6939 done
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6942 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6943 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6944 $as_echo_n "(cached) " >&6
6945 else
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6948 #include <sys/types.h>
6950 main ()
6952 return makedev(0, 0);
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_link "$LINENO"; then :
6958 ac_cv_header_sys_types_h_makedev=yes
6959 else
6960 ac_cv_header_sys_types_h_makedev=no
6962 rm -f core conftest.err conftest.$ac_objext \
6963 conftest$ac_exeext conftest.$ac_ext
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6967 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6969 if test $ac_cv_header_sys_types_h_makedev = no; then
6970 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6971 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6973 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6979 if test $ac_cv_header_sys_mkdev_h = no; then
6980 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6981 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6983 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6992 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6993 if ${ac_cv_header_stat_broken+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h. */
6998 #include <sys/types.h>
6999 #include <sys/stat.h>
7001 #if defined S_ISBLK && defined S_IFDIR
7002 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7003 #endif
7005 #if defined S_ISBLK && defined S_IFCHR
7006 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7007 #endif
7009 #if defined S_ISLNK && defined S_IFREG
7010 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7011 #endif
7013 #if defined S_ISSOCK && defined S_IFREG
7014 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7015 #endif
7017 _ACEOF
7018 if ac_fn_c_try_compile "$LINENO"; then :
7019 ac_cv_header_stat_broken=no
7020 else
7021 ac_cv_header_stat_broken=yes
7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7026 $as_echo "$ac_cv_header_stat_broken" >&6; }
7027 if test $ac_cv_header_stat_broken = yes; then
7029 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7035 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7036 do :
7037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7038 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7039 #ifdef HAVE_SYS_PARAM_H
7040 # include <sys/param.h>
7041 #endif
7043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 _ACEOF
7050 done
7053 for ac_header in \
7054 netinet/ip.h \
7055 net/if.h \
7056 net/if_arp.h \
7057 net/if_dl.h \
7058 net/if_types.h \
7059 net/route.h \
7060 netinet/if_ether.h \
7061 netinet/if_inarp.h \
7062 netinet/in_pcb.h \
7063 netinet/ip_icmp.h \
7064 netinet/ip_var.h \
7065 netinet/udp.h \
7066 netipx/ipx.h \
7067 sys/un.h \
7069 do :
7070 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7071 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7072 #ifdef HAVE_SYS_SOCKET_H
7073 # include <sys/socket.h>
7074 #endif
7075 #ifdef HAVE_SYS_SOCKETVAR_H
7076 # include <sys/socketvar.h>
7077 #endif
7078 #ifdef HAVE_NET_ROUTE_H
7079 # include <net/route.h>
7080 #endif
7081 #ifdef HAVE_NETINET_IN_H
7082 # include <netinet/in.h>
7083 #endif
7084 #ifdef HAVE_NETINET_IN_SYSTM_H
7085 # include <netinet/in_systm.h>
7086 #endif
7087 #ifdef HAVE_NET_IF_H
7088 # include <net/if.h>
7089 #endif
7090 #ifdef HAVE_NETINET_IP_H
7091 # include <netinet/ip.h>
7092 #endif
7094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 _ACEOF
7101 done
7104 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7105 do :
7106 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7108 #ifdef HAVE_ALIAS_H
7109 # include <alias.h>
7110 #endif
7111 #ifdef HAVE_SYS_SOCKET_H
7112 # include <sys/socket.h>
7113 #endif
7114 #ifdef HAVE_SYS_SOCKETVAR_H
7115 # include <sys/socketvar.h>
7116 #endif
7117 #ifdef HAVE_SYS_TIMEOUT_H
7118 # include <sys/timeout.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IN_H
7121 # include <netinet/in.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IN_SYSTM_H
7124 # include <netinet/in_systm.h>
7125 #endif
7126 #ifdef HAVE_NETINET_IP_H
7127 # include <netinet/ip.h>
7128 #endif
7129 #ifdef HAVE_NETINET_IP_VAR_H
7130 # include <netinet/ip_var.h>
7131 #endif
7132 #ifdef HAVE_NETINET_IP_ICMP_H
7133 # include <netinet/ip_icmp.h>
7134 #endif
7135 #ifdef HAVE_NETINET_UDP_H
7136 # include <netinet/udp.h>
7137 #endif
7138 #ifdef HAVE_NETINET_TCP_H
7139 # include <netinet/tcp.h>
7140 #endif
7141 #ifdef HAVE_NETINET_TCP_TIMER_H
7142 #include <netinet/tcp_timer.h>
7143 #endif
7145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7146 cat >>confdefs.h <<_ACEOF
7147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 _ACEOF
7152 done
7155 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7156 do :
7157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7159 #ifdef HAVE_ASM_TYPES_H
7160 # include <asm/types.h>
7161 #endif
7162 #ifdef HAVE_SYS_SOCKET_H
7163 # include <sys/socket.h>
7164 #endif
7165 #ifdef HAVE_LINUX_TYPES_H
7166 # include <linux/types.h>
7167 #endif
7169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 _ACEOF
7176 done
7179 for ac_header in mach-o/dyld_images.h
7180 do :
7181 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7182 # include <stdbool.h>
7183 #endif
7184 #ifdef HAVE_STDINT_H
7185 # include <stdint.h>
7186 #endif
7188 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7191 _ACEOF
7195 done
7198 for ac_header in resolv.h
7199 do :
7200 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7201 #ifdef HAVE_SYS_SOCKET_H
7202 # include <sys/socket.h>
7203 #endif
7204 #ifdef HAVE_NETINET_IN_H
7205 # include <netinet/in.h>
7206 #endif
7207 #ifdef HAVE_ARPA_NAMESER_H
7208 # include <arpa/nameser.h>
7209 #endif
7211 if test "x$ac_cv_header_resolv_h" = xyes; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define HAVE_RESOLV_H 1
7214 _ACEOF
7218 done
7221 for ac_header in ifaddrs.h
7222 do :
7223 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7225 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define HAVE_IFADDRS_H 1
7228 _ACEOF
7232 done
7235 for ac_header in sys/ucontext.h
7236 do :
7237 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7239 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_SYS_UCONTEXT_H 1
7242 _ACEOF
7246 done
7249 for ac_header in sys/thr.h
7250 do :
7251 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7252 #ifdef HAVE_SYS_UCONTEXT_H
7253 #include <sys/ucontext.h>
7254 #endif
7256 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7257 cat >>confdefs.h <<_ACEOF
7258 #define HAVE_SYS_THR_H 1
7259 _ACEOF
7263 done
7266 for ac_header in pthread_np.h
7267 do :
7268 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7269 #include <pthread.h>
7270 #endif
7272 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define HAVE_PTHREAD_NP_H 1
7275 _ACEOF
7279 done
7282 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7283 do :
7284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7286 #include <sys/time.h>
7287 #endif
7288 #include <sys/types.h>
7289 #ifdef HAVE_ASM_TYPES_H
7290 #include <asm/types.h>
7291 #endif
7293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7294 cat >>confdefs.h <<_ACEOF
7295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7296 _ACEOF
7300 done
7303 for ac_header in libprocstat.h
7304 do :
7305 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7306 #include <sys/param.h>
7307 #endif
7308 #ifdef HAVE_SYS_QUEUE_H
7309 #include <sys/queue.h>
7310 #endif
7311 #ifdef HAVE_SYS_SOCKET_H
7312 #include <sys/socket.h>
7313 #endif
7315 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7316 cat >>confdefs.h <<_ACEOF
7317 #define HAVE_LIBPROCSTAT_H 1
7318 _ACEOF
7322 done
7326 dlldir="\${libdir}/wine"
7328 DLLFLAGS="-D_REENTRANT"
7330 LDRPATH_INSTALL=""
7332 LDRPATH_LOCAL=""
7334 LDEXECFLAGS=""
7336 LIBEXT="so"
7337 DLLEXT=".so"
7338 IMPLIBEXT="def"
7339 # Extract the first word of "ldd", so it can be a program name with args.
7340 set dummy ldd; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if ${ac_cv_path_LDD+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 case $LDD in
7347 [\\/]* | ?:[\\/]*)
7348 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 as_dummy="/sbin:/usr/sbin:$PATH"
7353 for as_dir in $as_dummy
7355 IFS=$as_save_IFS
7356 test -z "$as_dir" && as_dir=.
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7359 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7367 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7369 esac
7371 LDD=$ac_cv_path_LDD
7372 if test -n "$LDD"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7374 $as_echo "$LDD" >&6; }
7375 else
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 $as_echo "no" >&6; }
7381 if test -n "$ac_tool_prefix"; then
7382 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7383 set dummy ${ac_tool_prefix}otool; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if ${ac_cv_prog_OTOOL+:} false; then :
7387 $as_echo_n "(cached) " >&6
7388 else
7389 if test -n "$OTOOL"; then
7390 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7391 else
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7395 IFS=$as_save_IFS
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 IFS=$as_save_IFS
7409 OTOOL=$ac_cv_prog_OTOOL
7410 if test -n "$OTOOL"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7412 $as_echo "$OTOOL" >&6; }
7413 else
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 $as_echo "no" >&6; }
7420 if test -z "$ac_cv_prog_OTOOL"; then
7421 ac_ct_OTOOL=$OTOOL
7422 # Extract the first word of "otool", so it can be a program name with args.
7423 set dummy otool; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 $as_echo_n "checking for $ac_word... " >&6; }
7426 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7427 $as_echo_n "(cached) " >&6
7428 else
7429 if test -n "$ac_ct_OTOOL"; then
7430 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7431 else
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 for as_dir in $PATH
7435 IFS=$as_save_IFS
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_ac_ct_OTOOL="otool"
7440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 break 2
7443 done
7444 done
7445 IFS=$as_save_IFS
7449 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7450 if test -n "$ac_ct_OTOOL"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7452 $as_echo "$ac_ct_OTOOL" >&6; }
7453 else
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 $as_echo "no" >&6; }
7458 if test "x$ac_ct_OTOOL" = x; then
7459 OTOOL="otool"
7460 else
7461 case $cross_compiling:$ac_tool_warned in
7462 yes:)
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7465 ac_tool_warned=yes ;;
7466 esac
7467 OTOOL=$ac_ct_OTOOL
7469 else
7470 OTOOL="$ac_cv_prog_OTOOL"
7473 if test -n "$ac_tool_prefix"; then
7474 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7475 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if ${ac_cv_prog_READELF+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7481 if test -n "$READELF"; then
7482 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7491 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 break 2
7495 done
7496 done
7497 IFS=$as_save_IFS
7501 READELF=$ac_cv_prog_READELF
7502 if test -n "$READELF"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7504 $as_echo "$READELF" >&6; }
7505 else
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7512 if test -z "$ac_cv_prog_READELF"; then
7513 ac_ct_READELF=$READELF
7514 # Extract the first word of "readelf", so it can be a program name with args.
7515 set dummy readelf; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7519 $as_echo_n "(cached) " >&6
7520 else
7521 if test -n "$ac_ct_READELF"; then
7522 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7523 else
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 for as_dir in $PATH
7527 IFS=$as_save_IFS
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_ac_ct_READELF="readelf"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 break 2
7535 done
7536 done
7537 IFS=$as_save_IFS
7541 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7542 if test -n "$ac_ct_READELF"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7544 $as_echo "$ac_ct_READELF" >&6; }
7545 else
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7550 if test "x$ac_ct_READELF" = x; then
7551 READELF="true"
7552 else
7553 case $cross_compiling:$ac_tool_warned in
7554 yes:)
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557 ac_tool_warned=yes ;;
7558 esac
7559 READELF=$ac_ct_READELF
7561 else
7562 READELF="$ac_cv_prog_READELF"
7565 wine_rules_file=conf$$rules.make
7566 rm -f $wine_rules_file
7567 SUBDIRS=""
7569 DISABLED_SUBDIRS=""
7571 CONFIGURE_TARGETS=""
7573 ALL_TEST_RESOURCES=""
7576 wine_fn_append_file ()
7578 as_fn_append $1 " \\$as_nl $2"
7581 wine_fn_append_rule ()
7583 $as_echo "$1" >>$wine_rules_file
7586 wine_fn_has_flag ()
7588 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7591 wine_fn_all_rules ()
7593 wine_fn_append_file SUBDIRS $ac_dir
7594 wine_fn_append_rule \
7595 "all: $ac_dir
7596 .PHONY: $ac_dir
7597 $ac_dir: dummy
7598 @cd $ac_dir && \$(MAKE)"
7601 wine_fn_install_rules ()
7603 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7605 wine_fn_append_rule \
7606 ".PHONY: $ac_dir/install $ac_dir/uninstall
7607 $ac_dir/install:: $ac_dir
7608 @cd $ac_dir && \$(MAKE) install
7609 $ac_dir/uninstall::
7610 @cd $ac_dir && \$(MAKE) uninstall
7611 install:: $ac_dir/install
7612 __uninstall__: $ac_dir/uninstall"
7614 if wine_fn_has_flag install-lib
7615 then
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install-lib
7618 $ac_dir/install-lib:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install-lib
7620 install-lib:: $ac_dir/install-lib"
7623 if wine_fn_has_flag install-dev
7624 then
7625 wine_fn_append_rule \
7626 ".PHONY: $ac_dir/install-dev
7627 $ac_dir/install-dev:: $ac_dir
7628 @cd $ac_dir && \$(MAKE) install-dev
7629 install-dev:: $ac_dir/install-dev"
7633 wine_fn_clean_rules ()
7635 ac_clean=$@
7637 if wine_fn_has_flag clean
7638 then
7639 wine_fn_append_rule \
7640 "$ac_dir/clean: dummy
7641 @cd $ac_dir && \$(MAKE) clean"
7642 else
7643 wine_fn_append_rule \
7644 "$ac_dir/clean: dummy
7645 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7647 wine_fn_append_rule \
7648 "__clean__: $ac_dir/clean
7649 .PHONY: $ac_dir/clean"
7652 wine_fn_disabled_rules ()
7654 ac_clean=$@
7656 wine_fn_append_file SUBDIRS $ac_dir
7657 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7658 wine_fn_append_rule \
7659 "__clean__: $ac_dir/clean
7660 .PHONY: $ac_dir/clean
7661 $ac_dir/clean: dummy
7662 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7665 wine_fn_config_makefile ()
7667 ac_dir=$1
7668 ac_enable=$2
7669 ac_flags=$3
7671 case $ac_dir in
7672 fonts|server) test -z "$with_wine64" || return ;;
7673 esac
7674 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7675 wine_fn_disabled_rules; return
7677 wine_fn_all_rules
7678 wine_fn_install_rules
7679 wine_fn_clean_rules
7682 wine_fn_config_lib ()
7684 ac_name=$1
7685 ac_flags=$2
7686 ac_dir=dlls/$ac_name
7687 ac_deps="include"
7689 if test "x$enable_tools" = xno; then :
7691 else
7692 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7694 wine_fn_all_rules
7695 wine_fn_clean_rules
7697 wine_fn_append_rule \
7698 ".PHONY: $ac_dir/install $ac_dir/uninstall
7699 $ac_dir/install:: $ac_dir
7700 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7701 $ac_dir/uninstall::
7702 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7703 install install-dev:: $ac_dir/install
7704 __uninstall__: $ac_dir/uninstall
7705 __builddeps__: $ac_dir
7706 $ac_dir: $ac_deps"
7709 wine_fn_config_dll ()
7711 ac_name=$1
7712 ac_dir=dlls/$ac_name
7713 ac_enable=$2
7714 ac_flags=$3
7715 ac_implib=${4:-$ac_name}
7716 ac_file=$ac_dir/lib$ac_implib
7717 ac_dll=$ac_name
7718 ac_deps="include"
7719 ac_implibflags=""
7721 if test "x$enable_tools" = xno; then :
7723 else
7724 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7726 case $ac_name in
7727 *.*16) ac_implibflags=" -m16" ;;
7728 *.*) ;;
7729 *) ac_dll=$ac_dll.dll ;;
7730 esac
7732 ac_clean=
7733 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7734 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7736 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7737 if test "$ac_enable" != enable_win16
7738 then
7739 wine_fn_clean_rules $ac_clean
7740 wine_fn_append_file SUBDIRS $ac_dir
7741 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7742 else
7743 wine_fn_disabled_rules $ac_clean
7744 return
7746 else
7747 wine_fn_all_rules
7748 wine_fn_clean_rules $ac_clean
7749 wine_fn_append_rule \
7750 "$ac_dir: __builddeps__
7751 manpages htmlpages sgmlpages xmlpages::
7752 @cd $ac_dir && \$(MAKE) \$@
7753 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7754 install install-lib:: $ac_dir/install-lib
7755 __uninstall__: $ac_dir/uninstall"
7756 if test -n "$DLLEXT"
7757 then
7758 wine_fn_append_rule \
7759 "$ac_dir/install-lib:: $ac_dir
7760 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7761 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7762 $ac_dir/uninstall::
7763 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7764 else
7765 wine_fn_append_rule \
7766 "$ac_dir/install-lib:: $ac_dir
7767 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7768 $ac_dir/uninstall::
7769 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7773 if wine_fn_has_flag staticimplib
7774 then
7775 wine_fn_append_rule \
7776 "__builddeps__: $ac_file.a
7777 $ac_file.a $ac_file.cross.a: $ac_deps
7778 $ac_file.a: dummy
7779 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7780 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7781 $ac_dir/install-dev:: $ac_file.a
7782 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7783 $ac_dir/uninstall::
7784 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7785 install install-dev:: $ac_dir/install-dev
7786 __uninstall__: $ac_dir/uninstall"
7788 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7789 then
7790 wine_fn_append_rule \
7791 "__builddeps__: $ac_file.cross.a
7792 $ac_file.cross.a: dummy
7793 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7796 elif wine_fn_has_flag implib
7797 then
7798 wine_fn_append_rule \
7799 "__builddeps__: $ac_file.$IMPLIBEXT
7800 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7801 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7802 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7803 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7804 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7805 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7806 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7807 $ac_dir/uninstall::
7808 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7809 install install-dev:: $ac_dir/install-dev
7810 __uninstall__: $ac_dir/uninstall"
7811 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7812 then
7813 wine_fn_append_rule \
7814 "__builddeps__: $ac_file.cross.a
7815 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7816 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7821 wine_fn_config_program ()
7823 ac_name=$1
7824 ac_dir=programs/$ac_name
7825 ac_enable=$2
7826 ac_flags=$3
7827 ac_program=$ac_name
7829 case $ac_name in
7830 *.*) ;;
7831 *) ac_program=$ac_program.exe ;;
7832 esac
7834 ac_clean=
7835 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7836 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7838 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7839 wine_fn_disabled_rules $ac_clean; return
7842 wine_fn_all_rules
7843 wine_fn_clean_rules $ac_clean
7844 wine_fn_append_rule "$ac_dir: __builddeps__"
7846 wine_fn_has_flag install || return
7847 wine_fn_append_rule \
7848 ".PHONY: $ac_dir/install $ac_dir/uninstall
7849 install install-lib:: $ac_dir/install
7850 __uninstall__: $ac_dir/uninstall"
7852 if test -n "$DLLEXT"
7853 then
7854 wine_fn_append_rule \
7855 "$ac_dir/install:: $ac_dir
7856 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7857 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7858 $ac_dir/uninstall::
7859 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7861 if test -z "$with_wine64" && wine_fn_has_flag installbin
7862 then
7863 wine_fn_append_rule \
7864 "$ac_dir/install:: __tooldeps__
7865 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7866 $ac_dir/uninstall::
7867 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7869 else
7870 wine_fn_append_rule \
7871 "$ac_dir/install:: $ac_dir
7872 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7873 $ac_dir/uninstall::
7874 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7877 if test -z "$with_wine64" && wine_fn_has_flag manpage
7878 then
7879 wine_fn_append_rule \
7880 "$ac_dir/install:: $ac_dir
7881 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7882 $ac_dir/uninstall::
7883 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7887 wine_fn_config_test ()
7889 ac_dir=$1
7890 ac_name=$2
7891 ac_flags=$3
7893 ac_clean=
7894 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7895 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7897 if test "x$enable_tests" = xno; then :
7898 wine_fn_disabled_rules $ac_clean; return
7901 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7902 wine_fn_all_rules
7903 wine_fn_clean_rules $ac_clean
7905 wine_fn_append_rule \
7906 "$ac_dir: __builddeps__
7907 programs/winetest: $ac_dir
7908 check test: $ac_dir/test
7909 .PHONY: $ac_dir/test
7910 $ac_dir/test: dummy
7911 @cd $ac_dir && \$(MAKE) test
7912 testclean::
7913 \$(RM) $ac_dir/*.ok"
7915 if test -n "$CROSSTARGET"
7916 then
7917 wine_fn_append_rule \
7918 "crosstest: $ac_dir/crosstest
7919 .PHONY: $ac_dir/crosstest
7920 $ac_dir/crosstest: __builddeps__ dummy
7921 @cd $ac_dir && \$(MAKE) crosstest"
7925 wine_fn_config_tool ()
7927 ac_dir=$1
7928 ac_flags=$2
7929 if test "x$enable_tools" = xno; then :
7930 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7933 wine_fn_all_rules
7934 wine_fn_install_rules
7935 wine_fn_clean_rules
7937 wine_fn_append_rule "__tooldeps__: $ac_dir"
7938 wine_fn_append_rule "$ac_dir: libs/port"
7939 case $ac_dir in
7940 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7941 esac
7944 wine_fn_config_symlink ()
7946 ac_linkdir=
7947 if test "x$1" = "x-d"
7948 then
7949 ac_linkdir=$2
7950 shift; shift
7952 ac_links=$@
7953 wine_fn_append_rule \
7954 "$ac_links:
7955 @./config.status \$@"
7956 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7957 test -n "$ac_linkdir" || return
7958 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7961 wine_binary="wine"
7962 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7963 WINELOADER_PROGRAMS="$wine_binary"
7965 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7967 case $host_os in
7968 cygwin*|mingw32*)
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7971 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_DLLTOOL+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 if test -n "$DLLTOOL"; then
7978 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7979 else
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in $PATH
7983 IFS=$as_save_IFS
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989 break 2
7991 done
7992 done
7993 IFS=$as_save_IFS
7997 DLLTOOL=$ac_cv_prog_DLLTOOL
7998 if test -n "$DLLTOOL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8000 $as_echo "$DLLTOOL" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8008 if test -z "$ac_cv_prog_DLLTOOL"; then
8009 ac_ct_DLLTOOL=$DLLTOOL
8010 # Extract the first word of "dlltool", so it can be a program name with args.
8011 set dummy dlltool; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$ac_ct_DLLTOOL"; then
8018 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8038 if test -n "$ac_ct_DLLTOOL"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8040 $as_echo "$ac_ct_DLLTOOL" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8046 if test "x$ac_ct_DLLTOOL" = x; then
8047 DLLTOOL="false"
8048 else
8049 case $cross_compiling:$ac_tool_warned in
8050 yes:)
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053 ac_tool_warned=yes ;;
8054 esac
8055 DLLTOOL=$ac_ct_DLLTOOL
8057 else
8058 DLLTOOL="$ac_cv_prog_DLLTOOL"
8061 LIBEXT="dll"
8062 DLLEXT=""
8063 IMPLIBEXT="a"
8064 enable_iphlpapi=${enable_iphlpapi:-no}
8065 enable_kernel32=${enable_kernel32:-no}
8066 enable_msvcrt=${enable_msvcrt:-no}
8067 enable_ntdll=${enable_ntdll:-no}
8068 enable_ws2_32=${enable_ws2_32:-no}
8069 enable_loader=${enable_loader:-no}
8070 enable_server=${enable_server:-no}
8071 with_x=${with_x:-no}
8072 with_pthread=${with_pthread:-no}
8074 crtlibs=""
8075 case $host_os in
8076 mingw32*)
8077 crtlibs="-lmsvcrt"
8078 SOCKET_LIBS="-lws2_32"
8080 esac
8082 LIBWINE_SHAREDLIB="libwine.dll"
8084 LIBWINE_IMPORTLIB="libwine.a"
8086 LIBWINE_INSTALL_LIB="libwine.dll"
8088 LIBWINE_INSTALL_DEV="libwine.a"
8090 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8092 LIBWINE_DEPENDS="wine.def"
8096 darwin*|macosx*)
8097 for ac_header in libunwind.h
8098 do :
8099 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_LIBUNWIND_H 1
8103 _ACEOF
8107 done
8109 LIBEXT="dylib"
8110 DLLFLAGS="$DLLFLAGS -fPIC"
8111 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8112 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8113 COREFOUNDATION_LIBS="-framework CoreFoundation"
8115 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8117 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8119 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8121 CORESERVICES_LIBS="-framework CoreServices"
8123 APPKIT_LIBS="-framework AppKit"
8125 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8127 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8128 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130 else
8131 ac_wine_try_cflags_saved=$CFLAGS
8132 CFLAGS="$CFLAGS -Wl,-no_pie"
8133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 int main(int argc, char **argv) { return 0; }
8136 _ACEOF
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 ac_cv_cflags__Wl__no_pie=yes
8139 else
8140 ac_cv_cflags__Wl__no_pie=no
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 CFLAGS=$ac_wine_try_cflags_saved
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8147 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8148 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8149 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8151 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8152 then
8153 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8156 if test "$ac_cv_header_Security_Security_h" = "yes"
8157 then
8158 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8160 ac_save_LIBS="$LIBS"
8161 LIBS="$LIBS $SECURITY_LIBS"
8162 for ac_func in SSLCopyPeerCertificates
8163 do :
8164 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8165 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8166 cat >>confdefs.h <<_ACEOF
8167 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8168 _ACEOF
8171 done
8173 LIBS="$ac_save_LIBS"
8174 with_gnutls=${with_gnutls:-no}
8176 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8177 then
8178 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8179 then
8180 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8182 else
8183 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8186 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8187 ac_save_LIBS="$LIBS"
8188 LIBS="$LIBS $COREAUDIO_LIBS"
8189 for ac_func in AUGraphAddNode
8190 do :
8191 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8192 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_AUGRAPHADDNODE 1
8195 _ACEOF
8198 done
8200 LIBS="$ac_save_LIBS"
8202 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8203 then
8204 OPENAL_LIBS="-framework OpenAL"
8207 cat >>confdefs.h <<_ACEOF
8208 #define HAVE_OPENAL 1
8209 _ACEOF
8211 ac_cv_lib_openal=yes
8213 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8214 then
8215 OPENCL_LIBS="-framework OpenCL"
8217 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8219 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8220 then
8221 ac_save_LIBS="$LIBS"
8222 LIBS="$LIBS $IOKIT_LIBS"
8223 for ac_func in IOHIDManagerCreate
8224 do :
8225 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8226 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8227 cat >>confdefs.h <<_ACEOF
8228 #define HAVE_IOHIDMANAGERCREATE 1
8229 _ACEOF
8232 done
8234 LIBS="$ac_save_LIBS"
8236 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8237 then
8238 ac_save_LIBS="$LIBS"
8239 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8241 $as_echo_n "checking for the QuickTime framework... " >&6; }
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 #include <QuickTime/ImageCompression.h>
8246 main ()
8248 CodecManagerVersion(NULL);
8250 return 0;
8252 _ACEOF
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8255 $as_echo "yes" >&6; }
8256 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8258 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8262 ac_cv_header_QuickTime_ImageCompression_h=no
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 LIBS="$ac_save_LIBS"
8268 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8269 then
8270 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8272 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8273 then
8274 CARBON_LIBS="-framework Carbon"
8278 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8279 then
8280 ac_save_LIBS="$LIBS"
8281 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8282 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8283 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8284 enable_winemac_drv=${enable_winemac_drv:-yes}
8287 LIBS="$ac_save_LIBS"
8290 if test "x$enable_win16" = "xyes"
8291 then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8293 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8294 if test "$cross_compiling" = yes; then :
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8296 $as_echo "cross-compiling, assuming yes" >&6; }
8297 else
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 asm(".text\n"
8301 "bad:\tnop;nop\n"
8302 "good:\tnop;nop\n\t"
8303 ".globl _testfunc\n"
8304 "_testfunc:\tcallw good");
8305 extern void testfunc();
8307 main ()
8309 unsigned short *p = (unsigned short *)testfunc;
8310 return p[0] != 0xe866 || p[1] != 0xfffa
8312 return 0;
8314 _ACEOF
8315 if ac_fn_c_try_run "$LINENO"; then :
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8317 $as_echo "yes" >&6; }
8318 else
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8321 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
8323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8324 conftest.$ac_objext conftest.beam conftest.$ac_ext
8329 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8331 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8333 LIBWINE_INSTALL_DEV="libwine.dylib"
8335 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8337 WINELOADER_DEPENDS="wine_info.plist"
8341 linux-android*)
8342 DLLFLAGS="$DLLFLAGS -fPIC"
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8344 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8345 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 int main(int argc, char **argv) { return 0; }
8353 _ACEOF
8354 if ac_fn_c_try_link "$LINENO"; then :
8355 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8356 else
8357 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8359 rm -f core conftest.err conftest.$ac_objext \
8360 conftest$ac_exeext conftest.$ac_ext
8361 CFLAGS=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8364 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8365 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8366 LDEXECFLAGS="-Wl,--export-dynamic"
8368 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8370 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8371 if eval \${$as_ac_var+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 ac_wine_try_cflags_saved=$CFLAGS
8375 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8379 _ACEOF
8380 if ac_fn_c_try_link "$LINENO"; then :
8381 eval "$as_ac_var=yes"
8382 else
8383 eval "$as_ac_var=no"
8385 rm -f core conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 eval ac_res=\$$as_ac_var
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8391 $as_echo "$ac_res" >&6; }
8392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8393 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8394 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8395 else
8396 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8399 if eval \${$as_ac_var+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 eval "$as_ac_var=yes"
8410 else
8411 eval "$as_ac_var=no"
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 eval ac_res=\$$as_ac_var
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8419 $as_echo "$ac_res" >&6; }
8420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8421 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8422 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8427 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8428 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_cflags__Wl___enable_new_dtags=yes
8439 else
8440 ac_cv_cflags__Wl___enable_new_dtags=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8447 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8448 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8449 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8452 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8453 if ${ac_cv_cflags__Wl__pie+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 ac_wine_try_cflags_saved=$CFLAGS
8457 CFLAGS="$CFLAGS -Wl,-pie"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 int main(int argc, char **argv) { return 0; }
8461 _ACEOF
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 ac_cv_cflags__Wl__pie=yes
8464 else
8465 ac_cv_cflags__Wl__pie=no
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 CFLAGS=$ac_wine_try_cflags_saved
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8472 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8473 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8474 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8477 LIBWINE_SHAREDLIB="libwine.so"
8479 LIBWINE_INSTALL_LIB="libwine.so"
8481 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8486 DLLFLAGS="$DLLFLAGS -fPIC"
8487 LDEXECFLAGS=""
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8489 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8490 if ${ac_cv_c_dll_gnuelf+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 ac_wine_try_cflags_saved=$CFLAGS
8494 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8497 void myfunc() {}
8498 _ACEOF
8499 if ac_fn_c_try_link "$LINENO"; then :
8500 ac_cv_c_dll_gnuelf="yes"
8501 else
8502 ac_cv_c_dll_gnuelf="no"
8504 rm -f core conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8506 CFLAGS=$ac_wine_try_cflags_saved
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8509 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8510 if test "$ac_cv_c_dll_gnuelf" = "yes"
8511 then
8512 LIBWINE_LDFLAGS="-shared"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8514 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8515 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_wine_try_cflags_saved=$CFLAGS
8519 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8526 else
8527 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 CFLAGS=$ac_wine_try_cflags_saved
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8534 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8535 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8536 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8537 else
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8540 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8551 else
8552 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8559 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8560 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8561 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8565 echo '{ global: *; };' >conftest.map
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8567 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8568 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 int main(int argc, char **argv) { return 0; }
8576 _ACEOF
8577 if ac_fn_c_try_link "$LINENO"; then :
8578 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8579 else
8580 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 CFLAGS=$ac_wine_try_cflags_saved
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8587 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8588 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8589 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8591 rm -f conftest.map
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8594 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8595 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8606 else
8607 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 CFLAGS=$ac_wine_try_cflags_saved
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8614 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8615 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8616 LDEXECFLAGS="-Wl,--export-dynamic"
8619 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8621 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8622 if eval \${$as_ac_var+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 eval "$as_ac_var=yes"
8633 else
8634 eval "$as_ac_var=no"
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 eval ac_res=\$$as_ac_var
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8642 $as_echo "$ac_res" >&6; }
8643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8644 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8645 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8646 else
8647 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8649 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8650 if eval \${$as_ac_var+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 eval "$as_ac_var=yes"
8661 else
8662 eval "$as_ac_var=no"
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 eval ac_res=\$$as_ac_var
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8670 $as_echo "$ac_res" >&6; }
8671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8672 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8673 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8678 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8679 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl___enable_new_dtags=yes
8690 else
8691 ac_cv_cflags__Wl___enable_new_dtags=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8698 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8699 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8700 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8703 case $host_cpu in
8704 *i[3456789]86* | x86_64)
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8706 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8707 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_wine_try_cflags_saved=$CFLAGS
8711 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 int main(int argc, char **argv) { return 0; }
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8718 else
8719 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8726 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8727 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8728 case $host_os in
8729 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8730 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8731 esac
8732 else
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8734 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8735 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8746 else
8747 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8754 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8755 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8756 case $host_os in
8757 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8758 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8759 esac
8761 # Extract the first word of "prelink", so it can be a program name with args.
8762 set dummy prelink; ac_word=$2
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8764 $as_echo_n "checking for $ac_word... " >&6; }
8765 if ${ac_cv_path_PRELINK+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 case $PRELINK in
8769 [\\/]* | ?:[\\/]*)
8770 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 for as_dir in /sbin /usr/sbin $PATH
8776 IFS=$as_save_IFS
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8780 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 break 2
8784 done
8785 done
8786 IFS=$as_save_IFS
8788 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8790 esac
8792 PRELINK=$ac_cv_path_PRELINK
8793 if test -n "$PRELINK"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8795 $as_echo "$PRELINK" >&6; }
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8802 if test "x$PRELINK" = xfalse
8803 then
8804 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8808 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8809 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8820 else
8821 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8828 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8829 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8830 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8833 esac
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8837 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8838 if ${ac_cv_c_dll_unixware+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 void myfunc() {}
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_c_dll_unixware="yes"
8849 else
8850 ac_cv_c_dll_unixware="no"
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8857 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8858 if test "$ac_cv_c_dll_unixware" = "yes"
8859 then
8860 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8863 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8865 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8867 LIBWINE_INSTALL_DEV="libwine.so"
8869 LIBWINE_DEPENDS="wine.map"
8872 esac
8874 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8875 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8876 enable_winemac_drv=${enable_winemac_drv:-no}
8877 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8879 CROSSTARGET=""
8881 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8882 then
8883 case "$host_cpu" in
8884 arm*)
8885 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8886 i[3456789]86*)
8887 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
8888 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8889 mingw32-gcc" ;;
8890 x86_64)
8891 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
8892 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8894 ac_prefix_list="" ;;
8895 esac
8896 for ac_prog in $ac_prefix_list
8898 # Extract the first word of "$ac_prog", so it can be a program name with args.
8899 set dummy $ac_prog; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8901 $as_echo_n "checking for $ac_word... " >&6; }
8902 if ${ac_cv_prog_CROSSCC+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 if test -n "$CROSSCC"; then
8906 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8907 else
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 for as_dir in $PATH
8911 IFS=$as_save_IFS
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8915 ac_cv_prog_CROSSCC="$ac_prog"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 break 2
8919 done
8920 done
8921 IFS=$as_save_IFS
8925 CROSSCC=$ac_cv_prog_CROSSCC
8926 if test -n "$CROSSCC"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8928 $as_echo "$CROSSCC" >&6; }
8929 else
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8935 test -n "$CROSSCC" && break
8936 done
8937 test -n "$CROSSCC" || CROSSCC="false"
8939 if test "$CROSSCC" != "false"
8940 then
8941 ac_save_CC="$CC"
8942 CC="$CROSSCC"
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8944 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8949 main ()
8953 return 0;
8955 _ACEOF
8956 if ac_fn_c_try_compile "$LINENO"; then :
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8958 $as_echo "yes" >&6; }
8959 set x $CROSSCC
8960 shift
8961 while test $# -ge 1
8963 case "$1" in
8964 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8965 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8966 esac
8967 shift
8968 done
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8974 CC="$ac_save_CC"
8979 if test "$ac_cv_header_pthread_h" = "yes"
8980 then
8981 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8982 if test "x$ac_cv_func_pthread_create" = xyes; then :
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8986 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8987 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8988 $as_echo_n "(cached) " >&6
8989 else
8990 ac_check_lib_save_LIBS=$LIBS
8991 LIBS="-lpthread $LIBS"
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8995 /* Override any GCC internal prototype to avoid an error.
8996 Use char because int might match the return type of a GCC
8997 builtin and then its argument prototype would still apply. */
8998 #ifdef __cplusplus
8999 extern "C"
9000 #endif
9001 char pthread_create ();
9003 main ()
9005 return pthread_create ();
9007 return 0;
9009 _ACEOF
9010 if ac_fn_c_try_link "$LINENO"; then :
9011 ac_cv_lib_pthread_pthread_create=yes
9012 else
9013 ac_cv_lib_pthread_pthread_create=no
9015 rm -f core conftest.err conftest.$ac_objext \
9016 conftest$ac_exeext conftest.$ac_ext
9017 LIBS=$ac_check_lib_save_LIBS
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9020 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9021 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9022 PTHREAD_LIBS="-lpthread"
9029 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9030 case "x$with_pthread" in
9031 xno) ;;
9032 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9033 Wine cannot support threads without libpthread.
9034 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9035 esac
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9041 $as_echo_n "checking for X... " >&6; }
9044 # Check whether --with-x was given.
9045 if test "${with_x+set}" = set; then :
9046 withval=$with_x;
9049 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9050 if test "x$with_x" = xno; then
9051 # The user explicitly disabled X.
9052 have_x=disabled
9053 else
9054 case $x_includes,$x_libraries in #(
9055 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9056 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 # One or both of the vars are not set, and there is no cached value.
9060 ac_x_includes=no ac_x_libraries=no
9061 rm -f -r conftest.dir
9062 if mkdir conftest.dir; then
9063 cd conftest.dir
9064 cat >Imakefile <<'_ACEOF'
9065 incroot:
9066 @echo incroot='${INCROOT}'
9067 usrlibdir:
9068 @echo usrlibdir='${USRLIBDIR}'
9069 libdir:
9070 @echo libdir='${LIBDIR}'
9071 _ACEOF
9072 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9073 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9074 for ac_var in incroot usrlibdir libdir; do
9075 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9076 done
9077 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9078 for ac_extension in a so sl dylib la dll; do
9079 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9080 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9081 ac_im_usrlibdir=$ac_im_libdir; break
9083 done
9084 # Screen out bogus values from the imake configuration. They are
9085 # bogus both because they are the default anyway, and because
9086 # using them would break gcc on systems where it needs fixed includes.
9087 case $ac_im_incroot in
9088 /usr/include) ac_x_includes= ;;
9089 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9090 esac
9091 case $ac_im_usrlibdir in
9092 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9093 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9094 esac
9096 cd ..
9097 rm -f -r conftest.dir
9100 # Standard set of common directories for X headers.
9101 # Check X11 before X11Rn because it is often a symlink to the current release.
9102 ac_x_header_dirs='
9103 /usr/X11/include
9104 /usr/X11R7/include
9105 /usr/X11R6/include
9106 /usr/X11R5/include
9107 /usr/X11R4/include
9109 /usr/include/X11
9110 /usr/include/X11R7
9111 /usr/include/X11R6
9112 /usr/include/X11R5
9113 /usr/include/X11R4
9115 /usr/local/X11/include
9116 /usr/local/X11R7/include
9117 /usr/local/X11R6/include
9118 /usr/local/X11R5/include
9119 /usr/local/X11R4/include
9121 /usr/local/include/X11
9122 /usr/local/include/X11R7
9123 /usr/local/include/X11R6
9124 /usr/local/include/X11R5
9125 /usr/local/include/X11R4
9127 /usr/X386/include
9128 /usr/x386/include
9129 /usr/XFree86/include/X11
9131 /usr/include
9132 /usr/local/include
9133 /usr/unsupported/include
9134 /usr/athena/include
9135 /usr/local/x11r5/include
9136 /usr/lpp/Xamples/include
9138 /usr/openwin/include
9139 /usr/openwin/share/include'
9141 if test "$ac_x_includes" = no; then
9142 # Guess where to find include files, by looking for Xlib.h.
9143 # First, try using that file with no special directory specified.
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 #include <X11/Xlib.h>
9147 _ACEOF
9148 if ac_fn_c_try_cpp "$LINENO"; then :
9149 # We can compile using X headers with no special include directory.
9150 ac_x_includes=
9151 else
9152 for ac_dir in $ac_x_header_dirs; do
9153 if test -r "$ac_dir/X11/Xlib.h"; then
9154 ac_x_includes=$ac_dir
9155 break
9157 done
9159 rm -f conftest.err conftest.i conftest.$ac_ext
9160 fi # $ac_x_includes = no
9162 if test "$ac_x_libraries" = no; then
9163 # Check for the libraries.
9164 # See if we find them without any special options.
9165 # Don't add to $LIBS permanently.
9166 ac_save_LIBS=$LIBS
9167 LIBS="-lX11 $LIBS"
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9170 #include <X11/Xlib.h>
9172 main ()
9174 XrmInitialize ()
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 LIBS=$ac_save_LIBS
9181 # We can link X programs with no special library path.
9182 ac_x_libraries=
9183 else
9184 LIBS=$ac_save_LIBS
9185 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9187 # Don't even attempt the hair of trying to link an X program!
9188 for ac_extension in a so sl dylib la dll; do
9189 if test -r "$ac_dir/libX11.$ac_extension"; then
9190 ac_x_libraries=$ac_dir
9191 break 2
9193 done
9194 done
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 fi # $ac_x_libraries = no
9200 case $ac_x_includes,$ac_x_libraries in #(
9201 no,* | *,no | *\'*)
9202 # Didn't find X, or a directory has "'" in its name.
9203 ac_cv_have_x="have_x=no";; #(
9205 # Record where we found X for the cache.
9206 ac_cv_have_x="have_x=yes\
9207 ac_x_includes='$ac_x_includes'\
9208 ac_x_libraries='$ac_x_libraries'"
9209 esac
9211 ;; #(
9212 *) have_x=yes;;
9213 esac
9214 eval "$ac_cv_have_x"
9215 fi # $with_x != no
9217 if test "$have_x" != yes; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9219 $as_echo "$have_x" >&6; }
9220 no_x=yes
9221 else
9222 # If each of the values was on the command line, it overrides each guess.
9223 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9224 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9225 # Update the cache value to reflect the command line values.
9226 ac_cv_have_x="have_x=yes\
9227 ac_x_includes='$x_includes'\
9228 ac_x_libraries='$x_libraries'"
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9230 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9233 if test "$no_x" = yes; then
9234 # Not all programs may use this symbol, but it does not hurt to define it.
9236 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9238 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9239 else
9240 if test -n "$x_includes"; then
9241 X_CFLAGS="$X_CFLAGS -I$x_includes"
9244 # It would also be nice to do this for all -L options, not just this one.
9245 if test -n "$x_libraries"; then
9246 X_LIBS="$X_LIBS -L$x_libraries"
9247 # For Solaris; some versions of Sun CC require a space after -R and
9248 # others require no space. Words are not sufficient . . . .
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9250 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9251 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9252 ac_xsave_c_werror_flag=$ac_c_werror_flag
9253 ac_c_werror_flag=yes
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9258 main ()
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267 $as_echo "no" >&6; }
9268 X_LIBS="$X_LIBS -R$x_libraries"
9269 else
9270 LIBS="$ac_xsave_LIBS -R $x_libraries"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9275 main ()
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9284 $as_echo "yes" >&6; }
9285 X_LIBS="$X_LIBS -R $x_libraries"
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9288 $as_echo "neither works" >&6; }
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 ac_c_werror_flag=$ac_xsave_c_werror_flag
9296 LIBS=$ac_xsave_LIBS
9299 # Check for system-dependent libraries X programs must link with.
9300 # Do this before checking for the system-independent R6 libraries
9301 # (-lICE), since we may need -lsocket or whatever for X linking.
9303 if test "$ISC" = yes; then
9304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9305 else
9306 # Martyn Johnson says this is needed for Ultrix, if the X
9307 # libraries were built with DECnet support. And Karl Berry says
9308 # the Alpha needs dnet_stub (dnet does not exist).
9309 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9313 /* Override any GCC internal prototype to avoid an error.
9314 Use char because int might match the return type of a GCC
9315 builtin and then its argument prototype would still apply. */
9316 #ifdef __cplusplus
9317 extern "C"
9318 #endif
9319 char XOpenDisplay ();
9321 main ()
9323 return XOpenDisplay ();
9325 return 0;
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9330 else
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9332 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9333 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_lib_save_LIBS=$LIBS
9337 LIBS="-ldnet $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char dnet_ntoa ();
9349 main ()
9351 return dnet_ntoa ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_lib_dnet_dnet_ntoa=yes
9358 else
9359 ac_cv_lib_dnet_dnet_ntoa=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9366 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9367 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9371 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9373 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9374 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_check_lib_save_LIBS=$LIBS
9378 LIBS="-ldnet_stub $LIBS"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9385 #ifdef __cplusplus
9386 extern "C"
9387 #endif
9388 char dnet_ntoa ();
9390 main ()
9392 return dnet_ntoa ();
9394 return 0;
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9399 else
9400 ac_cv_lib_dnet_stub_dnet_ntoa=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9407 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9408 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 LIBS="$ac_xsave_LIBS"
9418 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9419 # to get the SysV transport functions.
9420 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9421 # needs -lnsl.
9422 # The nsl library prevents programs from opening the X display
9423 # on Irix 5.2, according to T.E. Dickey.
9424 # The functions gethostbyname, getservbyname, and inet_addr are
9425 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9426 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9427 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9431 if test $ac_cv_func_gethostbyname = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9433 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9434 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lnsl $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char gethostbyname ();
9450 main ()
9452 return gethostbyname ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_nsl_gethostbyname=yes
9459 else
9460 ac_cv_lib_nsl_gethostbyname=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9467 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9468 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9472 if test $ac_cv_lib_nsl_gethostbyname = no; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9474 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9475 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_check_lib_save_LIBS=$LIBS
9479 LIBS="-lbsd $LIBS"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9486 #ifdef __cplusplus
9487 extern "C"
9488 #endif
9489 char gethostbyname ();
9491 main ()
9493 return gethostbyname ();
9495 return 0;
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 ac_cv_lib_bsd_gethostbyname=yes
9500 else
9501 ac_cv_lib_bsd_gethostbyname=no
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 LIBS=$ac_check_lib_save_LIBS
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9508 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9509 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9516 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9517 # socket/setsockopt and other routines are undefined under SCO ODT
9518 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9519 # on later versions), says Simon Leinen: it contains gethostby*
9520 # variants that don't use the name server (or something). -lsocket
9521 # must be given before -lnsl if both are needed. We assume that
9522 # if connect needs -lnsl, so does gethostbyname.
9523 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9524 if test "x$ac_cv_func_connect" = xyes; then :
9528 if test $ac_cv_func_connect = no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9530 $as_echo_n "checking for connect in -lsocket... " >&6; }
9531 if ${ac_cv_lib_socket_connect+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char connect ();
9547 main ()
9549 return connect ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_socket_connect=yes
9556 else
9557 ac_cv_lib_socket_connect=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9564 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9565 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9566 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9571 # Guillermo Gomez says -lposix is necessary on A/UX.
9572 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9573 if test "x$ac_cv_func_remove" = xyes; then :
9577 if test $ac_cv_func_remove = no; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9579 $as_echo_n "checking for remove in -lposix... " >&6; }
9580 if ${ac_cv_lib_posix_remove+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lposix $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char remove ();
9596 main ()
9598 return remove ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_lib_posix_remove=yes
9605 else
9606 ac_cv_lib_posix_remove=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9613 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9614 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9620 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9621 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9622 if test "x$ac_cv_func_shmat" = xyes; then :
9626 if test $ac_cv_func_shmat = no; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9628 $as_echo_n "checking for shmat in -lipc... " >&6; }
9629 if ${ac_cv_lib_ipc_shmat+:} false; then :
9630 $as_echo_n "(cached) " >&6
9631 else
9632 ac_check_lib_save_LIBS=$LIBS
9633 LIBS="-lipc $LIBS"
9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9635 /* end confdefs.h. */
9637 /* Override any GCC internal prototype to avoid an error.
9638 Use char because int might match the return type of a GCC
9639 builtin and then its argument prototype would still apply. */
9640 #ifdef __cplusplus
9641 extern "C"
9642 #endif
9643 char shmat ();
9645 main ()
9647 return shmat ();
9649 return 0;
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9653 ac_cv_lib_ipc_shmat=yes
9654 else
9655 ac_cv_lib_ipc_shmat=no
9657 rm -f core conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9659 LIBS=$ac_check_lib_save_LIBS
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9662 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9663 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9664 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9670 # Check for libraries that X11R6 Xt/Xaw programs need.
9671 ac_save_LDFLAGS=$LDFLAGS
9672 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9673 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9674 # check for ICE first), but we must link in the order -lSM -lICE or
9675 # we get undefined symbols. So assume we have SM if we have ICE.
9676 # These have to be linked with before -lX11, unlike the other
9677 # libraries we check for below, so use a different variable.
9678 # John Interrante, Karl Berry
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9680 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9681 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9682 $as_echo_n "(cached) " >&6
9683 else
9684 ac_check_lib_save_LIBS=$LIBS
9685 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9689 /* Override any GCC internal prototype to avoid an error.
9690 Use char because int might match the return type of a GCC
9691 builtin and then its argument prototype would still apply. */
9692 #ifdef __cplusplus
9693 extern "C"
9694 #endif
9695 char IceConnectionNumber ();
9697 main ()
9699 return IceConnectionNumber ();
9701 return 0;
9703 _ACEOF
9704 if ac_fn_c_try_link "$LINENO"; then :
9705 ac_cv_lib_ICE_IceConnectionNumber=yes
9706 else
9707 ac_cv_lib_ICE_IceConnectionNumber=no
9709 rm -f core conftest.err conftest.$ac_objext \
9710 conftest$ac_exeext conftest.$ac_ext
9711 LIBS=$ac_check_lib_save_LIBS
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9714 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9715 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9716 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9719 LDFLAGS=$ac_save_LDFLAGS
9724 if test "$have_x" = "yes"
9725 then
9726 ac_save_CPPFLAGS="$CPPFLAGS"
9727 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9730 $as_echo_n "checking for -lX11... " >&6; }
9731 if ${ac_cv_lib_soname_X11+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 ac_check_soname_save_LIBS=$LIBS
9735 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9742 #ifdef __cplusplus
9743 extern "C"
9744 #endif
9745 char XCreateWindow ();
9747 main ()
9749 return XCreateWindow ();
9751 return 0;
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 case "$LIBEXT" in
9756 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9761 fi ;;
9762 esac
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LIBS=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_X11:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9772 else
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9774 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9776 cat >>confdefs.h <<_ACEOF
9777 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9778 _ACEOF
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9783 $as_echo_n "checking for -lXext... " >&6; }
9784 if ${ac_cv_lib_soname_Xext+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_check_soname_save_LIBS=$LIBS
9788 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char XextCreateExtension ();
9800 main ()
9802 return XextCreateExtension ();
9804 return 0;
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 case "$LIBEXT" in
9809 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9810 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'` ;;
9811 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9814 fi ;;
9815 esac
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LIBS=$ac_check_soname_save_LIBS
9821 if ${ac_cv_lib_soname_Xext:+false} :; then :
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9823 $as_echo "not found" >&6; }
9825 else
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9827 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9829 cat >>confdefs.h <<_ACEOF
9830 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9831 _ACEOF
9833 X_LIBS="$X_LIBS -lXext"
9835 X_LIBS="$X_LIBS -lX11"
9837 for ac_header in X11/Xlib.h \
9838 X11/XKBlib.h \
9839 X11/Xutil.h \
9840 X11/Xcursor/Xcursor.h \
9841 X11/extensions/shape.h \
9842 X11/extensions/XInput.h \
9843 X11/extensions/XInput2.h \
9844 X11/extensions/XShm.h \
9845 X11/extensions/Xcomposite.h \
9846 X11/extensions/Xinerama.h \
9847 X11/extensions/Xrandr.h \
9848 X11/extensions/Xrender.h \
9849 X11/extensions/xf86vmode.h \
9850 X11/extensions/xf86vmproto.h
9851 do :
9852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9854 # include <X11/Xlib.h>
9855 #endif
9856 #ifdef HAVE_X11_XUTIL_H
9857 # include <X11/Xutil.h>
9858 #endif
9860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9861 cat >>confdefs.h <<_ACEOF
9862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9863 _ACEOF
9867 done
9870 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9871 then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9873 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9874 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_lib_save_LIBS=$LIBS
9878 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XkbQueryExtension ();
9890 main ()
9892 return XkbQueryExtension ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_lib_X11_XkbQueryExtension=yes
9899 else
9900 ac_cv_lib_X11_XkbQueryExtension=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9907 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9908 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9910 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9916 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9917 then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9919 $as_echo_n "checking for -lXcursor... " >&6; }
9920 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XcursorImageLoadCursor ();
9936 main ()
9938 return XcursorImageLoadCursor ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 case "$LIBEXT" in
9945 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9946 dylib) ac_cv_lib_soname_Xcursor=`$OTOOL -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9947 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9950 fi ;;
9951 esac
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_soname_save_LIBS
9957 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9959 $as_echo "not found" >&6; }
9961 else
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9963 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9965 cat >>confdefs.h <<_ACEOF
9966 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9967 _ACEOF
9972 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9973 case "x$with_xcursor" in
9974 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9975 xno) ;;
9976 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9977 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9978 esac
9982 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9983 then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9985 $as_echo_n "checking for -lXi... " >&6; }
9986 if ${ac_cv_lib_soname_Xi+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 #ifdef __cplusplus
9998 extern "C"
9999 #endif
10000 char XOpenDevice ();
10002 main ()
10004 return XOpenDevice ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 case "$LIBEXT" in
10011 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10013 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10016 fi ;;
10017 esac
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_Xi:+false} :; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 $as_echo "not found" >&6; }
10027 else
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10029 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10031 cat >>confdefs.h <<_ACEOF
10032 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10033 _ACEOF
10038 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10039 case "x$with_xinput" in
10040 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10041 xno) ;;
10042 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10043 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10044 esac
10048 if test "x$ac_cv_lib_soname_Xi" != x
10049 then
10050 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10051 case "x$with_xinput2" in
10052 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10053 xno) ;;
10054 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10055 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10056 esac
10061 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10062 then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10064 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10065 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XShmQueryExtension ();
10081 main ()
10083 return XShmQueryExtension ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_Xext_XShmQueryExtension=yes
10090 else
10091 ac_cv_lib_Xext_XShmQueryExtension=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10098 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10099 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10101 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10106 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10107 case "x$with_xshm" in
10108 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10111 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10112 esac
10116 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10117 then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10119 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10120 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char XShapeQueryExtension ();
10136 main ()
10138 return XShapeQueryExtension ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_Xext_XShapeQueryExtension=yes
10145 else
10146 ac_cv_lib_Xext_XShapeQueryExtension=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10153 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10154 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10156 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10161 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10162 case "x$with_xshape" in
10163 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10164 xno) ;;
10165 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10166 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10167 esac
10171 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10172 then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10174 $as_echo_n "checking for -lXxf86vm... " >&6; }
10175 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_soname_save_LIBS=$LIBS
10179 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XF86VidModeQueryExtension ();
10191 main ()
10193 return XF86VidModeQueryExtension ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 case "$LIBEXT" in
10200 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10201 dylib) ac_cv_lib_soname_Xxf86vm=`$OTOOL -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10202 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 fi ;;
10206 esac
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_soname_save_LIBS
10212 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10214 $as_echo "not found" >&6; }
10216 else
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10218 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10220 cat >>confdefs.h <<_ACEOF
10221 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10222 _ACEOF
10227 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10228 case "x$with_xxf86vm" in
10229 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10230 xno) ;;
10231 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10232 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10233 esac
10237 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10238 then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10240 $as_echo_n "checking for -lXrender... " >&6; }
10241 if ${ac_cv_lib_soname_Xrender+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XRenderQueryExtension ();
10257 main ()
10259 return XRenderQueryExtension ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 case "$LIBEXT" in
10266 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 dylib) ac_cv_lib_soname_Xrender=`$OTOOL -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10268 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 fi ;;
10272 esac
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10282 else
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10284 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10286 cat >>confdefs.h <<_ACEOF
10287 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10288 _ACEOF
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10291 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10292 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10293 $as_echo_n "(cached) " >&6
10294 else
10295 ac_check_lib_save_LIBS=$LIBS
10296 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char XRenderSetPictureTransform ();
10308 main ()
10310 return XRenderSetPictureTransform ();
10312 return 0;
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10317 else
10318 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 LIBS=$ac_check_lib_save_LIBS
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10325 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10326 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10328 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10333 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10334 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_check_lib_save_LIBS=$LIBS
10338 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10345 #ifdef __cplusplus
10346 extern "C"
10347 #endif
10348 char XRenderCreateLinearGradient ();
10350 main ()
10352 return XRenderCreateLinearGradient ();
10354 return 0;
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10359 else
10360 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 LIBS=$ac_check_lib_save_LIBS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10367 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10368 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10370 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10377 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10378 case "x$with_xrender" in
10379 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10380 xno) ;;
10381 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10382 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10383 esac
10387 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10388 then
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xrandr.h>
10394 main ()
10396 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_compile "$LINENO"; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10403 $as_echo_n "checking for -lXrandr... " >&6; }
10404 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XRRQueryExtension ();
10420 main ()
10422 return XRRQueryExtension ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 dylib) ac_cv_lib_soname_Xrandr=`$OTOOL -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10431 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10447 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10451 _ACEOF
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 #include <X11/Xlib.h>
10456 #include <X11/extensions/Xrandr.h>
10458 main ()
10460 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_compile "$LINENO"; then :
10467 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10476 case "x$with_xrandr" in
10477 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10478 xno) ;;
10479 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10480 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10481 esac
10485 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10486 then
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xinerama.h>
10492 main ()
10494 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10496 return 0;
10498 _ACEOF
10499 if ac_fn_c_try_compile "$LINENO"; then :
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10501 $as_echo_n "checking for -lXinerama... " >&6; }
10502 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_soname_save_LIBS=$LIBS
10506 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char XineramaQueryScreens ();
10518 main ()
10520 return XineramaQueryScreens ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 case "$LIBEXT" in
10527 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10528 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'` ;;
10529 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10530 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10531 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10532 fi ;;
10533 esac
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_soname_save_LIBS
10539 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10541 $as_echo "not found" >&6; }
10543 else
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10545 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10547 cat >>confdefs.h <<_ACEOF
10548 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10549 _ACEOF
10554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10556 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10557 case "x$with_xinerama" in
10558 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10559 xno) ;;
10560 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10561 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10562 esac
10566 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10567 then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10569 $as_echo_n "checking for -lXcomposite... " >&6; }
10570 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_check_soname_save_LIBS=$LIBS
10574 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10581 #ifdef __cplusplus
10582 extern "C"
10583 #endif
10584 char XCompositeRedirectWindow ();
10586 main ()
10588 return XCompositeRedirectWindow ();
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 case "$LIBEXT" in
10595 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10599 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 fi ;;
10601 esac
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10611 else
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10613 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10615 cat >>confdefs.h <<_ACEOF
10616 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10617 _ACEOF
10622 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10623 case "x$with_xcomposite" in
10624 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10625 xno) ;;
10626 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10627 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10628 esac
10632 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10633 #include <X11/Xlib.h>
10634 #endif
10636 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10638 cat >>confdefs.h <<_ACEOF
10639 #define HAVE_XICCALLBACK_CALLBACK 1
10640 _ACEOF
10644 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10645 #include <X11/Xlib.h>
10646 #endif
10648 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10650 cat >>confdefs.h <<_ACEOF
10651 #define HAVE_XEVENT_XCOOKIE 1
10652 _ACEOF
10659 opengl_msg=""
10660 if test "x$with_opengl" != "xno"
10661 then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10663 $as_echo_n "checking for -lGL... " >&6; }
10664 if ${ac_cv_lib_soname_GL+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_soname_save_LIBS=$LIBS
10668 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10675 #ifdef __cplusplus
10676 extern "C"
10677 #endif
10678 char glXCreateContext ();
10680 main ()
10682 return glXCreateContext ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 case "$LIBEXT" in
10689 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10690 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'` ;;
10691 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10694 fi ;;
10695 esac
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_soname_save_LIBS
10701 if ${ac_cv_lib_soname_GL:+false} :; then :
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10703 $as_echo "not found" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10705 $as_echo_n "checking for -lGL... " >&6; }
10706 if ${ac_cv_lib_soname_GL+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 ac_check_soname_save_LIBS=$LIBS
10710 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"
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10717 #ifdef __cplusplus
10718 extern "C"
10719 #endif
10720 char glXCreateContext ();
10722 main ()
10724 return glXCreateContext ();
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 case "$LIBEXT" in
10731 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10732 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'` ;;
10733 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10736 fi ;;
10737 esac
10739 rm -f core conftest.err conftest.$ac_objext \
10740 conftest$ac_exeext conftest.$ac_ext
10741 LIBS=$ac_check_soname_save_LIBS
10743 if ${ac_cv_lib_soname_GL:+false} :; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10745 $as_echo "not found" >&6; }
10746 if test -f /usr/X11R6/lib/libGL.a
10747 then
10748 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10749 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10750 else
10751 opengl_msg="No OpenGL library found on this system."
10753 else
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10755 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10757 cat >>confdefs.h <<_ACEOF
10758 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10759 _ACEOF
10761 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"
10763 else
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10765 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10767 cat >>confdefs.h <<_ACEOF
10768 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10769 _ACEOF
10771 OPENGL_LIBS="-lGL"
10773 if test "x$with_glu" != "xno"
10774 then
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10776 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10777 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 ac_check_lib_save_LIBS=$LIBS
10781 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10788 #ifdef __cplusplus
10789 extern "C"
10790 #endif
10791 char gluLookAt ();
10793 main ()
10795 return gluLookAt ();
10797 return 0;
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"; then :
10801 ac_cv_lib_GLU_gluLookAt=yes
10802 else
10803 ac_cv_lib_GLU_gluLookAt=no
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_lib_save_LIBS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10810 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10811 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10815 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10816 case "x$with_glu" in
10817 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10818 xno) ;;
10819 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10820 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10821 esac
10826 if test "x$with_osmesa" != "xno"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10829 $as_echo_n "checking for -lOSMesa... " >&6; }
10830 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_soname_save_LIBS=$LIBS
10834 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char glAccum ();
10846 main ()
10848 return glAccum ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 case "$LIBEXT" in
10855 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10856 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'` ;;
10857 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10858 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10859 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10860 fi ;;
10861 esac
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10869 $as_echo "not found" >&6; }
10871 else
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10873 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10877 _ACEOF
10881 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10882 case "x$with_osmesa" in
10883 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10886 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10887 esac
10892 if test -n "$opengl_msg"; then :
10893 case "x$with_opengl" in
10894 x) as_fn_append wine_warnings "|$opengl_msg
10895 OpenGL and Direct3D won't be supported." ;;
10896 xno) ;;
10897 *) as_fn_error $? "$opengl_msg
10898 OpenGL and Direct3D won't be supported.
10899 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10900 esac
10904 CPPFLAGS="$ac_save_CPPFLAGS"
10905 else
10906 X_CFLAGS=""
10907 X_LIBS=""
10909 if test "x$X_LIBS" = "x"; then :
10910 case "x$with_x" in
10911 xno) ;;
10912 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10913 without X support, which probably isn't what you want. You will need
10914 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10915 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10916 esac
10917 enable_winex11_drv=${enable_winex11_drv:-no}
10920 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10922 if test "$ac_cv_header_CL_cl_h" = "yes"
10923 then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10925 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10926 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10927 $as_echo_n "(cached) " >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-lOpenCL $LIBS"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10937 #ifdef __cplusplus
10938 extern "C"
10939 #endif
10940 char clGetPlatformInfo ();
10942 main ()
10944 return clGetPlatformInfo ();
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10951 else
10952 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10959 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10960 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10961 OPENCL_LIBS="-lOpenCL"
10966 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10967 case "x$with_opencl" in
10968 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10969 xno) ;;
10970 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10971 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10972 esac
10973 enable_opencl=${enable_opencl:-no}
10976 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10977 then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10979 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10980 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10981 $as_echo_n "(cached) " >&6
10982 else
10983 ac_check_lib_save_LIBS=$LIBS
10984 LIBS="-lpcap $LIBS"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char pcap_create ();
10996 main ()
10998 return pcap_create ();
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 ac_cv_lib_pcap_pcap_create=yes
11005 else
11006 ac_cv_lib_pcap_pcap_create=no
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11013 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11014 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11015 PCAP_LIBS="-lpcap"
11020 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11021 case "x$with_pcap" in
11022 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11023 xno) ;;
11024 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11025 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11026 esac
11027 enable_wpcap=${enable_wpcap:-no}
11031 if test "x$with_xml" != "xno"
11032 then
11033 if ${XML2_CFLAGS:+false} :; then :
11034 if ${PKG_CONFIG+:} false; then :
11035 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11038 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11039 if ${XML2_LIBS:+false} :; then :
11040 if ${PKG_CONFIG+:} false; then :
11041 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11044 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11045 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11046 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11047 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11048 ac_save_CPPFLAGS=$CPPFLAGS
11049 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11050 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11051 do :
11052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11053 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11055 cat >>confdefs.h <<_ACEOF
11056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11057 _ACEOF
11061 done
11063 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"
11064 then
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11066 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11067 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11068 $as_echo_n "(cached) " >&6
11069 else
11070 ac_check_lib_save_LIBS=$LIBS
11071 LIBS="-lxml2 $XML2_LIBS $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char xmlParseMemory ();
11083 main ()
11085 return xmlParseMemory ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_xml2_xmlParseMemory=yes
11092 else
11093 ac_cv_lib_xml2_xmlParseMemory=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11100 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11101 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11103 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11105 else
11106 XML2_LIBS=""
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11110 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11111 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_lib_save_LIBS=$LIBS
11115 LIBS="-lxml2 $XML2_LIBS $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char xmlReadMemory ();
11127 main ()
11129 return xmlReadMemory ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 ac_cv_lib_xml2_xmlReadMemory=yes
11136 else
11137 ac_cv_lib_xml2_xmlReadMemory=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11144 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11145 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11147 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11152 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11153 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 ac_check_lib_save_LIBS=$LIBS
11157 LIBS="-lxml2 $XML2_LIBS $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char xmlNewDocPI ();
11169 main ()
11171 return xmlNewDocPI ();
11173 return 0;
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177 ac_cv_lib_xml2_xmlNewDocPI=yes
11178 else
11179 ac_cv_lib_xml2_xmlNewDocPI=no
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_lib_save_LIBS
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11186 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11187 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11189 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11194 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11195 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lxml2 $XML2_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char xmlSchemaSetParserStructuredErrors ();
11211 main ()
11213 return xmlSchemaSetParserStructuredErrors ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11220 else
11221 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11228 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11229 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11231 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11236 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11237 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11238 $as_echo_n "(cached) " >&6
11239 else
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-lxml2 $XML2_LIBS $LIBS"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char xmlSchemaSetValidStructuredErrors ();
11253 main ()
11255 return xmlSchemaSetValidStructuredErrors ();
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11262 else
11263 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11270 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11271 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11273 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11278 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11279 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lxml2 $XML2_LIBS $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char xmlFirstElementChild ();
11295 main ()
11297 return xmlFirstElementChild ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_xml2_xmlFirstElementChild=yes
11304 else
11305 ac_cv_lib_xml2_xmlFirstElementChild=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11312 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11313 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11315 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11319 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11321 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11323 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11327 else
11328 XML2_CFLAGS=""
11329 XML2_LIBS=""
11331 CPPFLAGS=$ac_save_CPPFLAGS
11332 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11333 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11336 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11337 case "x$with_xml" in
11338 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11339 xno) ;;
11340 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11341 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11342 esac
11346 if test "x$with_xslt" != "xno"
11347 then
11348 if ${XSLT_CFLAGS:+false} :; then :
11349 if ${PKG_CONFIG+:} false; then :
11350 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11353 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11354 if ${XSLT_LIBS:+false} :; then :
11355 if ${PKG_CONFIG+:} false; then :
11356 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11359 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11360 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11361 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11363 ac_save_CPPFLAGS=$CPPFLAGS
11364 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11365 for ac_header in libxslt/pattern.h libxslt/transform.h
11366 do :
11367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11369 # include <libxslt/pattern.h>
11370 #endif
11372 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11373 cat >>confdefs.h <<_ACEOF
11374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11375 _ACEOF
11379 done
11381 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11382 then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11384 $as_echo_n "checking for -lxslt... " >&6; }
11385 if ${ac_cv_lib_soname_xslt+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_soname_save_LIBS=$LIBS
11389 LIBS="-lxslt $XSLT_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char xsltCompilePattern ();
11401 main ()
11403 return xsltCompilePattern ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 case "$LIBEXT" in
11410 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if ${ac_cv_lib_soname_xslt:+false} :; then :
11414 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 fi ;;
11416 esac
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_xslt:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11428 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11432 _ACEOF
11436 else
11437 XSLT_CFLAGS=""
11439 CPPFLAGS=$ac_save_CPPFLAGS
11440 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11441 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11444 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11445 case "x$with_xslt" in
11446 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11447 xno) ;;
11448 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11449 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11450 esac
11454 if test "x$with_dbus" != "xno"
11455 then
11456 if ${DBUS_CFLAGS:+false} :; then :
11457 if ${PKG_CONFIG+:} false; then :
11458 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11462 if ${DBUS_LIBS:+false} :; then :
11463 if ${PKG_CONFIG+:} false; then :
11464 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11469 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11470 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11471 ac_save_CPPFLAGS=$CPPFLAGS
11472 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11473 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11476 $as_echo_n "checking for -ldbus-1... " >&6; }
11477 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_soname_save_LIBS=$LIBS
11481 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char dbus_connection_close ();
11493 main ()
11495 return dbus_connection_close ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 case "$LIBEXT" in
11502 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11503 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'` ;;
11504 *) 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'`
11505 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11506 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11507 fi ;;
11508 esac
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11517 DBUS_CFLAGS=""
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11520 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11522 cat >>confdefs.h <<_ACEOF
11523 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11524 _ACEOF
11528 else
11529 DBUS_CFLAGS=""
11533 CPPFLAGS=$ac_save_CPPFLAGS
11534 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11535 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11538 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11539 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11540 case "x$with_dbus" in
11541 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11542 xno) ;;
11543 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11544 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11545 esac
11549 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11550 then
11551 if ${HAL_CFLAGS:+false} :; then :
11552 if ${PKG_CONFIG+:} false; then :
11553 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11557 if ${HAL_LIBS:+false} :; then :
11558 if ${PKG_CONFIG+:} false; then :
11559 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11563 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11564 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11565 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11566 ac_save_CPPFLAGS=$CPPFLAGS
11567 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11568 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11569 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11571 $as_echo_n "checking for -lhal... " >&6; }
11572 if ${ac_cv_lib_soname_hal+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_soname_save_LIBS=$LIBS
11576 LIBS="-lhal $HAL_LIBS $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char libhal_ctx_new ();
11588 main ()
11590 return libhal_ctx_new ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 case "$LIBEXT" in
11597 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if ${ac_cv_lib_soname_hal:+false} :; then :
11601 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 fi ;;
11603 esac
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if ${ac_cv_lib_soname_hal:+false} :; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11612 HAL_CFLAGS=""
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11615 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11619 _ACEOF
11623 else
11624 HAL_CFLAGS=""
11628 CPPFLAGS=$ac_save_CPPFLAGS
11629 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11630 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11632 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11633 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11634 case "x$with_hal" in
11635 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11636 xno) ;;
11637 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11638 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11639 esac
11644 if test "x$with_gnutls" != "xno"
11645 then
11646 if ${GNUTLS_CFLAGS:+false} :; then :
11647 if ${PKG_CONFIG+:} false; then :
11648 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11652 if ${GNUTLS_LIBS:+false} :; then :
11653 if ${PKG_CONFIG+:} false; then :
11654 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11659 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11660 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11661 ac_save_CPPFLAGS=$CPPFLAGS
11662 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11663 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11664 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11667 #include <gnutls/gnutls.h>
11668 #include <gnutls/crypto.h>
11670 main ()
11672 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_compile "$LINENO"; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11679 $as_echo_n "checking for -lgnutls... " >&6; }
11680 if ${ac_cv_lib_soname_gnutls+:} false; then :
11681 $as_echo_n "(cached) " >&6
11682 else
11683 ac_check_soname_save_LIBS=$LIBS
11684 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char gnutls_global_init ();
11696 main ()
11698 return gnutls_global_init ();
11700 return 0;
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 case "$LIBEXT" in
11705 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11706 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'` ;;
11707 *) 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'`
11708 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11709 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'`
11710 fi ;;
11711 esac
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_soname_save_LIBS
11717 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11719 $as_echo "not found" >&6; }
11720 GNUTLS_CFLAGS=""
11721 else
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11723 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11725 cat >>confdefs.h <<_ACEOF
11726 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11727 _ACEOF
11731 ac_wine_check_funcs_save_LIBS="$LIBS"
11732 LIBS="$LIBS $GNUTLS_LIBS"
11733 for ac_func in gnutls_hash
11734 do :
11735 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11736 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11737 cat >>confdefs.h <<_ACEOF
11738 #define HAVE_GNUTLS_HASH 1
11739 _ACEOF
11741 else
11742 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11744 done
11746 LIBS="$ac_wine_check_funcs_save_LIBS"
11748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11749 else
11750 GNUTLS_CFLAGS=""
11754 CPPFLAGS=$ac_save_CPPFLAGS
11755 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11756 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11759 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11760 case "x$with_gnutls" in
11761 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11762 xno) ;;
11763 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11764 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11765 esac
11769 CURSES_LIBS=""
11770 if test "$ac_cv_header_ncurses_h" = "yes"
11771 then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11773 $as_echo_n "checking for -lncurses... " >&6; }
11774 if ${ac_cv_lib_soname_ncurses+:} false; then :
11775 $as_echo_n "(cached) " >&6
11776 else
11777 ac_check_soname_save_LIBS=$LIBS
11778 LIBS="-lncurses $LIBS"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11785 #ifdef __cplusplus
11786 extern "C"
11787 #endif
11788 char waddch ();
11790 main ()
11792 return waddch ();
11794 return 0;
11796 _ACEOF
11797 if ac_fn_c_try_link "$LINENO"; then :
11798 case "$LIBEXT" in
11799 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11800 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'` ;;
11801 *) 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'`
11802 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11803 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11804 fi ;;
11805 esac
11807 rm -f core conftest.err conftest.$ac_objext \
11808 conftest$ac_exeext conftest.$ac_ext
11809 LIBS=$ac_check_soname_save_LIBS
11811 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11813 $as_echo "not found" >&6; }
11815 else
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11817 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11819 cat >>confdefs.h <<_ACEOF
11820 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11821 _ACEOF
11823 CURSES_LIBS="-lncurses"
11825 elif test "$ac_cv_header_curses_h" = "yes"
11826 then
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11828 $as_echo_n "checking for -lcurses... " >&6; }
11829 if ${ac_cv_lib_soname_curses+:} false; then :
11830 $as_echo_n "(cached) " >&6
11831 else
11832 ac_check_soname_save_LIBS=$LIBS
11833 LIBS="-lcurses $LIBS"
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11840 #ifdef __cplusplus
11841 extern "C"
11842 #endif
11843 char waddch ();
11845 main ()
11847 return waddch ();
11849 return 0;
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"; then :
11853 case "$LIBEXT" in
11854 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11855 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'` ;;
11856 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11857 if ${ac_cv_lib_soname_curses:+false} :; then :
11858 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11859 fi ;;
11860 esac
11862 rm -f core conftest.err conftest.$ac_objext \
11863 conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_soname_save_LIBS
11866 if ${ac_cv_lib_soname_curses:+false} :; then :
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11868 $as_echo "not found" >&6; }
11870 else
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11872 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11874 cat >>confdefs.h <<_ACEOF
11875 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11876 _ACEOF
11878 CURSES_LIBS="-lcurses"
11881 ac_save_LIBS="$LIBS"
11882 LIBS="$LIBS $CURSES_LIBS"
11883 for ac_func in mousemask
11884 do :
11885 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11886 if test "x$ac_cv_func_mousemask" = xyes; then :
11887 cat >>confdefs.h <<_ACEOF
11888 #define HAVE_MOUSEMASK 1
11889 _ACEOF
11892 done
11894 LIBS="$ac_save_LIBS"
11895 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11896 case "x$with_curses" in
11897 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11898 xno) ;;
11899 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11900 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11901 esac
11905 if test "x$with_sane" != "xno"
11906 then
11907 if ${SANE_CFLAGS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11912 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11913 if ${SANE_LIBS:+false} :; then :
11914 if ${PKG_CONFIG+:} false; then :
11915 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11918 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11920 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11921 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11922 ac_save_CPPFLAGS=$CPPFLAGS
11923 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11924 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11925 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11927 $as_echo_n "checking for -lsane... " >&6; }
11928 if ${ac_cv_lib_soname_sane+:} false; then :
11929 $as_echo_n "(cached) " >&6
11930 else
11931 ac_check_soname_save_LIBS=$LIBS
11932 LIBS="-lsane $SANE_LIBS $LIBS"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11936 /* Override any GCC internal prototype to avoid an error.
11937 Use char because int might match the return type of a GCC
11938 builtin and then its argument prototype would still apply. */
11939 #ifdef __cplusplus
11940 extern "C"
11941 #endif
11942 char sane_init ();
11944 main ()
11946 return sane_init ();
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_link "$LINENO"; then :
11952 case "$LIBEXT" in
11953 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11954 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'` ;;
11955 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11956 if ${ac_cv_lib_soname_sane:+false} :; then :
11957 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11958 fi ;;
11959 esac
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_soname_save_LIBS
11965 if ${ac_cv_lib_soname_sane:+false} :; then :
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11967 $as_echo "not found" >&6; }
11968 SANE_CFLAGS=""
11969 else
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11971 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11973 cat >>confdefs.h <<_ACEOF
11974 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11975 _ACEOF
11979 else
11980 SANE_CFLAGS=""
11984 CPPFLAGS=$ac_save_CPPFLAGS
11985 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11986 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11989 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11990 case "x$with_sane" in
11991 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11992 xno) ;;
11993 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11994 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11995 esac
11999 if test "x$with_v4l" != "xno"
12000 then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12002 $as_echo_n "checking for -lv4l1... " >&6; }
12003 if ${ac_cv_lib_soname_v4l1+:} false; then :
12004 $as_echo_n "(cached) " >&6
12005 else
12006 ac_check_soname_save_LIBS=$LIBS
12007 LIBS="-lv4l1 $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char v4l1_open ();
12019 main ()
12021 return v4l1_open ();
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 case "$LIBEXT" in
12028 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12029 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'` ;;
12030 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12031 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12032 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12033 fi ;;
12034 esac
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_soname_save_LIBS
12040 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12042 $as_echo "not found" >&6; }
12044 else
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12046 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12048 cat >>confdefs.h <<_ACEOF
12049 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12050 _ACEOF
12055 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12056 case "x$with_v4l" in
12057 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12060 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12061 esac
12065 if test "x$with_gphoto" != "xno"
12066 then
12067 if ${GPHOTO2_CFLAGS:+false} :; then :
12068 if ${PKG_CONFIG+:} false; then :
12069 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12072 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12073 if ${GPHOTO2_LIBS:+false} :; then :
12074 if ${PKG_CONFIG+:} false; then :
12075 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12078 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12079 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12080 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12081 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12082 ac_save_CPPFLAGS=$CPPFLAGS
12083 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12084 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12085 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12087 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12088 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12089 $as_echo_n "(cached) " >&6
12090 else
12091 ac_check_lib_save_LIBS=$LIBS
12092 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12096 /* Override any GCC internal prototype to avoid an error.
12097 Use char because int might match the return type of a GCC
12098 builtin and then its argument prototype would still apply. */
12099 #ifdef __cplusplus
12100 extern "C"
12101 #endif
12102 char gp_camera_new ();
12104 main ()
12106 return gp_camera_new ();
12108 return 0;
12110 _ACEOF
12111 if ac_fn_c_try_link "$LINENO"; then :
12112 ac_cv_lib_gphoto2_gp_camera_new=yes
12113 else
12114 ac_cv_lib_gphoto2_gp_camera_new=no
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_lib_save_LIBS
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12121 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12122 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12124 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12126 else
12127 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12130 else
12131 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12136 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12137 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12139 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12140 if ${PKG_CONFIG+:} false; then :
12141 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12144 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12145 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12146 if ${PKG_CONFIG+:} false; then :
12147 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12150 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12151 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12152 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12154 ac_save_CPPFLAGS=$CPPFLAGS
12155 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12156 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12157 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12159 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12160 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_check_lib_save_LIBS=$LIBS
12164 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char gp_port_info_list_new ();
12176 main ()
12178 return gp_port_info_list_new ();
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12185 else
12186 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_lib_save_LIBS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12193 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12194 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12196 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12198 else
12199 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12202 else
12203 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12207 CPPFLAGS=$ac_save_CPPFLAGS
12208 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12209 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12212 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12213 case "x$with_gphoto" in
12214 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12215 xno) ;;
12216 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12217 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12218 esac
12221 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12222 case "x$with_gphoto" in
12223 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12224 xno) ;;
12225 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12226 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12227 esac
12232 if test "$ac_cv_header_resolv_h" = "yes"
12233 then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12235 $as_echo_n "checking for resolver library... " >&6; }
12236 if ${ac_cv_have_resolv+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_save_LIBS="$LIBS"
12240 for lib in '' -lresolv
12242 LIBS="$lib $ac_save_LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12245 #ifdef HAVE_NETINET_IN_H
12246 #include <netinet/in.h>
12247 #endif
12248 #include <resolv.h>
12250 main ()
12252 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"; then :
12258 ac_cv_have_resolv=${lib:-"none required"}
12259 else
12260 ac_cv_have_resolv="not found"
12262 rm -f core conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12264 test "x$ac_cv_have_resolv" = "xnot found" || break
12265 done
12266 LIBS="$ac_save_LIBS"
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12269 $as_echo "$ac_cv_have_resolv" >&6; }
12271 case "$ac_cv_have_resolv" in
12272 "not found") ;;
12273 "none required")
12275 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12278 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12280 RESOLV_LIBS=$ac_cv_have_resolv
12282 esac
12285 if test "x$with_cms" != "xno"
12286 then
12287 if ${LCMS2_CFLAGS:+false} :; then :
12288 if ${PKG_CONFIG+:} false; then :
12289 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12293 if ${LCMS2_LIBS:+false} :; then :
12294 if ${PKG_CONFIG+:} false; then :
12295 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12299 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12300 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12301 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12302 ac_save_CPPFLAGS=$CPPFLAGS
12303 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12304 for ac_header in lcms2.h
12305 do :
12306 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12307 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12308 cat >>confdefs.h <<_ACEOF
12309 #define HAVE_LCMS2_H 1
12310 _ACEOF
12314 done
12316 if test "$ac_cv_header_lcms2_h" = "yes"
12317 then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12319 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12320 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12321 $as_echo_n "(cached) " >&6
12322 else
12323 ac_check_lib_save_LIBS=$LIBS
12324 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12331 #ifdef __cplusplus
12332 extern "C"
12333 #endif
12334 char cmsOpenProfileFromFile ();
12336 main ()
12338 return cmsOpenProfileFromFile ();
12340 return 0;
12342 _ACEOF
12343 if ac_fn_c_try_link "$LINENO"; then :
12344 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12345 else
12346 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 LIBS=$ac_check_lib_save_LIBS
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12353 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12354 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12356 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12358 else
12359 LCMS2_LIBS=""
12362 else
12363 LCMS2_CFLAGS=""
12364 LCMS2_LIBS=""
12366 CPPFLAGS=$ac_save_CPPFLAGS
12367 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12368 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12371 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12372 case "x$with_cms" in
12373 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12374 xno) ;;
12375 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12376 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12377 esac
12381 if test "x$with_freetype" != "xno"
12382 then
12383 if ${FREETYPE_CFLAGS:+false} :; then :
12384 if ${PKG_CONFIG+:} false; then :
12385 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12388 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12389 if ${FREETYPE_LIBS:+false} :; then :
12390 if ${PKG_CONFIG+:} false; then :
12391 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12394 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12395 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12396 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12397 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12398 ac_save_CPPFLAGS=$CPPFLAGS
12399 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12400 for ac_header in ft2build.h
12401 do :
12402 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12404 cat >>confdefs.h <<_ACEOF
12405 #define HAVE_FT2BUILD_H 1
12406 _ACEOF
12410 done
12412 if test "$ac_cv_header_ft2build_h" = "yes"
12413 then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12415 $as_echo_n "checking for -lfreetype... " >&6; }
12416 if ${ac_cv_lib_soname_freetype+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_soname_save_LIBS=$LIBS
12420 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char FT_Init_FreeType ();
12432 main ()
12434 return FT_Init_FreeType ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 case "$LIBEXT" in
12441 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if ${ac_cv_lib_soname_freetype:+false} :; then :
12445 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12446 fi ;;
12447 esac
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_soname_save_LIBS
12453 if ${ac_cv_lib_soname_freetype:+false} :; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12456 FREETYPE_LIBS=""
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12459 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12461 cat >>confdefs.h <<_ACEOF
12462 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12463 _ACEOF
12466 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12468 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12469 #include FT_MODULE_H
12471 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12473 cat >>confdefs.h <<_ACEOF
12474 #define HAVE_FT_TRUETYPEENGINETYPE 1
12475 _ACEOF
12481 else
12482 FREETYPE_CFLAGS=""
12483 FREETYPE_LIBS=""
12485 CPPFLAGS=$ac_save_CPPFLAGS
12486 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12487 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12490 if test "x$ac_cv_lib_soname_freetype" = x; then :
12491 case "x$with_freetype" in
12492 xno) ;;
12493 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12494 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12495 esac
12496 enable_fonts=${enable_fonts:-no}
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12500 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12501 if ${ac_cv_c_ppdev+:} false; then :
12502 $as_echo_n "(cached) " >&6
12503 else
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12506 #ifdef HAVE_SYS_IOCTL_H
12507 # include <sys/ioctl.h>
12508 #endif
12509 #include <linux/ppdev.h>
12511 main ()
12513 ioctl (1,PPCLAIM,0)
12515 return 0;
12517 _ACEOF
12518 if ac_fn_c_try_compile "$LINENO"; then :
12519 ac_cv_c_ppdev="yes"
12520 else
12521 ac_cv_c_ppdev="no"
12523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12526 $as_echo "$ac_cv_c_ppdev" >&6; }
12527 if test "$ac_cv_c_ppdev" = "yes"
12528 then
12530 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12534 ac_wine_check_funcs_save_LIBS="$LIBS"
12535 LIBS="$LIBS $PTHREAD_LIBS"
12536 for ac_func in \
12537 pthread_attr_get_np \
12538 pthread_getattr_np \
12539 pthread_getthreadid_np \
12540 pthread_get_stackaddr_np \
12541 pthread_get_stacksize_np
12542 do :
12543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12546 cat >>confdefs.h <<_ACEOF
12547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12548 _ACEOF
12551 done
12553 LIBS="$ac_wine_check_funcs_save_LIBS"
12555 if test "$ac_cv_header_zlib_h" = "yes"
12556 then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12558 $as_echo_n "checking for inflate in -lz... " >&6; }
12559 if ${ac_cv_lib_z_inflate+:} false; then :
12560 $as_echo_n "(cached) " >&6
12561 else
12562 ac_check_lib_save_LIBS=$LIBS
12563 LIBS="-lz $LIBS"
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12570 #ifdef __cplusplus
12571 extern "C"
12572 #endif
12573 char inflate ();
12575 main ()
12577 return inflate ();
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 ac_cv_lib_z_inflate=yes
12584 else
12585 ac_cv_lib_z_inflate=no
12587 rm -f core conftest.err conftest.$ac_objext \
12588 conftest$ac_exeext conftest.$ac_ext
12589 LIBS=$ac_check_lib_save_LIBS
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12592 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12593 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12595 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12597 Z_LIBS="-lz"
12602 if test "x$Z_LIBS" = "x"; then :
12603 case "x$with_zlib" in
12604 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12605 xno) ;;
12606 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12607 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12608 esac
12612 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12613 then
12614 if test "$ac_cv_header_gettext_po_h" = "yes"
12615 then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12617 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12618 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12619 $as_echo_n "(cached) " >&6
12620 else
12621 ac_check_lib_save_LIBS=$LIBS
12622 LIBS="-lgettextpo $LIBS"
12623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12629 #ifdef __cplusplus
12630 extern "C"
12631 #endif
12632 char po_message_msgctxt ();
12634 main ()
12636 return po_message_msgctxt ();
12638 return 0;
12640 _ACEOF
12641 if ac_fn_c_try_link "$LINENO"; then :
12642 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12643 else
12644 ac_cv_lib_gettextpo_po_message_msgctxt=no
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_lib_save_LIBS
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12651 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12652 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12654 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12656 GETTEXTPO_LIBS="-lgettextpo"
12661 if test "x$GETTEXTPO_LIBS" = "x"; then :
12662 case "x$with_gettextpo" in
12663 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12664 xno) ;;
12665 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12666 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12667 esac
12670 if test "$srcdir" != .; then :
12671 case "x$with_gettextpo" in
12672 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12673 xno) ;;
12674 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12675 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12676 esac
12681 if test "x$with_pulse" != "xno";
12682 then
12683 if ${PULSE_CFLAGS:+false} :; then :
12684 if ${PKG_CONFIG+:} false; then :
12685 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12689 if ${PULSE_LIBS:+false} :; then :
12690 if ${PKG_CONFIG+:} false; then :
12691 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12696 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12697 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12698 ac_save_CPPFLAGS=$CPPFLAGS
12699 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12700 for ac_header in pulse/pulseaudio.h
12701 do :
12702 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12703 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12704 cat >>confdefs.h <<_ACEOF
12705 #define HAVE_PULSE_PULSEAUDIO_H 1
12706 _ACEOF
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12708 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12709 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lpulse $PULSE_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char pa_stream_is_corked ();
12725 main ()
12727 return pa_stream_is_corked ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 ac_cv_lib_pulse_pa_stream_is_corked=yes
12734 else
12735 ac_cv_lib_pulse_pa_stream_is_corked=no
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_lib_save_LIBS
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12742 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12743 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12745 else
12746 PULSE_LIBS=""
12749 else
12750 PULSE_LIBS=""
12753 done
12755 CPPFLAGS=$ac_save_CPPFLAGS
12756 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12757 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12760 if test -z "$PULSE_LIBS"; then :
12761 case "x$with_pulse" in
12762 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12763 xno) ;;
12764 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12765 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12766 esac
12767 enable_winepulse_drv=${enable_winepulse_drv:-no}
12770 if test "x$with_gstreamer" != "xno"
12771 then
12772 if ${GSTREAMER_CFLAGS:+false} :; then :
12773 if ${PKG_CONFIG+:} false; then :
12774 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12778 if ${GSTREAMER_LIBS:+false} :; then :
12779 if ${PKG_CONFIG+:} false; then :
12780 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12785 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12786 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12787 ac_save_CPPFLAGS=$CPPFLAGS
12788 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12789 ac_gst_incl=""
12790 for i in $GSTREAMER_CFLAGS
12792 case "$i" in
12793 -I*) ac_gst_incl="$ac_gst_incl $i";;
12794 esac
12795 done
12796 GSTREAMER_CFLAGS=$ac_gst_incl
12797 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12798 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12799 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12801 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12804 #include <gst/gst.h>
12806 main ()
12808 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_compile "$LINENO"; then :
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12815 $as_echo "yes" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12817 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12818 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12819 $as_echo_n "(cached) " >&6
12820 else
12821 ac_check_lib_save_LIBS=$LIBS
12822 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12829 #ifdef __cplusplus
12830 extern "C"
12831 #endif
12832 char gst_pad_new ();
12834 main ()
12836 return gst_pad_new ();
12838 return 0;
12840 _ACEOF
12841 if ac_fn_c_try_link "$LINENO"; then :
12842 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12843 else
12844 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12846 rm -f core conftest.err conftest.$ac_objext \
12847 conftest$ac_exeext conftest.$ac_ext
12848 LIBS=$ac_check_lib_save_LIBS
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12851 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12852 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12856 else
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12858 $as_echo "no" >&6; }
12859 ac_glib2_broken=yes
12860 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12866 CPPFLAGS=$ac_save_CPPFLAGS
12867 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12868 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12871 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 :
12872 case "x$with_gstreamer" in
12873 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12874 xno) ;;
12875 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12876 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12877 esac
12880 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12882 ALSA_LIBS=""
12884 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12885 then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12887 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12888 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12889 $as_echo_n "(cached) " >&6
12890 else
12891 ac_check_lib_save_LIBS=$LIBS
12892 LIBS="-lasound $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 #ifdef __cplusplus
12900 extern "C"
12901 #endif
12902 char snd_pcm_hw_params_get_access_mask ();
12904 main ()
12906 return snd_pcm_hw_params_get_access_mask ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"; then :
12912 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12913 else
12914 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12921 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12922 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12925 #ifdef HAVE_ALSA_ASOUNDLIB_H
12926 #include <alsa/asoundlib.h>
12927 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12928 #include <sys/asoundlib.h>
12929 #endif
12931 main ()
12933 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_compile "$LINENO"; then :
12939 ALSA_LIBS="-lasound"
12941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12945 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12947 if test "x$with_oss" != xno
12948 then
12949 ac_save_CPPFLAGS="$CPPFLAGS"
12950 if test -f /etc/oss.conf
12951 then
12952 . /etc/oss.conf
12954 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12955 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12956 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12958 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12960 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12964 _ACEOF
12966 OSS4_CFLAGS="$ac_oss_incl"
12973 CPPFLAGS="$ac_save_CPPFLAGS"
12975 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12976 case "x$with_oss" in
12977 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12978 xno) ;;
12979 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12980 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12981 esac
12982 enable_wineoss_drv=${enable_wineoss_drv:-no}
12985 if test "x$with_udev" != "xno"
12986 then
12987 if ${UDEV_CFLAGS:+false} :; then :
12988 if ${PKG_CONFIG+:} false; then :
12989 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12993 if ${UDEV_LIBS:+false} :; then :
12994 if ${PKG_CONFIG+:} false; then :
12995 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12999 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13002 ac_save_CPPFLAGS=$CPPFLAGS
13003 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13004 for ac_header in libudev.h
13005 do :
13006 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13007 if test "x$ac_cv_header_libudev_h" = xyes; then :
13008 cat >>confdefs.h <<_ACEOF
13009 #define HAVE_LIBUDEV_H 1
13010 _ACEOF
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13012 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13013 if ${ac_cv_lib_udev_udev_new+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_lib_save_LIBS=$LIBS
13017 LIBS="-ludev $UDEV_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char udev_new ();
13029 main ()
13031 return udev_new ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 ac_cv_lib_udev_udev_new=yes
13038 else
13039 ac_cv_lib_udev_udev_new=no
13041 rm -f core conftest.err conftest.$ac_objext \
13042 conftest$ac_exeext conftest.$ac_ext
13043 LIBS=$ac_check_lib_save_LIBS
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13046 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13047 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13049 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13051 else
13052 UDEV_LIBS=""
13055 else
13056 UDEV_LIBS=""
13059 done
13061 CPPFLAGS=$ac_save_CPPFLAGS
13062 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13063 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13066 if test "x$UDEV_LIBS" = "x"; then :
13067 case "x$with_udev" in
13068 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13069 xno) ;;
13070 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13071 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13072 esac
13076 if test "x$with_capi" != "xno"
13077 then
13078 if ${CAPI20_CFLAGS:+false} :; then :
13079 if ${PKG_CONFIG+:} false; then :
13080 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13084 if ${CAPI20_LIBS:+false} :; then :
13085 if ${PKG_CONFIG+:} false; then :
13086 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13091 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13095 for ac_header in capi20.h linux/capi.h
13096 do :
13097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13098 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13100 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13101 cat >>confdefs.h <<_ACEOF
13102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103 _ACEOF
13107 done
13109 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13110 then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13112 $as_echo_n "checking for -lcapi20... " >&6; }
13113 if ${ac_cv_lib_soname_capi20+:} false; then :
13114 $as_echo_n "(cached) " >&6
13115 else
13116 ac_check_soname_save_LIBS=$LIBS
13117 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13121 /* Override any GCC internal prototype to avoid an error.
13122 Use char because int might match the return type of a GCC
13123 builtin and then its argument prototype would still apply. */
13124 #ifdef __cplusplus
13125 extern "C"
13126 #endif
13127 char capi20_register ();
13129 main ()
13131 return capi20_register ();
13133 return 0;
13135 _ACEOF
13136 if ac_fn_c_try_link "$LINENO"; then :
13137 case "$LIBEXT" in
13138 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13139 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'` ;;
13140 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13141 if ${ac_cv_lib_soname_capi20:+false} :; then :
13142 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13143 fi ;;
13144 esac
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_soname_save_LIBS
13150 if ${ac_cv_lib_soname_capi20:+false} :; then :
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13152 $as_echo "not found" >&6; }
13154 else
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13156 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13158 cat >>confdefs.h <<_ACEOF
13159 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13160 _ACEOF
13165 CPPFLAGS=$ac_save_CPPFLAGS
13166 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13167 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13170 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13171 case "x$with_capi" in
13172 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13173 xno) ;;
13174 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13175 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13176 esac
13180 CUPS_CFLAGS=""
13182 if test "x$with_cups" != "xno"
13183 then
13184 ac_save_CPPFLAGS="$CPPFLAGS"
13185 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13186 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13187 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13188 for ac_header in cups/cups.h
13189 do :
13190 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13191 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13192 cat >>confdefs.h <<_ACEOF
13193 #define HAVE_CUPS_CUPS_H 1
13194 _ACEOF
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13196 $as_echo_n "checking for -lcups... " >&6; }
13197 if ${ac_cv_lib_soname_cups+:} false; then :
13198 $as_echo_n "(cached) " >&6
13199 else
13200 ac_check_soname_save_LIBS=$LIBS
13201 LIBS="-lcups $ac_cups_libs $LIBS"
13202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13205 /* Override any GCC internal prototype to avoid an error.
13206 Use char because int might match the return type of a GCC
13207 builtin and then its argument prototype would still apply. */
13208 #ifdef __cplusplus
13209 extern "C"
13210 #endif
13211 char cupsGetDefault ();
13213 main ()
13215 return cupsGetDefault ();
13217 return 0;
13219 _ACEOF
13220 if ac_fn_c_try_link "$LINENO"; then :
13221 case "$LIBEXT" in
13222 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13223 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'` ;;
13224 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13225 if ${ac_cv_lib_soname_cups:+false} :; then :
13226 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13227 fi ;;
13228 esac
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_soname_save_LIBS
13234 if ${ac_cv_lib_soname_cups:+false} :; then :
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13236 $as_echo "not found" >&6; }
13238 else
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13240 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13242 cat >>confdefs.h <<_ACEOF
13243 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13244 _ACEOF
13246 CUPS_CFLAGS="$ac_cups_cflags"
13248 for ac_header in cups/ppd.h
13249 do :
13250 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13251 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13252 cat >>confdefs.h <<_ACEOF
13253 #define HAVE_CUPS_PPD_H 1
13254 _ACEOF
13258 done
13262 done
13264 CPPFLAGS="$ac_save_CPPFLAGS"
13266 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13267 case "x$with_cups" in
13268 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13269 xno) ;;
13270 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13271 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13272 esac
13276 if test "x$with_fontconfig" != "xno"
13277 then
13278 if ${FONTCONFIG_CFLAGS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13283 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13284 if ${FONTCONFIG_LIBS:+false} :; then :
13285 if ${PKG_CONFIG+:} false; then :
13286 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13289 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13291 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13293 ac_save_CPPFLAGS=$CPPFLAGS
13294 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13295 for ac_header in fontconfig/fontconfig.h
13296 do :
13297 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13298 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13299 cat >>confdefs.h <<_ACEOF
13300 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13301 _ACEOF
13305 done
13307 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13308 then
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13310 $as_echo_n "checking for -lfontconfig... " >&6; }
13311 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13312 $as_echo_n "(cached) " >&6
13313 else
13314 ac_check_soname_save_LIBS=$LIBS
13315 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13322 #ifdef __cplusplus
13323 extern "C"
13324 #endif
13325 char FcInit ();
13327 main ()
13329 return FcInit ();
13331 return 0;
13333 _ACEOF
13334 if ac_fn_c_try_link "$LINENO"; then :
13335 case "$LIBEXT" in
13336 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13337 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'` ;;
13338 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13339 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13340 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13341 fi ;;
13342 esac
13344 rm -f core conftest.err conftest.$ac_objext \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_soname_save_LIBS
13348 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13350 $as_echo "not found" >&6; }
13351 FONTCONFIG_CFLAGS=""
13352 else
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13354 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13356 cat >>confdefs.h <<_ACEOF
13357 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13358 _ACEOF
13362 else
13363 FONTCONFIG_CFLAGS=""
13365 CPPFLAGS=$ac_save_CPPFLAGS
13366 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13367 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13370 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13371 case "x$with_fontconfig" in
13372 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13373 xno) ;;
13374 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13375 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13376 esac
13380 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13381 then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13383 $as_echo_n "checking for -lgsm... " >&6; }
13384 if ${ac_cv_lib_soname_gsm+:} false; then :
13385 $as_echo_n "(cached) " >&6
13386 else
13387 ac_check_soname_save_LIBS=$LIBS
13388 LIBS="-lgsm $LIBS"
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13395 #ifdef __cplusplus
13396 extern "C"
13397 #endif
13398 char gsm_create ();
13400 main ()
13402 return gsm_create ();
13404 return 0;
13406 _ACEOF
13407 if ac_fn_c_try_link "$LINENO"; then :
13408 case "$LIBEXT" in
13409 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13410 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'` ;;
13411 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13412 if ${ac_cv_lib_soname_gsm:+false} :; then :
13413 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13414 fi ;;
13415 esac
13417 rm -f core conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LIBS=$ac_check_soname_save_LIBS
13421 if ${ac_cv_lib_soname_gsm:+false} :; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13423 $as_echo "not found" >&6; }
13425 else
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13427 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13429 cat >>confdefs.h <<_ACEOF
13430 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13431 _ACEOF
13436 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13437 case "x$with_gsm" in
13438 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13439 xno) ;;
13440 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13441 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13442 esac
13446 if test "x$with_jpeg" != "xno"
13447 then
13448 if ${JPEG_CFLAGS:+false} :; then :
13449 if ${PKG_CONFIG+:} false; then :
13450 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13454 if ${JPEG_LIBS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13461 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13463 ac_save_CPPFLAGS=$CPPFLAGS
13464 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13465 for ac_header in jpeglib.h
13466 do :
13467 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13468 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13469 cat >>confdefs.h <<_ACEOF
13470 #define HAVE_JPEGLIB_H 1
13471 _ACEOF
13475 done
13477 if test "$ac_cv_header_jpeglib_h" = "yes"
13478 then
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13480 $as_echo_n "checking for -ljpeg... " >&6; }
13481 if ${ac_cv_lib_soname_jpeg+:} false; then :
13482 $as_echo_n "(cached) " >&6
13483 else
13484 ac_check_soname_save_LIBS=$LIBS
13485 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13489 /* Override any GCC internal prototype to avoid an error.
13490 Use char because int might match the return type of a GCC
13491 builtin and then its argument prototype would still apply. */
13492 #ifdef __cplusplus
13493 extern "C"
13494 #endif
13495 char jpeg_start_decompress ();
13497 main ()
13499 return jpeg_start_decompress ();
13501 return 0;
13503 _ACEOF
13504 if ac_fn_c_try_link "$LINENO"; then :
13505 case "$LIBEXT" in
13506 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13507 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'` ;;
13508 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13510 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13511 fi ;;
13512 esac
13514 rm -f core conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 LIBS=$ac_check_soname_save_LIBS
13518 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13520 $as_echo "not found" >&6; }
13521 JPEG_CFLAGS=""
13522 else
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13524 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13526 cat >>confdefs.h <<_ACEOF
13527 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13528 _ACEOF
13532 else
13533 JPEG_CFLAGS=""
13535 CPPFLAGS=$ac_save_CPPFLAGS
13536 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13537 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13540 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13541 case "x$with_jpeg" in
13542 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13543 xno) ;;
13544 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13545 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13546 esac
13550 if test "x$with_png" != "xno"
13551 then
13552 if ${PNG_CFLAGS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13557 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13558 if ${PNG_LIBS:+false} :; then :
13559 if ${PKG_CONFIG+:} false; then :
13560 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13563 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13565 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13567 ac_save_CPPFLAGS=$CPPFLAGS
13568 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13569 for ac_header in png.h
13570 do :
13571 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13572 if test "x$ac_cv_header_png_h" = xyes; then :
13573 cat >>confdefs.h <<_ACEOF
13574 #define HAVE_PNG_H 1
13575 _ACEOF
13579 done
13581 if test "$ac_cv_header_png_h" = "yes"
13582 then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13584 $as_echo_n "checking for -lpng... " >&6; }
13585 if ${ac_cv_lib_soname_png+:} false; then :
13586 $as_echo_n "(cached) " >&6
13587 else
13588 ac_check_soname_save_LIBS=$LIBS
13589 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13593 /* Override any GCC internal prototype to avoid an error.
13594 Use char because int might match the return type of a GCC
13595 builtin and then its argument prototype would still apply. */
13596 #ifdef __cplusplus
13597 extern "C"
13598 #endif
13599 char png_create_read_struct ();
13601 main ()
13603 return png_create_read_struct ();
13605 return 0;
13607 _ACEOF
13608 if ac_fn_c_try_link "$LINENO"; then :
13609 case "$LIBEXT" in
13610 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13611 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'` ;;
13612 *) 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'`
13613 if ${ac_cv_lib_soname_png:+false} :; then :
13614 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13615 fi ;;
13616 esac
13618 rm -f core conftest.err conftest.$ac_objext \
13619 conftest$ac_exeext conftest.$ac_ext
13620 LIBS=$ac_check_soname_save_LIBS
13622 if ${ac_cv_lib_soname_png:+false} :; then :
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13624 $as_echo "not found" >&6; }
13625 PNG_CFLAGS=""
13626 else
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13628 $as_echo "$ac_cv_lib_soname_png" >&6; }
13630 cat >>confdefs.h <<_ACEOF
13631 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13632 _ACEOF
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <png.h>
13638 main ()
13640 typeof(png_set_expand_gray_1_2_4_to_8) *p
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_compile "$LINENO"; then :
13647 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13652 else
13653 PNG_CFLAGS=""
13655 CPPFLAGS=$ac_save_CPPFLAGS
13656 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13657 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13660 if test "x$ac_cv_lib_soname_png" = "x"; then :
13661 case "x$with_png" in
13662 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13663 xno) ;;
13664 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13665 This is an error since --with-png was requested." "$LINENO" 5 ;;
13666 esac
13670 if test "x$with_tiff" != "xno"
13671 then
13672 if ${TIFF_CFLAGS:+false} :; then :
13673 if ${PKG_CONFIG+:} false; then :
13674 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13678 if ${TIFF_LIBS:+false} :; then :
13679 if ${PKG_CONFIG+:} false; then :
13680 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13687 ac_save_CPPFLAGS=$CPPFLAGS
13688 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13689 for ac_header in tiffio.h
13690 do :
13691 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13692 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13693 cat >>confdefs.h <<_ACEOF
13694 #define HAVE_TIFFIO_H 1
13695 _ACEOF
13699 done
13701 if test "$ac_cv_header_tiffio_h" = "yes"
13702 then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13704 $as_echo_n "checking for -ltiff... " >&6; }
13705 if ${ac_cv_lib_soname_tiff+:} false; then :
13706 $as_echo_n "(cached) " >&6
13707 else
13708 ac_check_soname_save_LIBS=$LIBS
13709 LIBS="-ltiff $TIFF_LIBS $LIBS"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13713 /* Override any GCC internal prototype to avoid an error.
13714 Use char because int might match the return type of a GCC
13715 builtin and then its argument prototype would still apply. */
13716 #ifdef __cplusplus
13717 extern "C"
13718 #endif
13719 char TIFFClientOpen ();
13721 main ()
13723 return TIFFClientOpen ();
13725 return 0;
13727 _ACEOF
13728 if ac_fn_c_try_link "$LINENO"; then :
13729 case "$LIBEXT" in
13730 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13731 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'` ;;
13732 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13733 if ${ac_cv_lib_soname_tiff:+false} :; then :
13734 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13735 fi ;;
13736 esac
13738 rm -f core conftest.err conftest.$ac_objext \
13739 conftest$ac_exeext conftest.$ac_ext
13740 LIBS=$ac_check_soname_save_LIBS
13742 if ${ac_cv_lib_soname_tiff:+false} :; then :
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13744 $as_echo "not found" >&6; }
13746 else
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13748 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13750 cat >>confdefs.h <<_ACEOF
13751 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13752 _ACEOF
13757 CPPFLAGS=$ac_save_CPPFLAGS
13758 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13759 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13762 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13763 case "x$with_tiff" in
13764 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13765 xno) ;;
13766 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13767 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13768 esac
13772 if test "x$with_mpg123" != "xno"
13773 then
13774 if ${MPG123_CFLAGS:+false} :; then :
13775 if ${PKG_CONFIG+:} false; then :
13776 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13780 if ${MPG123_LIBS:+false} :; then :
13781 if ${PKG_CONFIG+:} false; then :
13782 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13786 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13787 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13789 ac_save_CPPFLAGS=$CPPFLAGS
13790 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13791 for ac_header in mpg123.h
13792 do :
13793 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13795 cat >>confdefs.h <<_ACEOF
13796 #define HAVE_MPG123_H 1
13797 _ACEOF
13801 done
13803 if test "$ac_cv_header_mpg123_h" = "yes"
13804 then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13806 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13807 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_check_lib_save_LIBS=$LIBS
13811 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 #ifdef __cplusplus
13819 extern "C"
13820 #endif
13821 char mpg123_feed ();
13823 main ()
13825 return mpg123_feed ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_lib_mpg123_mpg123_feed=yes
13832 else
13833 ac_cv_lib_mpg123_mpg123_feed=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LIBS=$ac_check_lib_save_LIBS
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13840 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13841 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13843 else
13844 MPG123_LIBS=""
13847 else
13848 MPG123_CFLAGS=""
13849 MPG123_LIBS=""
13851 CPPFLAGS=$ac_save_CPPFLAGS
13852 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13853 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13856 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13857 case "x$with_mpg123" in
13858 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13859 xno) ;;
13860 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13861 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13862 esac
13863 enable_winemp3_acm=${enable_winemp3_acm:-no}
13866 if test "$ac_cv_header_AL_al_h" = "yes"
13867 then
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13869 $as_echo_n "checking for -lopenal... " >&6; }
13870 if ${ac_cv_lib_soname_openal+:} false; then :
13871 $as_echo_n "(cached) " >&6
13872 else
13873 ac_check_soname_save_LIBS=$LIBS
13874 LIBS="-lopenal $LIBS"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13881 #ifdef __cplusplus
13882 extern "C"
13883 #endif
13884 char alGetSource3i ();
13886 main ()
13888 return alGetSource3i ();
13890 return 0;
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 case "$LIBEXT" in
13895 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13896 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'` ;;
13897 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13898 if ${ac_cv_lib_soname_openal:+false} :; then :
13899 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13900 fi ;;
13901 esac
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS=$ac_check_soname_save_LIBS
13907 if ${ac_cv_lib_soname_openal:+false} :; then :
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13909 $as_echo "not found" >&6; }
13911 else
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13913 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13915 cat >>confdefs.h <<_ACEOF
13916 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13917 _ACEOF
13919 OPENAL_LIBS="-lopenal"
13921 ac_cv_lib_openal=yes
13923 cat >>confdefs.h <<_ACEOF
13924 #define HAVE_OPENAL 1
13925 _ACEOF
13929 if test "x$ac_cv_lib_openal" != xyes; then :
13930 case "x$with_openal" in
13931 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13932 xno) ;;
13933 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13934 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13935 esac
13936 enable_openal32=${enable_openal32:-no}
13939 if test "x$ac_cv_lib_openal" = xyes
13940 then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13942 $as_echo_n "checking for openal-soft... " >&6; }
13943 if ${ac_cv_have_openalsoft+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 #include <AL/al.h>
13949 #include <AL/alc.h>
13950 #include <AL/alext.h>
13951 LPALCRENDERSAMPLESSOFT x;
13953 main ()
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_compile "$LINENO"; then :
13961 ac_cv_have_openalsoft=yes
13962 else
13963 ac_cv_have_openalsoft=no
13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13968 $as_echo "$ac_cv_have_openalsoft" >&6; }
13970 if test "x$ac_cv_have_openalsoft" != xyes
13971 then
13972 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13973 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13974 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13975 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13976 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13977 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13978 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13979 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13980 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13981 enable_xapofx1_1=${enable_xapofx1_1:-no}
13982 enable_xapofx1_2=${enable_xapofx1_2:-no}
13983 enable_xapofx1_3=${enable_xapofx1_3:-no}
13984 enable_xapofx1_4=${enable_xapofx1_4:-no}
13985 enable_xapofx1_5=${enable_xapofx1_5:-no}
13986 enable_xaudio2_0=${enable_xaudio2_0:-no}
13987 enable_xaudio2_1=${enable_xaudio2_1:-no}
13988 enable_xaudio2_2=${enable_xaudio2_2:-no}
13989 enable_xaudio2_3=${enable_xaudio2_3:-no}
13990 enable_xaudio2_4=${enable_xaudio2_4:-no}
13991 enable_xaudio2_5=${enable_xaudio2_5:-no}
13992 enable_xaudio2_6=${enable_xaudio2_6:-no}
13993 enable_xaudio2_7=${enable_xaudio2_7:-no}
13994 enable_xaudio2_8=${enable_xaudio2_8:-no}
13995 enable_xaudio2_9=${enable_xaudio2_9:-no}
13998 if test "$ac_cv_header_kstat_h" = "yes"
13999 then
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14001 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14002 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_check_lib_save_LIBS=$LIBS
14006 LIBS="-lkstat $LIBS"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14010 /* Override any GCC internal prototype to avoid an error.
14011 Use char because int might match the return type of a GCC
14012 builtin and then its argument prototype would still apply. */
14013 #ifdef __cplusplus
14014 extern "C"
14015 #endif
14016 char kstat_open ();
14018 main ()
14020 return kstat_open ();
14022 return 0;
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_lib_kstat_kstat_open=yes
14027 else
14028 ac_cv_lib_kstat_kstat_open=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_lib_save_LIBS
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14035 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14036 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14038 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14040 KSTAT_LIBS="-lkstat"
14046 if test "$ac_cv_header_libprocstat_h" = "yes"
14047 then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14049 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14050 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_check_lib_save_LIBS=$LIBS
14054 LIBS="-lprocstat $LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 #ifdef __cplusplus
14062 extern "C"
14063 #endif
14064 char procstat_open_sysctl ();
14066 main ()
14068 return procstat_open_sysctl ();
14070 return 0;
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 ac_cv_lib_procstat_procstat_open_sysctl=yes
14075 else
14076 ac_cv_lib_procstat_procstat_open_sysctl=no
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_lib_save_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14083 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14084 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14086 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14088 PROCSTAT_LIBS="-lprocstat"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14095 $as_echo_n "checking for -lodbc... " >&6; }
14096 if ${ac_cv_lib_soname_odbc+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 ac_check_soname_save_LIBS=$LIBS
14100 LIBS="-lodbc $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 #ifdef __cplusplus
14108 extern "C"
14109 #endif
14110 char SQLConnect ();
14112 main ()
14114 return SQLConnect ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 case "$LIBEXT" in
14121 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14122 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'` ;;
14123 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14124 if ${ac_cv_lib_soname_odbc:+false} :; then :
14125 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14126 fi ;;
14127 esac
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_soname_save_LIBS
14133 if ${ac_cv_lib_soname_odbc:+false} :; then :
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14135 $as_echo "not found" >&6; }
14136 cat >>confdefs.h <<_ACEOF
14137 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14138 _ACEOF
14140 else
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14142 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14144 cat >>confdefs.h <<_ACEOF
14145 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14146 _ACEOF
14151 if test "x$with_netapi" != "xno"
14152 then
14153 if ${NETAPI_CFLAGS:+false} :; then :
14154 if ${PKG_CONFIG+:} false; then :
14155 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14159 if ${NETAPI_LIBS:+false} :; then :
14160 if ${PKG_CONFIG+:} false; then :
14161 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14166 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14167 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14168 ac_save_CPPFLAGS=$CPPFLAGS
14169 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14171 $as_echo_n "checking for -lnetapi... " >&6; }
14172 if ${ac_cv_lib_soname_netapi+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 ac_check_soname_save_LIBS=$LIBS
14176 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14183 #ifdef __cplusplus
14184 extern "C"
14185 #endif
14186 char libnetapi_init ();
14188 main ()
14190 return libnetapi_init ();
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 case "$LIBEXT" in
14197 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14198 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'` ;;
14199 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14200 if ${ac_cv_lib_soname_netapi:+false} :; then :
14201 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14202 fi ;;
14203 esac
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS=$ac_check_soname_save_LIBS
14209 if ${ac_cv_lib_soname_netapi:+false} :; then :
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14211 $as_echo "not found" >&6; }
14212 cat >>confdefs.h <<_ACEOF
14213 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14214 _ACEOF
14216 else
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14218 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14220 cat >>confdefs.h <<_ACEOF
14221 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14222 _ACEOF
14226 CPPFLAGS=$ac_save_CPPFLAGS
14227 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14228 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14232 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14233 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14234 then
14235 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14239 EXTRACFLAGS=""
14241 if test "x${GCC}" = "xyes"
14242 then
14243 EXTRACFLAGS="-Wall -pipe"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14246 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14247 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 if test "$cross_compiling" = yes; then :
14251 ac_cv_c_gcc_strength_bug="no"
14252 else
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 int L[4] = {0,1,2,3};
14257 main ()
14259 static int Array[3];
14260 unsigned int B = 3;
14261 int i;
14262 for(i=0; i<B; i++) Array[i] = i - 3;
14263 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14264 L[i] = 4;
14265 return (Array[1] != -2 || L[2] != 3)
14267 return 0;
14269 _ACEOF
14270 if ac_fn_c_try_run "$LINENO"; then :
14271 ac_cv_c_gcc_strength_bug="no"
14272 else
14273 ac_cv_c_gcc_strength_bug="yes"
14275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14276 conftest.$ac_objext conftest.beam conftest.$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14281 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14282 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14283 then
14284 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14288 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14289 if ${ac_cv_cflags__fno_builtin+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -fno-builtin"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__fno_builtin=yes
14300 else
14301 ac_cv_cflags__fno_builtin=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14308 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14309 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14310 BUILTINFLAG="-fno-builtin"
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14314 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14315 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 ac_wine_try_cflags_saved=$CFLAGS
14319 CFLAGS="$CFLAGS -fno-strict-aliasing"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14322 int main(int argc, char **argv) { return 0; }
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_cflags__fno_strict_aliasing=yes
14326 else
14327 ac_cv_cflags__fno_strict_aliasing=no
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 CFLAGS=$ac_wine_try_cflags_saved
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14334 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14335 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14336 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14339 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14340 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_wine_try_cflags_saved=$CFLAGS
14344 CFLAGS="$CFLAGS -fexcess-precision=standard"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 int main(int argc, char **argv) { return 0; }
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_cflags__fexcess_precision_standard=yes
14351 else
14352 ac_cv_cflags__fexcess_precision_standard=no
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14356 CFLAGS=$ac_wine_try_cflags_saved
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14359 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14360 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14361 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14364 saved_CFLAGS=$CFLAGS
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14366 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14367 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_wine_try_cflags_saved=$CFLAGS
14371 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 int main(int argc, char **argv) { return 0; }
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"; then :
14377 ac_cv_cflags__Werror_unknown_warning_option=yes
14378 else
14379 ac_cv_cflags__Werror_unknown_warning_option=no
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 CFLAGS=$ac_wine_try_cflags_saved
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14386 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14387 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14388 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14391 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14392 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_wine_try_cflags_saved=$CFLAGS
14396 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 int main(int argc, char **argv) { return 0; }
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_cflags__Wdeclaration_after_statement=yes
14403 else
14404 ac_cv_cflags__Wdeclaration_after_statement=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 CFLAGS=$ac_wine_try_cflags_saved
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14411 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14412 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14413 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14416 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14417 if ${ac_cv_cflags__Wempty_body+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_wine_try_cflags_saved=$CFLAGS
14421 CFLAGS="$CFLAGS -Wempty-body"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14424 int main(int argc, char **argv) { return 0; }
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_cflags__Wempty_body=yes
14428 else
14429 ac_cv_cflags__Wempty_body=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 CFLAGS=$ac_wine_try_cflags_saved
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14436 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14437 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14438 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14441 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14442 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_wine_try_cflags_saved=$CFLAGS
14446 CFLAGS="$CFLAGS -Wignored-qualifiers"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_cflags__Wignored_qualifiers=yes
14453 else
14454 ac_cv_cflags__Wignored_qualifiers=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 CFLAGS=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14461 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14462 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14463 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14466 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14467 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -Wshift-overflow=2"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 int main(int argc, char **argv) { return 0; }
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_cflags__Wshift_overflow_2=yes
14478 else
14479 ac_cv_cflags__Wshift_overflow_2=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 CFLAGS=$ac_wine_try_cflags_saved
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14486 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14487 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14488 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14491 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14492 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 ac_wine_try_cflags_saved=$CFLAGS
14496 CFLAGS="$CFLAGS -Wstrict-prototypes"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 int main(int argc, char **argv) { return 0; }
14500 _ACEOF
14501 if ac_fn_c_try_link "$LINENO"; then :
14502 ac_cv_cflags__Wstrict_prototypes=yes
14503 else
14504 ac_cv_cflags__Wstrict_prototypes=no
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 CFLAGS=$ac_wine_try_cflags_saved
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14511 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14512 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14513 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14516 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14517 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 ac_wine_try_cflags_saved=$CFLAGS
14521 CFLAGS="$CFLAGS -Wtype-limits"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14524 int main(int argc, char **argv) { return 0; }
14525 _ACEOF
14526 if ac_fn_c_try_link "$LINENO"; then :
14527 ac_cv_cflags__Wtype_limits=yes
14528 else
14529 ac_cv_cflags__Wtype_limits=no
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 CFLAGS=$ac_wine_try_cflags_saved
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14536 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14537 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14538 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14541 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14542 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_cflags__Wunused_but_set_parameter=yes
14553 else
14554 ac_cv_cflags__Wunused_but_set_parameter=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 CFLAGS=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14561 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14562 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14563 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14566 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14567 if ${ac_cv_cflags__Wvla+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -Wvla"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__Wvla=yes
14578 else
14579 ac_cv_cflags__Wvla=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14586 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14587 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14591 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14592 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_wine_try_cflags_saved=$CFLAGS
14596 CFLAGS="$CFLAGS -Wwrite-strings"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 int main(int argc, char **argv) { return 0; }
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_cflags__Wwrite_strings=yes
14603 else
14604 ac_cv_cflags__Wwrite_strings=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 CFLAGS=$ac_wine_try_cflags_saved
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14611 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14612 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14613 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14617 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14618 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14619 $as_echo_n "(cached) " >&6
14620 else
14621 ac_wine_try_cflags_saved=$CFLAGS
14622 CFLAGS="$CFLAGS -Wpointer-arith"
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 int main(int argc, char **argv) { return 0; }
14626 _ACEOF
14627 if ac_fn_c_try_link "$LINENO"; then :
14628 ac_cv_cflags__Wpointer_arith=yes
14629 else
14630 ac_cv_cflags__Wpointer_arith=no
14632 rm -f core conftest.err conftest.$ac_objext \
14633 conftest$ac_exeext conftest.$ac_ext
14634 CFLAGS=$ac_wine_try_cflags_saved
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14637 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14638 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14639 saved_string_h_CFLAGS=$CFLAGS
14640 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14642 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14643 if ${ac_cv_c_string_h_warnings+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 #include <string.h>
14650 main ()
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_compile "$LINENO"; then :
14658 ac_cv_c_string_h_warnings=no
14659 else
14660 ac_cv_c_string_h_warnings=yes
14662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14665 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14666 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14667 CFLAGS=$saved_string_h_CFLAGS
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14671 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14672 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_wine_try_cflags_saved=$CFLAGS
14676 CFLAGS="$CFLAGS -Wlogical-op"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 int main(int argc, char **argv) { return 0; }
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_cflags__Wlogical_op=yes
14683 else
14684 ac_cv_cflags__Wlogical_op=no
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 CFLAGS=$ac_wine_try_cflags_saved
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14691 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14692 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14693 saved_string_h_CFLAGS=$CFLAGS
14694 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14696 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14697 if ${ac_cv_c_logicalop_noisy+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 #include <string.h>
14703 char*f(const char *h,char n) {return strchr(h,n);}
14705 main ()
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_compile "$LINENO"; then :
14713 ac_cv_c_logicalop_noisy=no
14714 else
14715 ac_cv_c_logicalop_noisy=yes
14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14720 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14721 CFLAGS=$saved_string_h_CFLAGS
14722 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14725 CFLAGS=$saved_CFLAGS
14727 for ac_flag in $CFLAGS; do
14728 case $ac_flag in
14729 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14730 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14731 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_wine_try_cflags_saved=$CFLAGS
14735 CFLAGS="$CFLAGS -gdwarf-2"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 int main(int argc, char **argv) { return 0; }
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_cflags__gdwarf_2=yes
14742 else
14743 ac_cv_cflags__gdwarf_2=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 CFLAGS=$ac_wine_try_cflags_saved
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14750 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14751 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14752 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14755 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14756 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 ac_wine_try_cflags_saved=$CFLAGS
14760 CFLAGS="$CFLAGS -gstrict-dwarf"
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_cflags__gstrict_dwarf=yes
14767 else
14768 ac_cv_cflags__gstrict_dwarf=no
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 CFLAGS=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14775 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14776 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14777 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14778 fi ;;
14779 esac
14780 done
14782 case $host_cpu in
14783 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14784 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14785 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__fno_omit_frame_pointer=yes
14796 else
14797 ac_cv_cflags__fno_omit_frame_pointer=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14804 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14805 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14807 fi ;;
14808 esac
14810 case $host in
14811 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14812 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14813 if ${ac_cv_cflags__Wno_format+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_wine_try_cflags_saved=$CFLAGS
14817 CFLAGS="$CFLAGS -Wno-format"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int main(int argc, char **argv) { return 0; }
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_cflags__Wno_format=yes
14824 else
14825 ac_cv_cflags__Wno_format=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 CFLAGS=$ac_wine_try_cflags_saved
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14832 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14833 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14834 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14835 fi ;;
14836 esac
14838 if test "x$enable_maintainer_mode" = "xyes"
14839 then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14841 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14842 if ${ac_cv_cflags__Werror+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 ac_wine_try_cflags_saved=$CFLAGS
14846 CFLAGS="$CFLAGS -Werror"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 int main(int argc, char **argv) { return 0; }
14850 _ACEOF
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 ac_cv_cflags__Werror=yes
14853 else
14854 ac_cv_cflags__Werror=no
14856 rm -f core conftest.err conftest.$ac_objext \
14857 conftest$ac_exeext conftest.$ac_ext
14858 CFLAGS=$ac_wine_try_cflags_saved
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14861 $as_echo "$ac_cv_cflags__Werror" >&6; }
14862 if test "x$ac_cv_cflags__Werror" = xyes; then :
14863 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14867 saved_CFLAGS="$CFLAGS"
14868 CFLAGS="$CFLAGS -Werror"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14870 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14871 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14878 main ()
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_compile "$LINENO"; then :
14886 ac_cv_have_ms_hook_prologue="yes"
14887 else
14888 ac_cv_have_ms_hook_prologue="no"
14890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14893 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14894 CFLAGS="$saved_CFLAGS"
14895 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14896 then
14898 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14900 else
14901 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14908 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14909 if ${ac_cv_c_fortify_enabled+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 #include <string.h>
14916 main ()
14918 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14919 #error Fortify enabled
14920 #endif
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_compile "$LINENO"; then :
14926 ac_cv_c_fortify_enabled=no
14927 else
14928 ac_cv_c_fortify_enabled=yes
14930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14933 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14934 if test "$ac_cv_c_fortify_enabled" = yes
14935 then
14936 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14941 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14942 if ${ac_cv_c_extern_prefix+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 extern int ac_test;
14949 main ()
14951 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_c_extern_prefix="yes"
14958 else
14959 ac_cv_c_extern_prefix="no"
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14965 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14967 case $host_cpu in
14968 *i[3456789]86*)
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14970 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14971 if ${ac_cv_c_stdcall_suffix+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 #ifndef _MSC_VER
14977 #define __stdcall __attribute__((__stdcall__))
14978 #endif
14979 int __stdcall ac_test(int i) { return i; }
14981 main ()
14983 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_c_stdcall_suffix="yes"
14990 else
14991 ac_cv_c_stdcall_suffix="no"
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14997 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14998 *) ac_cv_c_stdcall_suffix="no" ;;
14999 esac
15002 if test "$ac_cv_c_extern_prefix" = "yes"
15003 then
15004 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15006 asm_name_prefix="_"
15007 else
15008 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15010 asm_name_prefix=""
15014 if test "$ac_cv_c_stdcall_suffix" = "yes"
15015 then
15016 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15018 else
15019 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15025 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15026 if ${ac_cv_asm_func_def+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15033 main ()
15035 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_asm_func_def=".def"
15042 else
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15047 main ()
15049 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15051 return 0;
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"; then :
15055 ac_cv_asm_func_def=".type @function"
15056 else
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15061 main ()
15063 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15065 return 0;
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"; then :
15069 ac_cv_asm_func_def=".type 2"
15070 else
15071 ac_cv_asm_func_def="unknown"
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15083 $as_echo "$ac_cv_asm_func_def" >&6; }
15086 case "$ac_cv_asm_func_def" in
15087 ".def")
15088 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15090 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15091 ".type @function")
15092 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15094 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15095 ".type 2")
15096 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15098 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15100 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15102 asm_func_header="" ;;
15103 esac
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15106 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15107 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15108 $as_echo_n "(cached) " >&6
15109 else
15110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15112 asm(".text\n\t.long 0");
15114 main ()
15118 return 0;
15120 _ACEOF
15121 if ac_fn_c_try_compile "$LINENO"; then :
15122 ac_cv_c_asm_outside_funcs="yes"
15123 else
15124 ac_cv_c_asm_outside_funcs="no"
15126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15129 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15132 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15133 if ${ac_cv_c_dot_previous+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15140 main ()
15142 asm(".text\nac_test:\t.long 0\n\t.previous");
15144 return 0;
15146 _ACEOF
15147 if ac_fn_c_try_link "$LINENO"; then :
15148 ac_cv_c_dot_previous="yes"
15149 else
15150 ac_cv_c_dot_previous="no"
15152 rm -f core conftest.err conftest.$ac_objext \
15153 conftest$ac_exeext conftest.$ac_ext
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15156 $as_echo "$ac_cv_c_dot_previous" >&6; }
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15159 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15160 if ${ac_cv_c_cfi_support+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15167 main ()
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_compile "$LINENO"; then :
15175 ac_cv_c_cfi_support="yes"
15176 else
15177 ac_cv_c_cfi_support="no"
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15182 $as_echo "$ac_cv_c_cfi_support" >&6; }
15184 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15185 asm_func_trailer=""
15186 if test "$ac_cv_c_dot_previous" = "yes"
15187 then
15188 asm_func_trailer="\\n\\t.previous"
15190 if test "$ac_cv_c_cfi_support" = "yes"
15191 then
15192 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15193 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15195 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15197 UNWINDFLAGS=-fasynchronous-unwind-tables
15199 else
15200 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15202 if test "x$enable_win64" = "xyes"
15203 then
15204 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15208 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15211 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15212 then
15213 cat >>confdefs.h <<_ACEOF
15214 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15215 _ACEOF
15217 else
15218 cat >>confdefs.h <<_ACEOF
15219 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15220 _ACEOF
15224 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15227 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15231 case $build_os in
15232 cygwin*|mingw32*) TOOLSEXT=".exe"
15234 esac
15236 case $host_os in
15237 linux-android*) ;;
15238 linux*)
15239 case $host_cpu in
15240 *i[3456789]86*|x86_64*)
15241 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15242 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15244 esac
15246 esac
15249 ac_save_CFLAGS="$CFLAGS"
15250 CFLAGS="$CFLAGS $BUILTINFLAG"
15251 for ac_func in \
15252 __res_get_state \
15253 __res_getservers \
15254 _finite \
15255 _isnan \
15256 _pclose \
15257 _popen \
15258 _snprintf \
15259 _spawnvp \
15260 _strdup \
15261 _stricmp \
15262 _strnicmp \
15263 _strtoi64 \
15264 _strtoui64 \
15265 _vsnprintf \
15266 asctime_r \
15267 chsize \
15268 dlopen \
15269 epoll_create \
15270 ffs \
15271 finitef \
15272 fnmatch \
15273 fork \
15274 fpclass \
15275 fstatfs \
15276 fstatvfs \
15277 ftruncate \
15278 futimens \
15279 futimes \
15280 futimesat \
15281 getattrlist \
15282 getopt_long_only \
15283 getpwuid \
15284 gettimeofday \
15285 getuid \
15286 if_nameindex \
15287 isnanf \
15288 kqueue \
15289 lstat \
15290 memmove \
15291 mmap \
15292 pclose \
15293 pipe2 \
15294 poll \
15295 popen \
15296 port_create \
15297 prctl \
15298 pread \
15299 proc_pidinfo \
15300 pwrite \
15301 readdir \
15302 readlink \
15303 sched_yield \
15304 select \
15305 setproctitle \
15306 setprogname \
15307 setrlimit \
15308 settimeofday \
15309 sigaltstack \
15310 sigprocmask \
15311 snprintf \
15312 statfs \
15313 statvfs \
15314 strcasecmp \
15315 strdup \
15316 strerror \
15317 strncasecmp \
15318 strtold \
15319 strtoll \
15320 strtoull \
15321 symlink \
15322 sysinfo \
15323 tcdrain \
15324 thr_kill2 \
15325 timegm \
15326 usleep \
15327 vsnprintf
15329 do :
15330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15333 cat >>confdefs.h <<_ACEOF
15334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15335 _ACEOF
15338 done
15340 CFLAGS="$ac_save_CFLAGS"
15342 if test "$ac_cv_func_dlopen" = no
15343 then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15346 if ${ac_cv_lib_dl_dlopen+:} false; then :
15347 $as_echo_n "(cached) " >&6
15348 else
15349 ac_check_lib_save_LIBS=$LIBS
15350 LIBS="-ldl $LIBS"
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15354 /* Override any GCC internal prototype to avoid an error.
15355 Use char because int might match the return type of a GCC
15356 builtin and then its argument prototype would still apply. */
15357 #ifdef __cplusplus
15358 extern "C"
15359 #endif
15360 char dlopen ();
15362 main ()
15364 return dlopen ();
15366 return 0;
15368 _ACEOF
15369 if ac_fn_c_try_link "$LINENO"; then :
15370 ac_cv_lib_dl_dlopen=yes
15371 else
15372 ac_cv_lib_dl_dlopen=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15376 LIBS=$ac_check_lib_save_LIBS
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15381 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15382 DL_LIBS="-ldl"
15387 ac_wine_check_funcs_save_LIBS="$LIBS"
15388 LIBS="$LIBS $DL_LIBS"
15389 for ac_func in dladdr
15390 do :
15391 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15392 if test "x$ac_cv_func_dladdr" = xyes; then :
15393 cat >>confdefs.h <<_ACEOF
15394 #define HAVE_DLADDR 1
15395 _ACEOF
15398 done
15400 LIBS="$ac_wine_check_funcs_save_LIBS"
15402 if test "$ac_cv_func_poll" = no
15403 then
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15405 $as_echo_n "checking for poll in -lpoll... " >&6; }
15406 if ${ac_cv_lib_poll_poll+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 ac_check_lib_save_LIBS=$LIBS
15410 LIBS="-lpoll $LIBS"
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15414 /* Override any GCC internal prototype to avoid an error.
15415 Use char because int might match the return type of a GCC
15416 builtin and then its argument prototype would still apply. */
15417 #ifdef __cplusplus
15418 extern "C"
15419 #endif
15420 char poll ();
15422 main ()
15424 return poll ();
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_link "$LINENO"; then :
15430 ac_cv_lib_poll_poll=yes
15431 else
15432 ac_cv_lib_poll_poll=no
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_check_lib_save_LIBS
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15439 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15440 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15441 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15442 POLL_LIBS="-lpoll"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15449 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15450 if ${ac_cv_search_gethostbyname+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 ac_func_search_save_LIBS=$LIBS
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 #ifdef __cplusplus
15461 extern "C"
15462 #endif
15463 char gethostbyname ();
15465 main ()
15467 return gethostbyname ();
15469 return 0;
15471 _ACEOF
15472 for ac_lib in '' nsl; do
15473 if test -z "$ac_lib"; then
15474 ac_res="none required"
15475 else
15476 ac_res=-l$ac_lib
15477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_search_gethostbyname=$ac_res
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext
15484 if ${ac_cv_search_gethostbyname+:} false; then :
15485 break
15487 done
15488 if ${ac_cv_search_gethostbyname+:} false; then :
15490 else
15491 ac_cv_search_gethostbyname=no
15493 rm conftest.$ac_ext
15494 LIBS=$ac_func_search_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15497 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15498 ac_res=$ac_cv_search_gethostbyname
15499 if test "$ac_res" != no; then :
15500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15506 $as_echo_n "checking for library containing connect... " >&6; }
15507 if ${ac_cv_search_connect+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 ac_func_search_save_LIBS=$LIBS
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char connect ();
15522 main ()
15524 return connect ();
15526 return 0;
15528 _ACEOF
15529 for ac_lib in '' socket; do
15530 if test -z "$ac_lib"; then
15531 ac_res="none required"
15532 else
15533 ac_res=-l$ac_lib
15534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_search_connect=$ac_res
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext
15541 if ${ac_cv_search_connect+:} false; then :
15542 break
15544 done
15545 if ${ac_cv_search_connect+:} false; then :
15547 else
15548 ac_cv_search_connect=no
15550 rm conftest.$ac_ext
15551 LIBS=$ac_func_search_save_LIBS
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15554 $as_echo "$ac_cv_search_connect" >&6; }
15555 ac_res=$ac_cv_search_connect
15556 if test "$ac_res" != no; then :
15557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15563 $as_echo_n "checking for library containing inet_aton... " >&6; }
15564 if ${ac_cv_search_inet_aton+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566 else
15567 ac_func_search_save_LIBS=$LIBS
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply. */
15574 #ifdef __cplusplus
15575 extern "C"
15576 #endif
15577 char inet_aton ();
15579 main ()
15581 return inet_aton ();
15583 return 0;
15585 _ACEOF
15586 for ac_lib in '' resolv; do
15587 if test -z "$ac_lib"; then
15588 ac_res="none required"
15589 else
15590 ac_res=-l$ac_lib
15591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 ac_cv_search_inet_aton=$ac_res
15596 rm -f core conftest.err conftest.$ac_objext \
15597 conftest$ac_exeext
15598 if ${ac_cv_search_inet_aton+:} false; then :
15599 break
15601 done
15602 if ${ac_cv_search_inet_aton+:} false; then :
15604 else
15605 ac_cv_search_inet_aton=no
15607 rm conftest.$ac_ext
15608 LIBS=$ac_func_search_save_LIBS
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15611 $as_echo "$ac_cv_search_inet_aton" >&6; }
15612 ac_res=$ac_cv_search_inet_aton
15613 if test "$ac_res" != no; then :
15614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15619 for ac_func in \
15620 getaddrinfo \
15621 getnameinfo \
15622 getnetbyname \
15623 getprotobyname \
15624 getprotobynumber \
15625 getservbyport \
15626 inet_addr \
15627 inet_network \
15628 inet_ntop \
15629 inet_pton \
15630 sendmsg \
15631 socketpair \
15633 do :
15634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15639 _ACEOF
15642 done
15645 ac_save_LIBS=$LIBS
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15647 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15648 if ${ac_cv_search_clock_gettime+:} false; then :
15649 $as_echo_n "(cached) " >&6
15650 else
15651 ac_func_search_save_LIBS=$LIBS
15652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15655 /* Override any GCC internal prototype to avoid an error.
15656 Use char because int might match the return type of a GCC
15657 builtin and then its argument prototype would still apply. */
15658 #ifdef __cplusplus
15659 extern "C"
15660 #endif
15661 char clock_gettime ();
15663 main ()
15665 return clock_gettime ();
15667 return 0;
15669 _ACEOF
15670 for ac_lib in '' rt; do
15671 if test -z "$ac_lib"; then
15672 ac_res="none required"
15673 else
15674 ac_res=-l$ac_lib
15675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 ac_cv_search_clock_gettime=$ac_res
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext
15682 if ${ac_cv_search_clock_gettime+:} false; then :
15683 break
15685 done
15686 if ${ac_cv_search_clock_gettime+:} false; then :
15688 else
15689 ac_cv_search_clock_gettime=no
15691 rm conftest.$ac_ext
15692 LIBS=$ac_func_search_save_LIBS
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15695 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15696 ac_res=$ac_cv_search_clock_gettime
15697 if test "$ac_res" != no; then :
15698 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15700 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15702 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15706 LIBS=$ac_save_LIBS
15708 LDAP_LIBS=""
15710 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15711 then
15712 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15714 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15716 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15717 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 ac_check_lib_save_LIBS=$LIBS
15721 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 #ifdef __cplusplus
15729 extern "C"
15730 #endif
15731 char ldap_initialize ();
15733 main ()
15735 return ldap_initialize ();
15737 return 0;
15739 _ACEOF
15740 if ac_fn_c_try_link "$LINENO"; then :
15741 ac_cv_lib_ldap_r_ldap_initialize=yes
15742 else
15743 ac_cv_lib_ldap_r_ldap_initialize=no
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15747 LIBS=$ac_check_lib_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15750 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15751 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15753 $as_echo_n "checking for ber_init in -llber... " >&6; }
15754 if ${ac_cv_lib_lber_ber_init+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_check_lib_save_LIBS=$LIBS
15758 LIBS="-llber $PTHREAD_LIBS $LIBS"
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15762 /* Override any GCC internal prototype to avoid an error.
15763 Use char because int might match the return type of a GCC
15764 builtin and then its argument prototype would still apply. */
15765 #ifdef __cplusplus
15766 extern "C"
15767 #endif
15768 char ber_init ();
15770 main ()
15772 return ber_init ();
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 ac_cv_lib_lber_ber_init=yes
15779 else
15780 ac_cv_lib_lber_ber_init=no
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15787 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15788 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15790 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15792 LDAP_LIBS="-lldap_r -llber"
15799 ac_wine_check_funcs_save_LIBS="$LIBS"
15800 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15801 for ac_func in \
15802 ldap_count_references \
15803 ldap_first_reference \
15804 ldap_next_reference \
15805 ldap_parse_reference \
15806 ldap_parse_sort_control \
15807 ldap_parse_sortresponse_control \
15808 ldap_parse_vlv_control \
15809 ldap_parse_vlvresponse_control
15810 do :
15811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15816 _ACEOF
15819 done
15821 LIBS="$ac_wine_check_funcs_save_LIBS"
15823 if test "x$LDAP_LIBS" = "x"; then :
15824 case "x$with_ldap" in
15825 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15826 xno) ;;
15827 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15828 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15829 esac
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15834 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15835 if ${wine_cv_one_arg_mkdir+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #include <sys/stat.h>
15842 main ()
15844 mkdir("foo");
15846 return 0;
15848 _ACEOF
15849 if ac_fn_c_try_compile "$LINENO"; then :
15850 wine_cv_one_arg_mkdir=yes
15851 else
15852 wine_cv_one_arg_mkdir=no
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15857 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15858 if test "$wine_cv_one_arg_mkdir" = "yes"
15859 then
15861 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15866 $as_echo_n "checking for sched_setaffinity... " >&6; }
15867 if ${wine_cv_have_sched_setaffinity+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 #define _GNU_SOURCE
15873 #include <sched.h>
15875 main ()
15877 sched_setaffinity(0, 0, 0);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_link "$LINENO"; then :
15883 wine_cv_have_sched_setaffinity=yes
15884 else
15885 wine_cv_have_sched_setaffinity=no
15887 rm -f core conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15891 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15892 if test "$wine_cv_have_sched_setaffinity" = "yes"
15893 then
15895 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15900 $as_echo_n "checking for fallocate... " >&6; }
15901 if ${wine_cv_have_fallocate+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE
15907 #include <fcntl.h>
15909 main ()
15911 fallocate(-1, 0, 0, 0);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_link "$LINENO"; then :
15917 wine_cv_have_fallocate=yes
15918 else
15919 wine_cv_have_fallocate=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15925 $as_echo "$wine_cv_have_fallocate" >&6; }
15926 if test "$wine_cv_have_fallocate" = "yes"
15927 then
15929 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15935 $as_echo_n "checking for inline... " >&6; }
15936 if ${ac_cv_c_inline+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 ac_cv_c_inline=no
15940 for ac_kw in inline __inline__ __inline; do
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 #ifndef __cplusplus
15944 typedef int foo_t;
15945 static $ac_kw foo_t static_foo () {return 0; }
15946 $ac_kw foo_t foo () {return 0; }
15947 #endif
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15951 ac_cv_c_inline=$ac_kw
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15954 test "$ac_cv_c_inline" != no && break
15955 done
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15959 $as_echo "$ac_cv_c_inline" >&6; }
15961 case $ac_cv_c_inline in
15962 inline | yes) ;;
15964 case $ac_cv_c_inline in
15965 no) ac_val=;;
15966 *) ac_val=$ac_cv_c_inline;;
15967 esac
15968 cat >>confdefs.h <<_ACEOF
15969 #ifndef __cplusplus
15970 #define inline $ac_val
15971 #endif
15972 _ACEOF
15974 esac
15976 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15977 if test "x$ac_cv_type_mode_t" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_MODE_T 1
15981 _ACEOF
15985 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15986 if test "x$ac_cv_type_off_t" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_OFF_T 1
15990 _ACEOF
15994 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15995 if test "x$ac_cv_type_pid_t" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_PID_T 1
15999 _ACEOF
16003 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16004 if test "x$ac_cv_type_size_t" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_SIZE_T 1
16008 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16013 if test "x$ac_cv_type_ssize_t" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_SSIZE_T 1
16017 _ACEOF
16021 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16022 if test "x$ac_cv_type_long_long" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_LONG_LONG 1
16026 _ACEOF
16030 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16031 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_FSBLKCNT_T 1
16035 _ACEOF
16039 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16040 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_FSFILCNT_T 1
16044 _ACEOF
16049 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16050 #include <signal.h>
16052 if test "x$ac_cv_type_sigset_t" = xyes; then :
16054 cat >>confdefs.h <<_ACEOF
16055 #define HAVE_SIGSET_T 1
16056 _ACEOF
16061 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16063 if test "x$ac_cv_type_request_sense" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_REQUEST_SENSE 1
16067 _ACEOF
16073 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16074 #ifdef HAVE_SYS_SOCKET_H
16075 #include <sys/socket.h>
16076 #endif
16077 #ifdef HAVE_SYS_SOCKETVAR_H
16078 #include <sys/socketvar.h>
16079 #endif
16080 #ifdef HAVE_NET_ROUTE_H
16081 #include <net/route.h>
16082 #endif
16083 #ifdef HAVE_NETINET_IN_H
16084 #include <netinet/in.h>
16085 #endif
16086 #ifdef HAVE_NETINET_IN_SYSTM_H
16087 #include <netinet/in_systm.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IP_H
16090 #include <netinet/ip.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IN_PCB_H
16093 #include <netinet/in_pcb.h>
16094 #endif
16096 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_XINPGEN 1
16100 _ACEOF
16106 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16107 #include <link.h>
16108 #endif
16109 #ifdef HAVE_SYS_LINK_H
16110 #include <sys/link.h>
16111 #endif
16113 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_R_DEBUG 1
16117 _ACEOF
16121 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16122 #include <link.h>
16123 #endif
16124 #ifdef HAVE_SYS_LINK_H
16125 #include <sys/link.h>
16126 #endif
16128 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_LINK_MAP 1
16132 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16139 #include <linux/input.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16146 _ACEOF
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16153 $as_echo_n "checking for sigaddset... " >&6; }
16154 if ${wine_cv_have_sigaddset+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <signal.h>
16161 main ()
16163 sigset_t set; sigaddset(&set,SIGTERM);
16165 return 0;
16167 _ACEOF
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 wine_cv_have_sigaddset=yes
16170 else
16171 wine_cv_have_sigaddset=no
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16177 $as_echo "$wine_cv_have_sigaddset" >&6; }
16178 if test "$wine_cv_have_sigaddset" = "yes"
16179 then
16181 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16187 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16188 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16189 $as_echo_n "(cached) " >&6
16190 else
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16193 #include <netdb.h>
16195 main ()
16198 char *name=0;
16199 struct hostent he;
16200 struct hostent *result;
16201 char *buf=0;
16202 int bufsize=0;
16203 int errnr;
16204 char *addr=0;
16205 int addrlen=0;
16206 int addrtype=0;
16207 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16208 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 wine_cv_linux_gethostbyname_r_6=yes
16216 else
16217 wine_cv_linux_gethostbyname_r_6=no
16220 rm -f core conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16225 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16226 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16227 then
16229 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16233 if test "$ac_cv_header_linux_joystick_h" = "yes"
16234 then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16236 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16237 if ${wine_cv_linux_joystick_22_api+:} false; then :
16238 $as_echo_n "(cached) " >&6
16239 else
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16243 #include <sys/ioctl.h>
16244 #include <sys/types.h>
16245 #include <linux/joystick.h>
16247 struct js_event blub;
16248 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16249 #error "no 2.2 header"
16250 #endif
16253 main ()
16255 /*empty*/
16257 return 0;
16259 _ACEOF
16260 if ac_fn_c_try_compile "$LINENO"; then :
16261 wine_cv_linux_joystick_22_api=yes
16262 else
16263 wine_cv_linux_joystick_22_api=no
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16269 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16270 if test "$wine_cv_linux_joystick_22_api" = "yes"
16271 then
16273 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16279 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16280 #ifdef HAVE_SYS_PARAM_H
16281 # include <sys/param.h>
16282 #endif
16283 #ifdef HAVE_SYS_MOUNT_H
16284 # include <sys/mount.h>
16285 #endif
16286 #ifdef HAVE_SYS_VFS_H
16287 # include <sys/vfs.h>
16288 #endif
16289 #ifdef HAVE_SYS_STATFS_H
16290 # include <sys/statfs.h>
16291 #endif
16293 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_STATFS_F_BFREE 1
16297 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16302 #ifdef HAVE_SYS_PARAM_H
16303 # include <sys/param.h>
16304 #endif
16305 #ifdef HAVE_SYS_MOUNT_H
16306 # include <sys/mount.h>
16307 #endif
16308 #ifdef HAVE_SYS_VFS_H
16309 # include <sys/vfs.h>
16310 #endif
16311 #ifdef HAVE_SYS_STATFS_H
16312 # include <sys/statfs.h>
16313 #endif
16315 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16319 _ACEOF
16323 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16324 #ifdef HAVE_SYS_PARAM_H
16325 # include <sys/param.h>
16326 #endif
16327 #ifdef HAVE_SYS_MOUNT_H
16328 # include <sys/mount.h>
16329 #endif
16330 #ifdef HAVE_SYS_VFS_H
16331 # include <sys/vfs.h>
16332 #endif
16333 #ifdef HAVE_SYS_STATFS_H
16334 # include <sys/statfs.h>
16335 #endif
16337 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16341 _ACEOF
16345 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16346 #ifdef HAVE_SYS_PARAM_H
16347 # include <sys/param.h>
16348 #endif
16349 #ifdef HAVE_SYS_MOUNT_H
16350 # include <sys/mount.h>
16351 #endif
16352 #ifdef HAVE_SYS_VFS_H
16353 # include <sys/vfs.h>
16354 #endif
16355 #ifdef HAVE_SYS_STATFS_H
16356 # include <sys/statfs.h>
16357 #endif
16359 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_STATFS_F_FFREE 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16368 #ifdef HAVE_SYS_PARAM_H
16369 # include <sys/param.h>
16370 #endif
16371 #ifdef HAVE_SYS_MOUNT_H
16372 # include <sys/mount.h>
16373 #endif
16374 #ifdef HAVE_SYS_VFS_H
16375 # include <sys/vfs.h>
16376 #endif
16377 #ifdef HAVE_SYS_STATFS_H
16378 # include <sys/statfs.h>
16379 #endif
16381 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16385 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16390 #ifdef HAVE_SYS_PARAM_H
16391 # include <sys/param.h>
16392 #endif
16393 #ifdef HAVE_SYS_MOUNT_H
16394 # include <sys/mount.h>
16395 #endif
16396 #ifdef HAVE_SYS_VFS_H
16397 # include <sys/vfs.h>
16398 #endif
16399 #ifdef HAVE_SYS_STATFS_H
16400 # include <sys/statfs.h>
16401 #endif
16403 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16407 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16414 #include <sys/statvfs.h>
16415 #endif
16417 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16421 _ACEOF
16427 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16428 #include <dirent.h>
16429 #endif
16431 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16435 _ACEOF
16441 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16442 #ifdef HAVE_SYS_SOCKET_H
16443 # include <sys/socket.h>
16444 #endif
16445 #ifdef HAVE_SYS_UN_H
16446 # include <sys/un.h>
16447 #endif
16449 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16453 _ACEOF
16457 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16458 #ifdef HAVE_SYS_SOCKET_H
16459 # include <sys/socket.h>
16460 #endif
16461 #ifdef HAVE_SYS_UN_H
16462 # include <sys/un.h>
16463 #endif
16465 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16469 _ACEOF
16473 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16474 #ifdef HAVE_SYS_SOCKET_H
16475 # include <sys/socket.h>
16476 #endif
16477 #ifdef HAVE_SYS_UN_H
16478 # include <sys/un.h>
16479 #endif
16481 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16485 _ACEOF
16491 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16492 #ifdef HAVE_SCSI_SG_H
16493 #include <scsi/sg.h>
16494 #endif
16496 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_SCSIREQ_T_CMD 1
16500 _ACEOF
16504 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>
16505 #ifdef HAVE_SCSI_SG_H
16506 #include <scsi/sg.h>
16507 #endif
16509 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16513 _ACEOF
16519 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16521 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_SIGINFO_T_SI_FD 1
16525 _ACEOF
16531 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16532 #ifdef HAVE_SYS_MTIO_H
16533 #include <sys/mtio.h>
16534 #endif
16536 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16540 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16545 #ifdef HAVE_SYS_MTIO_H
16546 #include <sys/mtio.h>
16547 #endif
16549 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16553 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16558 #ifdef HAVE_SYS_MTIO_H
16559 #include <sys/mtio.h>
16560 #endif
16562 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16566 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16573 #include <getopt.h>
16574 #endif
16576 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_STRUCT_OPTION_NAME 1
16580 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16587 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16591 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16596 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_STAT_ST_MTIM 1
16600 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16605 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16607 cat >>confdefs.h <<_ACEOF
16608 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16609 _ACEOF
16613 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16614 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_STAT_ST_CTIM 1
16618 _ACEOF
16622 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16623 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16625 cat >>confdefs.h <<_ACEOF
16626 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16627 _ACEOF
16631 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16632 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_STAT_ST_ATIM 1
16636 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16641 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16645 _ACEOF
16649 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16650 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16654 _ACEOF
16658 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16659 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16663 _ACEOF
16667 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16668 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16672 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16677 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16681 _ACEOF
16685 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16686 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16690 _ACEOF
16696 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
16697 #include <sys/types.h>
16698 #endif
16699 #ifdef HAVE_NETINET_IN_H
16700 #include <netinet/in.h>
16701 #endif
16703 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16707 _ACEOF
16713 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16714 #include <resolv.h>
16715 #endif
16717 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT___RES_STATE 1
16721 _ACEOF
16727 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
16728 #include <resolv.h>
16729 #endif
16731 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16733 cat >>confdefs.h <<_ACEOF
16734 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16735 _ACEOF
16741 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16742 #include <sys/types.h>
16743 #endif
16744 #ifdef HAVE_NETINET_IN_H
16745 # include <netinet/in.h>
16746 #endif
16747 #ifdef HAVE_ARPA_NAMESER_H
16748 # include <arpa/nameser.h>
16749 #endif
16751 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_NS_MSG__MSG_PTR 1
16755 _ACEOF
16761 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16762 #include <sys/types.h>
16763 #endif
16764 #ifdef HAVE_NETINET_IP_H
16765 #include <netinet/ip.h>
16766 #endif
16767 #ifdef HAVE_NETINET_IP_ICMP_H
16768 #include <netinet/ip_icmp.h>
16769 #endif
16770 #ifdef HAVE_NETINET_ICMP_VAR_H
16771 #include <netinet/icmp_var.h>
16772 #endif
16774 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16776 cat >>confdefs.h <<_ACEOF
16777 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16778 _ACEOF
16784 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16785 #include <sys/types.h>
16786 #endif
16787 #ifdef HAVE_ALIAS_H
16788 #include <alias.h>
16789 #endif
16790 #ifdef HAVE_SYS_SOCKET_H
16791 #include <sys/socket.h>
16792 #endif
16793 #ifdef HAVE_SYS_SOCKETVAR_H
16794 #include <sys/socketvar.h>
16795 #endif
16796 #ifdef HAVE_SYS_TIMEOUT_H
16797 #include <sys/timeout.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IN_H
16800 #include <netinet/in.h>
16801 #endif
16802 #ifdef HAVE_NETINET_IN_SYSTM_H
16803 #include <netinet/in_systm.h>
16804 #endif
16805 #ifdef HAVE_NETINET_IP_H
16806 #include <netinet/ip.h>
16807 #endif
16808 #ifdef HAVE_NETINET_IP_VAR_H
16809 #include <netinet/ip_var.h>
16810 #endif
16811 #ifdef HAVE_NETINET_IP_ICMP_H
16812 #include <netinet/ip_icmp.h>
16813 #endif
16814 #ifdef HAVE_NETINET_ICMP_VAR_H
16815 #include <netinet/icmp_var.h>
16816 #endif
16818 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16820 cat >>confdefs.h <<_ACEOF
16821 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16822 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16829 #include <sys/types.h>
16830 #endif
16831 #ifdef HAVE_SYS_SOCKETVAR_H
16832 #include <sys/socketvar.h>
16833 #endif
16834 #ifdef HAVE_NETINET_IN_H
16835 #include <netinet/in.h>
16836 #endif
16837 #ifdef HAVE_NETINET_IP_VAR_H
16838 #include <netinet/ip_var.h>
16839 #endif
16841 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16843 cat >>confdefs.h <<_ACEOF
16844 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16845 _ACEOF
16851 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
16852 #include <netinet/ip_var.h>
16853 #endif
16855 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16857 cat >>confdefs.h <<_ACEOF
16858 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16859 _ACEOF
16865 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16866 #include <sys/types.h>
16867 #endif
16868 #ifdef HAVE_SYS_SOCKETVAR_H
16869 #include <sys/socketvar.h>
16870 #endif
16871 #ifdef HAVE_NETINET_IN_H
16872 #include <netinet/in.h>
16873 #endif
16874 #ifdef HAVE_NETINET_TCP_H
16875 #include <netinet/tcp.h>
16876 #endif
16877 #ifdef HAVE_NETINET_TCP_VAR_H
16878 #include <netinet/tcp_var.h>
16879 #endif
16881 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16885 _ACEOF
16891 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
16892 #include <netinet/tcp_var.h>
16893 #endif
16895 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16899 _ACEOF
16905 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16906 #include <sys/types.h>
16907 #endif
16908 #ifdef HAVE_NETINET_IN_H
16909 #include <netinet/in.h>
16910 #endif
16911 #ifdef HAVE_NETINET_IP_VAR_H
16912 #include <netinet/ip_var.h>
16913 #endif
16914 #ifdef HAVE_NETINET_UDP_H
16915 #include <netinet/udp.h>
16916 #endif
16917 #ifdef HAVE_NETINET_UDP_VAR_H
16918 #include <netinet/udp_var.h>
16919 #endif
16921 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16925 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16932 #include <sys/types.h>
16933 #endif
16934 #ifdef HAVE_NET_IF_H
16935 # include <net/if.h>
16936 #endif
16938 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16942 _ACEOF
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16949 $as_echo_n "checking for timezone variable... " >&6; }
16950 if ${ac_cv_have_timezone+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #include <time.h>
16957 main ()
16959 timezone = 1
16961 return 0;
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"; then :
16965 ac_cv_have_timezone="yes"
16966 else
16967 ac_cv_have_timezone="no"
16969 rm -f core conftest.err conftest.$ac_objext \
16970 conftest$ac_exeext conftest.$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16973 $as_echo "$ac_cv_have_timezone" >&6; }
16974 if test "$ac_cv_have_timezone" = "yes"
16975 then
16977 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16981 $as_echo_n "checking for daylight variable... " >&6; }
16982 if ${ac_cv_have_daylight+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #include <time.h>
16989 main ()
16991 daylight = 1
16993 return 0;
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 ac_cv_have_daylight="yes"
16998 else
16999 ac_cv_have_daylight="no"
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17005 $as_echo "$ac_cv_have_daylight" >&6; }
17006 if test "$ac_cv_have_daylight" = "yes"
17007 then
17009 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17013 ac_save_LIBS="$LIBS"
17014 LIBS="$LIBS -lm"
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17016 $as_echo_n "checking for isfinite... " >&6; }
17017 if ${ac_cv_have_isfinite+:} false; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #define _GNU_SOURCE
17023 #include <math.h>
17025 main ()
17027 float f = 0.0; return isfinite(f)
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_have_isfinite="yes"
17034 else
17035 ac_cv_have_isfinite="no"
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17041 $as_echo "$ac_cv_have_isfinite" >&6; }
17042 if test "$ac_cv_have_isfinite" = "yes"
17043 then
17045 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17050 $as_echo_n "checking for isinf... " >&6; }
17051 if ${ac_cv_have_isinf+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <math.h>
17058 main ()
17060 float f = 0.0; return isinf(f)
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_have_isinf="yes"
17067 else
17068 ac_cv_have_isinf="no"
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17074 $as_echo "$ac_cv_have_isinf" >&6; }
17075 if test "$ac_cv_have_isinf" = "yes"
17076 then
17078 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17083 $as_echo_n "checking for isnan... " >&6; }
17084 if ${ac_cv_have_isnan+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <math.h>
17091 main ()
17093 float f = 0.0; return isnan(f)
17095 return 0;
17097 _ACEOF
17098 if ac_fn_c_try_link "$LINENO"; then :
17099 ac_cv_have_isnan="yes"
17100 else
17101 ac_cv_have_isnan="no"
17103 rm -f core conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17107 $as_echo "$ac_cv_have_isnan" >&6; }
17108 if test "$ac_cv_have_isnan" = "yes"
17109 then
17111 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17115 for ac_func in \
17116 asinh \
17117 asinhf \
17118 cbrt \
17119 cbrtf \
17120 erf \
17121 erff \
17122 exp2 \
17123 exp2f \
17124 lgamma \
17125 lgammaf \
17126 llrint \
17127 llrintf \
17128 llround \
17129 llroundf \
17130 log2 \
17131 log2f \
17132 lrint \
17133 lrintf \
17134 lround \
17135 lroundf \
17136 nearbyint \
17137 nearbyintf \
17138 powl \
17139 remainder \
17140 remainderf \
17141 rint \
17142 rintf \
17143 round \
17144 roundf \
17145 trunc \
17146 truncf
17148 do :
17149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17152 cat >>confdefs.h <<_ACEOF
17153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17154 _ACEOF
17157 done
17159 LIBS="$ac_save_LIBS"
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17162 $as_echo_n "checking for __builtin_clz... " >&6; }
17163 if ${ac_cv_have___builtin_clz+:} false; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17170 main ()
17172 return __builtin_clz(1)
17174 return 0;
17176 _ACEOF
17177 if ac_fn_c_try_link "$LINENO"; then :
17178 ac_cv_have___builtin_clz="yes"
17179 else
17180 ac_cv_have___builtin_clz="no"
17182 rm -f core conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17186 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17187 if test "$ac_cv_have___builtin_clz" = "yes"
17188 then
17190 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17195 $as_echo_n "checking for __builtin_popcount... " >&6; }
17196 if ${ac_cv_have___builtin_popcount+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17203 main ()
17205 return __builtin_popcount(1)
17207 return 0;
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_have___builtin_popcount="yes"
17212 else
17213 ac_cv_have___builtin_popcount="no"
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17219 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17220 if test "$ac_cv_have___builtin_popcount" = "yes"
17221 then
17223 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17228 case $host_cpu in
17229 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17230 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17231 if ${ac_cv_cpp_def___i386__+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #ifndef __i386__
17238 #endif
17239 _ACEOF
17240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17241 $EGREP "yes" >/dev/null 2>&1; then :
17242 ac_cv_cpp_def___i386__=yes
17243 else
17244 ac_cv_cpp_def___i386__=no
17246 rm -f conftest*
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17250 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17251 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17252 CFLAGS="$CFLAGS -D__i386__"
17253 LINTFLAGS="$LINTFLAGS -D__i386__"
17254 fi ;;
17255 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17256 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17257 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 #ifndef __x86_64__
17264 #endif
17265 _ACEOF
17266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17267 $EGREP "yes" >/dev/null 2>&1; then :
17268 ac_cv_cpp_def___x86_64__=yes
17269 else
17270 ac_cv_cpp_def___x86_64__=no
17272 rm -f conftest*
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17276 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17277 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17278 CFLAGS="$CFLAGS -D__x86_64__"
17279 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17280 fi ;;
17281 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17282 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17283 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 #ifndef __sparc64__
17290 #endif
17291 _ACEOF
17292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17293 $EGREP "yes" >/dev/null 2>&1; then :
17294 ac_cv_cpp_def___sparc64__=yes
17295 else
17296 ac_cv_cpp_def___sparc64__=no
17298 rm -f conftest*
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17302 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17303 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17304 CFLAGS="$CFLAGS -D__sparc64__"
17305 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17306 fi ;;
17307 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17308 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17309 if ${ac_cv_cpp_def___sparc__+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17314 #ifndef __sparc__
17316 #endif
17317 _ACEOF
17318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17319 $EGREP "yes" >/dev/null 2>&1; then :
17320 ac_cv_cpp_def___sparc__=yes
17321 else
17322 ac_cv_cpp_def___sparc__=no
17324 rm -f conftest*
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17328 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17329 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17330 CFLAGS="$CFLAGS -D__sparc__"
17331 LINTFLAGS="$LINTFLAGS -D__sparc__"
17332 fi ;;
17333 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17334 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17335 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #ifndef __powerpc64__
17342 #endif
17343 _ACEOF
17344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17345 $EGREP "yes" >/dev/null 2>&1; then :
17346 ac_cv_cpp_def___powerpc64__=yes
17347 else
17348 ac_cv_cpp_def___powerpc64__=no
17350 rm -f conftest*
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17354 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17355 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17356 CFLAGS="$CFLAGS -D__powerpc64__"
17357 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17358 fi ;;
17359 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17360 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17361 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #ifndef __powerpc__
17368 #endif
17369 _ACEOF
17370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17371 $EGREP "yes" >/dev/null 2>&1; then :
17372 ac_cv_cpp_def___powerpc__=yes
17373 else
17374 ac_cv_cpp_def___powerpc__=no
17376 rm -f conftest*
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17380 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17381 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17382 CFLAGS="$CFLAGS -D__powerpc__"
17383 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17384 fi ;;
17385 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17386 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17387 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17388 $as_echo_n "(cached) " >&6
17389 else
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 #ifndef __aarch64__
17394 #endif
17395 _ACEOF
17396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17397 $EGREP "yes" >/dev/null 2>&1; then :
17398 ac_cv_cpp_def___aarch64__=yes
17399 else
17400 ac_cv_cpp_def___aarch64__=no
17402 rm -f conftest*
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17406 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17407 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17408 CFLAGS="$CFLAGS -D__aarch64__"
17409 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17410 fi ;;
17411 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17412 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17413 if ${ac_cv_cpp_def___arm__+:} false; then :
17414 $as_echo_n "(cached) " >&6
17415 else
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #ifndef __arm__
17420 #endif
17421 _ACEOF
17422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17423 $EGREP "yes" >/dev/null 2>&1; then :
17424 ac_cv_cpp_def___arm__=yes
17425 else
17426 ac_cv_cpp_def___arm__=no
17428 rm -f conftest*
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17432 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17433 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17434 CFLAGS="$CFLAGS -D__arm__"
17435 LINTFLAGS="$LINTFLAGS -D__arm__"
17436 fi ;;
17437 esac
17439 case $host_vendor in
17440 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17441 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17442 if ${ac_cv_cpp_def___sun__+:} false; then :
17443 $as_echo_n "(cached) " >&6
17444 else
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 #ifndef __sun__
17449 #endif
17450 _ACEOF
17451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17452 $EGREP "yes" >/dev/null 2>&1; then :
17453 ac_cv_cpp_def___sun__=yes
17454 else
17455 ac_cv_cpp_def___sun__=no
17457 rm -f conftest*
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17461 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17462 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17463 CFLAGS="$CFLAGS -D__sun__"
17464 LINTFLAGS="$LINTFLAGS -D__sun__"
17465 fi ;;
17466 esac
17472 ac_config_commands="$ac_config_commands include/stamp-h"
17474 $as_echo_n "creating Makefile rules..." >&6
17476 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17477 SOCKET_LIBS = $SOCKET_LIBS
17478 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17479 IOKIT_LIBS = $IOKIT_LIBS
17480 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17481 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17482 CORESERVICES_LIBS = $CORESERVICES_LIBS
17483 APPKIT_LIBS = $APPKIT_LIBS
17484 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17485 SECURITY_LIBS = $SECURITY_LIBS
17486 COREAUDIO_LIBS = $COREAUDIO_LIBS
17487 OPENAL_LIBS = $OPENAL_LIBS
17488 OPENCL_LIBS = $OPENCL_LIBS
17489 QUICKTIME_LIBS = $QUICKTIME_LIBS
17490 CARBON_LIBS = $CARBON_LIBS
17491 PTHREAD_LIBS = $PTHREAD_LIBS
17492 X_CFLAGS = $X_CFLAGS
17493 X_PRE_LIBS = $X_PRE_LIBS
17494 X_LIBS = $X_LIBS
17495 X_EXTRA_LIBS = $X_EXTRA_LIBS
17496 PCAP_LIBS = $PCAP_LIBS
17497 XML2_CFLAGS = $XML2_CFLAGS
17498 XML2_LIBS = $XML2_LIBS
17499 XSLT_CFLAGS = $XSLT_CFLAGS
17500 XSLT_LIBS = $XSLT_LIBS
17501 DBUS_CFLAGS = $DBUS_CFLAGS
17502 DBUS_LIBS = $DBUS_LIBS
17503 HAL_CFLAGS = $HAL_CFLAGS
17504 HAL_LIBS = $HAL_LIBS
17505 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17506 GNUTLS_LIBS = $GNUTLS_LIBS
17507 SANE_CFLAGS = $SANE_CFLAGS
17508 SANE_LIBS = $SANE_LIBS
17509 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17510 GPHOTO2_LIBS = $GPHOTO2_LIBS
17511 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17512 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17513 RESOLV_LIBS = $RESOLV_LIBS
17514 LCMS2_CFLAGS = $LCMS2_CFLAGS
17515 LCMS2_LIBS = $LCMS2_LIBS
17516 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17517 FREETYPE_LIBS = $FREETYPE_LIBS
17518 Z_LIBS = $Z_LIBS
17519 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17520 PULSE_CFLAGS = $PULSE_CFLAGS
17521 PULSE_LIBS = $PULSE_LIBS
17522 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17523 GSTREAMER_LIBS = $GSTREAMER_LIBS
17524 ALSA_LIBS = $ALSA_LIBS
17525 OSS4_CFLAGS = $OSS4_CFLAGS
17526 UDEV_CFLAGS = $UDEV_CFLAGS
17527 UDEV_LIBS = $UDEV_LIBS
17528 CAPI20_CFLAGS = $CAPI20_CFLAGS
17529 CAPI20_LIBS = $CAPI20_LIBS
17530 CUPS_CFLAGS = $CUPS_CFLAGS
17531 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17532 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17533 JPEG_CFLAGS = $JPEG_CFLAGS
17534 JPEG_LIBS = $JPEG_LIBS
17535 PNG_CFLAGS = $PNG_CFLAGS
17536 PNG_LIBS = $PNG_LIBS
17537 TIFF_CFLAGS = $TIFF_CFLAGS
17538 TIFF_LIBS = $TIFF_LIBS
17539 MPG123_CFLAGS = $MPG123_CFLAGS
17540 MPG123_LIBS = $MPG123_LIBS
17541 KSTAT_LIBS = $KSTAT_LIBS
17542 PROCSTAT_LIBS = $PROCSTAT_LIBS
17543 NETAPI_CFLAGS = $NETAPI_CFLAGS
17544 NETAPI_LIBS = $NETAPI_LIBS
17545 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17546 DL_LIBS = $DL_LIBS
17547 POLL_LIBS = $POLL_LIBS
17548 RT_LIBS = $RT_LIBS
17549 LDAP_LIBS = $LDAP_LIBS
17554 wine_fn_append_rule "
17555 # Rules automatically generated by configure
17557 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17559 .INIT: Makefile
17560 .MAKEFILEDEPS:
17561 all: Makefile
17562 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17563 @./config.status Make.tmp Makefile
17564 depend: \$(MAKEDEP) dummy
17565 \$(MAKEDEP)"
17567 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17568 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17570 if test "x$enable_fonts" != xno; then
17571 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17572 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17573 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17574 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17575 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17576 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17578 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17579 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17580 ac_config_links="$ac_config_links wine:tools/winewrapper"
17581 wine_fn_config_symlink wine
17582 if test "x$enable_win64" != xno; then
17583 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17584 wine_fn_config_symlink wine64
17587 wine_fn_config_dll acledit enable_acledit
17588 wine_fn_config_dll aclui enable_aclui implib
17589 wine_fn_config_dll activeds enable_activeds implib
17590 wine_fn_config_dll actxprxy enable_actxprxy clean
17591 wine_fn_config_lib adsiid
17592 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17593 wine_fn_config_test dlls/advapi32/tests advapi32_test
17594 wine_fn_config_dll advpack enable_advpack implib
17595 wine_fn_config_test dlls/advpack/tests advpack_test
17596 wine_fn_config_dll amstream enable_amstream clean
17597 wine_fn_config_test dlls/amstream/tests amstream_test
17598 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17599 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17607 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17610 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17619 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17623 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17624 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17625 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17626 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17632 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17636 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17639 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17641 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17642 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17643 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17646 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17647 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17654 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17657 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17663 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17665 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17666 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17674 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17679 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17683 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17685 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17686 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17688 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17699 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17700 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17706 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17709 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17710 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17711 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17712 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17713 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17714 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17715 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17716 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17720 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17721 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17722 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17723 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17724 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17725 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17726 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17727 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17728 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17729 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17730 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17731 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17732 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17733 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17734 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17735 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17736 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17737 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17738 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17739 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17740 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17741 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17742 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17743 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17744 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17745 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17746 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17747 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17748 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17749 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17750 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17751 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17752 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17753 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17754 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17755 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17756 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17757 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17758 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17759 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17760 wine_fn_config_dll apphelp enable_apphelp
17761 wine_fn_config_test dlls/apphelp/tests apphelp_test
17762 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17763 wine_fn_config_dll atl enable_atl clean,implib
17764 wine_fn_config_test dlls/atl/tests atl_test
17765 wine_fn_config_dll atl100 enable_atl100 clean,implib
17766 wine_fn_config_test dlls/atl100/tests atl100_test
17767 wine_fn_config_dll atl110 enable_atl110 clean
17768 wine_fn_config_dll atl80 enable_atl80 clean,implib
17769 wine_fn_config_test dlls/atl80/tests atl80_test
17770 wine_fn_config_dll atl90 enable_atl90 clean
17771 wine_fn_config_dll authz enable_authz
17772 wine_fn_config_dll avicap32 enable_avicap32 implib
17773 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17774 wine_fn_config_test dlls/avifil32/tests avifil32_test
17775 wine_fn_config_dll avifile.dll16 enable_win16
17776 wine_fn_config_dll avrt enable_avrt implib
17777 wine_fn_config_dll bcrypt enable_bcrypt implib
17778 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17779 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17780 wine_fn_config_dll browseui enable_browseui clean
17781 wine_fn_config_test dlls/browseui/tests browseui_test
17782 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17783 wine_fn_config_dll cabinet enable_cabinet implib
17784 wine_fn_config_test dlls/cabinet/tests cabinet_test
17785 wine_fn_config_dll capi2032 enable_capi2032 implib
17786 wine_fn_config_dll cards enable_cards implib
17787 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17788 wine_fn_config_dll clusapi enable_clusapi implib
17789 wine_fn_config_dll combase enable_combase
17790 wine_fn_config_test dlls/combase/tests combase_test
17791 wine_fn_config_dll comcat enable_comcat
17792 wine_fn_config_test dlls/comcat/tests comcat_test
17793 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17794 wine_fn_config_test dlls/comctl32/tests comctl32_test
17795 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17796 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17797 wine_fn_config_dll comm.drv16 enable_win16
17798 wine_fn_config_dll commdlg.dll16 enable_win16
17799 wine_fn_config_dll compobj.dll16 enable_win16
17800 wine_fn_config_dll compstui enable_compstui implib
17801 wine_fn_config_dll comsvcs enable_comsvcs implib
17802 wine_fn_config_dll concrt140 enable_concrt140
17803 wine_fn_config_dll connect enable_connect
17804 wine_fn_config_dll credui enable_credui clean,implib
17805 wine_fn_config_test dlls/credui/tests credui_test
17806 wine_fn_config_dll crtdll enable_crtdll
17807 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17808 wine_fn_config_test dlls/crypt32/tests crypt32_test
17809 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17810 wine_fn_config_dll cryptdll enable_cryptdll implib
17811 wine_fn_config_dll cryptext enable_cryptext
17812 wine_fn_config_dll cryptnet enable_cryptnet implib
17813 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17814 wine_fn_config_dll cryptui enable_cryptui clean,implib
17815 wine_fn_config_test dlls/cryptui/tests cryptui_test
17816 wine_fn_config_dll ctapi32 enable_ctapi32
17817 wine_fn_config_dll ctl3d.dll16 enable_win16
17818 wine_fn_config_dll ctl3d32 enable_ctl3d32
17819 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17820 wine_fn_config_dll d2d1 enable_d2d1 implib
17821 wine_fn_config_test dlls/d2d1/tests d2d1_test
17822 wine_fn_config_dll d3d10 enable_d3d10 implib
17823 wine_fn_config_test dlls/d3d10/tests d3d10_test
17824 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17825 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17826 wine_fn_config_dll d3d10core enable_d3d10core implib
17827 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17828 wine_fn_config_dll d3d11 enable_d3d11 implib
17829 wine_fn_config_test dlls/d3d11/tests d3d11_test
17830 wine_fn_config_dll d3d8 enable_d3d8 implib
17831 wine_fn_config_test dlls/d3d8/tests d3d8_test
17832 wine_fn_config_dll d3d9 enable_d3d9 implib
17833 wine_fn_config_test dlls/d3d9/tests d3d9_test
17834 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17835 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17836 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17837 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17838 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17839 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17840 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17841 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17842 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17843 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17844 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17845 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17846 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17847 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17848 wine_fn_config_dll d3dim enable_d3dim
17849 wine_fn_config_dll d3drm enable_d3drm implib
17850 wine_fn_config_test dlls/d3drm/tests d3drm_test
17851 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17852 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17853 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17854 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17855 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17856 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17857 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17858 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17859 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17860 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17861 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17862 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17863 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17864 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17865 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17866 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17867 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17868 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17869 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17870 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17871 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17872 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17873 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17874 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17875 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17876 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17877 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17878 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17879 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17880 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17881 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17882 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17883 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17884 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17885 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17886 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17887 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17888 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17889 wine_fn_config_dll davclnt enable_davclnt
17890 wine_fn_config_dll dbgeng enable_dbgeng implib
17891 wine_fn_config_dll dbghelp enable_dbghelp implib
17892 wine_fn_config_dll dciman32 enable_dciman32 implib
17893 wine_fn_config_dll ddeml.dll16 enable_win16
17894 wine_fn_config_dll ddraw enable_ddraw clean,implib
17895 wine_fn_config_test dlls/ddraw/tests ddraw_test
17896 wine_fn_config_dll ddrawex enable_ddrawex clean
17897 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17898 wine_fn_config_dll devenum enable_devenum clean
17899 wine_fn_config_test dlls/devenum/tests devenum_test
17900 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17901 wine_fn_config_dll difxapi enable_difxapi
17902 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17903 wine_fn_config_test dlls/dinput/tests dinput_test
17904 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17905 wine_fn_config_test dlls/dinput8/tests dinput8_test
17906 wine_fn_config_dll dispdib.dll16 enable_win16
17907 wine_fn_config_dll dispex enable_dispex clean
17908 wine_fn_config_test dlls/dispex/tests dispex_test
17909 wine_fn_config_dll display.drv16 enable_win16
17910 wine_fn_config_dll dmband enable_dmband clean
17911 wine_fn_config_test dlls/dmband/tests dmband_test
17912 wine_fn_config_dll dmcompos enable_dmcompos clean
17913 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17914 wine_fn_config_dll dmime enable_dmime clean
17915 wine_fn_config_test dlls/dmime/tests dmime_test
17916 wine_fn_config_dll dmloader enable_dmloader clean
17917 wine_fn_config_test dlls/dmloader/tests dmloader_test
17918 wine_fn_config_dll dmscript enable_dmscript clean
17919 wine_fn_config_test dlls/dmscript/tests dmscript_test
17920 wine_fn_config_dll dmstyle enable_dmstyle clean
17921 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17922 wine_fn_config_dll dmsynth enable_dmsynth clean
17923 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17924 wine_fn_config_dll dmusic enable_dmusic clean
17925 wine_fn_config_test dlls/dmusic/tests dmusic_test
17926 wine_fn_config_dll dmusic32 enable_dmusic32
17927 wine_fn_config_dll dnsapi enable_dnsapi implib
17928 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17929 wine_fn_config_dll dplay enable_dplay
17930 wine_fn_config_dll dplayx enable_dplayx clean,implib
17931 wine_fn_config_test dlls/dplayx/tests dplayx_test
17932 wine_fn_config_dll dpnaddr enable_dpnaddr
17933 wine_fn_config_dll dpnet enable_dpnet clean,implib
17934 wine_fn_config_test dlls/dpnet/tests dpnet_test
17935 wine_fn_config_dll dpnhpast enable_dpnhpast
17936 wine_fn_config_dll dpnlobby enable_dpnlobby
17937 wine_fn_config_dll dpvoice enable_dpvoice clean
17938 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17939 wine_fn_config_dll dpwsockx enable_dpwsockx
17940 wine_fn_config_dll drmclien enable_drmclien
17941 wine_fn_config_dll dsound enable_dsound clean,implib
17942 wine_fn_config_test dlls/dsound/tests dsound_test
17943 wine_fn_config_dll dssenh enable_dssenh
17944 wine_fn_config_test dlls/dssenh/tests dssenh_test
17945 wine_fn_config_dll dswave enable_dswave clean
17946 wine_fn_config_test dlls/dswave/tests dswave_test
17947 wine_fn_config_dll dwmapi enable_dwmapi implib
17948 wine_fn_config_dll dwrite enable_dwrite implib
17949 wine_fn_config_test dlls/dwrite/tests dwrite_test
17950 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17951 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17952 wine_fn_config_lib dxerr8
17953 wine_fn_config_lib dxerr9
17954 wine_fn_config_dll dxgi enable_dxgi implib
17955 wine_fn_config_test dlls/dxgi/tests dxgi_test
17956 wine_fn_config_lib dxguid
17957 wine_fn_config_dll dxva2 enable_dxva2
17958 wine_fn_config_dll esent enable_esent
17959 wine_fn_config_dll evr enable_evr
17960 wine_fn_config_dll explorerframe enable_explorerframe clean
17961 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17962 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17963 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17964 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17965 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17966 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17967 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17968 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17969 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17970 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17971 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17972 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17973 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17974 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17975 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17976 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
17977 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17978 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17979 wine_fn_config_dll faultrep enable_faultrep implib
17980 wine_fn_config_test dlls/faultrep/tests faultrep_test
17981 wine_fn_config_dll fltlib enable_fltlib
17982 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17983 wine_fn_config_dll fntcache enable_fntcache
17984 wine_fn_config_dll fontsub enable_fontsub
17985 wine_fn_config_dll fusion enable_fusion
17986 wine_fn_config_test dlls/fusion/tests fusion_test
17987 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17988 wine_fn_config_dll gameux enable_gameux clean
17989 wine_fn_config_test dlls/gameux/tests gameux_test
17990 wine_fn_config_dll gdi.exe16 enable_win16
17991 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17992 wine_fn_config_test dlls/gdi32/tests gdi32_test
17993 wine_fn_config_dll gdiplus enable_gdiplus implib
17994 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17995 wine_fn_config_dll glu32 enable_glu32 implib
17996 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17997 wine_fn_config_dll gpkcsp enable_gpkcsp
17998 wine_fn_config_dll hal enable_hal
17999 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18000 wine_fn_config_dll hid enable_hid implib
18001 wine_fn_config_test dlls/hid/tests hid_test
18002 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18003 wine_fn_config_dll hlink enable_hlink clean,implib
18004 wine_fn_config_test dlls/hlink/tests hlink_test
18005 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18006 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18007 wine_fn_config_dll httpapi enable_httpapi
18008 wine_fn_config_dll iccvid enable_iccvid clean
18009 wine_fn_config_dll icmp enable_icmp
18010 wine_fn_config_dll ieframe enable_ieframe clean,implib
18011 wine_fn_config_test dlls/ieframe/tests ieframe_test
18012 wine_fn_config_dll ifsmgr.vxd enable_win16
18013 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18014 wine_fn_config_dll imagehlp enable_imagehlp implib
18015 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18016 wine_fn_config_dll imm.dll16 enable_win16
18017 wine_fn_config_dll imm32 enable_imm32 implib
18018 wine_fn_config_test dlls/imm32/tests imm32_test
18019 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18020 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18021 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18022 wine_fn_config_dll inetmib1 enable_inetmib1
18023 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18024 wine_fn_config_dll infosoft enable_infosoft clean
18025 wine_fn_config_test dlls/infosoft/tests infosoft_test
18026 wine_fn_config_dll initpki enable_initpki
18027 wine_fn_config_dll inkobj enable_inkobj
18028 wine_fn_config_dll inseng enable_inseng clean
18029 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18030 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18031 wine_fn_config_dll iprop enable_iprop
18032 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18033 wine_fn_config_dll itircl enable_itircl
18034 wine_fn_config_dll itss enable_itss clean
18035 wine_fn_config_test dlls/itss/tests itss_test
18036 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18037 wine_fn_config_dll jscript enable_jscript clean
18038 wine_fn_config_test dlls/jscript/tests jscript_test
18039 wine_fn_config_dll jsproxy enable_jsproxy implib
18040 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18041 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18042 wine_fn_config_test dlls/kernel32/tests kernel32_test
18043 wine_fn_config_dll kernelbase enable_kernelbase
18044 wine_fn_config_dll keyboard.drv16 enable_win16
18045 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18046 wine_fn_config_dll ksuser enable_ksuser
18047 wine_fn_config_dll ktmw32 enable_ktmw32
18048 wine_fn_config_dll loadperf enable_loadperf implib
18049 wine_fn_config_dll localspl enable_localspl clean
18050 wine_fn_config_test dlls/localspl/tests localspl_test
18051 wine_fn_config_dll localui enable_localui clean
18052 wine_fn_config_test dlls/localui/tests localui_test
18053 wine_fn_config_dll lz32 enable_lz32 implib
18054 wine_fn_config_test dlls/lz32/tests lz32_test
18055 wine_fn_config_dll lzexpand.dll16 enable_win16
18056 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18057 wine_fn_config_test dlls/mapi32/tests mapi32_test
18058 wine_fn_config_dll mapistub enable_mapistub
18059 wine_fn_config_dll mciavi32 enable_mciavi32
18060 wine_fn_config_dll mcicda enable_mcicda
18061 wine_fn_config_dll mciqtz32 enable_mciqtz32
18062 wine_fn_config_dll mciseq enable_mciseq
18063 wine_fn_config_dll mciwave enable_mciwave
18064 wine_fn_config_dll mf enable_mf
18065 wine_fn_config_dll mf3216 enable_mf3216
18066 wine_fn_config_dll mfplat enable_mfplat
18067 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18068 wine_fn_config_dll mgmtapi enable_mgmtapi
18069 wine_fn_config_dll midimap enable_midimap
18070 wine_fn_config_dll mlang enable_mlang clean,implib
18071 wine_fn_config_test dlls/mlang/tests mlang_test
18072 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18073 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18074 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18075 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18076 wine_fn_config_dll mmdevldr.vxd enable_win16
18077 wine_fn_config_dll mmsystem.dll16 enable_win16
18078 wine_fn_config_dll monodebg.vxd enable_win16
18079 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18080 wine_fn_config_dll mouse.drv16 enable_win16
18081 wine_fn_config_dll mpr enable_mpr clean,implib
18082 wine_fn_config_test dlls/mpr/tests mpr_test
18083 wine_fn_config_dll mprapi enable_mprapi implib
18084 wine_fn_config_dll msacm.dll16 enable_win16
18085 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18086 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18087 wine_fn_config_test dlls/msacm32/tests msacm32_test
18088 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18089 wine_fn_config_dll msasn1 enable_msasn1 implib
18090 wine_fn_config_dll mscat32 enable_mscat32
18091 wine_fn_config_dll mscms enable_mscms implib
18092 wine_fn_config_test dlls/mscms/tests mscms_test
18093 wine_fn_config_dll mscoree enable_mscoree clean
18094 wine_fn_config_test dlls/mscoree/tests mscoree_test
18095 wine_fn_config_dll msctf enable_msctf clean
18096 wine_fn_config_test dlls/msctf/tests msctf_test
18097 wine_fn_config_dll msctfp enable_msctfp clean
18098 wine_fn_config_dll msdaps enable_msdaps clean
18099 wine_fn_config_dll msdelta enable_msdelta
18100 wine_fn_config_dll msdmo enable_msdmo implib
18101 wine_fn_config_test dlls/msdmo/tests msdmo_test
18102 wine_fn_config_dll msdrm enable_msdrm
18103 wine_fn_config_dll msftedit enable_msftedit
18104 wine_fn_config_dll msg711.acm enable_msg711_acm
18105 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18106 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18107 wine_fn_config_dll mshtml enable_mshtml clean,implib
18108 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18109 wine_fn_config_dll msi enable_msi clean,implib
18110 wine_fn_config_test dlls/msi/tests msi_test
18111 wine_fn_config_dll msident enable_msident clean
18112 wine_fn_config_dll msimg32 enable_msimg32 implib
18113 wine_fn_config_dll msimsg enable_msimsg
18114 wine_fn_config_dll msimtf enable_msimtf clean
18115 wine_fn_config_dll msisip enable_msisip
18116 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18117 wine_fn_config_dll msls31 enable_msls31
18118 wine_fn_config_dll msnet32 enable_msnet32
18119 wine_fn_config_dll mspatcha enable_mspatcha implib
18120 wine_fn_config_dll msports enable_msports
18121 wine_fn_config_dll msrle32 enable_msrle32 clean
18122 wine_fn_config_test dlls/msrle32/tests msrle32_test
18123 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18124 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18125 wine_fn_config_dll mssign32 enable_mssign32
18126 wine_fn_config_dll mssip32 enable_mssip32
18127 wine_fn_config_dll mstask enable_mstask clean
18128 wine_fn_config_test dlls/mstask/tests mstask_test
18129 wine_fn_config_dll msvcirt enable_msvcirt
18130 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18131 wine_fn_config_dll msvcm80 enable_msvcm80
18132 wine_fn_config_dll msvcm90 enable_msvcm90
18133 wine_fn_config_dll msvcp100 enable_msvcp100
18134 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18135 wine_fn_config_dll msvcp110 enable_msvcp110
18136 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18137 wine_fn_config_dll msvcp120 enable_msvcp120
18138 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18139 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18140 wine_fn_config_dll msvcp140 enable_msvcp140
18141 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18142 wine_fn_config_dll msvcp60 enable_msvcp60
18143 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18144 wine_fn_config_dll msvcp70 enable_msvcp70
18145 wine_fn_config_dll msvcp71 enable_msvcp71
18146 wine_fn_config_dll msvcp80 enable_msvcp80
18147 wine_fn_config_dll msvcp90 enable_msvcp90
18148 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18149 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18150 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18151 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18152 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18153 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18154 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18155 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18156 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18157 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18158 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18159 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18160 wine_fn_config_dll msvcrt enable_msvcrt implib
18161 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18162 wine_fn_config_dll msvcrt20 enable_msvcrt20
18163 wine_fn_config_dll msvcrt40 enable_msvcrt40
18164 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18165 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18166 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18167 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18168 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18169 wine_fn_config_dll msvideo.dll16 enable_win16
18170 wine_fn_config_dll mswsock enable_mswsock implib
18171 wine_fn_config_dll msxml enable_msxml clean
18172 wine_fn_config_dll msxml2 enable_msxml2 clean
18173 wine_fn_config_dll msxml3 enable_msxml3 clean
18174 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18175 wine_fn_config_dll msxml4 enable_msxml4 clean
18176 wine_fn_config_dll msxml6 enable_msxml6 clean
18177 wine_fn_config_dll ncrypt enable_ncrypt
18178 wine_fn_config_dll nddeapi enable_nddeapi implib
18179 wine_fn_config_dll ndis.sys enable_ndis_sys
18180 wine_fn_config_dll netapi32 enable_netapi32 implib
18181 wine_fn_config_test dlls/netapi32/tests netapi32_test
18182 wine_fn_config_dll netcfgx enable_netcfgx clean
18183 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18184 wine_fn_config_dll netprofm enable_netprofm clean
18185 wine_fn_config_test dlls/netprofm/tests netprofm_test
18186 wine_fn_config_dll newdev enable_newdev implib
18187 wine_fn_config_dll normaliz enable_normaliz implib
18188 wine_fn_config_dll npmshtml enable_npmshtml
18189 wine_fn_config_dll npptools enable_npptools
18190 wine_fn_config_dll ntdll enable_ntdll implib
18191 wine_fn_config_test dlls/ntdll/tests ntdll_test
18192 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18193 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18194 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18195 wine_fn_config_dll ntprint enable_ntprint
18196 wine_fn_config_test dlls/ntprint/tests ntprint_test
18197 wine_fn_config_dll objsel enable_objsel clean
18198 wine_fn_config_dll odbc32 enable_odbc32 implib
18199 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18200 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18201 wine_fn_config_dll odbccu32 enable_odbccu32
18202 wine_fn_config_dll ole2.dll16 enable_win16
18203 wine_fn_config_dll ole2conv.dll16 enable_win16
18204 wine_fn_config_dll ole2disp.dll16 enable_win16
18205 wine_fn_config_dll ole2nls.dll16 enable_win16
18206 wine_fn_config_dll ole2prox.dll16 enable_win16
18207 wine_fn_config_dll ole2thk.dll16 enable_win16
18208 wine_fn_config_dll ole32 enable_ole32 clean,implib
18209 wine_fn_config_test dlls/ole32/tests ole32_test
18210 wine_fn_config_dll oleacc enable_oleacc clean,implib
18211 wine_fn_config_test dlls/oleacc/tests oleacc_test
18212 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18213 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18214 wine_fn_config_dll olecli.dll16 enable_win16
18215 wine_fn_config_dll olecli32 enable_olecli32 implib
18216 wine_fn_config_dll oledb32 enable_oledb32 clean
18217 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18218 wine_fn_config_dll oledlg enable_oledlg clean,implib
18219 wine_fn_config_test dlls/oledlg/tests oledlg_test
18220 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18221 wine_fn_config_dll olesvr.dll16 enable_win16
18222 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18223 wine_fn_config_dll olethk32 enable_olethk32
18224 wine_fn_config_dll openal32 enable_openal32
18225 wine_fn_config_dll opencl enable_opencl
18226 wine_fn_config_dll opengl32 enable_opengl32 implib
18227 wine_fn_config_test dlls/opengl32/tests opengl32_test
18228 wine_fn_config_dll packager enable_packager clean
18229 wine_fn_config_test dlls/packager/tests packager_test
18230 wine_fn_config_dll pdh enable_pdh implib
18231 wine_fn_config_test dlls/pdh/tests pdh_test
18232 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18233 wine_fn_config_dll pidgen enable_pidgen
18234 wine_fn_config_dll powrprof enable_powrprof implib
18235 wine_fn_config_dll printui enable_printui
18236 wine_fn_config_dll prntvpt enable_prntvpt
18237 wine_fn_config_dll propsys enable_propsys clean,implib
18238 wine_fn_config_test dlls/propsys/tests propsys_test
18239 wine_fn_config_dll psapi enable_psapi implib
18240 wine_fn_config_test dlls/psapi/tests psapi_test
18241 wine_fn_config_dll pstorec enable_pstorec clean
18242 wine_fn_config_dll qcap enable_qcap
18243 wine_fn_config_test dlls/qcap/tests qcap_test
18244 wine_fn_config_dll qedit enable_qedit clean
18245 wine_fn_config_test dlls/qedit/tests qedit_test
18246 wine_fn_config_dll qmgr enable_qmgr clean
18247 wine_fn_config_test dlls/qmgr/tests qmgr_test
18248 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18249 wine_fn_config_dll quartz enable_quartz clean,implib
18250 wine_fn_config_test dlls/quartz/tests quartz_test clean
18251 wine_fn_config_dll query enable_query
18252 wine_fn_config_dll rasapi16.dll16 enable_win16
18253 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18254 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18255 wine_fn_config_dll rasdlg enable_rasdlg implib
18256 wine_fn_config_dll regapi enable_regapi
18257 wine_fn_config_dll resutils enable_resutils implib
18258 wine_fn_config_dll riched20 enable_riched20 clean,implib
18259 wine_fn_config_test dlls/riched20/tests riched20_test
18260 wine_fn_config_dll riched32 enable_riched32
18261 wine_fn_config_test dlls/riched32/tests riched32_test
18262 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18263 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18264 wine_fn_config_dll rsabase enable_rsabase
18265 wine_fn_config_dll rsaenh enable_rsaenh implib
18266 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18267 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18268 wine_fn_config_dll rtutils enable_rtutils implib
18269 wine_fn_config_dll samlib enable_samlib
18270 wine_fn_config_dll sane.ds enable_sane_ds clean
18271 wine_fn_config_dll scarddlg enable_scarddlg
18272 wine_fn_config_dll sccbase enable_sccbase
18273 wine_fn_config_dll schannel enable_schannel
18274 wine_fn_config_test dlls/schannel/tests schannel_test
18275 wine_fn_config_dll schedsvc enable_schedsvc clean
18276 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18277 wine_fn_config_dll scrobj enable_scrobj clean
18278 wine_fn_config_dll scrrun enable_scrrun clean
18279 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18280 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18281 wine_fn_config_dll secur32 enable_secur32 implib
18282 wine_fn_config_test dlls/secur32/tests secur32_test
18283 wine_fn_config_dll security enable_security
18284 wine_fn_config_dll sensapi enable_sensapi implib
18285 wine_fn_config_dll serialui enable_serialui clean
18286 wine_fn_config_test dlls/serialui/tests serialui_test
18287 wine_fn_config_dll setupapi enable_setupapi clean,implib
18288 wine_fn_config_test dlls/setupapi/tests setupapi_test
18289 wine_fn_config_dll setupx.dll16 enable_win16
18290 wine_fn_config_dll sfc enable_sfc implib
18291 wine_fn_config_dll sfc_os enable_sfc_os implib
18292 wine_fn_config_dll shdoclc enable_shdoclc clean
18293 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18294 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18295 wine_fn_config_dll shell.dll16 enable_win16
18296 wine_fn_config_dll shell32 enable_shell32 clean,implib
18297 wine_fn_config_test dlls/shell32/tests shell32_test
18298 wine_fn_config_dll shfolder enable_shfolder implib
18299 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18300 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18301 wine_fn_config_dll slbcsp enable_slbcsp
18302 wine_fn_config_dll slc enable_slc implib
18303 wine_fn_config_test dlls/slc/tests slc_test
18304 wine_fn_config_dll snmpapi enable_snmpapi implib
18305 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18306 wine_fn_config_dll softpub enable_softpub
18307 wine_fn_config_dll sound.drv16 enable_win16
18308 wine_fn_config_dll spoolss enable_spoolss implib
18309 wine_fn_config_test dlls/spoolss/tests spoolss_test
18310 wine_fn_config_dll sspicli enable_sspicli
18311 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18312 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18313 wine_fn_config_dll sti enable_sti clean,implib
18314 wine_fn_config_test dlls/sti/tests sti_test
18315 wine_fn_config_dll storage.dll16 enable_win16
18316 wine_fn_config_dll stress.dll16 enable_win16
18317 wine_fn_config_lib strmbase
18318 wine_fn_config_lib strmiids
18319 wine_fn_config_dll svrapi enable_svrapi
18320 wine_fn_config_dll sxs enable_sxs implib
18321 wine_fn_config_test dlls/sxs/tests sxs_test
18322 wine_fn_config_dll system.drv16 enable_win16
18323 wine_fn_config_dll t2embed enable_t2embed implib
18324 wine_fn_config_test dlls/t2embed/tests t2embed_test
18325 wine_fn_config_dll tapi32 enable_tapi32 implib
18326 wine_fn_config_dll taskschd enable_taskschd clean
18327 wine_fn_config_test dlls/taskschd/tests taskschd_test
18328 wine_fn_config_dll tdi.sys enable_tdi_sys
18329 wine_fn_config_dll toolhelp.dll16 enable_win16
18330 wine_fn_config_dll traffic enable_traffic
18331 wine_fn_config_dll twain.dll16 enable_win16
18332 wine_fn_config_dll twain_32 enable_twain_32
18333 wine_fn_config_test dlls/twain_32/tests twain_32_test
18334 wine_fn_config_dll typelib.dll16 enable_win16
18335 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18336 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18337 wine_fn_config_dll unicows enable_unicows implib
18338 wine_fn_config_dll updspapi enable_updspapi
18339 wine_fn_config_dll url enable_url implib
18340 wine_fn_config_dll urlmon enable_urlmon clean,implib
18341 wine_fn_config_test dlls/urlmon/tests urlmon_test
18342 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18343 wine_fn_config_dll user.exe16 enable_win16
18344 wine_fn_config_dll user32 enable_user32 clean,implib
18345 wine_fn_config_test dlls/user32/tests user32_test
18346 wine_fn_config_dll userenv enable_userenv implib
18347 wine_fn_config_test dlls/userenv/tests userenv_test
18348 wine_fn_config_dll usp10 enable_usp10 implib
18349 wine_fn_config_test dlls/usp10/tests usp10_test
18350 wine_fn_config_lib uuid
18351 wine_fn_config_dll uxtheme enable_uxtheme implib
18352 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18353 wine_fn_config_dll vbscript enable_vbscript clean
18354 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18355 wine_fn_config_dll vcomp enable_vcomp
18356 wine_fn_config_test dlls/vcomp/tests vcomp_test
18357 wine_fn_config_dll vcomp100 enable_vcomp100
18358 wine_fn_config_dll vcomp110 enable_vcomp110
18359 wine_fn_config_dll vcomp120 enable_vcomp120
18360 wine_fn_config_dll vcomp140 enable_vcomp140
18361 wine_fn_config_dll vcomp90 enable_vcomp90
18362 wine_fn_config_dll vcruntime140 enable_vcruntime140
18363 wine_fn_config_dll vdhcp.vxd enable_win16
18364 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18365 wine_fn_config_dll ver.dll16 enable_win16
18366 wine_fn_config_dll version enable_version implib
18367 wine_fn_config_test dlls/version/tests version_test
18368 wine_fn_config_dll vmm.vxd enable_win16
18369 wine_fn_config_dll vnbt.vxd enable_win16
18370 wine_fn_config_dll vnetbios.vxd enable_win16
18371 wine_fn_config_dll vssapi enable_vssapi
18372 wine_fn_config_dll vtdapi.vxd enable_win16
18373 wine_fn_config_dll vwin32.vxd enable_win16
18374 wine_fn_config_dll w32skrnl enable_win16
18375 wine_fn_config_dll w32sys.dll16 enable_win16
18376 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18377 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18378 wine_fn_config_dll wbemprox enable_wbemprox clean
18379 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18380 wine_fn_config_dll webservices enable_webservices implib
18381 wine_fn_config_test dlls/webservices/tests webservices_test
18382 wine_fn_config_dll wer enable_wer implib
18383 wine_fn_config_test dlls/wer/tests wer_test
18384 wine_fn_config_dll wevtapi enable_wevtapi
18385 wine_fn_config_dll wiaservc enable_wiaservc clean
18386 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18387 wine_fn_config_dll wimgapi enable_wimgapi
18388 wine_fn_config_dll win32s16.dll16 enable_win16
18389 wine_fn_config_dll win87em.dll16 enable_win16
18390 wine_fn_config_dll winaspi.dll16 enable_win16
18391 wine_fn_config_dll windebug.dll16 enable_win16
18392 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18393 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18394 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18395 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18396 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18397 wine_fn_config_dll winebus.sys enable_winebus_sys
18398 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18399 wine_fn_config_lib winecrt0
18400 wine_fn_config_dll wined3d enable_wined3d implib
18401 wine_fn_config_dll winegstreamer enable_winegstreamer
18402 wine_fn_config_dll winehid.sys enable_winehid_sys
18403 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18404 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18405 wine_fn_config_dll winemapi enable_winemapi
18406 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18407 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18408 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18409 wine_fn_config_dll wineps16.drv16 enable_win16
18410 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18411 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18412 wine_fn_config_dll winex11.drv enable_winex11_drv
18413 wine_fn_config_dll wing.dll16 enable_win16
18414 wine_fn_config_dll wing32 enable_wing32
18415 wine_fn_config_dll winhttp enable_winhttp clean,implib
18416 wine_fn_config_test dlls/winhttp/tests winhttp_test
18417 wine_fn_config_dll wininet enable_wininet clean,implib
18418 wine_fn_config_test dlls/wininet/tests wininet_test
18419 wine_fn_config_dll winmm enable_winmm clean,implib
18420 wine_fn_config_test dlls/winmm/tests winmm_test
18421 wine_fn_config_dll winnls.dll16 enable_win16
18422 wine_fn_config_dll winnls32 enable_winnls32 implib
18423 wine_fn_config_dll winscard enable_winscard implib
18424 wine_fn_config_dll winsock.dll16 enable_win16
18425 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18426 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18427 wine_fn_config_dll winsta enable_winsta
18428 wine_fn_config_dll wintab.dll16 enable_win16
18429 wine_fn_config_dll wintab32 enable_wintab32 implib
18430 wine_fn_config_test dlls/wintab32/tests wintab32_test
18431 wine_fn_config_dll wintrust enable_wintrust implib
18432 wine_fn_config_test dlls/wintrust/tests wintrust_test
18433 wine_fn_config_dll winusb enable_winusb
18434 wine_fn_config_dll wlanapi enable_wlanapi implib
18435 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18436 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18437 wine_fn_config_test dlls/wldap32/tests wldap32_test
18438 wine_fn_config_dll wmasf enable_wmasf
18439 wine_fn_config_dll wmi enable_wmi
18440 wine_fn_config_dll wmiutils enable_wmiutils clean
18441 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18442 wine_fn_config_dll wmp enable_wmp clean
18443 wine_fn_config_test dlls/wmp/tests wmp_test
18444 wine_fn_config_dll wmvcore enable_wmvcore
18445 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18446 wine_fn_config_dll wow32 enable_win16 implib
18447 wine_fn_config_dll wpc enable_wpc clean
18448 wine_fn_config_test dlls/wpc/tests wpc_test
18449 wine_fn_config_dll wpcap enable_wpcap
18450 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18451 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18452 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18453 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18454 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18455 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18456 wine_fn_config_dll wsock32 enable_wsock32 implib
18457 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18458 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18459 wine_fn_config_dll wuapi enable_wuapi clean
18460 wine_fn_config_dll wuaueng enable_wuaueng
18461 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18462 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18463 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18464 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18465 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18466 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18467 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18468 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18469 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18470 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18471 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18472 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18473 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18474 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18475 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18476 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18477 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18478 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18479 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18480 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18481 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18482 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18483 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18484 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18485 wine_fn_config_dll xinput1_1 enable_xinput1_1
18486 wine_fn_config_dll xinput1_2 enable_xinput1_2
18487 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18488 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18489 wine_fn_config_dll xinput1_4 enable_xinput1_4
18490 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18491 wine_fn_config_dll xmllite enable_xmllite implib
18492 wine_fn_config_test dlls/xmllite/tests xmllite_test
18493 wine_fn_config_dll xolehlp enable_xolehlp
18494 wine_fn_config_dll xpsprint enable_xpsprint
18495 wine_fn_config_dll xpssvcs enable_xpssvcs
18496 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18497 wine_fn_config_makefile include enable_include clean,install-dev
18498 wine_fn_config_makefile libs/port enable_libs_port
18499 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18500 wine_fn_config_makefile libs/wpp enable_libs_wpp
18501 wine_fn_config_makefile loader enable_loader clean,install-lib
18502 wine_fn_config_makefile po enable_po clean
18503 wine_fn_config_program arp enable_arp install
18504 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18505 wine_fn_config_program attrib enable_attrib clean,install
18506 wine_fn_config_program cabarc enable_cabarc install
18507 wine_fn_config_program cacls enable_cacls install
18508 wine_fn_config_program clock enable_clock clean,install
18509 wine_fn_config_program cmd enable_cmd clean,install
18510 wine_fn_config_test programs/cmd/tests cmd.exe_test
18511 wine_fn_config_program conhost enable_conhost install
18512 wine_fn_config_program control enable_control install
18513 wine_fn_config_program cscript enable_cscript clean,install
18514 wine_fn_config_program dpnsvr enable_dpnsvr install
18515 wine_fn_config_program dxdiag enable_dxdiag clean,install
18516 wine_fn_config_program eject enable_eject install
18517 wine_fn_config_program expand enable_expand install
18518 wine_fn_config_program explorer enable_explorer clean,install
18519 wine_fn_config_program extrac32 enable_extrac32 install
18520 wine_fn_config_program findstr enable_findstr install
18521 wine_fn_config_program fsutil enable_fsutil install
18522 wine_fn_config_program hh enable_hh install
18523 wine_fn_config_program hostname enable_hostname clean,install
18524 wine_fn_config_program icacls enable_icacls install
18525 wine_fn_config_program icinfo enable_icinfo install
18526 wine_fn_config_program iexplore enable_iexplore install
18527 wine_fn_config_program ipconfig enable_ipconfig clean,install
18528 wine_fn_config_program lodctr enable_lodctr install
18529 wine_fn_config_program mofcomp enable_mofcomp install
18530 wine_fn_config_program mshta enable_mshta install
18531 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18532 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18533 wine_fn_config_program net enable_net clean,install
18534 wine_fn_config_program netsh enable_netsh install
18535 wine_fn_config_program netstat enable_netstat clean,install
18536 wine_fn_config_program ngen enable_ngen install
18537 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18538 wine_fn_config_program oleview enable_oleview clean,install
18539 wine_fn_config_program ping enable_ping install
18540 wine_fn_config_program plugplay enable_plugplay install
18541 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18542 wine_fn_config_program progman enable_progman clean,install
18543 wine_fn_config_program reg enable_reg clean,install
18544 wine_fn_config_test programs/reg/tests reg.exe_test
18545 wine_fn_config_program regasm enable_regasm install
18546 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18547 wine_fn_config_test programs/regedit/tests regedit.exe_test
18548 wine_fn_config_program regsvcs enable_regsvcs install
18549 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18550 wine_fn_config_program rpcss enable_rpcss clean,install
18551 wine_fn_config_program rundll.exe16 enable_win16 install
18552 wine_fn_config_program rundll32 enable_rundll32 install
18553 wine_fn_config_program sc enable_sc install
18554 wine_fn_config_program schtasks enable_schtasks install
18555 wine_fn_config_program sdbinst enable_sdbinst install
18556 wine_fn_config_program secedit enable_secedit install
18557 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18558 wine_fn_config_program services enable_services clean,install
18559 wine_fn_config_test programs/services/tests services.exe_test
18560 wine_fn_config_program shutdown enable_shutdown install
18561 wine_fn_config_program spoolsv enable_spoolsv install
18562 wine_fn_config_program start enable_start clean,install
18563 wine_fn_config_program subst enable_subst install
18564 wine_fn_config_program svchost enable_svchost install
18565 wine_fn_config_program systeminfo enable_systeminfo install
18566 wine_fn_config_program taskkill enable_taskkill clean,install
18567 wine_fn_config_program tasklist enable_tasklist install
18568 wine_fn_config_program taskmgr enable_taskmgr clean,install
18569 wine_fn_config_program termsv enable_termsv install
18570 wine_fn_config_program uninstaller enable_uninstaller clean,install
18571 wine_fn_config_program unlodctr enable_unlodctr install
18572 wine_fn_config_program view enable_view clean,install
18573 wine_fn_config_program wevtutil enable_wevtutil install
18574 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18575 wine_fn_config_program winebrowser enable_winebrowser install
18576 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18577 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18578 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18579 wine_fn_config_program winedevice enable_winedevice install
18580 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18581 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18582 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18583 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18584 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18585 wine_fn_config_program winetest enable_winetest clean
18586 wine_fn_config_program winevdm enable_win16 install
18587 wine_fn_config_program winhelp.exe16 enable_win16 install
18588 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18589 wine_fn_config_program winoldap.mod16 enable_win16 install
18590 wine_fn_config_program winver enable_winver install
18591 wine_fn_config_program wmic enable_wmic clean,install
18592 wine_fn_config_program wmplayer enable_wmplayer install
18593 wine_fn_config_program wordpad enable_wordpad clean,install
18594 wine_fn_config_program write enable_write clean,install
18595 wine_fn_config_program wscript enable_wscript clean,install
18596 wine_fn_config_test programs/wscript/tests wscript.exe_test
18597 wine_fn_config_program wusa enable_wusa install
18598 wine_fn_config_program xcopy enable_xcopy clean,install
18599 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18600 wine_fn_config_makefile server enable_server clean,install-lib
18601 wine_fn_config_tool tools clean
18602 wine_fn_config_tool tools/sfnt2fon clean
18603 wine_fn_config_tool tools/widl clean,install-dev
18604 wine_fn_config_tool tools/winebuild clean,install-dev
18605 wine_fn_config_tool tools/winedump clean,install-dev
18606 wine_fn_config_tool tools/winegcc clean,install-dev
18607 wine_fn_config_tool tools/winemaker clean,install-dev
18608 wine_fn_config_tool tools/wmc clean,install-dev
18609 wine_fn_config_tool tools/wrc clean,install-dev
18612 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18613 wine_fn_append_file CONFIGURE_TARGETS "tags"
18614 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18615 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18616 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18617 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18618 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18619 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18621 if test "x$enable_tools" != xno
18622 then
18623 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18624 ac_config_commands="$ac_config_commands tools/makedep"
18628 ac_config_commands="$ac_config_commands Makefile"
18631 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18635 if test "x$enable_maintainer_mode" = xyes
18636 then
18637 wine_fn_append_rule "configure: configure.ac aclocal.m4
18638 autoconf --warnings=all
18639 include/config.h.in: include/stamp-h.in
18640 include/stamp-h.in: configure.ac aclocal.m4
18641 autoheader --warnings=all
18642 @echo timestamp > \$@"
18645 if test "x$enable_tools" != xno
18646 then
18647 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18648 @./config.status tools/makedep
18649 Makefile: tools/makedep$ac_exeext"
18650 else
18651 wine_fn_append_rule "\$(MAKEDEP):
18652 @echo \"You need to run make in $TOOLSDIR first\" && false"
18655 if test -n "$with_wine64"
18656 then
18657 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18658 fonts server:
18659 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18660 $with_wine64/loader/wine:
18661 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18662 $with_wine64/loader/wine-preloader:
18663 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18664 clean::
18665 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18666 else
18667 WINELOADER_INSTALL="wine.inf"
18669 wine_fn_append_rule "install install-lib::
18670 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18671 uninstall::
18672 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18673 case $host_os in
18674 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18675 *) wine_fn_append_rule "install install-lib::
18676 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18677 uninstall::
18678 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18679 esac
18682 $as_echo " done" >&6
18683 cat >confcache <<\_ACEOF
18684 # This file is a shell script that caches the results of configure
18685 # tests run on this system so they can be shared between configure
18686 # scripts and configure runs, see configure's option --config-cache.
18687 # It is not useful on other systems. If it contains results you don't
18688 # want to keep, you may remove or edit it.
18690 # config.status only pays attention to the cache file if you give it
18691 # the --recheck option to rerun configure.
18693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18695 # following values.
18697 _ACEOF
18699 # The following way of writing the cache mishandles newlines in values,
18700 # but we know of no workaround that is simple, portable, and efficient.
18701 # So, we kill variables containing newlines.
18702 # Ultrix sh set writes to stderr and can't be redirected directly,
18703 # and sets the high bit in the cache file unless we assign to the vars.
18705 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18706 eval ac_val=\$$ac_var
18707 case $ac_val in #(
18708 *${as_nl}*)
18709 case $ac_var in #(
18710 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18711 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18712 esac
18713 case $ac_var in #(
18714 _ | IFS | as_nl) ;; #(
18715 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18716 *) { eval $ac_var=; unset $ac_var;} ;;
18717 esac ;;
18718 esac
18719 done
18721 (set) 2>&1 |
18722 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18723 *${as_nl}ac_space=\ *)
18724 # `set' does not quote correctly, so add quotes: double-quote
18725 # substitution turns \\\\ into \\, and sed turns \\ into \.
18726 sed -n \
18727 "s/'/'\\\\''/g;
18728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18729 ;; #(
18731 # `set' quotes correctly as required by POSIX, so do not add quotes.
18732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18734 esac |
18735 sort
18737 sed '
18738 /^ac_cv_env_/b end
18739 t clear
18740 :clear
18741 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18742 t end
18743 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18744 :end' >>confcache
18745 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18746 if test -w "$cache_file"; then
18747 if test "x$cache_file" != "x/dev/null"; then
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18749 $as_echo "$as_me: updating cache $cache_file" >&6;}
18750 if test ! -f "$cache_file" || test -h "$cache_file"; then
18751 cat confcache >"$cache_file"
18752 else
18753 case $cache_file in #(
18754 */* | ?:*)
18755 mv -f confcache "$cache_file"$$ &&
18756 mv -f "$cache_file"$$ "$cache_file" ;; #(
18758 mv -f confcache "$cache_file" ;;
18759 esac
18762 else
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18764 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18767 rm -f confcache
18769 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18770 # Let make expand exec_prefix.
18771 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18773 DEFS=-DHAVE_CONFIG_H
18775 ac_libobjs=
18776 ac_ltlibobjs=
18778 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18779 # 1. Remove the extension, and $U if already installed.
18780 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18781 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18782 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18783 # will be set to the directory where LIBOBJS objects are built.
18784 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18785 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18786 done
18787 LIBOBJS=$ac_libobjs
18789 LTLIBOBJS=$ac_ltlibobjs
18793 : "${CONFIG_STATUS=./config.status}"
18794 ac_write_fail=0
18795 ac_clean_files_save=$ac_clean_files
18796 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18798 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18799 as_write_fail=0
18800 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18801 #! $SHELL
18802 # Generated by $as_me.
18803 # Run this file to recreate the current configuration.
18804 # Compiler output produced by configure, useful for debugging
18805 # configure, is in config.log if it exists.
18807 debug=false
18808 ac_cs_recheck=false
18809 ac_cs_silent=false
18811 SHELL=\${CONFIG_SHELL-$SHELL}
18812 export SHELL
18813 _ASEOF
18814 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18815 ## -------------------- ##
18816 ## M4sh Initialization. ##
18817 ## -------------------- ##
18819 # Be more Bourne compatible
18820 DUALCASE=1; export DUALCASE # for MKS sh
18821 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18822 emulate sh
18823 NULLCMD=:
18824 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18825 # is contrary to our usage. Disable this feature.
18826 alias -g '${1+"$@"}'='"$@"'
18827 setopt NO_GLOB_SUBST
18828 else
18829 case `(set -o) 2>/dev/null` in #(
18830 *posix*) :
18831 set -o posix ;; #(
18832 *) :
18834 esac
18838 as_nl='
18840 export as_nl
18841 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18842 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18843 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18845 # Prefer a ksh shell builtin over an external printf program on Solaris,
18846 # but without wasting forks for bash or zsh.
18847 if test -z "$BASH_VERSION$ZSH_VERSION" \
18848 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18849 as_echo='print -r --'
18850 as_echo_n='print -rn --'
18851 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18852 as_echo='printf %s\n'
18853 as_echo_n='printf %s'
18854 else
18855 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18856 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18857 as_echo_n='/usr/ucb/echo -n'
18858 else
18859 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18860 as_echo_n_body='eval
18861 arg=$1;
18862 case $arg in #(
18863 *"$as_nl"*)
18864 expr "X$arg" : "X\\(.*\\)$as_nl";
18865 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18866 esac;
18867 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18869 export as_echo_n_body
18870 as_echo_n='sh -c $as_echo_n_body as_echo'
18872 export as_echo_body
18873 as_echo='sh -c $as_echo_body as_echo'
18876 # The user is always right.
18877 if test "${PATH_SEPARATOR+set}" != set; then
18878 PATH_SEPARATOR=:
18879 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18880 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18881 PATH_SEPARATOR=';'
18886 # IFS
18887 # We need space, tab and new line, in precisely that order. Quoting is
18888 # there to prevent editors from complaining about space-tab.
18889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18890 # splitting by setting IFS to empty value.)
18891 IFS=" "" $as_nl"
18893 # Find who we are. Look in the path if we contain no directory separator.
18894 as_myself=
18895 case $0 in #((
18896 *[\\/]* ) as_myself=$0 ;;
18897 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18898 for as_dir in $PATH
18900 IFS=$as_save_IFS
18901 test -z "$as_dir" && as_dir=.
18902 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18903 done
18904 IFS=$as_save_IFS
18907 esac
18908 # We did not find ourselves, most probably we were run as `sh COMMAND'
18909 # in which case we are not to be found in the path.
18910 if test "x$as_myself" = x; then
18911 as_myself=$0
18913 if test ! -f "$as_myself"; then
18914 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18915 exit 1
18918 # Unset variables that we do not need and which cause bugs (e.g. in
18919 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18920 # suppresses any "Segmentation fault" message there. '((' could
18921 # trigger a bug in pdksh 5.2.14.
18922 for as_var in BASH_ENV ENV MAIL MAILPATH
18923 do eval test x\${$as_var+set} = xset \
18924 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18925 done
18926 PS1='$ '
18927 PS2='> '
18928 PS4='+ '
18930 # NLS nuisances.
18931 LC_ALL=C
18932 export LC_ALL
18933 LANGUAGE=C
18934 export LANGUAGE
18936 # CDPATH.
18937 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18940 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18941 # ----------------------------------------
18942 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18943 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18944 # script with STATUS, using 1 if that was 0.
18945 as_fn_error ()
18947 as_status=$1; test $as_status -eq 0 && as_status=1
18948 if test "$4"; then
18949 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18950 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18952 $as_echo "$as_me: error: $2" >&2
18953 as_fn_exit $as_status
18954 } # as_fn_error
18957 # as_fn_set_status STATUS
18958 # -----------------------
18959 # Set $? to STATUS, without forking.
18960 as_fn_set_status ()
18962 return $1
18963 } # as_fn_set_status
18965 # as_fn_exit STATUS
18966 # -----------------
18967 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18968 as_fn_exit ()
18970 set +e
18971 as_fn_set_status $1
18972 exit $1
18973 } # as_fn_exit
18975 # as_fn_unset VAR
18976 # ---------------
18977 # Portably unset VAR.
18978 as_fn_unset ()
18980 { eval $1=; unset $1;}
18982 as_unset=as_fn_unset
18983 # as_fn_append VAR VALUE
18984 # ----------------------
18985 # Append the text in VALUE to the end of the definition contained in VAR. Take
18986 # advantage of any shell optimizations that allow amortized linear growth over
18987 # repeated appends, instead of the typical quadratic growth present in naive
18988 # implementations.
18989 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18990 eval 'as_fn_append ()
18992 eval $1+=\$2
18994 else
18995 as_fn_append ()
18997 eval $1=\$$1\$2
18999 fi # as_fn_append
19001 # as_fn_arith ARG...
19002 # ------------------
19003 # Perform arithmetic evaluation on the ARGs, and store the result in the
19004 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19005 # must be portable across $(()) and expr.
19006 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19007 eval 'as_fn_arith ()
19009 as_val=$(( $* ))
19011 else
19012 as_fn_arith ()
19014 as_val=`expr "$@" || test $? -eq 1`
19016 fi # as_fn_arith
19019 if expr a : '\(a\)' >/dev/null 2>&1 &&
19020 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19021 as_expr=expr
19022 else
19023 as_expr=false
19026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19027 as_basename=basename
19028 else
19029 as_basename=false
19032 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19033 as_dirname=dirname
19034 else
19035 as_dirname=false
19038 as_me=`$as_basename -- "$0" ||
19039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19040 X"$0" : 'X\(//\)$' \| \
19041 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19042 $as_echo X/"$0" |
19043 sed '/^.*\/\([^/][^/]*\)\/*$/{
19044 s//\1/
19047 /^X\/\(\/\/\)$/{
19048 s//\1/
19051 /^X\/\(\/\).*/{
19052 s//\1/
19055 s/.*/./; q'`
19057 # Avoid depending upon Character Ranges.
19058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19061 as_cr_digits='0123456789'
19062 as_cr_alnum=$as_cr_Letters$as_cr_digits
19064 ECHO_C= ECHO_N= ECHO_T=
19065 case `echo -n x` in #(((((
19066 -n*)
19067 case `echo 'xy\c'` in
19068 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19069 xy) ECHO_C='\c';;
19070 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19071 ECHO_T=' ';;
19072 esac;;
19074 ECHO_N='-n';;
19075 esac
19077 rm -f conf$$ conf$$.exe conf$$.file
19078 if test -d conf$$.dir; then
19079 rm -f conf$$.dir/conf$$.file
19080 else
19081 rm -f conf$$.dir
19082 mkdir conf$$.dir 2>/dev/null
19084 if (echo >conf$$.file) 2>/dev/null; then
19085 if ln -s conf$$.file conf$$ 2>/dev/null; then
19086 as_ln_s='ln -s'
19087 # ... but there are two gotchas:
19088 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19089 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19090 # In both cases, we have to default to `cp -pR'.
19091 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19092 as_ln_s='cp -pR'
19093 elif ln conf$$.file conf$$ 2>/dev/null; then
19094 as_ln_s=ln
19095 else
19096 as_ln_s='cp -pR'
19098 else
19099 as_ln_s='cp -pR'
19101 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19102 rmdir conf$$.dir 2>/dev/null
19105 # as_fn_mkdir_p
19106 # -------------
19107 # Create "$as_dir" as a directory, including parents if necessary.
19108 as_fn_mkdir_p ()
19111 case $as_dir in #(
19112 -*) as_dir=./$as_dir;;
19113 esac
19114 test -d "$as_dir" || eval $as_mkdir_p || {
19115 as_dirs=
19116 while :; do
19117 case $as_dir in #(
19118 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19119 *) as_qdir=$as_dir;;
19120 esac
19121 as_dirs="'$as_qdir' $as_dirs"
19122 as_dir=`$as_dirname -- "$as_dir" ||
19123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19124 X"$as_dir" : 'X\(//\)[^/]' \| \
19125 X"$as_dir" : 'X\(//\)$' \| \
19126 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19127 $as_echo X"$as_dir" |
19128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19129 s//\1/
19132 /^X\(\/\/\)[^/].*/{
19133 s//\1/
19136 /^X\(\/\/\)$/{
19137 s//\1/
19140 /^X\(\/\).*/{
19141 s//\1/
19144 s/.*/./; q'`
19145 test -d "$as_dir" && break
19146 done
19147 test -z "$as_dirs" || eval "mkdir $as_dirs"
19148 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19151 } # as_fn_mkdir_p
19152 if mkdir -p . 2>/dev/null; then
19153 as_mkdir_p='mkdir -p "$as_dir"'
19154 else
19155 test -d ./-p && rmdir ./-p
19156 as_mkdir_p=false
19160 # as_fn_executable_p FILE
19161 # -----------------------
19162 # Test if FILE is an executable regular file.
19163 as_fn_executable_p ()
19165 test -f "$1" && test -x "$1"
19166 } # as_fn_executable_p
19167 as_test_x='test -x'
19168 as_executable_p=as_fn_executable_p
19170 # Sed expression to map a string onto a valid CPP name.
19171 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19173 # Sed expression to map a string onto a valid variable name.
19174 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19177 exec 6>&1
19178 ## ----------------------------------- ##
19179 ## Main body of $CONFIG_STATUS script. ##
19180 ## ----------------------------------- ##
19181 _ASEOF
19182 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19185 # Save the log message, to keep $0 and so on meaningful, and to
19186 # report actual input values of CONFIG_FILES etc. instead of their
19187 # values after options handling.
19188 ac_log="
19189 This file was extended by Wine $as_me 2.0, which was
19190 generated by GNU Autoconf 2.69. Invocation command line was
19192 CONFIG_FILES = $CONFIG_FILES
19193 CONFIG_HEADERS = $CONFIG_HEADERS
19194 CONFIG_LINKS = $CONFIG_LINKS
19195 CONFIG_COMMANDS = $CONFIG_COMMANDS
19196 $ $0 $@
19198 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19201 _ACEOF
19203 case $ac_config_files in *"
19204 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19205 esac
19207 case $ac_config_headers in *"
19208 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19209 esac
19212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19213 # Files that config.status was made for.
19214 config_files="$ac_config_files"
19215 config_headers="$ac_config_headers"
19216 config_links="$ac_config_links"
19217 config_commands="$ac_config_commands"
19219 _ACEOF
19221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19222 ac_cs_usage="\
19223 \`$as_me' instantiates files and other configuration actions
19224 from templates according to the current configuration. Unless the files
19225 and actions are specified as TAGs, all are instantiated by default.
19227 Usage: $0 [OPTION]... [TAG]...
19229 -h, --help print this help, then exit
19230 -V, --version print version number and configuration settings, then exit
19231 --config print configuration, then exit
19232 -q, --quiet, --silent
19233 do not print progress messages
19234 -d, --debug don't remove temporary files
19235 --recheck update $as_me by reconfiguring in the same conditions
19236 --file=FILE[:TEMPLATE]
19237 instantiate the configuration file FILE
19238 --header=FILE[:TEMPLATE]
19239 instantiate the configuration header FILE
19241 Configuration files:
19242 $config_files
19244 Configuration headers:
19245 $config_headers
19247 Configuration links:
19248 $config_links
19250 Configuration commands:
19251 $config_commands
19253 Report bugs to <wine-devel@winehq.org>.
19254 Wine home page: <http://www.winehq.org>."
19256 _ACEOF
19257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19258 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19259 ac_cs_version="\\
19260 Wine config.status 2.0
19261 configured by $0, generated by GNU Autoconf 2.69,
19262 with options \\"\$ac_cs_config\\"
19264 Copyright (C) 2012 Free Software Foundation, Inc.
19265 This config.status script is free software; the Free Software Foundation
19266 gives unlimited permission to copy, distribute and modify it."
19268 ac_pwd='$ac_pwd'
19269 srcdir='$srcdir'
19270 test -n "\$AWK" || AWK=awk
19271 _ACEOF
19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19274 # The default lists apply if the user does not specify any file.
19275 ac_need_defaults=:
19276 while test $# != 0
19278 case $1 in
19279 --*=?*)
19280 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19281 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19282 ac_shift=:
19284 --*=)
19285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19286 ac_optarg=
19287 ac_shift=:
19290 ac_option=$1
19291 ac_optarg=$2
19292 ac_shift=shift
19294 esac
19296 case $ac_option in
19297 # Handling of the options.
19298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19299 ac_cs_recheck=: ;;
19300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19301 $as_echo "$ac_cs_version"; exit ;;
19302 --config | --confi | --conf | --con | --co | --c )
19303 $as_echo "$ac_cs_config"; exit ;;
19304 --debug | --debu | --deb | --de | --d | -d )
19305 debug=: ;;
19306 --file | --fil | --fi | --f )
19307 $ac_shift
19308 case $ac_optarg in
19309 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19310 '') as_fn_error $? "missing file argument" ;;
19311 esac
19312 as_fn_append CONFIG_FILES " '$ac_optarg'"
19313 ac_need_defaults=false;;
19314 --header | --heade | --head | --hea )
19315 $ac_shift
19316 case $ac_optarg in
19317 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19318 esac
19319 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19320 ac_need_defaults=false;;
19321 --he | --h)
19322 # Conflict between --help and --header
19323 as_fn_error $? "ambiguous option: \`$1'
19324 Try \`$0 --help' for more information.";;
19325 --help | --hel | -h )
19326 $as_echo "$ac_cs_usage"; exit ;;
19327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19329 ac_cs_silent=: ;;
19331 # This is an error.
19332 -*) as_fn_error $? "unrecognized option: \`$1'
19333 Try \`$0 --help' for more information." ;;
19335 *) as_fn_append ac_config_targets " $1"
19336 ac_need_defaults=false ;;
19338 esac
19339 shift
19340 done
19342 ac_configure_extra_args=
19344 if $ac_cs_silent; then
19345 exec 6>/dev/null
19346 ac_configure_extra_args="$ac_configure_extra_args --silent"
19349 _ACEOF
19350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19351 if \$ac_cs_recheck; then
19352 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19353 shift
19354 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19355 CONFIG_SHELL='$SHELL'
19356 export CONFIG_SHELL
19357 exec "\$@"
19360 _ACEOF
19361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19362 exec 5>>config.log
19364 echo
19365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19366 ## Running $as_me. ##
19367 _ASBOX
19368 $as_echo "$ac_log"
19369 } >&5
19371 _ACEOF
19372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19374 # INIT-COMMANDS
19376 wine_fn_output_makedep ()
19378 as_dir=tools; as_fn_mkdir_p
19379 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19381 wine_fn_output_makefile ()
19383 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19384 `cat $wine_rules_file`
19385 _WINE_EOF
19386 as_fn_error $? "could not create Makefile" "$LINENO" 5
19389 _ACEOF
19391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19393 # Handling of arguments.
19394 for ac_config_target in $ac_config_targets
19396 case $ac_config_target in
19397 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19398 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19399 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19400 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19401 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19402 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19403 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19404 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19405 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19406 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19407 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19408 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19409 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19411 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19412 esac
19413 done
19416 # If the user did not use the arguments to specify the items to instantiate,
19417 # then the envvar interface is used. Set only those that are not.
19418 # We use the long form for the default assignment because of an extremely
19419 # bizarre bug on SunOS 4.1.3.
19420 if $ac_need_defaults; then
19421 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19422 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19423 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19424 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19427 # Have a temporary directory for convenience. Make it in the build tree
19428 # simply because there is no reason against having it here, and in addition,
19429 # creating and moving files from /tmp can sometimes cause problems.
19430 # Hook for its removal unless debugging.
19431 # Note that there is a small window in which the directory will not be cleaned:
19432 # after its creation but before its name has been assigned to `$tmp'.
19433 $debug ||
19435 tmp= ac_tmp=
19436 trap 'exit_status=$?
19437 : "${ac_tmp:=$tmp}"
19438 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19440 trap 'as_fn_exit 1' 1 2 13 15
19442 # Create a (secure) tmp directory for tmp files.
19445 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19446 test -d "$tmp"
19447 } ||
19449 tmp=./conf$$-$RANDOM
19450 (umask 077 && mkdir "$tmp")
19451 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19452 ac_tmp=$tmp
19454 # Set up the scripts for CONFIG_FILES section.
19455 # No need to generate them if there are no CONFIG_FILES.
19456 # This happens for instance with `./config.status config.h'.
19457 if test -n "$CONFIG_FILES"; then
19460 ac_cr=`echo X | tr X '\015'`
19461 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19462 # But we know of no other shell where ac_cr would be empty at this
19463 # point, so we can use a bashism as a fallback.
19464 if test "x$ac_cr" = x; then
19465 eval ac_cr=\$\'\\r\'
19467 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19468 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19469 ac_cs_awk_cr='\\r'
19470 else
19471 ac_cs_awk_cr=$ac_cr
19474 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19475 _ACEOF
19479 echo "cat >conf$$subs.awk <<_ACEOF" &&
19480 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19481 echo "_ACEOF"
19482 } >conf$$subs.sh ||
19483 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19484 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19485 ac_delim='%!_!# '
19486 for ac_last_try in false false false false false :; do
19487 . ./conf$$subs.sh ||
19488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19490 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19491 if test $ac_delim_n = $ac_delim_num; then
19492 break
19493 elif $ac_last_try; then
19494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19495 else
19496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19498 done
19499 rm -f conf$$subs.sh
19501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19502 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19503 _ACEOF
19504 sed -n '
19506 s/^/S["/; s/!.*/"]=/
19509 s/^[^!]*!//
19510 :repl
19511 t repl
19512 s/'"$ac_delim"'$//
19513 t delim
19516 s/\(.\{148\}\)..*/\1/
19517 t more1
19518 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19521 b repl
19522 :more1
19523 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19526 s/.\{148\}//
19527 t nl
19528 :delim
19530 s/\(.\{148\}\)..*/\1/
19531 t more2
19532 s/["\\]/\\&/g; s/^/"/; s/$/"/
19535 :more2
19536 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19539 s/.\{148\}//
19540 t delim
19541 ' <conf$$subs.awk | sed '
19542 /^[^""]/{
19544 s/\n//
19546 ' >>$CONFIG_STATUS || ac_write_fail=1
19547 rm -f conf$$subs.awk
19548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19549 _ACAWK
19550 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19551 for (key in S) S_is_set[key] = 1
19552 FS = "\a"
19556 line = $ 0
19557 nfields = split(line, field, "@")
19558 substed = 0
19559 len = length(field[1])
19560 for (i = 2; i < nfields; i++) {
19561 key = field[i]
19562 keylen = length(key)
19563 if (S_is_set[key]) {
19564 value = S[key]
19565 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19566 len += length(value) + length(field[++i])
19567 substed = 1
19568 } else
19569 len += 1 + keylen
19572 print line
19575 _ACAWK
19576 _ACEOF
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19578 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19579 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19580 else
19582 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19583 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19584 _ACEOF
19586 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19587 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19588 # trailing colons and then remove the whole line if VPATH becomes empty
19589 # (actually we leave an empty line to preserve line numbers).
19590 if test "x$srcdir" = x.; then
19591 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19593 s///
19594 s/^/:/
19595 s/[ ]*$/:/
19596 s/:\$(srcdir):/:/g
19597 s/:\${srcdir}:/:/g
19598 s/:@srcdir@:/:/g
19599 s/^:*//
19600 s/:*$//
19602 s/\(=[ ]*\).*/\1/
19604 s/\n//
19605 s/^[^=]*=[ ]*$//
19609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19610 fi # test -n "$CONFIG_FILES"
19612 # Set up the scripts for CONFIG_HEADERS section.
19613 # No need to generate them if there are no CONFIG_HEADERS.
19614 # This happens for instance with `./config.status Makefile'.
19615 if test -n "$CONFIG_HEADERS"; then
19616 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19617 BEGIN {
19618 _ACEOF
19620 # Transform confdefs.h into an awk script `defines.awk', embedded as
19621 # here-document in config.status, that substitutes the proper values into
19622 # config.h.in to produce config.h.
19624 # Create a delimiter string that does not exist in confdefs.h, to ease
19625 # handling of long lines.
19626 ac_delim='%!_!# '
19627 for ac_last_try in false false :; do
19628 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19629 if test -z "$ac_tt"; then
19630 break
19631 elif $ac_last_try; then
19632 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19633 else
19634 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19636 done
19638 # For the awk script, D is an array of macro values keyed by name,
19639 # likewise P contains macro parameters if any. Preserve backslash
19640 # newline sequences.
19642 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19643 sed -n '
19644 s/.\{148\}/&'"$ac_delim"'/g
19645 t rset
19646 :rset
19647 s/^[ ]*#[ ]*define[ ][ ]*/ /
19648 t def
19650 :def
19651 s/\\$//
19652 t bsnl
19653 s/["\\]/\\&/g
19654 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19655 D["\1"]=" \3"/p
19656 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19658 :bsnl
19659 s/["\\]/\\&/g
19660 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19661 D["\1"]=" \3\\\\\\n"\\/p
19662 t cont
19663 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19664 t cont
19666 :cont
19668 s/.\{148\}/&'"$ac_delim"'/g
19669 t clear
19670 :clear
19671 s/\\$//
19672 t bsnlc
19673 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19675 :bsnlc
19676 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19677 b cont
19678 ' <confdefs.h | sed '
19679 s/'"$ac_delim"'/"\\\
19680 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19683 for (key in D) D_is_set[key] = 1
19684 FS = "\a"
19686 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19687 line = \$ 0
19688 split(line, arg, " ")
19689 if (arg[1] == "#") {
19690 defundef = arg[2]
19691 mac1 = arg[3]
19692 } else {
19693 defundef = substr(arg[1], 2)
19694 mac1 = arg[2]
19696 split(mac1, mac2, "(") #)
19697 macro = mac2[1]
19698 prefix = substr(line, 1, index(line, defundef) - 1)
19699 if (D_is_set[macro]) {
19700 # Preserve the white space surrounding the "#".
19701 print prefix "define", macro P[macro] D[macro]
19702 next
19703 } else {
19704 # Replace #undef with comments. This is necessary, for example,
19705 # in the case of _POSIX_SOURCE, which is predefined and required
19706 # on some systems where configure will not decide to define it.
19707 if (defundef == "undef") {
19708 print "/*", prefix defundef, macro, "*/"
19709 next
19713 { print }
19714 _ACAWK
19715 _ACEOF
19716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19717 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19718 fi # test -n "$CONFIG_HEADERS"
19721 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19722 shift
19723 for ac_tag
19725 case $ac_tag in
19726 :[FHLC]) ac_mode=$ac_tag; continue;;
19727 esac
19728 case $ac_mode$ac_tag in
19729 :[FHL]*:*);;
19730 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19731 :[FH]-) ac_tag=-:-;;
19732 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19733 esac
19734 ac_save_IFS=$IFS
19735 IFS=:
19736 set x $ac_tag
19737 IFS=$ac_save_IFS
19738 shift
19739 ac_file=$1
19740 shift
19742 case $ac_mode in
19743 :L) ac_source=$1;;
19744 :[FH])
19745 ac_file_inputs=
19746 for ac_f
19748 case $ac_f in
19749 -) ac_f="$ac_tmp/stdin";;
19750 *) # Look for the file first in the build tree, then in the source tree
19751 # (if the path is not absolute). The absolute path cannot be DOS-style,
19752 # because $ac_f cannot contain `:'.
19753 test -f "$ac_f" ||
19754 case $ac_f in
19755 [\\/$]*) false;;
19756 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19757 esac ||
19758 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19759 esac
19760 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19761 as_fn_append ac_file_inputs " '$ac_f'"
19762 done
19764 # Let's still pretend it is `configure' which instantiates (i.e., don't
19765 # use $as_me), people would be surprised to read:
19766 # /* config.h. Generated by config.status. */
19767 configure_input='Generated from '`
19768 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19769 `' by configure.'
19770 if test x"$ac_file" != x-; then
19771 configure_input="$ac_file. $configure_input"
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19773 $as_echo "$as_me: creating $ac_file" >&6;}
19775 # Neutralize special characters interpreted by sed in replacement strings.
19776 case $configure_input in #(
19777 *\&* | *\|* | *\\* )
19778 ac_sed_conf_input=`$as_echo "$configure_input" |
19779 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19780 *) ac_sed_conf_input=$configure_input;;
19781 esac
19783 case $ac_tag in
19784 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19785 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19786 esac
19788 esac
19790 ac_dir=`$as_dirname -- "$ac_file" ||
19791 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19792 X"$ac_file" : 'X\(//\)[^/]' \| \
19793 X"$ac_file" : 'X\(//\)$' \| \
19794 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19795 $as_echo X"$ac_file" |
19796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19797 s//\1/
19800 /^X\(\/\/\)[^/].*/{
19801 s//\1/
19804 /^X\(\/\/\)$/{
19805 s//\1/
19808 /^X\(\/\).*/{
19809 s//\1/
19812 s/.*/./; q'`
19813 as_dir="$ac_dir"; as_fn_mkdir_p
19814 ac_builddir=.
19816 case "$ac_dir" in
19817 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19819 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19820 # A ".." for each directory in $ac_dir_suffix.
19821 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19822 case $ac_top_builddir_sub in
19823 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19824 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19825 esac ;;
19826 esac
19827 ac_abs_top_builddir=$ac_pwd
19828 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19829 # for backward compatibility:
19830 ac_top_builddir=$ac_top_build_prefix
19832 case $srcdir in
19833 .) # We are building in place.
19834 ac_srcdir=.
19835 ac_top_srcdir=$ac_top_builddir_sub
19836 ac_abs_top_srcdir=$ac_pwd ;;
19837 [\\/]* | ?:[\\/]* ) # Absolute name.
19838 ac_srcdir=$srcdir$ac_dir_suffix;
19839 ac_top_srcdir=$srcdir
19840 ac_abs_top_srcdir=$srcdir ;;
19841 *) # Relative name.
19842 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19843 ac_top_srcdir=$ac_top_build_prefix$srcdir
19844 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19845 esac
19846 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19849 case $ac_mode in
19852 # CONFIG_FILE
19855 _ACEOF
19857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19858 # If the template does not know about datarootdir, expand it.
19859 # FIXME: This hack should be removed a few years after 2.60.
19860 ac_datarootdir_hack=; ac_datarootdir_seen=
19861 ac_sed_dataroot='
19862 /datarootdir/ {
19866 /@datadir@/p
19867 /@docdir@/p
19868 /@infodir@/p
19869 /@localedir@/p
19870 /@mandir@/p'
19871 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19872 *datarootdir*) ac_datarootdir_seen=yes;;
19873 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19875 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19876 _ACEOF
19877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19878 ac_datarootdir_hack='
19879 s&@datadir@&$datadir&g
19880 s&@docdir@&$docdir&g
19881 s&@infodir@&$infodir&g
19882 s&@localedir@&$localedir&g
19883 s&@mandir@&$mandir&g
19884 s&\\\${datarootdir}&$datarootdir&g' ;;
19885 esac
19886 _ACEOF
19888 # Neutralize VPATH when `$srcdir' = `.'.
19889 # Shell code in configure.ac might set extrasub.
19890 # FIXME: do we really want to maintain this feature?
19891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19892 ac_sed_extra="$ac_vpsub
19893 $extrasub
19894 _ACEOF
19895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19898 s|@configure_input@|$ac_sed_conf_input|;t t
19899 s&@top_builddir@&$ac_top_builddir_sub&;t t
19900 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19901 s&@srcdir@&$ac_srcdir&;t t
19902 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19903 s&@top_srcdir@&$ac_top_srcdir&;t t
19904 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19905 s&@builddir@&$ac_builddir&;t t
19906 s&@abs_builddir@&$ac_abs_builddir&;t t
19907 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19908 $ac_datarootdir_hack
19910 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19911 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19913 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19914 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19915 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19916 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19918 which seems to be undefined. Please make sure it is defined" >&5
19919 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19920 which seems to be undefined. Please make sure it is defined" >&2;}
19922 rm -f "$ac_tmp/stdin"
19923 case $ac_file in
19924 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19925 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19926 esac \
19927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19931 # CONFIG_HEADER
19933 if test x"$ac_file" != x-; then
19935 $as_echo "/* $configure_input */" \
19936 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19937 } >"$ac_tmp/config.h" \
19938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19939 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19941 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19942 else
19943 rm -f "$ac_file"
19944 mv "$ac_tmp/config.h" "$ac_file" \
19945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19947 else
19948 $as_echo "/* $configure_input */" \
19949 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19950 || as_fn_error $? "could not create -" "$LINENO" 5
19955 # CONFIG_LINK
19958 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19960 else
19961 # Prefer the file from the source tree if names are identical.
19962 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19963 ac_source=$srcdir/$ac_source
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19967 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19969 if test ! -r "$ac_source"; then
19970 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19972 rm -f "$ac_file"
19974 # Try a relative symlink, then a hard link, then a copy.
19975 case $ac_source in
19976 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19977 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19978 esac
19979 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19980 ln "$ac_source" "$ac_file" 2>/dev/null ||
19981 cp -p "$ac_source" "$ac_file" ||
19982 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19985 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19986 $as_echo "$as_me: executing $ac_file commands" >&6;}
19988 esac
19991 case $ac_file$ac_mode in
19992 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19993 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19994 "Makefile":C) wine_fn_output_makefile Makefile ;;
19996 esac
19997 done # for ac_tag
20000 as_fn_exit 0
20001 _ACEOF
20002 ac_clean_files=$ac_clean_files_save
20004 test $ac_write_fail = 0 ||
20005 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20008 # configure is writing to config.log, and then calls config.status.
20009 # config.status does its own redirection, appending to config.log.
20010 # Unfortunately, on DOS this fails, as config.log is still kept open
20011 # by configure, so config.status won't be able to write to it; its
20012 # output is simply discarded. So we exec the FD to /dev/null,
20013 # effectively closing config.log, so it can be properly (re)opened and
20014 # appended to by config.status. When coming back to configure, we
20015 # need to make the FD available again.
20016 if test "$no_create" != yes; then
20017 ac_cs_success=:
20018 ac_config_status_args=
20019 test "$silent" = yes &&
20020 ac_config_status_args="$ac_config_status_args --quiet"
20021 exec 5>/dev/null
20022 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20023 exec 5>>config.log
20024 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20025 # would make configure fail if this is the last instruction.
20026 $ac_cs_success || as_fn_exit 1
20028 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20030 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20034 if test "$no_create" = "yes"
20035 then
20036 exit 0
20039 ac_save_IFS="$IFS"
20040 if test "x$wine_notices" != x; then
20041 echo >&6
20042 IFS="|"
20043 for msg in $wine_notices; do
20044 IFS="$ac_save_IFS"
20045 if ${msg:+false} :; then :
20047 else
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20049 $as_echo "$as_me: $msg" >&6;}
20051 done
20053 IFS="|"
20054 for msg in $wine_warnings; do
20055 IFS="$ac_save_IFS"
20056 if ${msg:+false} :; then :
20058 else
20059 echo >&2
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20061 $as_echo "$as_me: WARNING: $msg" >&2;}
20063 done
20064 IFS="$ac_save_IFS"
20066 $as_echo "
20067 $as_me: Finished. Do '${ac_make}' to compile Wine.
20068 " >&6