webservices: Move heap support to a separate file.
[wine.git] / configure
blob051b9c961f83ac0540080a51f6d2a9dc26d8c25e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.4.
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.4'
584 PACKAGE_STRING='Wine 2.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_ntuser_dc_access_l1_1_0
1022 enable_api_ms_win_power_base_l1_1_0
1023 enable_api_ms_win_power_setting_l1_1_0
1024 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1025 enable_api_ms_win_security_audit_l1_1_1
1026 enable_api_ms_win_security_base_l1_1_0
1027 enable_api_ms_win_security_base_l1_2_0
1028 enable_api_ms_win_security_base_private_l1_1_1
1029 enable_api_ms_win_security_grouppolicy_l1_1_0
1030 enable_api_ms_win_security_lsalookup_l1_1_0
1031 enable_api_ms_win_security_lsalookup_l1_1_1
1032 enable_api_ms_win_security_lsalookup_l2_1_1
1033 enable_api_ms_win_security_lsapolicy_l1_1_0
1034 enable_api_ms_win_security_sddl_l1_1_0
1035 enable_api_ms_win_security_systemfunctions_l1_1_0
1036 enable_api_ms_win_service_core_l1_1_0
1037 enable_api_ms_win_service_core_l1_1_1
1038 enable_api_ms_win_service_management_l1_1_0
1039 enable_api_ms_win_service_management_l2_1_0
1040 enable_api_ms_win_service_private_l1_1_1
1041 enable_api_ms_win_service_winsvc_l1_1_0
1042 enable_api_ms_win_service_winsvc_l1_2_0
1043 enable_api_ms_win_shell_shellcom_l1_1_0
1044 enable_api_ms_win_shell_shellfolders_l1_1_0
1045 enable_apphelp
1046 enable_appwiz_cpl
1047 enable_atl
1048 enable_atl100
1049 enable_atl110
1050 enable_atl80
1051 enable_atl90
1052 enable_authz
1053 enable_avicap32
1054 enable_avifil32
1055 enable_avrt
1056 enable_bcrypt
1057 enable_bluetoothapis
1058 enable_browseui
1059 enable_bthprops_cpl
1060 enable_cabinet
1061 enable_capi2032
1062 enable_cards
1063 enable_cfgmgr32
1064 enable_clusapi
1065 enable_combase
1066 enable_comcat
1067 enable_comctl32
1068 enable_comdlg32
1069 enable_compstui
1070 enable_comsvcs
1071 enable_concrt140
1072 enable_connect
1073 enable_credui
1074 enable_crtdll
1075 enable_crypt32
1076 enable_cryptdlg
1077 enable_cryptdll
1078 enable_cryptext
1079 enable_cryptnet
1080 enable_cryptui
1081 enable_ctapi32
1082 enable_ctl3d32
1083 enable_d2d1
1084 enable_d3d10
1085 enable_d3d10_1
1086 enable_d3d10core
1087 enable_d3d11
1088 enable_d3d8
1089 enable_d3d9
1090 enable_d3dcompiler_33
1091 enable_d3dcompiler_34
1092 enable_d3dcompiler_35
1093 enable_d3dcompiler_36
1094 enable_d3dcompiler_37
1095 enable_d3dcompiler_38
1096 enable_d3dcompiler_39
1097 enable_d3dcompiler_40
1098 enable_d3dcompiler_41
1099 enable_d3dcompiler_42
1100 enable_d3dcompiler_43
1101 enable_d3dcompiler_46
1102 enable_d3dcompiler_47
1103 enable_d3dim
1104 enable_d3drm
1105 enable_d3dx10_33
1106 enable_d3dx10_34
1107 enable_d3dx10_35
1108 enable_d3dx10_36
1109 enable_d3dx10_37
1110 enable_d3dx10_38
1111 enable_d3dx10_39
1112 enable_d3dx10_40
1113 enable_d3dx10_41
1114 enable_d3dx10_42
1115 enable_d3dx10_43
1116 enable_d3dx11_42
1117 enable_d3dx11_43
1118 enable_d3dx9_24
1119 enable_d3dx9_25
1120 enable_d3dx9_26
1121 enable_d3dx9_27
1122 enable_d3dx9_28
1123 enable_d3dx9_29
1124 enable_d3dx9_30
1125 enable_d3dx9_31
1126 enable_d3dx9_32
1127 enable_d3dx9_33
1128 enable_d3dx9_34
1129 enable_d3dx9_35
1130 enable_d3dx9_36
1131 enable_d3dx9_37
1132 enable_d3dx9_38
1133 enable_d3dx9_39
1134 enable_d3dx9_40
1135 enable_d3dx9_41
1136 enable_d3dx9_42
1137 enable_d3dx9_43
1138 enable_d3dxof
1139 enable_davclnt
1140 enable_dbgeng
1141 enable_dbghelp
1142 enable_dciman32
1143 enable_ddraw
1144 enable_ddrawex
1145 enable_devenum
1146 enable_dhcpcsvc
1147 enable_difxapi
1148 enable_dinput
1149 enable_dinput8
1150 enable_dispex
1151 enable_dmband
1152 enable_dmcompos
1153 enable_dmime
1154 enable_dmloader
1155 enable_dmscript
1156 enable_dmstyle
1157 enable_dmsynth
1158 enable_dmusic
1159 enable_dmusic32
1160 enable_dnsapi
1161 enable_dplay
1162 enable_dplayx
1163 enable_dpnaddr
1164 enable_dpnet
1165 enable_dpnhpast
1166 enable_dpnlobby
1167 enable_dpvoice
1168 enable_dpwsockx
1169 enable_drmclien
1170 enable_dsound
1171 enable_dssenh
1172 enable_dswave
1173 enable_dwmapi
1174 enable_dwrite
1175 enable_dxdiagn
1176 enable_dxgi
1177 enable_dxva2
1178 enable_esent
1179 enable_evr
1180 enable_explorerframe
1181 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1182 enable_ext_ms_win_gdi_dc_create_l1_1_1
1183 enable_ext_ms_win_gdi_dc_l1_2_0
1184 enable_ext_ms_win_gdi_devcaps_l1_1_0
1185 enable_ext_ms_win_gdi_draw_l1_1_1
1186 enable_ext_ms_win_gdi_render_l1_1_0
1187 enable_ext_ms_win_kernel32_package_current_l1_1_0
1188 enable_ext_ms_win_ntuser_message_l1_1_1
1189 enable_ext_ms_win_ntuser_private_l1_1_1
1190 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1191 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1192 enable_ext_ms_win_ntuser_window_l1_1_1
1193 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1194 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1195 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1196 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1197 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1198 enable_faultrep
1199 enable_fltlib
1200 enable_fltmgr_sys
1201 enable_fntcache
1202 enable_fontsub
1203 enable_fusion
1204 enable_fwpuclnt
1205 enable_gameux
1206 enable_gdi32
1207 enable_gdiplus
1208 enable_glu32
1209 enable_gphoto2_ds
1210 enable_gpkcsp
1211 enable_hal
1212 enable_hhctrl_ocx
1213 enable_hid
1214 enable_hidclass_sys
1215 enable_hlink
1216 enable_hnetcfg
1217 enable_httpapi
1218 enable_iccvid
1219 enable_icmp
1220 enable_ieframe
1221 enable_imaadp32_acm
1222 enable_imagehlp
1223 enable_imm32
1224 enable_inetcomm
1225 enable_inetcpl_cpl
1226 enable_inetmib1
1227 enable_infosoft
1228 enable_initpki
1229 enable_inkobj
1230 enable_inseng
1231 enable_iphlpapi
1232 enable_iprop
1233 enable_irprops_cpl
1234 enable_itircl
1235 enable_itss
1236 enable_joy_cpl
1237 enable_jscript
1238 enable_jsproxy
1239 enable_kernel32
1240 enable_kernelbase
1241 enable_ksuser
1242 enable_ktmw32
1243 enable_loadperf
1244 enable_localspl
1245 enable_localui
1246 enable_lz32
1247 enable_mapi32
1248 enable_mapistub
1249 enable_mciavi32
1250 enable_mcicda
1251 enable_mciqtz32
1252 enable_mciseq
1253 enable_mciwave
1254 enable_mf
1255 enable_mf3216
1256 enable_mfplat
1257 enable_mfreadwrite
1258 enable_mgmtapi
1259 enable_midimap
1260 enable_mlang
1261 enable_mmcndmgr
1262 enable_mmdevapi
1263 enable_mountmgr_sys
1264 enable_mpr
1265 enable_mprapi
1266 enable_msacm32_drv
1267 enable_msacm32
1268 enable_msadp32_acm
1269 enable_msasn1
1270 enable_mscat32
1271 enable_mscms
1272 enable_mscoree
1273 enable_msctf
1274 enable_msctfp
1275 enable_msdaps
1276 enable_msdelta
1277 enable_msdmo
1278 enable_msdrm
1279 enable_msftedit
1280 enable_msg711_acm
1281 enable_msgsm32_acm
1282 enable_mshtml_tlb
1283 enable_mshtml
1284 enable_msi
1285 enable_msident
1286 enable_msimg32
1287 enable_msimsg
1288 enable_msimtf
1289 enable_msisip
1290 enable_msisys_ocx
1291 enable_msls31
1292 enable_msnet32
1293 enable_mspatcha
1294 enable_msports
1295 enable_msrle32
1296 enable_msscript_ocx
1297 enable_mssign32
1298 enable_mssip32
1299 enable_mstask
1300 enable_msvcirt
1301 enable_msvcm80
1302 enable_msvcm90
1303 enable_msvcp100
1304 enable_msvcp110
1305 enable_msvcp120
1306 enable_msvcp120_app
1307 enable_msvcp140
1308 enable_msvcp60
1309 enable_msvcp70
1310 enable_msvcp71
1311 enable_msvcp80
1312 enable_msvcp90
1313 enable_msvcr100
1314 enable_msvcr110
1315 enable_msvcr120
1316 enable_msvcr120_app
1317 enable_msvcr70
1318 enable_msvcr71
1319 enable_msvcr80
1320 enable_msvcr90
1321 enable_msvcrt
1322 enable_msvcrt20
1323 enable_msvcrt40
1324 enable_msvcrtd
1325 enable_msvfw32
1326 enable_msvidc32
1327 enable_mswsock
1328 enable_msxml
1329 enable_msxml2
1330 enable_msxml3
1331 enable_msxml4
1332 enable_msxml6
1333 enable_ncrypt
1334 enable_nddeapi
1335 enable_ndis_sys
1336 enable_netapi32
1337 enable_netcfgx
1338 enable_netprofm
1339 enable_newdev
1340 enable_normaliz
1341 enable_npmshtml
1342 enable_npptools
1343 enable_ntdll
1344 enable_ntdsapi
1345 enable_ntoskrnl_exe
1346 enable_ntprint
1347 enable_objsel
1348 enable_odbc32
1349 enable_odbccp32
1350 enable_odbccu32
1351 enable_ole32
1352 enable_oleacc
1353 enable_oleaut32
1354 enable_olecli32
1355 enable_oledb32
1356 enable_oledlg
1357 enable_olepro32
1358 enable_olesvr32
1359 enable_olethk32
1360 enable_openal32
1361 enable_opencl
1362 enable_opengl32
1363 enable_packager
1364 enable_pdh
1365 enable_photometadatahandler
1366 enable_pidgen
1367 enable_powrprof
1368 enable_printui
1369 enable_prntvpt
1370 enable_propsys
1371 enable_psapi
1372 enable_pstorec
1373 enable_qcap
1374 enable_qedit
1375 enable_qmgr
1376 enable_qmgrprxy
1377 enable_quartz
1378 enable_query
1379 enable_rasapi32
1380 enable_rasdlg
1381 enable_regapi
1382 enable_resutils
1383 enable_riched20
1384 enable_riched32
1385 enable_rpcrt4
1386 enable_rsabase
1387 enable_rsaenh
1388 enable_rstrtmgr
1389 enable_rtutils
1390 enable_samlib
1391 enable_sane_ds
1392 enable_scarddlg
1393 enable_sccbase
1394 enable_schannel
1395 enable_schedsvc
1396 enable_scrobj
1397 enable_scrrun
1398 enable_scsiport_sys
1399 enable_secur32
1400 enable_security
1401 enable_sensapi
1402 enable_serialui
1403 enable_setupapi
1404 enable_sfc
1405 enable_sfc_os
1406 enable_shdoclc
1407 enable_shdocvw
1408 enable_shell32
1409 enable_shfolder
1410 enable_shlwapi
1411 enable_slbcsp
1412 enable_slc
1413 enable_snmpapi
1414 enable_softpub
1415 enable_spoolss
1416 enable_sspicli
1417 enable_stdole2_tlb
1418 enable_stdole32_tlb
1419 enable_sti
1420 enable_svrapi
1421 enable_sxs
1422 enable_t2embed
1423 enable_tapi32
1424 enable_taskschd
1425 enable_tdi_sys
1426 enable_traffic
1427 enable_twain_32
1428 enable_ucrtbase
1429 enable_uiautomationcore
1430 enable_unicows
1431 enable_updspapi
1432 enable_url
1433 enable_urlmon
1434 enable_usbd_sys
1435 enable_user32
1436 enable_userenv
1437 enable_usp10
1438 enable_uxtheme
1439 enable_vbscript
1440 enable_vcomp
1441 enable_vcomp100
1442 enable_vcomp110
1443 enable_vcomp120
1444 enable_vcomp140
1445 enable_vcomp90
1446 enable_vcruntime140
1447 enable_vdmdbg
1448 enable_version
1449 enable_virtdisk
1450 enable_vssapi
1451 enable_wbemdisp
1452 enable_wbemprox
1453 enable_webservices
1454 enable_wer
1455 enable_wevtapi
1456 enable_wiaservc
1457 enable_wimgapi
1458 enable_windowscodecs
1459 enable_windowscodecsext
1460 enable_winealsa_drv
1461 enable_winebus_sys
1462 enable_winecoreaudio_drv
1463 enable_wined3d
1464 enable_winegstreamer
1465 enable_winehid_sys
1466 enable_winejoystick_drv
1467 enable_winemac_drv
1468 enable_winemapi
1469 enable_winemp3_acm
1470 enable_wineoss_drv
1471 enable_wineps_drv
1472 enable_winepulse_drv
1473 enable_wineqtdecoder
1474 enable_winex11_drv
1475 enable_wing32
1476 enable_winhttp
1477 enable_wininet
1478 enable_winmm
1479 enable_winnls32
1480 enable_winscard
1481 enable_winspool_drv
1482 enable_winsta
1483 enable_wintab32
1484 enable_wintrust
1485 enable_winusb
1486 enable_wlanapi
1487 enable_wldap32
1488 enable_wmasf
1489 enable_wmi
1490 enable_wmiutils
1491 enable_wmp
1492 enable_wmvcore
1493 enable_wnaspi32
1494 enable_wpc
1495 enable_wpcap
1496 enable_ws2_32
1497 enable_wshom_ocx
1498 enable_wsnmp32
1499 enable_wsock32
1500 enable_wtsapi32
1501 enable_wuapi
1502 enable_wuaueng
1503 enable_x3daudio1_0
1504 enable_x3daudio1_1
1505 enable_x3daudio1_2
1506 enable_x3daudio1_3
1507 enable_x3daudio1_4
1508 enable_x3daudio1_5
1509 enable_x3daudio1_6
1510 enable_x3daudio1_7
1511 enable_xapofx1_1
1512 enable_xapofx1_2
1513 enable_xapofx1_3
1514 enable_xapofx1_4
1515 enable_xapofx1_5
1516 enable_xaudio2_0
1517 enable_xaudio2_1
1518 enable_xaudio2_2
1519 enable_xaudio2_3
1520 enable_xaudio2_4
1521 enable_xaudio2_5
1522 enable_xaudio2_6
1523 enable_xaudio2_7
1524 enable_xaudio2_8
1525 enable_xaudio2_9
1526 enable_xinput1_1
1527 enable_xinput1_2
1528 enable_xinput1_3
1529 enable_xinput1_4
1530 enable_xinput9_1_0
1531 enable_xmllite
1532 enable_xolehlp
1533 enable_xpsprint
1534 enable_xpssvcs
1535 enable_fonts
1536 enable_include
1537 enable_libs_port
1538 enable_libs_wine
1539 enable_libs_wpp
1540 enable_loader
1541 enable_po
1542 enable_arp
1543 enable_aspnet_regiis
1544 enable_attrib
1545 enable_cabarc
1546 enable_cacls
1547 enable_clock
1548 enable_cmd
1549 enable_conhost
1550 enable_control
1551 enable_cscript
1552 enable_dpnsvr
1553 enable_dxdiag
1554 enable_eject
1555 enable_expand
1556 enable_explorer
1557 enable_extrac32
1558 enable_findstr
1559 enable_fsutil
1560 enable_hh
1561 enable_hostname
1562 enable_icacls
1563 enable_icinfo
1564 enable_iexplore
1565 enable_ipconfig
1566 enable_lodctr
1567 enable_mofcomp
1568 enable_mshta
1569 enable_msiexec
1570 enable_msinfo32
1571 enable_net
1572 enable_netsh
1573 enable_netstat
1574 enable_ngen
1575 enable_notepad
1576 enable_oleview
1577 enable_ping
1578 enable_plugplay
1579 enable_presentationfontcache
1580 enable_progman
1581 enable_reg
1582 enable_regasm
1583 enable_regedit
1584 enable_regsvcs
1585 enable_regsvr32
1586 enable_rpcss
1587 enable_rundll32
1588 enable_sc
1589 enable_schtasks
1590 enable_sdbinst
1591 enable_secedit
1592 enable_servicemodelreg
1593 enable_services
1594 enable_shutdown
1595 enable_spoolsv
1596 enable_start
1597 enable_subst
1598 enable_svchost
1599 enable_systeminfo
1600 enable_taskkill
1601 enable_tasklist
1602 enable_taskmgr
1603 enable_termsv
1604 enable_uninstaller
1605 enable_unlodctr
1606 enable_view
1607 enable_wevtutil
1608 enable_wineboot
1609 enable_winebrowser
1610 enable_winecfg
1611 enable_wineconsole
1612 enable_winedbg
1613 enable_winedevice
1614 enable_winefile
1615 enable_winemenubuilder
1616 enable_winemine
1617 enable_winemsibuilder
1618 enable_winepath
1619 enable_winetest
1620 enable_winhlp32
1621 enable_winver
1622 enable_wmic
1623 enable_wmplayer
1624 enable_wordpad
1625 enable_write
1626 enable_wscript
1627 enable_wusa
1628 enable_xcopy
1629 enable_server
1630 enable_tools
1632 ac_precious_vars='build_alias
1633 host_alias
1634 target_alias
1636 CFLAGS
1637 LDFLAGS
1638 LIBS
1639 CPPFLAGS
1641 CXXFLAGS
1644 XMKMF
1645 XML2_CFLAGS
1646 XML2_LIBS
1647 XSLT_CFLAGS
1648 XSLT_LIBS
1649 DBUS_CFLAGS
1650 DBUS_LIBS
1651 HAL_CFLAGS
1652 HAL_LIBS
1653 GNUTLS_CFLAGS
1654 GNUTLS_LIBS
1655 SANE_CFLAGS
1656 SANE_LIBS
1657 GPHOTO2_CFLAGS
1658 GPHOTO2_LIBS
1659 GPHOTO2_PORT_CFLAGS
1660 GPHOTO2_PORT_LIBS
1661 LCMS2_CFLAGS
1662 LCMS2_LIBS
1663 FREETYPE_CFLAGS
1664 FREETYPE_LIBS
1665 PULSE_CFLAGS
1666 PULSE_LIBS
1667 GSTREAMER_CFLAGS
1668 GSTREAMER_LIBS
1669 UDEV_CFLAGS
1670 UDEV_LIBS
1671 CAPI20_CFLAGS
1672 CAPI20_LIBS
1673 FONTCONFIG_CFLAGS
1674 FONTCONFIG_LIBS
1675 JPEG_CFLAGS
1676 JPEG_LIBS
1677 PNG_CFLAGS
1678 PNG_LIBS
1679 TIFF_CFLAGS
1680 TIFF_LIBS
1681 MPG123_CFLAGS
1682 MPG123_LIBS
1683 NETAPI_CFLAGS
1684 NETAPI_LIBS'
1687 # Initialize some variables set by options.
1688 ac_init_help=
1689 ac_init_version=false
1690 ac_unrecognized_opts=
1691 ac_unrecognized_sep=
1692 # The variables have the same names as the options, with
1693 # dashes changed to underlines.
1694 cache_file=/dev/null
1695 exec_prefix=NONE
1696 no_create=
1697 no_recursion=
1698 prefix=NONE
1699 program_prefix=NONE
1700 program_suffix=NONE
1701 program_transform_name=s,x,x,
1702 silent=
1703 site=
1704 srcdir=
1705 verbose=
1706 x_includes=NONE
1707 x_libraries=NONE
1709 # Installation directory options.
1710 # These are left unexpanded so users can "make install exec_prefix=/foo"
1711 # and all the variables that are supposed to be based on exec_prefix
1712 # by default will actually change.
1713 # Use braces instead of parens because sh, perl, etc. also accept them.
1714 # (The list follows the same order as the GNU Coding Standards.)
1715 bindir='${exec_prefix}/bin'
1716 sbindir='${exec_prefix}/sbin'
1717 libexecdir='${exec_prefix}/libexec'
1718 datarootdir='${prefix}/share'
1719 datadir='${datarootdir}'
1720 sysconfdir='${prefix}/etc'
1721 sharedstatedir='${prefix}/com'
1722 localstatedir='${prefix}/var'
1723 runstatedir='${localstatedir}/run'
1724 includedir='${prefix}/include'
1725 oldincludedir='/usr/include'
1726 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1727 infodir='${datarootdir}/info'
1728 htmldir='${docdir}'
1729 dvidir='${docdir}'
1730 pdfdir='${docdir}'
1731 psdir='${docdir}'
1732 libdir='${exec_prefix}/lib'
1733 localedir='${datarootdir}/locale'
1734 mandir='${datarootdir}/man'
1736 ac_prev=
1737 ac_dashdash=
1738 for ac_option
1740 # If the previous option needs an argument, assign it.
1741 if test -n "$ac_prev"; then
1742 eval $ac_prev=\$ac_option
1743 ac_prev=
1744 continue
1747 case $ac_option in
1748 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1749 *=) ac_optarg= ;;
1750 *) ac_optarg=yes ;;
1751 esac
1753 # Accept the important Cygnus configure options, so we can diagnose typos.
1755 case $ac_dashdash$ac_option in
1757 ac_dashdash=yes ;;
1759 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1760 ac_prev=bindir ;;
1761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1762 bindir=$ac_optarg ;;
1764 -build | --build | --buil | --bui | --bu)
1765 ac_prev=build_alias ;;
1766 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1767 build_alias=$ac_optarg ;;
1769 -cache-file | --cache-file | --cache-fil | --cache-fi \
1770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1771 ac_prev=cache_file ;;
1772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1774 cache_file=$ac_optarg ;;
1776 --config-cache | -C)
1777 cache_file=config.cache ;;
1779 -datadir | --datadir | --datadi | --datad)
1780 ac_prev=datadir ;;
1781 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1782 datadir=$ac_optarg ;;
1784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1785 | --dataroo | --dataro | --datar)
1786 ac_prev=datarootdir ;;
1787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1789 datarootdir=$ac_optarg ;;
1791 -disable-* | --disable-*)
1792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1795 as_fn_error $? "invalid feature name: $ac_useropt"
1796 ac_useropt_orig=$ac_useropt
1797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1800 "enable_$ac_useropt"
1801 "*) ;;
1802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1803 ac_unrecognized_sep=', ';;
1804 esac
1805 eval enable_$ac_useropt=no ;;
1807 -docdir | --docdir | --docdi | --doc | --do)
1808 ac_prev=docdir ;;
1809 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1810 docdir=$ac_optarg ;;
1812 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1813 ac_prev=dvidir ;;
1814 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1815 dvidir=$ac_optarg ;;
1817 -enable-* | --enable-*)
1818 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1819 # Reject names that are not valid shell variable names.
1820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1821 as_fn_error $? "invalid feature name: $ac_useropt"
1822 ac_useropt_orig=$ac_useropt
1823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1824 case $ac_user_opts in
1826 "enable_$ac_useropt"
1827 "*) ;;
1828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1829 ac_unrecognized_sep=', ';;
1830 esac
1831 eval enable_$ac_useropt=\$ac_optarg ;;
1833 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1834 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1835 | --exec | --exe | --ex)
1836 ac_prev=exec_prefix ;;
1837 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1838 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1839 | --exec=* | --exe=* | --ex=*)
1840 exec_prefix=$ac_optarg ;;
1842 -gas | --gas | --ga | --g)
1843 # Obsolete; use --with-gas.
1844 with_gas=yes ;;
1846 -help | --help | --hel | --he | -h)
1847 ac_init_help=long ;;
1848 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1849 ac_init_help=recursive ;;
1850 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1851 ac_init_help=short ;;
1853 -host | --host | --hos | --ho)
1854 ac_prev=host_alias ;;
1855 -host=* | --host=* | --hos=* | --ho=*)
1856 host_alias=$ac_optarg ;;
1858 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1859 ac_prev=htmldir ;;
1860 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1861 | --ht=*)
1862 htmldir=$ac_optarg ;;
1864 -includedir | --includedir | --includedi | --included | --include \
1865 | --includ | --inclu | --incl | --inc)
1866 ac_prev=includedir ;;
1867 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1868 | --includ=* | --inclu=* | --incl=* | --inc=*)
1869 includedir=$ac_optarg ;;
1871 -infodir | --infodir | --infodi | --infod | --info | --inf)
1872 ac_prev=infodir ;;
1873 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1874 infodir=$ac_optarg ;;
1876 -libdir | --libdir | --libdi | --libd)
1877 ac_prev=libdir ;;
1878 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1879 libdir=$ac_optarg ;;
1881 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1882 | --libexe | --libex | --libe)
1883 ac_prev=libexecdir ;;
1884 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1885 | --libexe=* | --libex=* | --libe=*)
1886 libexecdir=$ac_optarg ;;
1888 -localedir | --localedir | --localedi | --localed | --locale)
1889 ac_prev=localedir ;;
1890 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1891 localedir=$ac_optarg ;;
1893 -localstatedir | --localstatedir | --localstatedi | --localstated \
1894 | --localstate | --localstat | --localsta | --localst | --locals)
1895 ac_prev=localstatedir ;;
1896 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1897 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1898 localstatedir=$ac_optarg ;;
1900 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1901 ac_prev=mandir ;;
1902 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1903 mandir=$ac_optarg ;;
1905 -nfp | --nfp | --nf)
1906 # Obsolete; use --without-fp.
1907 with_fp=no ;;
1909 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1910 | --no-cr | --no-c | -n)
1911 no_create=yes ;;
1913 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1914 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1915 no_recursion=yes ;;
1917 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1918 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1919 | --oldin | --oldi | --old | --ol | --o)
1920 ac_prev=oldincludedir ;;
1921 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1922 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1923 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1924 oldincludedir=$ac_optarg ;;
1926 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1927 ac_prev=prefix ;;
1928 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1929 prefix=$ac_optarg ;;
1931 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1932 | --program-pre | --program-pr | --program-p)
1933 ac_prev=program_prefix ;;
1934 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1935 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1936 program_prefix=$ac_optarg ;;
1938 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1939 | --program-suf | --program-su | --program-s)
1940 ac_prev=program_suffix ;;
1941 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1942 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1943 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1953 -program-transform-name=* | --program-transform-name=* \
1954 | --program-transform-nam=* | --program-transform-na=* \
1955 | --program-transform-n=* | --program-transform-=* \
1956 | --program-transform=* | --program-transfor=* \
1957 | --program-transfo=* | --program-transf=* \
1958 | --program-trans=* | --program-tran=* \
1959 | --progr-tra=* | --program-tr=* | --program-t=*)
1960 program_transform_name=$ac_optarg ;;
1962 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1963 ac_prev=pdfdir ;;
1964 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1965 pdfdir=$ac_optarg ;;
1967 -psdir | --psdir | --psdi | --psd | --ps)
1968 ac_prev=psdir ;;
1969 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1970 psdir=$ac_optarg ;;
1972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1973 | -silent | --silent | --silen | --sile | --sil)
1974 silent=yes ;;
1976 -runstatedir | --runstatedir | --runstatedi | --runstated \
1977 | --runstate | --runstat | --runsta | --runst | --runs \
1978 | --run | --ru | --r)
1979 ac_prev=runstatedir ;;
1980 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1981 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1982 | --run=* | --ru=* | --r=*)
1983 runstatedir=$ac_optarg ;;
1985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1986 ac_prev=sbindir ;;
1987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1988 | --sbi=* | --sb=*)
1989 sbindir=$ac_optarg ;;
1991 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1993 | --sharedst | --shareds | --shared | --share | --shar \
1994 | --sha | --sh)
1995 ac_prev=sharedstatedir ;;
1996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1999 | --sha=* | --sh=*)
2000 sharedstatedir=$ac_optarg ;;
2002 -site | --site | --sit)
2003 ac_prev=site ;;
2004 -site=* | --site=* | --sit=*)
2005 site=$ac_optarg ;;
2007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2008 ac_prev=srcdir ;;
2009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2010 srcdir=$ac_optarg ;;
2012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2013 | --syscon | --sysco | --sysc | --sys | --sy)
2014 ac_prev=sysconfdir ;;
2015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2017 sysconfdir=$ac_optarg ;;
2019 -target | --target | --targe | --targ | --tar | --ta | --t)
2020 ac_prev=target_alias ;;
2021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2022 target_alias=$ac_optarg ;;
2024 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2025 verbose=yes ;;
2027 -version | --version | --versio | --versi | --vers | -V)
2028 ac_init_version=: ;;
2030 -with-* | --with-*)
2031 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2032 # Reject names that are not valid shell variable names.
2033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2034 as_fn_error $? "invalid package name: $ac_useropt"
2035 ac_useropt_orig=$ac_useropt
2036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2037 case $ac_user_opts in
2039 "with_$ac_useropt"
2040 "*) ;;
2041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2042 ac_unrecognized_sep=', ';;
2043 esac
2044 eval with_$ac_useropt=\$ac_optarg ;;
2046 -without-* | --without-*)
2047 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2048 # Reject names that are not valid shell variable names.
2049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2050 as_fn_error $? "invalid package name: $ac_useropt"
2051 ac_useropt_orig=$ac_useropt
2052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2053 case $ac_user_opts in
2055 "with_$ac_useropt"
2056 "*) ;;
2057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2058 ac_unrecognized_sep=', ';;
2059 esac
2060 eval with_$ac_useropt=no ;;
2062 --x)
2063 # Obsolete; use --with-x.
2064 with_x=yes ;;
2066 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2067 | --x-incl | --x-inc | --x-in | --x-i)
2068 ac_prev=x_includes ;;
2069 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2070 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2071 x_includes=$ac_optarg ;;
2073 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2074 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2075 ac_prev=x_libraries ;;
2076 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2077 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2078 x_libraries=$ac_optarg ;;
2080 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2081 Try \`$0 --help' for more information"
2084 *=*)
2085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2086 # Reject names that are not valid shell variable names.
2087 case $ac_envvar in #(
2088 '' | [0-9]* | *[!_$as_cr_alnum]* )
2089 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2090 esac
2091 eval $ac_envvar=\$ac_optarg
2092 export $ac_envvar ;;
2095 # FIXME: should be removed in autoconf 3.0.
2096 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2097 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2098 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2099 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2102 esac
2103 done
2105 if test -n "$ac_prev"; then
2106 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2107 as_fn_error $? "missing argument to $ac_option"
2110 if test -n "$ac_unrecognized_opts"; then
2111 case $enable_option_checking in
2112 no) ;;
2113 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2115 esac
2118 # Check all directory arguments for consistency.
2119 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2120 datadir sysconfdir sharedstatedir localstatedir includedir \
2121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2122 libdir localedir mandir runstatedir
2124 eval ac_val=\$$ac_var
2125 # Remove trailing slashes.
2126 case $ac_val in
2127 */ )
2128 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2129 eval $ac_var=\$ac_val;;
2130 esac
2131 # Be sure to have absolute directory names.
2132 case $ac_val in
2133 [\\/$]* | ?:[\\/]* ) continue;;
2134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2135 esac
2136 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2137 done
2139 # There might be people who depend on the old broken behavior: `$host'
2140 # used to hold the argument of --host etc.
2141 # FIXME: To remove some day.
2142 build=$build_alias
2143 host=$host_alias
2144 target=$target_alias
2146 # FIXME: To remove some day.
2147 if test "x$host_alias" != x; then
2148 if test "x$build_alias" = x; then
2149 cross_compiling=maybe
2150 elif test "x$build_alias" != "x$host_alias"; then
2151 cross_compiling=yes
2155 ac_tool_prefix=
2156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2158 test "$silent" = yes && exec 6>/dev/null
2161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2162 ac_ls_di=`ls -di .` &&
2163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2164 as_fn_error $? "working directory cannot be determined"
2165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2166 as_fn_error $? "pwd does not report name of working directory"
2169 # Find the source files, if location was not specified.
2170 if test -z "$srcdir"; then
2171 ac_srcdir_defaulted=yes
2172 # Try the directory containing this script, then the parent directory.
2173 ac_confdir=`$as_dirname -- "$as_myself" ||
2174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2175 X"$as_myself" : 'X\(//\)[^/]' \| \
2176 X"$as_myself" : 'X\(//\)$' \| \
2177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2178 $as_echo X"$as_myself" |
2179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2180 s//\1/
2183 /^X\(\/\/\)[^/].*/{
2184 s//\1/
2187 /^X\(\/\/\)$/{
2188 s//\1/
2191 /^X\(\/\).*/{
2192 s//\1/
2195 s/.*/./; q'`
2196 srcdir=$ac_confdir
2197 if test ! -r "$srcdir/$ac_unique_file"; then
2198 srcdir=..
2200 else
2201 ac_srcdir_defaulted=no
2203 if test ! -r "$srcdir/$ac_unique_file"; then
2204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2208 ac_abs_confdir=`(
2209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2210 pwd)`
2211 # When building in place, set srcdir=.
2212 if test "$ac_abs_confdir" = "$ac_pwd"; then
2213 srcdir=.
2215 # Remove unnecessary trailing slashes from srcdir.
2216 # Double slashes in file names in object file debugging info
2217 # mess up M-x gdb in Emacs.
2218 case $srcdir in
2219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2220 esac
2221 for ac_var in $ac_precious_vars; do
2222 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2223 eval ac_env_${ac_var}_value=\$${ac_var}
2224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2225 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2226 done
2229 # Report the --help message.
2231 if test "$ac_init_help" = "long"; then
2232 # Omit some internal or obsolete options to make the list less imposing.
2233 # This message is too long to be a string in the A/UX 3.1 sh.
2234 cat <<_ACEOF
2235 \`configure' configures Wine 2.4 to adapt to many kinds of systems.
2237 Usage: $0 [OPTION]... [VAR=VALUE]...
2239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2240 VAR=VALUE. See below for descriptions of some of the useful variables.
2242 Defaults for the options are specified in brackets.
2244 Configuration:
2245 -h, --help display this help and exit
2246 --help=short display options specific to this package
2247 --help=recursive display the short help of all the included packages
2248 -V, --version display version information and exit
2249 -q, --quiet, --silent do not print \`checking ...' messages
2250 --cache-file=FILE cache test results in FILE [disabled]
2251 -C, --config-cache alias for \`--cache-file=config.cache'
2252 -n, --no-create do not create output files
2253 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2255 Installation directories:
2256 --prefix=PREFIX install architecture-independent files in PREFIX
2257 [$ac_default_prefix]
2258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2259 [PREFIX]
2261 By default, \`make install' will install all the files in
2262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2264 for instance \`--prefix=\$HOME'.
2266 For better control, use the options below.
2268 Fine tuning of the installation directories:
2269 --bindir=DIR user executables [EPREFIX/bin]
2270 --sbindir=DIR system admin executables [EPREFIX/sbin]
2271 --libexecdir=DIR program executables [EPREFIX/libexec]
2272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2274 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2275 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2276 --libdir=DIR object code libraries [EPREFIX/lib]
2277 --includedir=DIR C header files [PREFIX/include]
2278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2281 --infodir=DIR info documentation [DATAROOTDIR/info]
2282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2283 --mandir=DIR man documentation [DATAROOTDIR/man]
2284 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2285 --htmldir=DIR html documentation [DOCDIR]
2286 --dvidir=DIR dvi documentation [DOCDIR]
2287 --pdfdir=DIR pdf documentation [DOCDIR]
2288 --psdir=DIR ps documentation [DOCDIR]
2289 _ACEOF
2291 cat <<\_ACEOF
2293 X features:
2294 --x-includes=DIR X include files are in DIR
2295 --x-libraries=DIR X library files are in DIR
2297 System types:
2298 --build=BUILD configure for building on BUILD [guessed]
2299 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2300 _ACEOF
2303 if test -n "$ac_init_help"; then
2304 case $ac_init_help in
2305 short | recursive ) echo "Configuration of Wine 2.4:";;
2306 esac
2307 cat <<\_ACEOF
2309 Optional Features:
2310 --disable-option-checking ignore unrecognized --enable/--with options
2311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2313 --disable-win16 do not include Win16 support
2314 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2315 binaries)
2316 --disable-tests do not build the regression tests
2317 --enable-maintainer-mode
2318 enable maintainer-specific build rules
2319 --disable-largefile omit support for large files
2321 Optional Packages:
2322 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2323 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2324 --without-alsa do not use the Alsa sound support
2325 --without-capi do not use CAPI (ISDN support)
2326 --without-cms do not use CMS (color management support)
2327 --without-coreaudio do not use the CoreAudio sound support
2328 --without-cups do not use CUPS
2329 --without-curses do not use (n)curses
2330 --without-dbus do not use DBus (dynamic device support)
2331 --without-fontconfig do not use fontconfig
2332 --without-freetype do not use the FreeType library
2333 --without-gettext do not use gettext
2334 --with-gettextpo use the GetTextPO library to rebuild po files
2335 --without-gphoto do not use gphoto (Digital Camera support)
2336 --without-glu do not use the GLU library
2337 --without-gnutls do not use GnuTLS (schannel support)
2338 --without-gsm do not use libgsm (GSM 06.10 codec support)
2339 --without-gstreamer do not use GStreamer (codecs support)
2340 --without-hal do not use HAL (dynamic device support)
2341 --without-jpeg do not use JPEG
2342 --without-ldap do not use LDAP
2343 --without-mpg123 do not use the mpg123 library
2344 --without-netapi do not use the Samba NetAPI library
2345 --without-openal do not use OpenAL
2346 --without-opencl do not use OpenCL
2347 --without-opengl do not use OpenGL
2348 --without-osmesa do not use the OSMesa library
2349 --without-oss do not use the OSS sound support
2350 --without-pcap do not use the Packet Capture library
2351 --without-png do not use PNG
2352 --without-pthread do not use the pthread library
2353 --without-pulse do not use PulseAudio sound support
2354 --without-sane do not use SANE (scanner support)
2355 --without-tiff do not use TIFF
2356 --without-udev do not use udev (plug and play support)
2357 --without-v4l do not use v4l1 (v4l support)
2358 --without-xcomposite do not use the Xcomposite extension
2359 --without-xcursor do not use the Xcursor extension
2360 --without-xinerama do not use Xinerama (multi-monitor support)
2361 --without-xinput do not use the Xinput extension
2362 --without-xinput2 do not use the Xinput 2 extension
2363 --without-xml do not use XML
2364 --without-xrandr do not use Xrandr (resolution changes)
2365 --without-xrender do not use the Xrender extension
2366 --without-xshape do not use the Xshape extension
2367 --without-xshm do not use XShm (shared memory extension)
2368 --without-xslt do not use XSLT
2369 --without-xxf86vm do not use XFree video mode extension
2370 --without-zlib do not use Zlib (data compression)
2371 --with-wine-tools=DIR use Wine tools from directory DIR
2372 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2373 --with-x use the X Window System
2375 Some influential environment variables:
2376 CC C compiler command
2377 CFLAGS C compiler flags
2378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2379 nonstandard directory <lib dir>
2380 LIBS libraries to pass to the linker, e.g. -l<library>
2381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2382 you have headers in a nonstandard directory <include dir>
2383 CXX C++ compiler command
2384 CXXFLAGS C++ compiler flags
2385 CPP C preprocessor
2386 XMKMF Path to xmkmf, Makefile generator for X Window System
2387 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2388 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2389 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2390 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2391 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2392 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2393 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2394 HAL_LIBS Linker flags for hal, overriding pkg-config
2395 GNUTLS_CFLAGS
2396 C compiler flags for gnutls, overriding pkg-config
2397 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2398 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2399 SANE_LIBS Linker flags for libsane, overriding pkg-config
2400 GPHOTO2_CFLAGS
2401 C compiler flags for libgphoto2, overriding pkg-config
2402 GPHOTO2_LIBS
2403 Linker flags for libgphoto2, overriding pkg-config
2404 GPHOTO2_PORT_CFLAGS
2405 C compiler flags for libgphoto2_port, overriding pkg-config
2406 GPHOTO2_PORT_LIBS
2407 Linker flags for libgphoto2_port, overriding pkg-config
2408 LCMS2_CFLAGS
2409 C compiler flags for lcms2, overriding pkg-config
2410 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2411 FREETYPE_CFLAGS
2412 C compiler flags for freetype2, overriding pkg-config
2413 FREETYPE_LIBS
2414 Linker flags for freetype2, overriding pkg-config
2415 PULSE_CFLAGS
2416 C compiler flags for libpulse, overriding pkg-config
2417 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2418 GSTREAMER_CFLAGS
2419 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2420 gstreamer-audio-1.0, overriding pkg-config
2421 GSTREAMER_LIBS
2422 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2423 gstreamer-audio-1.0, overriding pkg-config
2424 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2425 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2426 CAPI20_CFLAGS
2427 C compiler flags for capi20, overriding pkg-config
2428 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2429 FONTCONFIG_CFLAGS
2430 C compiler flags for fontconfig, overriding pkg-config
2431 FONTCONFIG_LIBS
2432 Linker flags for fontconfig, overriding pkg-config
2433 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2434 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2435 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2436 PNG_LIBS Linker flags for libpng, overriding pkg-config
2437 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2438 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2439 MPG123_CFLAGS
2440 C compiler flags for libmpg123, overriding pkg-config
2441 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2442 NETAPI_CFLAGS
2443 C compiler flags for netapi, overriding pkg-config
2444 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2446 Use these variables to override the choices made by `configure' or to help
2447 it to find libraries and programs with nonstandard names/locations.
2449 Report bugs to <wine-devel@winehq.org>.
2450 Wine home page: <http://www.winehq.org>.
2451 _ACEOF
2452 ac_status=$?
2455 if test "$ac_init_help" = "recursive"; then
2456 # If there are subdirs, report their specific --help.
2457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2458 test -d "$ac_dir" ||
2459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2460 continue
2461 ac_builddir=.
2463 case "$ac_dir" in
2464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2467 # A ".." for each directory in $ac_dir_suffix.
2468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2469 case $ac_top_builddir_sub in
2470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2472 esac ;;
2473 esac
2474 ac_abs_top_builddir=$ac_pwd
2475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2476 # for backward compatibility:
2477 ac_top_builddir=$ac_top_build_prefix
2479 case $srcdir in
2480 .) # We are building in place.
2481 ac_srcdir=.
2482 ac_top_srcdir=$ac_top_builddir_sub
2483 ac_abs_top_srcdir=$ac_pwd ;;
2484 [\\/]* | ?:[\\/]* ) # Absolute name.
2485 ac_srcdir=$srcdir$ac_dir_suffix;
2486 ac_top_srcdir=$srcdir
2487 ac_abs_top_srcdir=$srcdir ;;
2488 *) # Relative name.
2489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2490 ac_top_srcdir=$ac_top_build_prefix$srcdir
2491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2492 esac
2493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2495 cd "$ac_dir" || { ac_status=$?; continue; }
2496 # Check for guested configure.
2497 if test -f "$ac_srcdir/configure.gnu"; then
2498 echo &&
2499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2500 elif test -f "$ac_srcdir/configure"; then
2501 echo &&
2502 $SHELL "$ac_srcdir/configure" --help=recursive
2503 else
2504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2505 fi || ac_status=$?
2506 cd "$ac_pwd" || { ac_status=$?; break; }
2507 done
2510 test -n "$ac_init_help" && exit $ac_status
2511 if $ac_init_version; then
2512 cat <<\_ACEOF
2513 Wine configure 2.4
2514 generated by GNU Autoconf 2.69
2516 Copyright (C) 2012 Free Software Foundation, Inc.
2517 This configure script is free software; the Free Software Foundation
2518 gives unlimited permission to copy, distribute and modify it.
2519 _ACEOF
2520 exit
2523 ## ------------------------ ##
2524 ## Autoconf initialization. ##
2525 ## ------------------------ ##
2527 # ac_fn_c_try_compile LINENO
2528 # --------------------------
2529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2530 ac_fn_c_try_compile ()
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 rm -f conftest.$ac_objext
2534 if { { ac_try="$ac_compile"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2540 $as_echo "$ac_try_echo"; } >&5
2541 (eval "$ac_compile") 2>conftest.err
2542 ac_status=$?
2543 if test -s conftest.err; then
2544 grep -v '^ *+' conftest.err >conftest.er1
2545 cat conftest.er1 >&5
2546 mv -f conftest.er1 conftest.err
2548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2549 test $ac_status = 0; } && {
2550 test -z "$ac_c_werror_flag" ||
2551 test ! -s conftest.err
2552 } && test -s conftest.$ac_objext; then :
2553 ac_retval=0
2554 else
2555 $as_echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 ac_retval=1
2560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561 as_fn_set_status $ac_retval
2563 } # ac_fn_c_try_compile
2565 # ac_fn_cxx_try_compile LINENO
2566 # ----------------------------
2567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2568 ac_fn_cxx_try_compile ()
2570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571 rm -f conftest.$ac_objext
2572 if { { ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_compile") 2>conftest.err
2580 ac_status=$?
2581 if test -s conftest.err; then
2582 grep -v '^ *+' conftest.err >conftest.er1
2583 cat conftest.er1 >&5
2584 mv -f conftest.er1 conftest.err
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; } && {
2588 test -z "$ac_cxx_werror_flag" ||
2589 test ! -s conftest.err
2590 } && test -s conftest.$ac_objext; then :
2591 ac_retval=0
2592 else
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 ac_retval=1
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status $ac_retval
2601 } # ac_fn_cxx_try_compile
2603 # ac_fn_c_try_link LINENO
2604 # -----------------------
2605 # Try to link conftest.$ac_ext, and return whether this succeeded.
2606 ac_fn_c_try_link ()
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 rm -f conftest.$ac_objext conftest$ac_exeext
2610 if { { ac_try="$ac_link"
2611 case "(($ac_try" in
2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2614 esac
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_link") 2>conftest.err
2618 ac_status=$?
2619 if test -s conftest.err; then
2620 grep -v '^ *+' conftest.err >conftest.er1
2621 cat conftest.er1 >&5
2622 mv -f conftest.er1 conftest.err
2624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625 test $ac_status = 0; } && {
2626 test -z "$ac_c_werror_flag" ||
2627 test ! -s conftest.err
2628 } && test -s conftest$ac_exeext && {
2629 test "$cross_compiling" = yes ||
2630 test -x conftest$ac_exeext
2631 }; then :
2632 ac_retval=0
2633 else
2634 $as_echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 ac_retval=1
2639 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2640 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2641 # interfere with the next link command; also delete a directory that is
2642 # left behind by Apple's compiler. We do this before executing the actions.
2643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 as_fn_set_status $ac_retval
2647 } # ac_fn_c_try_link
2649 # ac_fn_c_try_cpp LINENO
2650 # ----------------------
2651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2652 ac_fn_c_try_cpp ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 if { { ac_try="$ac_cpp conftest.$ac_ext"
2656 case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2659 esac
2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2661 $as_echo "$ac_try_echo"; } >&5
2662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2663 ac_status=$?
2664 if test -s conftest.err; then
2665 grep -v '^ *+' conftest.err >conftest.er1
2666 cat conftest.er1 >&5
2667 mv -f conftest.er1 conftest.err
2669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2670 test $ac_status = 0; } > conftest.i && {
2671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2672 test ! -s conftest.err
2673 }; then :
2674 ac_retval=0
2675 else
2676 $as_echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 ac_retval=1
2681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2682 as_fn_set_status $ac_retval
2684 } # ac_fn_c_try_cpp
2686 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2687 # -------------------------------------------------------
2688 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2689 # the include files in INCLUDES and setting the cache variable VAR
2690 # accordingly.
2691 ac_fn_c_check_header_mongrel ()
2693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2694 if eval \${$3+:} false; then :
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696 $as_echo_n "checking for $2... " >&6; }
2697 if eval \${$3+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 eval ac_res=\$$3
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2702 $as_echo "$ac_res" >&6; }
2703 else
2704 # Is the header compilable?
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2706 $as_echo_n "checking $2 usability... " >&6; }
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2710 #include <$2>
2711 _ACEOF
2712 if ac_fn_c_try_compile "$LINENO"; then :
2713 ac_header_compiler=yes
2714 else
2715 ac_header_compiler=no
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2719 $as_echo "$ac_header_compiler" >&6; }
2721 # Is the header present?
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2723 $as_echo_n "checking $2 presence... " >&6; }
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2726 #include <$2>
2727 _ACEOF
2728 if ac_fn_c_try_cpp "$LINENO"; then :
2729 ac_header_preproc=yes
2730 else
2731 ac_header_preproc=no
2733 rm -f conftest.err conftest.i conftest.$ac_ext
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2735 $as_echo "$ac_header_preproc" >&6; }
2737 # So? What about this header?
2738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2739 yes:no: )
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2741 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2743 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2745 no:yes:* )
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2747 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2749 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2751 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2753 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2755 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2756 ( $as_echo "## ------------------------------------ ##
2757 ## Report this to wine-devel@winehq.org ##
2758 ## ------------------------------------ ##"
2759 ) | sed "s/^/$as_me: WARNING: /" >&2
2761 esac
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \${$3+:} false; then :
2765 $as_echo_n "(cached) " >&6
2766 else
2767 eval "$3=\$ac_header_compiler"
2769 eval ac_res=\$$3
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2775 } # ac_fn_c_check_header_mongrel
2777 # ac_fn_c_try_run LINENO
2778 # ----------------------
2779 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2780 # that executables *can* be run.
2781 ac_fn_c_try_run ()
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 if { { ac_try="$ac_link"
2785 case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_link") 2>&5
2792 ac_status=$?
2793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2794 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2795 { { case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 $as_echo "$ac_try_echo"; } >&5
2801 (eval "$ac_try") 2>&5
2802 ac_status=$?
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; }; }; then :
2805 ac_retval=0
2806 else
2807 $as_echo "$as_me: program exited with status $ac_status" >&5
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2811 ac_retval=$ac_status
2813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 as_fn_set_status $ac_retval
2817 } # ac_fn_c_try_run
2819 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2820 # -------------------------------------------------------
2821 # Tests whether HEADER exists and can be compiled using the include files in
2822 # INCLUDES, setting the cache variable VAR accordingly.
2823 ac_fn_c_check_header_compile ()
2825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2827 $as_echo_n "checking for $2... " >&6; }
2828 if eval \${$3+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2834 #include <$2>
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 eval "$3=yes"
2838 else
2839 eval "$3=no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 eval ac_res=\$$3
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 } # ac_fn_c_check_header_compile
2850 # ac_fn_c_check_func LINENO FUNC VAR
2851 # ----------------------------------
2852 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2853 ac_fn_c_check_func ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2857 $as_echo_n "checking for $2... " >&6; }
2858 if eval \${$3+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2863 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2865 #define $2 innocuous_$2
2867 /* System header to define __stub macros and hopefully few prototypes,
2868 which can conflict with char $2 (); below.
2869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2870 <limits.h> exists even on freestanding compilers. */
2872 #ifdef __STDC__
2873 # include <limits.h>
2874 #else
2875 # include <assert.h>
2876 #endif
2878 #undef $2
2880 /* Override any GCC internal prototype to avoid an error.
2881 Use char because int might match the return type of a GCC
2882 builtin and then its argument prototype would still apply. */
2883 #ifdef __cplusplus
2884 extern "C"
2885 #endif
2886 char $2 ();
2887 /* The GNU C library defines this for functions which it implements
2888 to always fail with ENOSYS. Some functions are actually named
2889 something starting with __ and the normal name is an alias. */
2890 #if defined __stub_$2 || defined __stub___$2
2891 choke me
2892 #endif
2895 main ()
2897 return $2 ();
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_link "$LINENO"; then :
2903 eval "$3=yes"
2904 else
2905 eval "$3=no"
2907 rm -f core conftest.err conftest.$ac_objext \
2908 conftest$ac_exeext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_func
2917 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2918 # ----------------------------------------------------
2919 # Tries to find if the field MEMBER exists in type AGGR, after including
2920 # INCLUDES, setting cache variable VAR accordingly.
2921 ac_fn_c_check_member ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2925 $as_echo_n "checking for $2.$3... " >&6; }
2926 if eval \${$4+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2933 main ()
2935 static $2 ac_aggr;
2936 if (ac_aggr.$3)
2937 return 0;
2939 return 0;
2941 _ACEOF
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943 eval "$4=yes"
2944 else
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2949 main ()
2951 static $2 ac_aggr;
2952 if (sizeof ac_aggr.$3)
2953 return 0;
2955 return 0;
2957 _ACEOF
2958 if ac_fn_c_try_compile "$LINENO"; then :
2959 eval "$4=yes"
2960 else
2961 eval "$4=no"
2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 eval ac_res=\$$4
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2969 $as_echo "$ac_res" >&6; }
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 } # ac_fn_c_check_member
2974 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2975 # -------------------------------------------
2976 # Tests whether TYPE exists after having included INCLUDES, setting cache
2977 # variable VAR accordingly.
2978 ac_fn_c_check_type ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2982 $as_echo_n "checking for $2... " >&6; }
2983 if eval \${$3+:} false; then :
2984 $as_echo_n "(cached) " >&6
2985 else
2986 eval "$3=no"
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2991 main ()
2993 if (sizeof ($2))
2994 return 0;
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"; then :
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main ()
3006 if (sizeof (($2)))
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3014 else
3015 eval "$3=yes"
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 eval ac_res=\$$3
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 $as_echo "$ac_res" >&6; }
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 } # ac_fn_c_check_type
3027 cat >config.log <<_ACEOF
3028 This file contains any messages produced by compilers while
3029 running configure, to aid debugging if configure makes a mistake.
3031 It was created by Wine $as_me 2.4, which was
3032 generated by GNU Autoconf 2.69. Invocation command line was
3034 $ $0 $@
3036 _ACEOF
3037 exec 5>>config.log
3039 cat <<_ASUNAME
3040 ## --------- ##
3041 ## Platform. ##
3042 ## --------- ##
3044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3056 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3061 _ASUNAME
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3066 IFS=$as_save_IFS
3067 test -z "$as_dir" && as_dir=.
3068 $as_echo "PATH: $as_dir"
3069 done
3070 IFS=$as_save_IFS
3072 } >&5
3074 cat >&5 <<_ACEOF
3077 ## ----------- ##
3078 ## Core tests. ##
3079 ## ----------- ##
3081 _ACEOF
3084 # Keep a trace of the command line.
3085 # Strip out --no-create and --no-recursion so they do not pile up.
3086 # Strip out --silent because we don't want to record it for future runs.
3087 # Also quote any args containing shell meta-characters.
3088 # Make two passes to allow for proper duplicate-argument suppression.
3089 ac_configure_args=
3090 ac_configure_args0=
3091 ac_configure_args1=
3092 ac_must_keep_next=false
3093 for ac_pass in 1 2
3095 for ac_arg
3097 case $ac_arg in
3098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3100 | -silent | --silent | --silen | --sile | --sil)
3101 continue ;;
3102 *\'*)
3103 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3104 esac
3105 case $ac_pass in
3106 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3108 as_fn_append ac_configure_args1 " '$ac_arg'"
3109 if test $ac_must_keep_next = true; then
3110 ac_must_keep_next=false # Got value, back to normal.
3111 else
3112 case $ac_arg in
3113 *=* | --config-cache | -C | -disable-* | --disable-* \
3114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3116 | -with-* | --with-* | -without-* | --without-* | --x)
3117 case "$ac_configure_args0 " in
3118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3119 esac
3121 -* ) ac_must_keep_next=true ;;
3122 esac
3124 as_fn_append ac_configure_args " '$ac_arg'"
3126 esac
3127 done
3128 done
3129 { ac_configure_args0=; unset ac_configure_args0;}
3130 { ac_configure_args1=; unset ac_configure_args1;}
3132 # When interrupted or exit'd, cleanup temporary files, and complete
3133 # config.log. We remove comments because anyway the quotes in there
3134 # would cause problems or look ugly.
3135 # WARNING: Use '\'' to represent an apostrophe within the trap.
3136 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3137 trap 'exit_status=$?
3138 # Save into config.log some information that might help in debugging.
3140 echo
3142 $as_echo "## ---------------- ##
3143 ## Cache variables. ##
3144 ## ---------------- ##"
3145 echo
3146 # The following way of writing the cache mishandles newlines in values,
3148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3149 eval ac_val=\$$ac_var
3150 case $ac_val in #(
3151 *${as_nl}*)
3152 case $ac_var in #(
3153 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3154 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3155 esac
3156 case $ac_var in #(
3157 _ | IFS | as_nl) ;; #(
3158 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3159 *) { eval $ac_var=; unset $ac_var;} ;;
3160 esac ;;
3161 esac
3162 done
3163 (set) 2>&1 |
3164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3165 *${as_nl}ac_space=\ *)
3166 sed -n \
3167 "s/'\''/'\''\\\\'\'''\''/g;
3168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3169 ;; #(
3171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3173 esac |
3174 sort
3176 echo
3178 $as_echo "## ----------------- ##
3179 ## Output variables. ##
3180 ## ----------------- ##"
3181 echo
3182 for ac_var in $ac_subst_vars
3184 eval ac_val=\$$ac_var
3185 case $ac_val in
3186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3187 esac
3188 $as_echo "$ac_var='\''$ac_val'\''"
3189 done | sort
3190 echo
3192 if test -n "$ac_subst_files"; then
3193 $as_echo "## ------------------- ##
3194 ## File substitutions. ##
3195 ## ------------------- ##"
3196 echo
3197 for ac_var in $ac_subst_files
3199 eval ac_val=\$$ac_var
3200 case $ac_val in
3201 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3202 esac
3203 $as_echo "$ac_var='\''$ac_val'\''"
3204 done | sort
3205 echo
3208 if test -s confdefs.h; then
3209 $as_echo "## ----------- ##
3210 ## confdefs.h. ##
3211 ## ----------- ##"
3212 echo
3213 cat confdefs.h
3214 echo
3216 test "$ac_signal" != 0 &&
3217 $as_echo "$as_me: caught signal $ac_signal"
3218 $as_echo "$as_me: exit $exit_status"
3219 } >&5
3220 rm -f core *.core core.conftest.* &&
3221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3222 exit $exit_status
3224 for ac_signal in 1 2 13 15; do
3225 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3226 done
3227 ac_signal=0
3229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3230 rm -f -r conftest* confdefs.h
3232 $as_echo "/* confdefs.h */" > confdefs.h
3234 # Predefined preprocessor variables.
3236 cat >>confdefs.h <<_ACEOF
3237 #define PACKAGE_NAME "$PACKAGE_NAME"
3238 _ACEOF
3240 cat >>confdefs.h <<_ACEOF
3241 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3242 _ACEOF
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_STRING "$PACKAGE_STRING"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_URL "$PACKAGE_URL"
3258 _ACEOF
3261 # Let the site file select an alternate cache file if it wants to.
3262 # Prefer an explicitly selected file to automatically selected ones.
3263 ac_site_file1=NONE
3264 ac_site_file2=NONE
3265 if test -n "$CONFIG_SITE"; then
3266 # We do not want a PATH search for config.site.
3267 case $CONFIG_SITE in #((
3268 -*) ac_site_file1=./$CONFIG_SITE;;
3269 */*) ac_site_file1=$CONFIG_SITE;;
3270 *) ac_site_file1=./$CONFIG_SITE;;
3271 esac
3272 elif test "x$prefix" != xNONE; then
3273 ac_site_file1=$prefix/share/config.site
3274 ac_site_file2=$prefix/etc/config.site
3275 else
3276 ac_site_file1=$ac_default_prefix/share/config.site
3277 ac_site_file2=$ac_default_prefix/etc/config.site
3279 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3281 test "x$ac_site_file" = xNONE && continue
3282 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3284 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3285 sed 's/^/| /' "$ac_site_file" >&5
3286 . "$ac_site_file" \
3287 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $? "failed to load site script $ac_site_file
3290 See \`config.log' for more details" "$LINENO" 5; }
3292 done
3294 if test -r "$cache_file"; then
3295 # Some versions of bash will fail to source /dev/null (special files
3296 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3297 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3299 $as_echo "$as_me: loading cache $cache_file" >&6;}
3300 case $cache_file in
3301 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3302 *) . "./$cache_file";;
3303 esac
3305 else
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3307 $as_echo "$as_me: creating cache $cache_file" >&6;}
3308 >$cache_file
3311 # Check that the precious variables saved in the cache have kept the same
3312 # value.
3313 ac_cache_corrupted=false
3314 for ac_var in $ac_precious_vars; do
3315 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3316 eval ac_new_set=\$ac_env_${ac_var}_set
3317 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3318 eval ac_new_val=\$ac_env_${ac_var}_value
3319 case $ac_old_set,$ac_new_set in
3320 set,)
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3322 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3323 ac_cache_corrupted=: ;;
3324 ,set)
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3326 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3327 ac_cache_corrupted=: ;;
3328 ,);;
3330 if test "x$ac_old_val" != "x$ac_new_val"; then
3331 # differences in whitespace do not lead to failure.
3332 ac_old_val_w=`echo x $ac_old_val`
3333 ac_new_val_w=`echo x $ac_new_val`
3334 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3336 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3337 ac_cache_corrupted=:
3338 else
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3340 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3341 eval $ac_var=\$ac_old_val
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3344 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3346 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3347 fi;;
3348 esac
3349 # Pass precious variables to config.status.
3350 if test "$ac_new_set" = set; then
3351 case $ac_new_val in
3352 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3353 *) ac_arg=$ac_var=$ac_new_val ;;
3354 esac
3355 case " $ac_configure_args " in
3356 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3357 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3358 esac
3360 done
3361 if $ac_cache_corrupted; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3365 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3366 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3368 ## -------------------- ##
3369 ## Main body of script. ##
3370 ## -------------------- ##
3372 ac_ext=c
3373 ac_cpp='$CPP $CPPFLAGS'
3374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 ac_config_headers="$ac_config_headers include/config.h"
3382 ac_aux_dir=
3383 for ac_dir in tools "$srcdir"/tools; do
3384 if test -f "$ac_dir/install-sh"; then
3385 ac_aux_dir=$ac_dir
3386 ac_install_sh="$ac_aux_dir/install-sh -c"
3387 break
3388 elif test -f "$ac_dir/install.sh"; then
3389 ac_aux_dir=$ac_dir
3390 ac_install_sh="$ac_aux_dir/install.sh -c"
3391 break
3392 elif test -f "$ac_dir/shtool"; then
3393 ac_aux_dir=$ac_dir
3394 ac_install_sh="$ac_aux_dir/shtool install -c"
3395 break
3397 done
3398 if test -z "$ac_aux_dir"; then
3399 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3402 # These three variables are undocumented and unsupported,
3403 # and are intended to be withdrawn in a future Autoconf release.
3404 # They can cause serious problems if a builder's source tree is in a directory
3405 # whose full name contains unusual characters.
3406 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3407 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3408 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3412 libwine_version="1.0"
3416 # Check whether --enable-win16 was given.
3417 if test "${enable_win16+set}" = set; then :
3418 enableval=$enable_win16;
3421 # Check whether --enable-win64 was given.
3422 if test "${enable_win64+set}" = set; then :
3423 enableval=$enable_win64;
3426 # Check whether --enable-tests was given.
3427 if test "${enable_tests+set}" = set; then :
3428 enableval=$enable_tests;
3431 # Check whether --enable-maintainer-mode was given.
3432 if test "${enable_maintainer_mode+set}" = set; then :
3433 enableval=$enable_maintainer_mode;
3438 # Check whether --with-alsa was given.
3439 if test "${with_alsa+set}" = set; then :
3440 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3444 # Check whether --with-capi was given.
3445 if test "${with_capi+set}" = set; then :
3446 withval=$with_capi;
3450 # Check whether --with-cms was given.
3451 if test "${with_cms+set}" = set; then :
3452 withval=$with_cms;
3456 # Check whether --with-coreaudio was given.
3457 if test "${with_coreaudio+set}" = set; then :
3458 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3462 # Check whether --with-cups was given.
3463 if test "${with_cups+set}" = set; then :
3464 withval=$with_cups;
3468 # Check whether --with-curses was given.
3469 if test "${with_curses+set}" = set; then :
3470 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3474 # Check whether --with-dbus was given.
3475 if test "${with_dbus+set}" = set; then :
3476 withval=$with_dbus;
3480 # Check whether --with-fontconfig was given.
3481 if test "${with_fontconfig+set}" = set; then :
3482 withval=$with_fontconfig;
3486 # Check whether --with-freetype was given.
3487 if test "${with_freetype+set}" = set; then :
3488 withval=$with_freetype;
3492 # Check whether --with-gettext was given.
3493 if test "${with_gettext+set}" = set; then :
3494 withval=$with_gettext;
3498 # Check whether --with-gettextpo was given.
3499 if test "${with_gettextpo+set}" = set; then :
3500 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3504 # Check whether --with-gphoto was given.
3505 if test "${with_gphoto+set}" = set; then :
3506 withval=$with_gphoto;
3510 # Check whether --with-glu was given.
3511 if test "${with_glu+set}" = set; then :
3512 withval=$with_glu;
3516 # Check whether --with-gnutls was given.
3517 if test "${with_gnutls+set}" = set; then :
3518 withval=$with_gnutls;
3522 # Check whether --with-gsm was given.
3523 if test "${with_gsm+set}" = set; then :
3524 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3528 # Check whether --with-gstreamer was given.
3529 if test "${with_gstreamer+set}" = set; then :
3530 withval=$with_gstreamer;
3534 # Check whether --with-hal was given.
3535 if test "${with_hal+set}" = set; then :
3536 withval=$with_hal;
3540 # Check whether --with-jpeg was given.
3541 if test "${with_jpeg+set}" = set; then :
3542 withval=$with_jpeg;
3546 # Check whether --with-ldap was given.
3547 if test "${with_ldap+set}" = set; then :
3548 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3552 # Check whether --with-mpg123 was given.
3553 if test "${with_mpg123+set}" = set; then :
3554 withval=$with_mpg123;
3558 # Check whether --with-netapi was given.
3559 if test "${with_netapi+set}" = set; then :
3560 withval=$with_netapi;
3564 # Check whether --with-openal was given.
3565 if test "${with_openal+set}" = set; then :
3566 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3570 # Check whether --with-opencl was given.
3571 if test "${with_opencl+set}" = set; then :
3572 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3576 # Check whether --with-opengl was given.
3577 if test "${with_opengl+set}" = set; then :
3578 withval=$with_opengl;
3582 # Check whether --with-osmesa was given.
3583 if test "${with_osmesa+set}" = set; then :
3584 withval=$with_osmesa;
3588 # Check whether --with-oss was given.
3589 if test "${with_oss+set}" = set; then :
3590 withval=$with_oss;
3594 # Check whether --with-pcap was given.
3595 if test "${with_pcap+set}" = set; then :
3596 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3600 # Check whether --with-png was given.
3601 if test "${with_png+set}" = set; then :
3602 withval=$with_png;
3606 # Check whether --with-pthread was given.
3607 if test "${with_pthread+set}" = set; then :
3608 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3612 # Check whether --with-pulse was given.
3613 if test "${with_pulse+set}" = set; then :
3614 withval=$with_pulse;
3618 # Check whether --with-sane was given.
3619 if test "${with_sane+set}" = set; then :
3620 withval=$with_sane;
3624 # Check whether --with-tiff was given.
3625 if test "${with_tiff+set}" = set; then :
3626 withval=$with_tiff;
3630 # Check whether --with-udev was given.
3631 if test "${with_udev+set}" = set; then :
3632 withval=$with_udev;
3636 # Check whether --with-v4l was given.
3637 if test "${with_v4l+set}" = set; then :
3638 withval=$with_v4l;
3642 # Check whether --with-xcomposite was given.
3643 if test "${with_xcomposite+set}" = set; then :
3644 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3648 # Check whether --with-xcursor was given.
3649 if test "${with_xcursor+set}" = set; then :
3650 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3654 # Check whether --with-xinerama was given.
3655 if test "${with_xinerama+set}" = set; then :
3656 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3660 # Check whether --with-xinput was given.
3661 if test "${with_xinput+set}" = set; then :
3662 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3666 # Check whether --with-xinput2 was given.
3667 if test "${with_xinput2+set}" = set; then :
3668 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3672 # Check whether --with-xml was given.
3673 if test "${with_xml+set}" = set; then :
3674 withval=$with_xml;
3678 # Check whether --with-xrandr was given.
3679 if test "${with_xrandr+set}" = set; then :
3680 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3684 # Check whether --with-xrender was given.
3685 if test "${with_xrender+set}" = set; then :
3686 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3690 # Check whether --with-xshape was given.
3691 if test "${with_xshape+set}" = set; then :
3692 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3696 # Check whether --with-xshm was given.
3697 if test "${with_xshm+set}" = set; then :
3698 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3702 # Check whether --with-xslt was given.
3703 if test "${with_xslt+set}" = set; then :
3704 withval=$with_xslt;
3708 # Check whether --with-xxf86vm was given.
3709 if test "${with_xxf86vm+set}" = set; then :
3710 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
3714 # Check whether --with-zlib was given.
3715 if test "${with_zlib+set}" = set; then :
3716 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3721 # Check whether --with-wine-tools was given.
3722 if test "${with_wine_tools+set}" = set; then :
3723 withval=$with_wine_tools;
3727 # Check whether --with-wine64 was given.
3728 if test "${with_wine64+set}" = set; then :
3729 withval=$with_wine64;
3733 # Make sure we can run config.sub.
3734 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3735 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3738 $as_echo_n "checking build system type... " >&6; }
3739 if ${ac_cv_build+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 ac_build_alias=$build_alias
3743 test "x$ac_build_alias" = x &&
3744 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3745 test "x$ac_build_alias" = x &&
3746 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3747 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3748 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3752 $as_echo "$ac_cv_build" >&6; }
3753 case $ac_cv_build in
3754 *-*-*) ;;
3755 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3756 esac
3757 build=$ac_cv_build
3758 ac_save_IFS=$IFS; IFS='-'
3759 set x $ac_cv_build
3760 shift
3761 build_cpu=$1
3762 build_vendor=$2
3763 shift; shift
3764 # Remember, the first character of IFS is used to create $*,
3765 # except with old shells:
3766 build_os=$*
3767 IFS=$ac_save_IFS
3768 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3772 $as_echo_n "checking host system type... " >&6; }
3773 if ${ac_cv_host+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test "x$host_alias" = x; then
3777 ac_cv_host=$ac_cv_build
3778 else
3779 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3780 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3785 $as_echo "$ac_cv_host" >&6; }
3786 case $ac_cv_host in
3787 *-*-*) ;;
3788 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3789 esac
3790 host=$ac_cv_host
3791 ac_save_IFS=$IFS; IFS='-'
3792 set x $ac_cv_host
3793 shift
3794 host_cpu=$1
3795 host_vendor=$2
3796 shift; shift
3797 # Remember, the first character of IFS is used to create $*,
3798 # except with old shells:
3799 host_os=$*
3800 IFS=$ac_save_IFS
3801 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3805 case "$srcdir" in
3806 .) ;;
3807 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3808 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3809 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3810 fi ;;
3811 esac
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3815 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3816 set x ${MAKE-make}
3817 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3818 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 cat >conftest.make <<\_ACEOF
3822 SHELL = /bin/sh
3823 all:
3824 @echo '@@@%%%=$(MAKE)=@@@%%%'
3825 _ACEOF
3826 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3827 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3828 *@@@%%%=?*=@@@%%%*)
3829 eval ac_cv_prog_make_${ac_make}_set=yes;;
3831 eval ac_cv_prog_make_${ac_make}_set=no;;
3832 esac
3833 rm -f conftest.make
3835 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3837 $as_echo "yes" >&6; }
3838 SET_MAKE=
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3842 SET_MAKE="MAKE=${MAKE-make}"
3845 ac_ext=c
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850 if test -n "$ac_tool_prefix"; then
3851 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3852 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_CC+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 if test -n "$CC"; then
3859 ac_cv_prog_CC="$CC" # Let the user override the test.
3860 else
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 break 2
3872 done
3873 done
3874 IFS=$as_save_IFS
3878 CC=$ac_cv_prog_CC
3879 if test -n "$CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3881 $as_echo "$CC" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3889 if test -z "$ac_cv_prog_CC"; then
3890 ac_ct_CC=$CC
3891 # Extract the first word of "gcc", so it can be a program name with args.
3892 set dummy gcc; ac_word=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3896 $as_echo_n "(cached) " >&6
3897 else
3898 if test -n "$ac_ct_CC"; then
3899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3900 else
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 for as_dir in $PATH
3904 IFS=$as_save_IFS
3905 test -z "$as_dir" && as_dir=.
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 ac_cv_prog_ac_ct_CC="gcc"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 break 2
3912 done
3913 done
3914 IFS=$as_save_IFS
3918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3919 if test -n "$ac_ct_CC"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3921 $as_echo "$ac_ct_CC" >&6; }
3922 else
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3927 if test "x$ac_ct_CC" = x; then
3928 CC=""
3929 else
3930 case $cross_compiling:$ac_tool_warned in
3931 yes:)
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3934 ac_tool_warned=yes ;;
3935 esac
3936 CC=$ac_ct_CC
3938 else
3939 CC="$ac_cv_prog_CC"
3942 if test -z "$CC"; then
3943 if test -n "$ac_tool_prefix"; then
3944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3945 set dummy ${ac_tool_prefix}cc; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 if test -n "$CC"; then
3952 ac_cv_prog_CC="$CC" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_CC="${ac_tool_prefix}cc"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 break 2
3965 done
3966 done
3967 IFS=$as_save_IFS
3971 CC=$ac_cv_prog_CC
3972 if test -n "$CC"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3974 $as_echo "$CC" >&6; }
3975 else
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3983 if test -z "$CC"; then
3984 # Extract the first word of "cc", so it can be a program name with args.
3985 set dummy cc; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_CC+:} false; then :
3989 $as_echo_n "(cached) " >&6
3990 else
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC="$CC" # Let the user override the test.
3993 else
3994 ac_prog_rejected=no
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4003 ac_prog_rejected=yes
4004 continue
4006 ac_cv_prog_CC="cc"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 break 2
4010 done
4011 done
4012 IFS=$as_save_IFS
4014 if test $ac_prog_rejected = yes; then
4015 # We found a bogon in the path, so make sure we never use it.
4016 set dummy $ac_cv_prog_CC
4017 shift
4018 if test $# != 0; then
4019 # We chose a different compiler from the bogus one.
4020 # However, it has the same basename, so the bogon will be chosen
4021 # first if we set CC to just the basename; use the full file name.
4022 shift
4023 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4028 CC=$ac_cv_prog_CC
4029 if test -n "$CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031 $as_echo "$CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4039 if test -z "$CC"; then
4040 if test -n "$ac_tool_prefix"; then
4041 for ac_prog in cl.exe
4043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4046 $as_echo_n "checking for $ac_word... " >&6; }
4047 if ${ac_cv_prog_CC+:} false; then :
4048 $as_echo_n "(cached) " >&6
4049 else
4050 if test -n "$CC"; then
4051 ac_cv_prog_CC="$CC" # Let the user override the test.
4052 else
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 for as_dir in $PATH
4056 IFS=$as_save_IFS
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 break 2
4064 done
4065 done
4066 IFS=$as_save_IFS
4070 CC=$ac_cv_prog_CC
4071 if test -n "$CC"; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4073 $as_echo "$CC" >&6; }
4074 else
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4076 $as_echo "no" >&6; }
4080 test -n "$CC" && break
4081 done
4083 if test -z "$CC"; then
4084 ac_ct_CC=$CC
4085 for ac_prog in cl.exe
4087 # Extract the first word of "$ac_prog", so it can be a program name with args.
4088 set dummy $ac_prog; ac_word=$2
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4090 $as_echo_n "checking for $ac_word... " >&6; }
4091 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 if test -n "$ac_ct_CC"; then
4095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4096 else
4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 for as_dir in $PATH
4100 IFS=$as_save_IFS
4101 test -z "$as_dir" && as_dir=.
4102 for ac_exec_ext in '' $ac_executable_extensions; do
4103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4104 ac_cv_prog_ac_ct_CC="$ac_prog"
4105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 break 2
4108 done
4109 done
4110 IFS=$as_save_IFS
4114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4115 if test -n "$ac_ct_CC"; then
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4117 $as_echo "$ac_ct_CC" >&6; }
4118 else
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4124 test -n "$ac_ct_CC" && break
4125 done
4127 if test "x$ac_ct_CC" = x; then
4128 CC=""
4129 else
4130 case $cross_compiling:$ac_tool_warned in
4131 yes:)
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4134 ac_tool_warned=yes ;;
4135 esac
4136 CC=$ac_ct_CC
4143 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error $? "no acceptable C compiler found in \$PATH
4146 See \`config.log' for more details" "$LINENO" 5; }
4148 # Provide some information about the compiler.
4149 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4150 set X $ac_compile
4151 ac_compiler=$2
4152 for ac_option in --version -v -V -qversion; do
4153 { { ac_try="$ac_compiler $ac_option >&5"
4154 case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4157 esac
4158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159 $as_echo "$ac_try_echo"; } >&5
4160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4161 ac_status=$?
4162 if test -s conftest.err; then
4163 sed '10a\
4164 ... rest of stderr output deleted ...
4165 10q' conftest.err >conftest.er1
4166 cat conftest.er1 >&5
4168 rm -f conftest.er1 conftest.err
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }
4171 done
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 ac_clean_files_save=$ac_clean_files
4185 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4186 # Try to create an executable without -o first, disregard a.out.
4187 # It will help us diagnose broken compilers, and finding out an intuition
4188 # of exeext.
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4190 $as_echo_n "checking whether the C compiler works... " >&6; }
4191 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4193 # The possible output files:
4194 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4196 ac_rmfiles=
4197 for ac_file in $ac_files
4199 case $ac_file in
4200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4201 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4202 esac
4203 done
4204 rm -f $ac_rmfiles
4206 if { { ac_try="$ac_link_default"
4207 case "(($ac_try" in
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4210 esac
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_link_default") 2>&5
4214 ac_status=$?
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }; then :
4217 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4218 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4219 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4220 # so that the user can short-circuit this test for compilers unknown to
4221 # Autoconf.
4222 for ac_file in $ac_files ''
4224 test -f "$ac_file" || continue
4225 case $ac_file in
4226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4228 [ab].out )
4229 # We found the default executable, but exeext='' is most
4230 # certainly right.
4231 break;;
4232 *.* )
4233 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4234 then :; else
4235 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4237 # We set ac_cv_exeext here because the later test for it is not
4238 # safe: cross compilers may not add the suffix if given an `-o'
4239 # argument, so we may need to know it at that point already.
4240 # Even if this section looks crufty: it has the advantage of
4241 # actually working.
4242 break;;
4244 break;;
4245 esac
4246 done
4247 test "$ac_cv_exeext" = no && ac_cv_exeext=
4249 else
4250 ac_file=''
4252 if test -z "$ac_file"; then :
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4255 $as_echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error 77 "C compiler cannot create executables
4261 See \`config.log' for more details" "$LINENO" 5; }
4262 else
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4264 $as_echo "yes" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4267 $as_echo_n "checking for C compiler default output file name... " >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4269 $as_echo "$ac_file" >&6; }
4270 ac_exeext=$ac_cv_exeext
4272 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4273 ac_clean_files=$ac_clean_files_save
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4275 $as_echo_n "checking for suffix of executables... " >&6; }
4276 if { { ac_try="$ac_link"
4277 case "(($ac_try" in
4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4280 esac
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_link") 2>&5
4284 ac_status=$?
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }; then :
4287 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4288 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4289 # work properly (i.e., refer to `conftest.exe'), while it won't with
4290 # `rm'.
4291 for ac_file in conftest.exe conftest conftest.*; do
4292 test -f "$ac_file" || continue
4293 case $ac_file in
4294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4296 break;;
4297 * ) break;;
4298 esac
4299 done
4300 else
4301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4303 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4304 See \`config.log' for more details" "$LINENO" 5; }
4306 rm -f conftest conftest$ac_cv_exeext
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4308 $as_echo "$ac_cv_exeext" >&6; }
4310 rm -f conftest.$ac_ext
4311 EXEEXT=$ac_cv_exeext
4312 ac_exeext=$EXEEXT
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315 #include <stdio.h>
4317 main ()
4319 FILE *f = fopen ("conftest.out", "w");
4320 return ferror (f) || fclose (f) != 0;
4323 return 0;
4325 _ACEOF
4326 ac_clean_files="$ac_clean_files conftest.out"
4327 # Check that the compiler produces executables we can run. If not, either
4328 # the compiler is broken, or we cross compile.
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4330 $as_echo_n "checking whether we are cross compiling... " >&6; }
4331 if test "$cross_compiling" != yes; then
4332 { { ac_try="$ac_link"
4333 case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_link") 2>&5
4340 ac_status=$?
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }
4343 if { ac_try='./conftest$ac_cv_exeext'
4344 { { case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347 esac
4348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4349 $as_echo "$ac_try_echo"; } >&5
4350 (eval "$ac_try") 2>&5
4351 ac_status=$?
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }; }; then
4354 cross_compiling=no
4355 else
4356 if test "$cross_compiling" = maybe; then
4357 cross_compiling=yes
4358 else
4359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4361 as_fn_error $? "cannot run C compiled programs.
4362 If you meant to cross compile, use \`--host'.
4363 See \`config.log' for more details" "$LINENO" 5; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4368 $as_echo "$cross_compiling" >&6; }
4370 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4371 ac_clean_files=$ac_clean_files_save
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4373 $as_echo_n "checking for suffix of object files... " >&6; }
4374 if ${ac_cv_objext+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4381 main ()
4385 return 0;
4387 _ACEOF
4388 rm -f conftest.o conftest.obj
4389 if { { ac_try="$ac_compile"
4390 case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4393 esac
4394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4395 $as_echo "$ac_try_echo"; } >&5
4396 (eval "$ac_compile") 2>&5
4397 ac_status=$?
4398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4399 test $ac_status = 0; }; then :
4400 for ac_file in conftest.o conftest.obj conftest.*; do
4401 test -f "$ac_file" || continue;
4402 case $ac_file in
4403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4404 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4405 break;;
4406 esac
4407 done
4408 else
4409 $as_echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot compute suffix of object files: cannot compile
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4420 $as_echo "$ac_cv_objext" >&6; }
4421 OBJEXT=$ac_cv_objext
4422 ac_objext=$OBJEXT
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4424 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4425 if ${ac_cv_c_compiler_gnu+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4434 #ifndef __GNUC__
4435 choke me
4436 #endif
4439 return 0;
4441 _ACEOF
4442 if ac_fn_c_try_compile "$LINENO"; then :
4443 ac_compiler_gnu=yes
4444 else
4445 ac_compiler_gnu=no
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4452 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4453 if test $ac_compiler_gnu = yes; then
4454 GCC=yes
4455 else
4456 GCC=
4458 ac_test_CFLAGS=${CFLAGS+set}
4459 ac_save_CFLAGS=$CFLAGS
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4461 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4462 if ${ac_cv_prog_cc_g+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 ac_save_c_werror_flag=$ac_c_werror_flag
4466 ac_c_werror_flag=yes
4467 ac_cv_prog_cc_g=no
4468 CFLAGS="-g"
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 ac_cv_prog_cc_g=yes
4482 else
4483 CFLAGS=""
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4497 else
4498 ac_c_werror_flag=$ac_save_c_werror_flag
4499 CFLAGS="-g"
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_c_try_compile "$LINENO"; then :
4512 ac_cv_prog_cc_g=yes
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_c_werror_flag=$ac_save_c_werror_flag
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4522 $as_echo "$ac_cv_prog_cc_g" >&6; }
4523 if test "$ac_test_CFLAGS" = set; then
4524 CFLAGS=$ac_save_CFLAGS
4525 elif test $ac_cv_prog_cc_g = yes; then
4526 if test "$GCC" = yes; then
4527 CFLAGS="-g -O2"
4528 else
4529 CFLAGS="-g"
4531 else
4532 if test "$GCC" = yes; then
4533 CFLAGS="-O2"
4534 else
4535 CFLAGS=
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4539 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4540 if ${ac_cv_prog_cc_c89+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_cv_prog_cc_c89=no
4544 ac_save_CC=$CC
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4547 #include <stdarg.h>
4548 #include <stdio.h>
4549 struct stat;
4550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4551 struct buf { int x; };
4552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4553 static char *e (p, i)
4554 char **p;
4555 int i;
4557 return p[i];
4559 static char *f (char * (*g) (char **, int), char **p, ...)
4561 char *s;
4562 va_list v;
4563 va_start (v,p);
4564 s = g (p, va_arg (v,int));
4565 va_end (v);
4566 return s;
4569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4570 function prototypes and stuff, but not '\xHH' hex character constants.
4571 These don't provoke an error unfortunately, instead are silently treated
4572 as 'x'. The following induces an error, until -std is added to get
4573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4574 array size at least. It's necessary to write '\x00'==0 to get something
4575 that's true only with -std. */
4576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4579 inside strings and character constants. */
4580 #define FOO(x) 'x'
4581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4583 int test (int i, double x);
4584 struct s1 {int (*f) (int a);};
4585 struct s2 {int (*f) (double a);};
4586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4587 int argc;
4588 char **argv;
4590 main ()
4592 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4594 return 0;
4596 _ACEOF
4597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4598 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4600 CC="$ac_save_CC $ac_arg"
4601 if ac_fn_c_try_compile "$LINENO"; then :
4602 ac_cv_prog_cc_c89=$ac_arg
4604 rm -f core conftest.err conftest.$ac_objext
4605 test "x$ac_cv_prog_cc_c89" != "xno" && break
4606 done
4607 rm -f conftest.$ac_ext
4608 CC=$ac_save_CC
4611 # AC_CACHE_VAL
4612 case "x$ac_cv_prog_cc_c89" in
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4615 $as_echo "none needed" >&6; } ;;
4616 xno)
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4618 $as_echo "unsupported" >&6; } ;;
4620 CC="$CC $ac_cv_prog_cc_c89"
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4623 esac
4624 if test "x$ac_cv_prog_cc_c89" != xno; then :
4628 ac_ext=c
4629 ac_cpp='$CPP $CPPFLAGS'
4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4634 ac_ext=cpp
4635 ac_cpp='$CXXCPP $CPPFLAGS'
4636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4639 if test -z "$CXX"; then
4640 if test -n "$CCC"; then
4641 CXX=$CCC
4642 else
4643 if test -n "$ac_tool_prefix"; then
4644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CXX+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$CXX"; then
4654 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 CXX=$ac_cv_prog_CXX
4674 if test -n "$CXX"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4676 $as_echo "$CXX" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$CXX" && break
4684 done
4686 if test -z "$CXX"; then
4687 ac_ct_CXX=$CXX
4688 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy $ac_prog; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 if test -n "$ac_ct_CXX"; then
4698 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4703 IFS=$as_save_IFS
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_ac_ct_CXX="$ac_prog"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 break 2
4711 done
4712 done
4713 IFS=$as_save_IFS
4717 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4718 if test -n "$ac_ct_CXX"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4720 $as_echo "$ac_ct_CXX" >&6; }
4721 else
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$ac_ct_CXX" && break
4728 done
4730 if test "x$ac_ct_CXX" = x; then
4731 CXX="g++"
4732 else
4733 case $cross_compiling:$ac_tool_warned in
4734 yes:)
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned=yes ;;
4738 esac
4739 CXX=$ac_ct_CXX
4745 # Provide some information about the compiler.
4746 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4747 set X $ac_compile
4748 ac_compiler=$2
4749 for ac_option in --version -v -V -qversion; do
4750 { { ac_try="$ac_compiler $ac_option >&5"
4751 case "(($ac_try" in
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;;
4754 esac
4755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4756 $as_echo "$ac_try_echo"; } >&5
4757 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4758 ac_status=$?
4759 if test -s conftest.err; then
4760 sed '10a\
4761 ... rest of stderr output deleted ...
4762 10q' conftest.err >conftest.er1
4763 cat conftest.er1 >&5
4765 rm -f conftest.er1 conftest.err
4766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4767 test $ac_status = 0; }
4768 done
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4771 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4772 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4779 main ()
4781 #ifndef __GNUC__
4782 choke me
4783 #endif
4786 return 0;
4788 _ACEOF
4789 if ac_fn_cxx_try_compile "$LINENO"; then :
4790 ac_compiler_gnu=yes
4791 else
4792 ac_compiler_gnu=no
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4799 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4800 if test $ac_compiler_gnu = yes; then
4801 GXX=yes
4802 else
4803 GXX=
4805 ac_test_CXXFLAGS=${CXXFLAGS+set}
4806 ac_save_CXXFLAGS=$CXXFLAGS
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4808 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4809 if ${ac_cv_prog_cxx_g+:} false; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4813 ac_cxx_werror_flag=yes
4814 ac_cv_prog_cxx_g=no
4815 CXXFLAGS="-g"
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4824 return 0;
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_cv_prog_cxx_g=yes
4829 else
4830 CXXFLAGS=""
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4835 main ()
4839 return 0;
4841 _ACEOF
4842 if ac_fn_cxx_try_compile "$LINENO"; then :
4844 else
4845 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4846 CXXFLAGS="-g"
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4851 main ()
4855 return 0;
4857 _ACEOF
4858 if ac_fn_cxx_try_compile "$LINENO"; then :
4859 ac_cv_prog_cxx_g=yes
4861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4869 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4870 if test "$ac_test_CXXFLAGS" = set; then
4871 CXXFLAGS=$ac_save_CXXFLAGS
4872 elif test $ac_cv_prog_cxx_g = yes; then
4873 if test "$GXX" = yes; then
4874 CXXFLAGS="-g -O2"
4875 else
4876 CXXFLAGS="-g"
4878 else
4879 if test "$GXX" = yes; then
4880 CXXFLAGS="-O2"
4881 else
4882 CXXFLAGS=
4885 ac_ext=c
4886 ac_cpp='$CPP $CPPFLAGS'
4887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4891 if test -n "$ac_tool_prefix"; then
4892 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4893 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_CPPBIN+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$CPPBIN"; then
4900 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 CPPBIN=$ac_cv_prog_CPPBIN
4920 if test -n "$CPPBIN"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4922 $as_echo "$CPPBIN" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4930 if test -z "$ac_cv_prog_CPPBIN"; then
4931 ac_ct_CPPBIN=$CPPBIN
4932 # Extract the first word of "cpp", so it can be a program name with args.
4933 set dummy cpp; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$ac_ct_CPPBIN"; then
4940 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_ac_ct_CPPBIN="cpp"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4960 if test -n "$ac_ct_CPPBIN"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4962 $as_echo "$ac_ct_CPPBIN" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4968 if test "x$ac_ct_CPPBIN" = x; then
4969 CPPBIN="cpp"
4970 else
4971 case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977 CPPBIN=$ac_ct_CPPBIN
4979 else
4980 CPPBIN="$ac_cv_prog_CPPBIN"
4984 cat >>confdefs.h <<_ACEOF
4985 #define EXEEXT "$ac_exeext"
4986 _ACEOF
4988 if test -n "$ac_tool_prefix"; then
4989 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4990 set dummy ${ac_tool_prefix}ld; ac_word=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_LD+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 if test -n "$LD"; then
4997 ac_cv_prog_LD="$LD" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5002 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_LD="${ac_tool_prefix}ld"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 LD=$ac_cv_prog_LD
5017 if test -n "$LD"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5019 $as_echo "$LD" >&6; }
5020 else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5027 if test -z "$ac_cv_prog_LD"; then
5028 ac_ct_LD=$LD
5029 # Extract the first word of "ld", so it can be a program name with args.
5030 set dummy ld; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$ac_ct_LD"; then
5037 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_ac_ct_LD="ld"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5057 if test -n "$ac_ct_LD"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5059 $as_echo "$ac_ct_LD" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5065 if test "x$ac_ct_LD" = x; then
5066 LD=""
5067 else
5068 case $cross_compiling:$ac_tool_warned in
5069 yes:)
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5073 esac
5074 LD=$ac_ct_LD
5076 else
5077 LD="$ac_cv_prog_LD"
5081 case $host in
5082 *-darwin*)
5083 with_fontconfig=${with_fontconfig:-no}
5085 *-mingw32*|*-cygwin*)
5086 enable_win16=${enable_win16:-no}
5087 CFLAGS="$CFLAGS -D_WIN32"
5089 esac
5091 case $host in
5092 x86_64*|amd64*)
5093 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5094 then
5095 CC="$CC -m32"
5096 CXX="$CXX -m32"
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5098 $as_echo_n "checking whether $CC works... " >&6; }
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5104 main ()
5108 return 0;
5110 _ACEOF
5111 if ac_fn_c_try_link "$LINENO"; then :
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5113 $as_echo "yes" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5117 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5119 rm -f core conftest.err conftest.$ac_objext \
5120 conftest$ac_exeext conftest.$ac_ext
5121 host_cpu="i386"
5122 notice_platform="32-bit "
5123 TARGETFLAGS="-m32"
5125 enable_win16=${enable_win16:-yes}
5126 else
5127 if test "x${GCC}" = "xyes"
5128 then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5130 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5133 #include <stdarg.h>
5135 main ()
5137 void func(__builtin_ms_va_list *args);
5139 return 0;
5141 _ACEOF
5142 if ac_fn_c_try_compile "$LINENO"; then :
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5144 $as_echo "yes" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5148 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 CC="$CC -m64"
5153 CXX="$CXX -m64"
5154 host_cpu="x86_64"
5155 notice_platform="64-bit "
5156 TARGETFLAGS="-m64"
5160 arm*)
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5162 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165 int ac_test(int i) { return i; }
5167 main ()
5169 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5171 return 0;
5173 _ACEOF
5174 if ac_fn_c_try_link "$LINENO"; then :
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176 $as_echo "yes" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5180 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5182 rm -f core conftest.err conftest.$ac_objext \
5183 conftest$ac_exeext conftest.$ac_ext
5184 CFLAGS="$CFLAGS -marm"
5185 TARGETFLAGS="-marm"
5188 i[3456789]86*)
5189 enable_win16=${enable_win16:-yes}
5191 esac
5193 enable_win16=${enable_win16:-no}
5194 enable_win64=${enable_win64:-no}
5196 enable_winetest=${enable_winetest:-$enable_tests}
5198 if test -n "$with_wine64"
5199 then
5200 if test "x$enable_win64" = "xyes"
5201 then
5202 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5203 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5205 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5206 You should create a separate build directory and run configure from there." "$LINENO" 5
5207 enable_fonts=${enable_fonts:-no}
5208 enable_server=${enable_server:-no}
5209 elif test "x$enable_win64" = "xyes"
5210 then
5211 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5215 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5216 if ${wine_cv_toolsdir+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 wine_cv_toolsdir="$with_wine_tools"
5220 if test -z "$with_wine_tools"; then
5221 if test "$cross_compiling" = "yes"; then
5222 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5223 elif test -n "$with_wine64"; then
5224 wine_cv_toolsdir="$with_wine64"
5227 if test -z "$wine_cv_toolsdir"; then
5228 wine_makedep=tools/makedep
5229 wine_cv_toolsdir="\$(top_builddir)"
5230 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5231 wine_makedep=$wine_cv_toolsdir/tools/makedep
5232 case "$wine_cv_toolsdir" in
5233 /*) ;;
5234 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5235 esac
5236 enable_tools=${enable_tools:-no}
5237 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5238 else
5239 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5243 $as_echo "$wine_cv_toolsdir" >&6; }
5244 TOOLSDIR=$wine_cv_toolsdir
5246 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5247 then
5248 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5252 for ac_prog in flex
5254 # Extract the first word of "$ac_prog", so it can be a program name with args.
5255 set dummy $ac_prog; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_FLEX+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$FLEX"; then
5262 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_FLEX="$ac_prog"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 FLEX=$ac_cv_prog_FLEX
5282 if test -n "$FLEX"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5284 $as_echo "$FLEX" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 test -n "$FLEX" && break
5292 done
5293 test -n "$FLEX" || FLEX="none"
5295 if test "$FLEX" = "none"
5296 then
5297 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5300 $as_echo_n "checking whether flex is recent enough... " >&6; }
5301 cat >conftest.l <<EOF
5302 %top{
5303 #include "prediluvian.h"
5307 if $FLEX -t conftest.l >/dev/null 2>&5
5308 then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5310 $as_echo "yes" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5314 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5317 for ac_prog in bison
5319 # Extract the first word of "$ac_prog", so it can be a program name with args.
5320 set dummy $ac_prog; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_BISON+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if test -n "$BISON"; then
5327 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_BISON="$ac_prog"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5342 IFS=$as_save_IFS
5346 BISON=$ac_cv_prog_BISON
5347 if test -n "$BISON"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5349 $as_echo "$BISON" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5356 test -n "$BISON" && break
5357 done
5358 test -n "$BISON" || BISON="none"
5360 if test "$BISON" = "none"
5361 then
5362 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5365 if test -n "$ac_tool_prefix"; then
5366 for ac_prog in ar gar
5368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_AR+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 if test -n "$AR"; then
5376 ac_cv_prog_AR="$AR" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 break 2
5389 done
5390 done
5391 IFS=$as_save_IFS
5395 AR=$ac_cv_prog_AR
5396 if test -n "$AR"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5398 $as_echo "$AR" >&6; }
5399 else
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5405 test -n "$AR" && break
5406 done
5408 if test -z "$AR"; then
5409 ac_ct_AR=$AR
5410 for ac_prog in ar gar
5412 # Extract the first word of "$ac_prog", so it can be a program name with args.
5413 set dummy $ac_prog; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if test -n "$ac_ct_AR"; then
5420 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_AR="$ac_prog"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5440 if test -n "$ac_ct_AR"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5442 $as_echo "$ac_ct_AR" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5449 test -n "$ac_ct_AR" && break
5450 done
5452 if test "x$ac_ct_AR" = x; then
5453 AR="ar"
5454 else
5455 case $cross_compiling:$ac_tool_warned in
5456 yes:)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461 AR=$ac_ct_AR
5465 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5467 set dummy ${ac_tool_prefix}strip; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_STRIP+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$STRIP"; then
5474 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 STRIP=$ac_cv_prog_STRIP
5494 if test -n "$STRIP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5496 $as_echo "$STRIP" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5504 if test -z "$ac_cv_prog_STRIP"; then
5505 ac_ct_STRIP=$STRIP
5506 # Extract the first word of "strip", so it can be a program name with args.
5507 set dummy strip; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 if test -n "$ac_ct_STRIP"; then
5514 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_ac_ct_STRIP="strip"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5534 if test -n "$ac_ct_STRIP"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5536 $as_echo "$ac_ct_STRIP" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5542 if test "x$ac_ct_STRIP" = x; then
5543 STRIP="strip"
5544 else
5545 case $cross_compiling:$ac_tool_warned in
5546 yes:)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549 ac_tool_warned=yes ;;
5550 esac
5551 STRIP=$ac_ct_STRIP
5553 else
5554 STRIP="$ac_cv_prog_STRIP"
5557 ARFLAGS=rc
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_RANLIB+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$RANLIB"; then
5568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 RANLIB=$ac_cv_prog_RANLIB
5588 if test -n "$RANLIB"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5590 $as_echo "$RANLIB" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 if test -z "$ac_cv_prog_RANLIB"; then
5599 ac_ct_RANLIB=$RANLIB
5600 # Extract the first word of "ranlib", so it can be a program name with args.
5601 set dummy ranlib; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$ac_ct_RANLIB"; then
5608 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_ac_ct_RANLIB="ranlib"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5628 if test -n "$ac_ct_RANLIB"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5630 $as_echo "$ac_ct_RANLIB" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5636 if test "x$ac_ct_RANLIB" = x; then
5637 RANLIB=":"
5638 else
5639 case $cross_compiling:$ac_tool_warned in
5640 yes:)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5644 esac
5645 RANLIB=$ac_ct_RANLIB
5647 else
5648 RANLIB="$ac_cv_prog_RANLIB"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5652 $as_echo_n "checking whether ln -s works... " >&6; }
5653 LN_S=$as_ln_s
5654 if test "$LN_S" = "ln -s"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5656 $as_echo "yes" >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5659 $as_echo "no, using $LN_S" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5663 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5664 if ${ac_cv_path_GREP+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 if test -z "$GREP"; then
5668 ac_path_GREP_found=false
5669 # Loop through the user's path and test for each of PROGNAME-LIST
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_prog in grep ggrep; do
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5678 as_fn_executable_p "$ac_path_GREP" || continue
5679 # Check for GNU ac_path_GREP and select it if it is found.
5680 # Check for GNU $ac_path_GREP
5681 case `"$ac_path_GREP" --version 2>&1` in
5682 *GNU*)
5683 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5685 ac_count=0
5686 $as_echo_n 0123456789 >"conftest.in"
5687 while :
5689 cat "conftest.in" "conftest.in" >"conftest.tmp"
5690 mv "conftest.tmp" "conftest.in"
5691 cp "conftest.in" "conftest.nl"
5692 $as_echo 'GREP' >> "conftest.nl"
5693 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5694 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5695 as_fn_arith $ac_count + 1 && ac_count=$as_val
5696 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5697 # Best one so far, save it but keep looking for a better one
5698 ac_cv_path_GREP="$ac_path_GREP"
5699 ac_path_GREP_max=$ac_count
5701 # 10*(2^10) chars as input seems more than enough
5702 test $ac_count -gt 10 && break
5703 done
5704 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5705 esac
5707 $ac_path_GREP_found && break 3
5708 done
5709 done
5710 done
5711 IFS=$as_save_IFS
5712 if test -z "$ac_cv_path_GREP"; then
5713 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5715 else
5716 ac_cv_path_GREP=$GREP
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5721 $as_echo "$ac_cv_path_GREP" >&6; }
5722 GREP="$ac_cv_path_GREP"
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5726 $as_echo_n "checking for egrep... " >&6; }
5727 if ${ac_cv_path_EGREP+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5731 then ac_cv_path_EGREP="$GREP -E"
5732 else
5733 if test -z "$EGREP"; then
5734 ac_path_EGREP_found=false
5735 # Loop through the user's path and test for each of PROGNAME-LIST
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_prog in egrep; do
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5744 as_fn_executable_p "$ac_path_EGREP" || continue
5745 # Check for GNU ac_path_EGREP and select it if it is found.
5746 # Check for GNU $ac_path_EGREP
5747 case `"$ac_path_EGREP" --version 2>&1` in
5748 *GNU*)
5749 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5751 ac_count=0
5752 $as_echo_n 0123456789 >"conftest.in"
5753 while :
5755 cat "conftest.in" "conftest.in" >"conftest.tmp"
5756 mv "conftest.tmp" "conftest.in"
5757 cp "conftest.in" "conftest.nl"
5758 $as_echo 'EGREP' >> "conftest.nl"
5759 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5761 as_fn_arith $ac_count + 1 && ac_count=$as_val
5762 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5763 # Best one so far, save it but keep looking for a better one
5764 ac_cv_path_EGREP="$ac_path_EGREP"
5765 ac_path_EGREP_max=$ac_count
5767 # 10*(2^10) chars as input seems more than enough
5768 test $ac_count -gt 10 && break
5769 done
5770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5771 esac
5773 $ac_path_EGREP_found && break 3
5774 done
5775 done
5776 done
5777 IFS=$as_save_IFS
5778 if test -z "$ac_cv_path_EGREP"; then
5779 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5781 else
5782 ac_cv_path_EGREP=$EGREP
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5788 $as_echo "$ac_cv_path_EGREP" >&6; }
5789 EGREP="$ac_cv_path_EGREP"
5792 # Extract the first word of "ldconfig", so it can be a program name with args.
5793 set dummy ldconfig; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_path_LDCONFIG+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 case $LDCONFIG in
5800 [\\/]* | ?:[\\/]*)
5801 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in /sbin /usr/sbin $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5819 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5821 esac
5823 LDCONFIG=$ac_cv_path_LDCONFIG
5824 if test -n "$LDCONFIG"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5826 $as_echo "$LDCONFIG" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 for ac_prog in msgfmt
5835 # Extract the first word of "$ac_prog", so it can be a program name with args.
5836 set dummy $ac_prog; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_MSGFMT+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 if test -n "$MSGFMT"; then
5843 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_MSGFMT="$ac_prog"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5858 IFS=$as_save_IFS
5862 MSGFMT=$ac_cv_prog_MSGFMT
5863 if test -n "$MSGFMT"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5865 $as_echo "$MSGFMT" >&6; }
5866 else
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5872 test -n "$MSGFMT" && break
5873 done
5874 test -n "$MSGFMT" || MSGFMT="false"
5876 if ${ac_tool_prefix+:} false; then :
5877 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5878 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 if test -n "$PKG_CONFIG"; then
5885 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5886 else
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 break 2
5898 done
5899 done
5900 IFS=$as_save_IFS
5904 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5905 if test -n "$PKG_CONFIG"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5907 $as_echo "$PKG_CONFIG" >&6; }
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5915 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5916 if test "x$cross_compiling" = xyes; then :
5918 else
5919 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5920 # Extract the first word of "pkg-config", so it can be a program name with args.
5921 set dummy pkg-config; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 if test -n "$PKG_CONFIG"; then
5928 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_PKG_CONFIG="pkg-config"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 IFS=$as_save_IFS
5947 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5948 if test -n "$PKG_CONFIG"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5950 $as_echo "$PKG_CONFIG" >&6; }
5951 else
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 else
5959 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5962 if test "x$enable_maintainer_mode" != "xyes"
5963 then
5964 FONTFORGE=""
5965 RSVG=""
5966 CONVERT=""
5967 ICOTOOL=""
5968 else
5969 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5970 for ac_prog in fontforge
5972 # Extract the first word of "$ac_prog", so it can be a program name with args.
5973 set dummy $ac_prog; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_FONTFORGE+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 if test -n "$FONTFORGE"; then
5980 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_FONTFORGE="$ac_prog"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5995 IFS=$as_save_IFS
5999 FONTFORGE=$ac_cv_prog_FONTFORGE
6000 if test -n "$FONTFORGE"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6002 $as_echo "$FONTFORGE" >&6; }
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6009 test -n "$FONTFORGE" && break
6010 done
6011 test -n "$FONTFORGE" || FONTFORGE="false"
6013 for ac_prog in rsvg-convert rsvg
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy $ac_prog; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_RSVG+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$RSVG"; then
6023 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_RSVG="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 RSVG=$ac_cv_prog_RSVG
6043 if test -n "$RSVG"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6045 $as_echo "$RSVG" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$RSVG" && break
6053 done
6054 test -n "$RSVG" || RSVG="false"
6056 for ac_prog in convert
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy $ac_prog; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_CONVERT+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$CONVERT"; then
6066 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_CONVERT="$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 CONVERT=$ac_cv_prog_CONVERT
6086 if test -n "$CONVERT"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6088 $as_echo "$CONVERT" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$CONVERT" && break
6096 done
6097 test -n "$CONVERT" || CONVERT="false"
6099 for ac_prog in icotool
6101 # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 set dummy $ac_prog; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_ICOTOOL+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$ICOTOOL"; then
6109 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_ICOTOOL="$ac_prog"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 ICOTOOL=$ac_cv_prog_ICOTOOL
6129 if test -n "$ICOTOOL"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6131 $as_echo "$ICOTOOL" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$ICOTOOL" && break
6139 done
6140 test -n "$ICOTOOL" || ICOTOOL="false"
6142 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6143 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6145 if test "$CONVERT" = false
6146 then
6147 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6150 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6151 convert_version=`convert --version | head -n1`
6152 if test "x$convert_version" != "x"
6153 then
6154 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6155 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6156 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6157 then
6158 CONVERT=false
6161 if test "$CONVERT" = false
6162 then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6164 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6165 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6168 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6172 if test "$ICOTOOL" = false
6173 then
6174 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6177 $as_echo_n "checking for recent enough icotool... " >&6; }
6178 icotool_version=`icotool --version | head -n1`
6179 if test "x$icotool_version" != "x"
6180 then
6181 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6182 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6183 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6184 then
6185 ICOTOOL=false
6186 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6189 if test "$ICOTOOL" = false
6190 then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6192 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6193 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6196 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6200 with_gettext=yes
6201 with_gettextpo=yes
6202 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6205 test "x$with_gettext" != xno || MSGFMT=false
6206 if test "$MSGFMT" != "false"
6207 then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6209 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6210 cat >conftest.po <<EOF
6211 # comment
6212 msgctxt "ctxt"
6213 msgid "id"
6214 msgstr "str"
6216 if $MSGFMT -o /dev/null conftest.po 2>&5
6217 then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6219 $as_echo "yes" >&6; }
6220 else
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6223 MSGFMT=false
6226 if test "$MSGFMT" = false; then :
6227 case "x$with_gettext" in
6228 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6229 xno) ;;
6230 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6231 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6232 esac
6233 enable_po=${enable_po:-no}
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6238 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6239 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 ac_check_lib_save_LIBS=$LIBS
6243 LIBS="-li386 $LIBS"
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6247 /* Override any GCC internal prototype to avoid an error.
6248 Use char because int might match the return type of a GCC
6249 builtin and then its argument prototype would still apply. */
6250 #ifdef __cplusplus
6251 extern "C"
6252 #endif
6253 char i386_set_ldt ();
6255 main ()
6257 return i386_set_ldt ();
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_link "$LINENO"; then :
6263 ac_cv_lib_i386_i386_set_ldt=yes
6264 else
6265 ac_cv_lib_i386_i386_set_ldt=no
6267 rm -f core conftest.err conftest.$ac_objext \
6268 conftest$ac_exeext conftest.$ac_ext
6269 LIBS=$ac_check_lib_save_LIBS
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6272 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6273 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6274 cat >>confdefs.h <<_ACEOF
6275 #define HAVE_LIBI386 1
6276 _ACEOF
6278 LIBS="-li386 $LIBS"
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6283 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6284 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 ac_check_lib_save_LIBS=$LIBS
6288 LIBS="-lossaudio $LIBS"
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6292 /* Override any GCC internal prototype to avoid an error.
6293 Use char because int might match the return type of a GCC
6294 builtin and then its argument prototype would still apply. */
6295 #ifdef __cplusplus
6296 extern "C"
6297 #endif
6298 char _oss_ioctl ();
6300 main ()
6302 return _oss_ioctl ();
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_link "$LINENO"; then :
6308 ac_cv_lib_ossaudio__oss_ioctl=yes
6309 else
6310 ac_cv_lib_ossaudio__oss_ioctl=no
6312 rm -f core conftest.err conftest.$ac_objext \
6313 conftest$ac_exeext conftest.$ac_ext
6314 LIBS=$ac_check_lib_save_LIBS
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6317 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6318 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6319 cat >>confdefs.h <<_ACEOF
6320 #define HAVE_LIBOSSAUDIO 1
6321 _ACEOF
6323 LIBS="-lossaudio $LIBS"
6328 OPENGL_LIBS=""
6332 # Check whether --enable-largefile was given.
6333 if test "${enable_largefile+set}" = set; then :
6334 enableval=$enable_largefile;
6337 if test "$enable_largefile" != no; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6340 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6341 if ${ac_cv_sys_largefile_CC+:} false; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6344 ac_cv_sys_largefile_CC=no
6345 if test "$GCC" != yes; then
6346 ac_save_CC=$CC
6347 while :; do
6348 # IRIX 6.2 and later do not support large files by default,
6349 # so use the C compiler's -n32 option if that helps.
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <sys/types.h>
6353 /* Check that off_t can represent 2**63 - 1 correctly.
6354 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6355 since some C++ compilers masquerading as C compilers
6356 incorrectly reject 9223372036854775807. */
6357 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6358 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6359 && LARGE_OFF_T % 2147483647 == 1)
6360 ? 1 : -1];
6362 main ()
6366 return 0;
6368 _ACEOF
6369 if ac_fn_c_try_compile "$LINENO"; then :
6370 break
6372 rm -f core conftest.err conftest.$ac_objext
6373 CC="$CC -n32"
6374 if ac_fn_c_try_compile "$LINENO"; then :
6375 ac_cv_sys_largefile_CC=' -n32'; break
6377 rm -f core conftest.err conftest.$ac_objext
6378 break
6379 done
6380 CC=$ac_save_CC
6381 rm -f conftest.$ac_ext
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6385 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6386 if test "$ac_cv_sys_largefile_CC" != no; then
6387 CC=$CC$ac_cv_sys_largefile_CC
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6391 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6392 if ${ac_cv_sys_file_offset_bits+:} false; then :
6393 $as_echo_n "(cached) " >&6
6394 else
6395 while :; do
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #include <sys/types.h>
6399 /* Check that off_t can represent 2**63 - 1 correctly.
6400 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6401 since some C++ compilers masquerading as C compilers
6402 incorrectly reject 9223372036854775807. */
6403 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6404 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6405 && LARGE_OFF_T % 2147483647 == 1)
6406 ? 1 : -1];
6408 main ()
6412 return 0;
6414 _ACEOF
6415 if ac_fn_c_try_compile "$LINENO"; then :
6416 ac_cv_sys_file_offset_bits=no; break
6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6420 /* end confdefs.h. */
6421 #define _FILE_OFFSET_BITS 64
6422 #include <sys/types.h>
6423 /* Check that off_t can represent 2**63 - 1 correctly.
6424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6425 since some C++ compilers masquerading as C compilers
6426 incorrectly reject 9223372036854775807. */
6427 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6429 && LARGE_OFF_T % 2147483647 == 1)
6430 ? 1 : -1];
6432 main ()
6436 return 0;
6438 _ACEOF
6439 if ac_fn_c_try_compile "$LINENO"; then :
6440 ac_cv_sys_file_offset_bits=64; break
6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6443 ac_cv_sys_file_offset_bits=unknown
6444 break
6445 done
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6448 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6449 case $ac_cv_sys_file_offset_bits in #(
6450 no | unknown) ;;
6452 cat >>confdefs.h <<_ACEOF
6453 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6454 _ACEOF
6456 esac
6457 rm -rf conftest*
6458 if test $ac_cv_sys_file_offset_bits = unknown; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6460 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6461 if ${ac_cv_sys_large_files+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 while :; do
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <sys/types.h>
6468 /* Check that off_t can represent 2**63 - 1 correctly.
6469 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6470 since some C++ compilers masquerading as C compilers
6471 incorrectly reject 9223372036854775807. */
6472 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6473 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6474 && LARGE_OFF_T % 2147483647 == 1)
6475 ? 1 : -1];
6477 main ()
6481 return 0;
6483 _ACEOF
6484 if ac_fn_c_try_compile "$LINENO"; then :
6485 ac_cv_sys_large_files=no; break
6487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #define _LARGE_FILES 1
6491 #include <sys/types.h>
6492 /* Check that off_t can represent 2**63 - 1 correctly.
6493 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6494 since some C++ compilers masquerading as C compilers
6495 incorrectly reject 9223372036854775807. */
6496 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6497 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6498 && LARGE_OFF_T % 2147483647 == 1)
6499 ? 1 : -1];
6501 main ()
6505 return 0;
6507 _ACEOF
6508 if ac_fn_c_try_compile "$LINENO"; then :
6509 ac_cv_sys_large_files=1; break
6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6512 ac_cv_sys_large_files=unknown
6513 break
6514 done
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6517 $as_echo "$ac_cv_sys_large_files" >&6; }
6518 case $ac_cv_sys_large_files in #(
6519 no | unknown) ;;
6521 cat >>confdefs.h <<_ACEOF
6522 #define _LARGE_FILES $ac_cv_sys_large_files
6523 _ACEOF
6525 esac
6526 rm -rf conftest*
6533 ac_ext=c
6534 ac_cpp='$CPP $CPPFLAGS'
6535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6539 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6540 # On Suns, sometimes $CPP names a directory.
6541 if test -n "$CPP" && test -d "$CPP"; then
6542 CPP=
6544 if test -z "$CPP"; then
6545 if ${ac_cv_prog_CPP+:} false; then :
6546 $as_echo_n "(cached) " >&6
6547 else
6548 # Double quotes because CPP needs to be expanded
6549 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6551 ac_preproc_ok=false
6552 for ac_c_preproc_warn_flag in '' yes
6554 # Use a header file that comes with gcc, so configuring glibc
6555 # with a fresh cross-compiler works.
6556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6557 # <limits.h> exists even on freestanding compilers.
6558 # On the NeXT, cc -E runs the code through the compiler's parser,
6559 # not just through cpp. "Syntax error" is here to catch this case.
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6562 #ifdef __STDC__
6563 # include <limits.h>
6564 #else
6565 # include <assert.h>
6566 #endif
6567 Syntax error
6568 _ACEOF
6569 if ac_fn_c_try_cpp "$LINENO"; then :
6571 else
6572 # Broken: fails on valid input.
6573 continue
6575 rm -f conftest.err conftest.i conftest.$ac_ext
6577 # OK, works on sane cases. Now check whether nonexistent headers
6578 # can be detected and how.
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6581 #include <ac_nonexistent.h>
6582 _ACEOF
6583 if ac_fn_c_try_cpp "$LINENO"; then :
6584 # Broken: success on invalid input.
6585 continue
6586 else
6587 # Passes both tests.
6588 ac_preproc_ok=:
6589 break
6591 rm -f conftest.err conftest.i conftest.$ac_ext
6593 done
6594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6595 rm -f conftest.i conftest.err conftest.$ac_ext
6596 if $ac_preproc_ok; then :
6597 break
6600 done
6601 ac_cv_prog_CPP=$CPP
6604 CPP=$ac_cv_prog_CPP
6605 else
6606 ac_cv_prog_CPP=$CPP
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6609 $as_echo "$CPP" >&6; }
6610 ac_preproc_ok=false
6611 for ac_c_preproc_warn_flag in '' yes
6613 # Use a header file that comes with gcc, so configuring glibc
6614 # with a fresh cross-compiler works.
6615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6616 # <limits.h> exists even on freestanding compilers.
6617 # On the NeXT, cc -E runs the code through the compiler's parser,
6618 # not just through cpp. "Syntax error" is here to catch this case.
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621 #ifdef __STDC__
6622 # include <limits.h>
6623 #else
6624 # include <assert.h>
6625 #endif
6626 Syntax error
6627 _ACEOF
6628 if ac_fn_c_try_cpp "$LINENO"; then :
6630 else
6631 # Broken: fails on valid input.
6632 continue
6634 rm -f conftest.err conftest.i conftest.$ac_ext
6636 # OK, works on sane cases. Now check whether nonexistent headers
6637 # can be detected and how.
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6640 #include <ac_nonexistent.h>
6641 _ACEOF
6642 if ac_fn_c_try_cpp "$LINENO"; then :
6643 # Broken: success on invalid input.
6644 continue
6645 else
6646 # Passes both tests.
6647 ac_preproc_ok=:
6648 break
6650 rm -f conftest.err conftest.i conftest.$ac_ext
6652 done
6653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6654 rm -f conftest.i conftest.err conftest.$ac_ext
6655 if $ac_preproc_ok; then :
6657 else
6658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6660 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6661 See \`config.log' for more details" "$LINENO" 5; }
6664 ac_ext=c
6665 ac_cpp='$CPP $CPPFLAGS'
6666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6672 $as_echo_n "checking for ANSI C header files... " >&6; }
6673 if ${ac_cv_header_stdc+:} false; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6678 #include <stdlib.h>
6679 #include <stdarg.h>
6680 #include <string.h>
6681 #include <float.h>
6684 main ()
6688 return 0;
6690 _ACEOF
6691 if ac_fn_c_try_compile "$LINENO"; then :
6692 ac_cv_header_stdc=yes
6693 else
6694 ac_cv_header_stdc=no
6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6698 if test $ac_cv_header_stdc = yes; then
6699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702 #include <string.h>
6704 _ACEOF
6705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6706 $EGREP "memchr" >/dev/null 2>&1; then :
6708 else
6709 ac_cv_header_stdc=no
6711 rm -f conftest*
6715 if test $ac_cv_header_stdc = yes; then
6716 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <stdlib.h>
6721 _ACEOF
6722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6723 $EGREP "free" >/dev/null 2>&1; then :
6725 else
6726 ac_cv_header_stdc=no
6728 rm -f conftest*
6732 if test $ac_cv_header_stdc = yes; then
6733 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6734 if test "$cross_compiling" = yes; then :
6736 else
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 #include <ctype.h>
6740 #include <stdlib.h>
6741 #if ((' ' & 0x0FF) == 0x020)
6742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6744 #else
6745 # define ISLOWER(c) \
6746 (('a' <= (c) && (c) <= 'i') \
6747 || ('j' <= (c) && (c) <= 'r') \
6748 || ('s' <= (c) && (c) <= 'z'))
6749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6750 #endif
6752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6754 main ()
6756 int i;
6757 for (i = 0; i < 256; i++)
6758 if (XOR (islower (i), ISLOWER (i))
6759 || toupper (i) != TOUPPER (i))
6760 return 2;
6761 return 0;
6763 _ACEOF
6764 if ac_fn_c_try_run "$LINENO"; then :
6766 else
6767 ac_cv_header_stdc=no
6769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6770 conftest.$ac_objext conftest.beam conftest.$ac_ext
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6776 $as_echo "$ac_cv_header_stdc" >&6; }
6777 if test $ac_cv_header_stdc = yes; then
6779 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6784 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6785 inttypes.h stdint.h unistd.h
6786 do :
6787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6793 _ACEOF
6797 done
6800 for ac_header in \
6801 AL/al.h \
6802 ApplicationServices/ApplicationServices.h \
6803 AudioToolbox/AudioConverter.h \
6804 AudioUnit/AudioUnit.h \
6805 AudioUnit/AudioComponent.h \
6806 CL/cl.h \
6807 Carbon/Carbon.h \
6808 CommonCrypto/CommonDigest.h \
6809 CoreAudio/CoreAudio.h \
6810 CoreServices/CoreServices.h \
6811 DiskArbitration/DiskArbitration.h \
6812 IOKit/IOKitLib.h \
6813 IOKit/hid/IOHIDLib.h \
6814 OpenAL/al.h \
6815 OpenCL/opencl.h \
6816 QuickTime/ImageCompression.h \
6817 Security/Security.h \
6818 alias.h \
6819 alsa/asoundlib.h \
6820 arpa/inet.h \
6821 arpa/nameser.h \
6822 asm/types.h \
6823 asm/user.h \
6824 curses.h \
6825 direct.h \
6826 dirent.h \
6827 dlfcn.h \
6828 elf.h \
6829 float.h \
6830 fnmatch.h \
6831 getopt.h \
6832 gettext-po.h \
6833 grp.h \
6834 gsm.h \
6835 gsm/gsm.h \
6836 ieeefp.h \
6837 inet/mib2.h \
6838 io.h \
6839 kstat.h \
6840 lber.h \
6841 ldap.h \
6842 libproc.h \
6843 link.h \
6844 linux/cdrom.h \
6845 linux/compiler.h \
6846 linux/filter.h \
6847 linux/hdreg.h \
6848 linux/hidraw.h \
6849 linux/input.h \
6850 linux/ioctl.h \
6851 linux/joystick.h \
6852 linux/major.h \
6853 linux/param.h \
6854 linux/serial.h \
6855 linux/types.h \
6856 linux/ucdrom.h \
6857 lwp.h \
6858 mach-o/nlist.h \
6859 mach-o/loader.h \
6860 mach/mach.h \
6861 mach/machine.h \
6862 machine/cpu.h \
6863 machine/limits.h \
6864 machine/sysarch.h \
6865 mntent.h \
6866 ncurses.h \
6867 netdb.h \
6868 netinet/in.h \
6869 netinet/in_systm.h \
6870 netinet/tcp.h \
6871 netinet/tcp_fsm.h \
6872 pcap/pcap.h \
6873 poll.h \
6874 port.h \
6875 process.h \
6876 pthread.h \
6877 pwd.h \
6878 sched.h \
6879 scsi/scsi.h \
6880 scsi/scsi_ioctl.h \
6881 scsi/sg.h \
6882 stdbool.h \
6883 stdint.h \
6884 stropts.h \
6885 sys/asoundlib.h \
6886 sys/attr.h \
6887 sys/cdio.h \
6888 sys/elf32.h \
6889 sys/epoll.h \
6890 sys/event.h \
6891 sys/exec_elf.h \
6892 sys/filio.h \
6893 sys/inotify.h \
6894 sys/ioctl.h \
6895 sys/ipc.h \
6896 sys/limits.h \
6897 sys/link.h \
6898 sys/mman.h \
6899 sys/modem.h \
6900 sys/msg.h \
6901 sys/mtio.h \
6902 sys/param.h \
6903 sys/poll.h \
6904 sys/prctl.h \
6905 sys/protosw.h \
6906 sys/ptrace.h \
6907 sys/queue.h \
6908 sys/resource.h \
6909 sys/scsiio.h \
6910 sys/shm.h \
6911 sys/signal.h \
6912 sys/socket.h \
6913 sys/socketvar.h \
6914 sys/sockio.h \
6915 sys/statvfs.h \
6916 sys/strtio.h \
6917 sys/syscall.h \
6918 sys/sysinfo.h \
6919 sys/tihdr.h \
6920 sys/time.h \
6921 sys/timeout.h \
6922 sys/times.h \
6923 sys/uio.h \
6924 sys/user.h \
6925 sys/utsname.h \
6926 sys/vm86.h \
6927 sys/vnode.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unistd.h \
6932 utime.h \
6933 valgrind/memcheck.h \
6934 valgrind/valgrind.h \
6935 zlib.h
6937 do :
6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6940 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6941 cat >>confdefs.h <<_ACEOF
6942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6943 _ACEOF
6947 done
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6950 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6951 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6952 $as_echo_n "(cached) " >&6
6953 else
6954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6956 #include <sys/types.h>
6958 main ()
6960 return makedev(0, 0);
6962 return 0;
6964 _ACEOF
6965 if ac_fn_c_try_link "$LINENO"; then :
6966 ac_cv_header_sys_types_h_makedev=yes
6967 else
6968 ac_cv_header_sys_types_h_makedev=no
6970 rm -f core conftest.err conftest.$ac_objext \
6971 conftest$ac_exeext conftest.$ac_ext
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6975 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6977 if test $ac_cv_header_sys_types_h_makedev = no; then
6978 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6979 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6981 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6987 if test $ac_cv_header_sys_mkdev_h = no; then
6988 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6989 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6991 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7000 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7001 if ${ac_cv_header_stat_broken+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #include <sys/types.h>
7007 #include <sys/stat.h>
7009 #if defined S_ISBLK && defined S_IFDIR
7010 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7011 #endif
7013 #if defined S_ISBLK && defined S_IFCHR
7014 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7015 #endif
7017 #if defined S_ISLNK && defined S_IFREG
7018 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7019 #endif
7021 #if defined S_ISSOCK && defined S_IFREG
7022 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7023 #endif
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_header_stat_broken=no
7028 else
7029 ac_cv_header_stat_broken=yes
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7034 $as_echo "$ac_cv_header_stat_broken" >&6; }
7035 if test $ac_cv_header_stat_broken = yes; then
7037 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7043 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7044 do :
7045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7046 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7047 #ifdef HAVE_SYS_PARAM_H
7048 # include <sys/param.h>
7049 #endif
7051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7052 cat >>confdefs.h <<_ACEOF
7053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7054 _ACEOF
7058 done
7061 for ac_header in \
7062 netinet/ip.h \
7063 net/if.h \
7064 net/if_arp.h \
7065 net/if_dl.h \
7066 net/if_types.h \
7067 net/route.h \
7068 netinet/if_ether.h \
7069 netinet/if_inarp.h \
7070 netinet/in_pcb.h \
7071 netinet/ip_icmp.h \
7072 netinet/ip_var.h \
7073 netinet/udp.h \
7074 netipx/ipx.h \
7075 sys/un.h \
7077 do :
7078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7080 #ifdef HAVE_SYS_SOCKET_H
7081 # include <sys/socket.h>
7082 #endif
7083 #ifdef HAVE_SYS_SOCKETVAR_H
7084 # include <sys/socketvar.h>
7085 #endif
7086 #ifdef HAVE_NET_ROUTE_H
7087 # include <net/route.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IN_H
7090 # include <netinet/in.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IN_SYSTM_H
7093 # include <netinet/in_systm.h>
7094 #endif
7095 #ifdef HAVE_NET_IF_H
7096 # include <net/if.h>
7097 #endif
7098 #ifdef HAVE_NETINET_IP_H
7099 # include <netinet/ip.h>
7100 #endif
7102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7103 cat >>confdefs.h <<_ACEOF
7104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7105 _ACEOF
7109 done
7112 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7113 do :
7114 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7116 #ifdef HAVE_ALIAS_H
7117 # include <alias.h>
7118 #endif
7119 #ifdef HAVE_SYS_SOCKET_H
7120 # include <sys/socket.h>
7121 #endif
7122 #ifdef HAVE_SYS_SOCKETVAR_H
7123 # include <sys/socketvar.h>
7124 #endif
7125 #ifdef HAVE_SYS_TIMEOUT_H
7126 # include <sys/timeout.h>
7127 #endif
7128 #ifdef HAVE_NETINET_IN_H
7129 # include <netinet/in.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IN_SYSTM_H
7132 # include <netinet/in_systm.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IP_H
7135 # include <netinet/ip.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IP_VAR_H
7138 # include <netinet/ip_var.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_ICMP_H
7141 # include <netinet/ip_icmp.h>
7142 #endif
7143 #ifdef HAVE_NETINET_UDP_H
7144 # include <netinet/udp.h>
7145 #endif
7146 #ifdef HAVE_NETINET_TCP_H
7147 # include <netinet/tcp.h>
7148 #endif
7149 #ifdef HAVE_NETINET_TCP_TIMER_H
7150 #include <netinet/tcp_timer.h>
7151 #endif
7153 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7154 cat >>confdefs.h <<_ACEOF
7155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7156 _ACEOF
7160 done
7163 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7164 do :
7165 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7166 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7167 #ifdef HAVE_ASM_TYPES_H
7168 # include <asm/types.h>
7169 #endif
7170 #ifdef HAVE_SYS_SOCKET_H
7171 # include <sys/socket.h>
7172 #endif
7173 #ifdef HAVE_LINUX_TYPES_H
7174 # include <linux/types.h>
7175 #endif
7177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 _ACEOF
7184 done
7187 for ac_header in mach-o/dyld_images.h
7188 do :
7189 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7190 # include <stdbool.h>
7191 #endif
7192 #ifdef HAVE_STDINT_H
7193 # include <stdint.h>
7194 #endif
7196 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7199 _ACEOF
7203 done
7206 for ac_header in resolv.h
7207 do :
7208 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7209 #ifdef HAVE_SYS_SOCKET_H
7210 # include <sys/socket.h>
7211 #endif
7212 #ifdef HAVE_NETINET_IN_H
7213 # include <netinet/in.h>
7214 #endif
7215 #ifdef HAVE_ARPA_NAMESER_H
7216 # include <arpa/nameser.h>
7217 #endif
7219 if test "x$ac_cv_header_resolv_h" = xyes; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define HAVE_RESOLV_H 1
7222 _ACEOF
7226 done
7229 for ac_header in ifaddrs.h
7230 do :
7231 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7233 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define HAVE_IFADDRS_H 1
7236 _ACEOF
7240 done
7243 for ac_header in sys/ucontext.h
7244 do :
7245 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7247 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7248 cat >>confdefs.h <<_ACEOF
7249 #define HAVE_SYS_UCONTEXT_H 1
7250 _ACEOF
7254 done
7257 for ac_header in sys/thr.h
7258 do :
7259 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7260 #ifdef HAVE_SYS_UCONTEXT_H
7261 #include <sys/ucontext.h>
7262 #endif
7264 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_SYS_THR_H 1
7267 _ACEOF
7271 done
7274 for ac_header in pthread_np.h
7275 do :
7276 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7277 #include <pthread.h>
7278 #endif
7280 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7281 cat >>confdefs.h <<_ACEOF
7282 #define HAVE_PTHREAD_NP_H 1
7283 _ACEOF
7287 done
7290 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7291 do :
7292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7294 #include <sys/time.h>
7295 #endif
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 #include <asm/types.h>
7299 #endif
7301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7302 cat >>confdefs.h <<_ACEOF
7303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7304 _ACEOF
7308 done
7311 for ac_header in libprocstat.h
7312 do :
7313 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7314 #include <sys/param.h>
7315 #endif
7316 #ifdef HAVE_SYS_QUEUE_H
7317 #include <sys/queue.h>
7318 #endif
7319 #ifdef HAVE_SYS_SOCKET_H
7320 #include <sys/socket.h>
7321 #endif
7323 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define HAVE_LIBPROCSTAT_H 1
7326 _ACEOF
7330 done
7334 dlldir="\${libdir}/wine"
7336 DLLFLAGS="-D_REENTRANT"
7338 LDRPATH_INSTALL=""
7340 LDRPATH_LOCAL=""
7342 LDEXECFLAGS=""
7344 LIBEXT="so"
7345 DLLEXT=".so"
7346 IMPLIBEXT="def"
7347 # Extract the first word of "ldd", so it can be a program name with args.
7348 set dummy ldd; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_path_LDD+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 case $LDD in
7355 [\\/]* | ?:[\\/]*)
7356 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 as_dummy="/sbin:/usr/sbin:$PATH"
7361 for as_dir in $as_dummy
7363 IFS=$as_save_IFS
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 break 2
7371 done
7372 done
7373 IFS=$as_save_IFS
7375 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7377 esac
7379 LDD=$ac_cv_path_LDD
7380 if test -n "$LDD"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7382 $as_echo "$LDD" >&6; }
7383 else
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7389 if test -n "$ac_tool_prefix"; then
7390 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7391 set dummy ${ac_tool_prefix}otool; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_prog_OTOOL+:} false; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 if test -n "$OTOOL"; then
7398 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 OTOOL=$ac_cv_prog_OTOOL
7418 if test -n "$OTOOL"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7420 $as_echo "$OTOOL" >&6; }
7421 else
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7428 if test -z "$ac_cv_prog_OTOOL"; then
7429 ac_ct_OTOOL=$OTOOL
7430 # Extract the first word of "otool", so it can be a program name with args.
7431 set dummy otool; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$ac_ct_OTOOL"; then
7438 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_ac_ct_OTOOL="otool"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7458 if test -n "$ac_ct_OTOOL"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7460 $as_echo "$ac_ct_OTOOL" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7466 if test "x$ac_ct_OTOOL" = x; then
7467 OTOOL="otool"
7468 else
7469 case $cross_compiling:$ac_tool_warned in
7470 yes:)
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7473 ac_tool_warned=yes ;;
7474 esac
7475 OTOOL=$ac_ct_OTOOL
7477 else
7478 OTOOL="$ac_cv_prog_OTOOL"
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7483 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_prog_READELF+:} false; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 if test -n "$READELF"; then
7490 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7509 READELF=$ac_cv_prog_READELF
7510 if test -n "$READELF"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7512 $as_echo "$READELF" >&6; }
7513 else
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_READELF"; then
7521 ac_ct_READELF=$READELF
7522 # Extract the first word of "readelf", so it can be a program name with args.
7523 set dummy readelf; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$ac_ct_READELF"; then
7530 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_ac_ct_READELF="readelf"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7550 if test -n "$ac_ct_READELF"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7552 $as_echo "$ac_ct_READELF" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_READELF" = x; then
7559 READELF="true"
7560 else
7561 case $cross_compiling:$ac_tool_warned in
7562 yes:)
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned=yes ;;
7566 esac
7567 READELF=$ac_ct_READELF
7569 else
7570 READELF="$ac_cv_prog_READELF"
7573 wine_rules_file=conf$$rules.make
7574 rm -f $wine_rules_file
7575 SUBDIRS=""
7577 DISABLED_SUBDIRS=""
7579 CONFIGURE_TARGETS=""
7581 ALL_TEST_RESOURCES=""
7584 wine_fn_append_file ()
7586 as_fn_append $1 " \\$as_nl $2"
7589 wine_fn_append_rule ()
7591 $as_echo "$1" >>$wine_rules_file
7594 wine_fn_has_flag ()
7596 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7599 wine_fn_all_rules ()
7601 wine_fn_append_file SUBDIRS $ac_dir
7602 wine_fn_append_rule \
7603 "all: $ac_dir
7604 .PHONY: $ac_dir
7605 $ac_dir: dummy
7606 @cd $ac_dir && \$(MAKE)"
7609 wine_fn_install_rules ()
7611 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7613 wine_fn_append_rule \
7614 ".PHONY: $ac_dir/install $ac_dir/uninstall
7615 $ac_dir/install:: $ac_dir
7616 @cd $ac_dir && \$(MAKE) install
7617 $ac_dir/uninstall::
7618 @cd $ac_dir && \$(MAKE) uninstall
7619 install:: $ac_dir/install
7620 __uninstall__: $ac_dir/uninstall"
7622 if wine_fn_has_flag install-lib
7623 then
7624 wine_fn_append_rule \
7625 ".PHONY: $ac_dir/install-lib
7626 $ac_dir/install-lib:: $ac_dir
7627 @cd $ac_dir && \$(MAKE) install-lib
7628 install-lib:: $ac_dir/install-lib"
7631 if wine_fn_has_flag install-dev
7632 then
7633 wine_fn_append_rule \
7634 ".PHONY: $ac_dir/install-dev
7635 $ac_dir/install-dev:: $ac_dir
7636 @cd $ac_dir && \$(MAKE) install-dev
7637 install-dev:: $ac_dir/install-dev"
7641 wine_fn_clean_rules ()
7643 ac_clean=$@
7645 if wine_fn_has_flag clean
7646 then
7647 wine_fn_append_rule \
7648 "$ac_dir/clean: dummy
7649 @cd $ac_dir && \$(MAKE) clean"
7650 else
7651 wine_fn_append_rule \
7652 "$ac_dir/clean: dummy
7653 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7655 wine_fn_append_rule \
7656 "__clean__: $ac_dir/clean
7657 .PHONY: $ac_dir/clean"
7660 wine_fn_disabled_rules ()
7662 ac_clean=$@
7664 wine_fn_append_file SUBDIRS $ac_dir
7665 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7666 wine_fn_append_rule \
7667 "__clean__: $ac_dir/clean
7668 .PHONY: $ac_dir/clean
7669 $ac_dir/clean: dummy
7670 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7673 wine_fn_config_makefile ()
7675 ac_dir=$1
7676 ac_enable=$2
7677 ac_flags=$3
7679 case $ac_dir in
7680 fonts|server) test -z "$with_wine64" || return ;;
7681 esac
7682 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7683 wine_fn_disabled_rules; return
7685 wine_fn_all_rules
7686 wine_fn_install_rules
7687 wine_fn_clean_rules
7690 wine_fn_config_lib ()
7692 ac_name=$1
7693 ac_flags=$2
7694 ac_dir=dlls/$ac_name
7695 ac_deps="include"
7697 if test "x$enable_tools" = xno; then :
7699 else
7700 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7702 wine_fn_all_rules
7703 wine_fn_clean_rules
7705 wine_fn_append_rule \
7706 ".PHONY: $ac_dir/install $ac_dir/uninstall
7707 $ac_dir/install:: $ac_dir
7708 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7709 $ac_dir/uninstall::
7710 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7711 install install-dev:: $ac_dir/install
7712 __uninstall__: $ac_dir/uninstall
7713 __builddeps__: $ac_dir
7714 $ac_dir: $ac_deps"
7717 wine_fn_config_dll ()
7719 ac_name=$1
7720 ac_dir=dlls/$ac_name
7721 ac_enable=$2
7722 ac_flags=$3
7723 ac_implib=${4:-$ac_name}
7724 ac_file=$ac_dir/lib$ac_implib
7725 ac_dll=$ac_name
7726 ac_deps="include"
7727 ac_implibflags=""
7729 if test "x$enable_tools" = xno; then :
7731 else
7732 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7734 case $ac_name in
7735 *.*16) ac_implibflags=" -m16" ;;
7736 *.*) ;;
7737 *) ac_dll=$ac_dll.dll ;;
7738 esac
7740 ac_clean=
7741 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7742 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7744 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7745 if test "$ac_enable" != enable_win16
7746 then
7747 wine_fn_clean_rules $ac_clean
7748 wine_fn_append_file SUBDIRS $ac_dir
7749 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7750 else
7751 wine_fn_disabled_rules $ac_clean
7752 return
7754 else
7755 wine_fn_all_rules
7756 wine_fn_clean_rules $ac_clean
7757 wine_fn_append_rule \
7758 "$ac_dir: __builddeps__
7759 manpages htmlpages sgmlpages xmlpages::
7760 @cd $ac_dir && \$(MAKE) \$@
7761 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7762 install install-lib:: $ac_dir/install-lib
7763 __uninstall__: $ac_dir/uninstall"
7764 if test -n "$DLLEXT"
7765 then
7766 wine_fn_append_rule \
7767 "$ac_dir/install-lib:: $ac_dir
7768 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7769 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7770 $ac_dir/uninstall::
7771 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7772 else
7773 wine_fn_append_rule \
7774 "$ac_dir/install-lib:: $ac_dir
7775 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7781 if wine_fn_has_flag staticimplib
7782 then
7783 wine_fn_append_rule \
7784 "__builddeps__: $ac_file.a
7785 $ac_file.a $ac_file.cross.a: $ac_deps
7786 $ac_file.a: dummy
7787 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7788 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7789 $ac_dir/install-dev:: $ac_file.a
7790 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7791 $ac_dir/uninstall::
7792 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7793 install install-dev:: $ac_dir/install-dev
7794 __uninstall__: $ac_dir/uninstall"
7796 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7797 then
7798 wine_fn_append_rule \
7799 "__builddeps__: $ac_file.cross.a
7800 $ac_file.cross.a: dummy
7801 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7804 elif wine_fn_has_flag implib
7805 then
7806 wine_fn_append_rule \
7807 "__builddeps__: $ac_file.$IMPLIBEXT
7808 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7809 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7810 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7811 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7812 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7813 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7814 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7817 install install-dev:: $ac_dir/install-dev
7818 __uninstall__: $ac_dir/uninstall"
7819 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7820 then
7821 wine_fn_append_rule \
7822 "__builddeps__: $ac_file.cross.a
7823 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7824 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7829 wine_fn_config_program ()
7831 ac_name=$1
7832 ac_dir=programs/$ac_name
7833 ac_enable=$2
7834 ac_flags=$3
7835 ac_program=$ac_name
7837 case $ac_name in
7838 *.*) ;;
7839 *) ac_program=$ac_program.exe ;;
7840 esac
7842 ac_clean=
7843 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7844 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7846 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7847 wine_fn_disabled_rules $ac_clean; return
7850 wine_fn_all_rules
7851 wine_fn_clean_rules $ac_clean
7852 wine_fn_append_rule "$ac_dir: __builddeps__"
7854 wine_fn_has_flag install || return
7855 wine_fn_append_rule \
7856 ".PHONY: $ac_dir/install $ac_dir/uninstall
7857 install install-lib:: $ac_dir/install
7858 __uninstall__: $ac_dir/uninstall"
7860 if test -n "$DLLEXT"
7861 then
7862 wine_fn_append_rule \
7863 "$ac_dir/install:: $ac_dir
7864 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7865 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7866 $ac_dir/uninstall::
7867 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7869 if test -z "$with_wine64" && wine_fn_has_flag installbin
7870 then
7871 wine_fn_append_rule \
7872 "$ac_dir/install:: __tooldeps__
7873 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7874 $ac_dir/uninstall::
7875 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7877 else
7878 wine_fn_append_rule \
7879 "$ac_dir/install:: $ac_dir
7880 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7881 $ac_dir/uninstall::
7882 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7885 if test -z "$with_wine64" && wine_fn_has_flag manpage
7886 then
7887 wine_fn_append_rule \
7888 "$ac_dir/install:: $ac_dir
7889 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7895 wine_fn_config_test ()
7897 ac_dir=$1
7898 ac_name=$2
7899 ac_flags=$3
7901 ac_clean=
7902 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7903 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7905 if test "x$enable_tests" = xno; then :
7906 wine_fn_disabled_rules $ac_clean; return
7909 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7910 wine_fn_all_rules
7911 wine_fn_clean_rules $ac_clean
7913 wine_fn_append_rule \
7914 "$ac_dir: __builddeps__
7915 programs/winetest: $ac_dir
7916 check test: $ac_dir/test
7917 .PHONY: $ac_dir/test
7918 $ac_dir/test: dummy
7919 @cd $ac_dir && \$(MAKE) test
7920 testclean::
7921 \$(RM) $ac_dir/*.ok"
7923 if test -n "$CROSSTARGET"
7924 then
7925 wine_fn_append_rule \
7926 "crosstest: $ac_dir/crosstest
7927 .PHONY: $ac_dir/crosstest
7928 $ac_dir/crosstest: __builddeps__ dummy
7929 @cd $ac_dir && \$(MAKE) crosstest"
7933 wine_fn_config_tool ()
7935 ac_dir=$1
7936 ac_flags=$2
7937 if test "x$enable_tools" = xno; then :
7938 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7941 wine_fn_all_rules
7942 wine_fn_install_rules
7943 wine_fn_clean_rules
7945 wine_fn_append_rule "__tooldeps__: $ac_dir"
7946 wine_fn_append_rule "$ac_dir: libs/port"
7947 case $ac_dir in
7948 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7949 esac
7952 wine_fn_config_symlink ()
7954 ac_linkdir=
7955 if test "x$1" = "x-d"
7956 then
7957 ac_linkdir=$2
7958 shift; shift
7960 ac_links=$@
7961 wine_fn_append_rule \
7962 "$ac_links:
7963 @./config.status \$@"
7964 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7965 test -n "$ac_linkdir" || return
7966 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7969 wine_binary="wine"
7970 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7971 WINELOADER_PROGRAMS="$wine_binary"
7973 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7975 case $host_os in
7976 cygwin*|mingw32*)
7977 if test -n "$ac_tool_prefix"; then
7978 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7979 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if ${ac_cv_prog_DLLTOOL+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 if test -n "$DLLTOOL"; then
7986 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7987 else
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 for as_dir in $PATH
7991 IFS=$as_save_IFS
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 break 2
7999 done
8000 done
8001 IFS=$as_save_IFS
8005 DLLTOOL=$ac_cv_prog_DLLTOOL
8006 if test -n "$DLLTOOL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8008 $as_echo "$DLLTOOL" >&6; }
8009 else
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8016 if test -z "$ac_cv_prog_DLLTOOL"; then
8017 ac_ct_DLLTOOL=$DLLTOOL
8018 # Extract the first word of "dlltool", so it can be a program name with args.
8019 set dummy dlltool; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 if test -n "$ac_ct_DLLTOOL"; then
8026 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8027 else
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 for as_dir in $PATH
8031 IFS=$as_save_IFS
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 break 2
8039 done
8040 done
8041 IFS=$as_save_IFS
8045 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8046 if test -n "$ac_ct_DLLTOOL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8048 $as_echo "$ac_ct_DLLTOOL" >&6; }
8049 else
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8054 if test "x$ac_ct_DLLTOOL" = x; then
8055 DLLTOOL="false"
8056 else
8057 case $cross_compiling:$ac_tool_warned in
8058 yes:)
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8061 ac_tool_warned=yes ;;
8062 esac
8063 DLLTOOL=$ac_ct_DLLTOOL
8065 else
8066 DLLTOOL="$ac_cv_prog_DLLTOOL"
8069 LIBEXT="dll"
8070 DLLEXT=""
8071 IMPLIBEXT="a"
8072 enable_iphlpapi=${enable_iphlpapi:-no}
8073 enable_kernel32=${enable_kernel32:-no}
8074 enable_msvcrt=${enable_msvcrt:-no}
8075 enable_ntdll=${enable_ntdll:-no}
8076 enable_ws2_32=${enable_ws2_32:-no}
8077 enable_loader=${enable_loader:-no}
8078 enable_server=${enable_server:-no}
8079 with_x=${with_x:-no}
8080 with_pthread=${with_pthread:-no}
8082 crtlibs=""
8083 case $host_os in
8084 mingw32*)
8085 crtlibs="-lmsvcrt"
8086 SOCKET_LIBS="-lws2_32"
8088 esac
8090 LIBWINE_SHAREDLIB="libwine.dll"
8092 LIBWINE_IMPORTLIB="libwine.a"
8094 LIBWINE_INSTALL_LIB="libwine.dll"
8096 LIBWINE_INSTALL_DEV="libwine.a"
8098 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8100 LIBWINE_DEPENDS="wine.def"
8104 darwin*|macosx*)
8105 for ac_header in libunwind.h
8106 do :
8107 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_LIBUNWIND_H 1
8111 _ACEOF
8115 done
8117 LIBEXT="dylib"
8118 DLLFLAGS="$DLLFLAGS -fPIC"
8119 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8120 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8121 COREFOUNDATION_LIBS="-framework CoreFoundation"
8123 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8125 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8127 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8129 CORESERVICES_LIBS="-framework CoreServices"
8131 APPKIT_LIBS="-framework AppKit"
8133 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8135 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8136 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8137 $as_echo_n "(cached) " >&6
8138 else
8139 ac_wine_try_cflags_saved=$CFLAGS
8140 CFLAGS="$CFLAGS -Wl,-no_pie"
8141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8142 /* end confdefs.h. */
8143 int main(int argc, char **argv) { return 0; }
8144 _ACEOF
8145 if ac_fn_c_try_link "$LINENO"; then :
8146 ac_cv_cflags__Wl__no_pie=yes
8147 else
8148 ac_cv_cflags__Wl__no_pie=no
8150 rm -f core conftest.err conftest.$ac_objext \
8151 conftest$ac_exeext conftest.$ac_ext
8152 CFLAGS=$ac_wine_try_cflags_saved
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8155 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8156 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8157 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8159 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8160 then
8161 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8164 if test "$ac_cv_header_Security_Security_h" = "yes"
8165 then
8166 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8168 ac_save_LIBS="$LIBS"
8169 LIBS="$LIBS $SECURITY_LIBS"
8170 for ac_func in SSLCopyPeerCertificates
8171 do :
8172 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8173 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8174 cat >>confdefs.h <<_ACEOF
8175 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8176 _ACEOF
8179 done
8181 LIBS="$ac_save_LIBS"
8182 with_gnutls=${with_gnutls:-no}
8184 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8185 then
8186 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8187 then
8188 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8190 else
8191 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8194 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8195 ac_save_LIBS="$LIBS"
8196 LIBS="$LIBS $COREAUDIO_LIBS"
8197 for ac_func in AUGraphAddNode
8198 do :
8199 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8200 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8201 cat >>confdefs.h <<_ACEOF
8202 #define HAVE_AUGRAPHADDNODE 1
8203 _ACEOF
8206 done
8208 LIBS="$ac_save_LIBS"
8210 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8211 then
8212 OPENAL_LIBS="-framework OpenAL"
8215 cat >>confdefs.h <<_ACEOF
8216 #define HAVE_OPENAL 1
8217 _ACEOF
8219 ac_cv_lib_openal=yes
8221 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8222 then
8223 OPENCL_LIBS="-framework OpenCL"
8225 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8227 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8228 then
8229 ac_save_LIBS="$LIBS"
8230 LIBS="$LIBS $IOKIT_LIBS"
8231 for ac_func in IOHIDManagerCreate
8232 do :
8233 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8234 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8235 cat >>confdefs.h <<_ACEOF
8236 #define HAVE_IOHIDMANAGERCREATE 1
8237 _ACEOF
8240 done
8242 LIBS="$ac_save_LIBS"
8244 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8245 then
8246 ac_save_LIBS="$LIBS"
8247 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8249 $as_echo_n "checking for the QuickTime framework... " >&6; }
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 #include <QuickTime/ImageCompression.h>
8254 main ()
8256 CodecManagerVersion(NULL);
8258 return 0;
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8263 $as_echo "yes" >&6; }
8264 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8266 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8270 ac_cv_header_QuickTime_ImageCompression_h=no
8272 rm -f core conftest.err conftest.$ac_objext \
8273 conftest$ac_exeext conftest.$ac_ext
8274 LIBS="$ac_save_LIBS"
8276 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8277 then
8278 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8280 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8281 then
8282 CARBON_LIBS="-framework Carbon"
8286 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8287 then
8288 ac_save_LIBS="$LIBS"
8289 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8290 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8291 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8292 enable_winemac_drv=${enable_winemac_drv:-yes}
8295 LIBS="$ac_save_LIBS"
8298 if test "x$enable_win16" = "xyes"
8299 then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8301 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8302 if test "$cross_compiling" = yes; then :
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8304 $as_echo "cross-compiling, assuming yes" >&6; }
8305 else
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 asm(".text\n"
8309 "bad:\tnop;nop\n"
8310 "good:\tnop;nop\n\t"
8311 ".globl _testfunc\n"
8312 "_testfunc:\tcallw good");
8313 extern void testfunc();
8315 main ()
8317 unsigned short *p = (unsigned short *)testfunc;
8318 return p[0] != 0xe866 || p[1] != 0xfffa
8320 return 0;
8322 _ACEOF
8323 if ac_fn_c_try_run "$LINENO"; then :
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8325 $as_echo "yes" >&6; }
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8329 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
8331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8332 conftest.$ac_objext conftest.beam conftest.$ac_ext
8337 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8339 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8341 LIBWINE_INSTALL_DEV="libwine.dylib"
8343 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8345 WINELOADER_DEPENDS="wine_info.plist"
8349 linux-android*)
8350 DLLFLAGS="$DLLFLAGS -fPIC"
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8352 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8353 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_wine_try_cflags_saved=$CFLAGS
8357 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 int main(int argc, char **argv) { return 0; }
8361 _ACEOF
8362 if ac_fn_c_try_link "$LINENO"; then :
8363 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8364 else
8365 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 CFLAGS=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8372 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8373 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8374 LDEXECFLAGS="-Wl,--export-dynamic"
8376 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8378 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8379 if eval \${$as_ac_var+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8387 _ACEOF
8388 if ac_fn_c_try_link "$LINENO"; then :
8389 eval "$as_ac_var=yes"
8390 else
8391 eval "$as_ac_var=no"
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 eval ac_res=\$$as_ac_var
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8399 $as_echo "$ac_res" >&6; }
8400 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8401 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8402 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8403 else
8404 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8406 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8407 if eval \${$as_ac_var+:} false; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 ac_wine_try_cflags_saved=$CFLAGS
8411 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8414 int main(int argc, char **argv) { return 0; }
8415 _ACEOF
8416 if ac_fn_c_try_link "$LINENO"; then :
8417 eval "$as_ac_var=yes"
8418 else
8419 eval "$as_ac_var=no"
8421 rm -f core conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 CFLAGS=$ac_wine_try_cflags_saved
8425 eval ac_res=\$$as_ac_var
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8427 $as_echo "$ac_res" >&6; }
8428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8429 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8430 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8435 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8436 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 ac_wine_try_cflags_saved=$CFLAGS
8440 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8443 int main(int argc, char **argv) { return 0; }
8444 _ACEOF
8445 if ac_fn_c_try_link "$LINENO"; then :
8446 ac_cv_cflags__Wl___enable_new_dtags=yes
8447 else
8448 ac_cv_cflags__Wl___enable_new_dtags=no
8450 rm -f core conftest.err conftest.$ac_objext \
8451 conftest$ac_exeext conftest.$ac_ext
8452 CFLAGS=$ac_wine_try_cflags_saved
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8455 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8456 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8457 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8460 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8461 if ${ac_cv_cflags__Wl__pie+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -Wl,-pie"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 int main(int argc, char **argv) { return 0; }
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 ac_cv_cflags__Wl__pie=yes
8472 else
8473 ac_cv_cflags__Wl__pie=no
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 CFLAGS=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8480 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8481 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8482 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8485 LIBWINE_SHAREDLIB="libwine.so"
8487 LIBWINE_INSTALL_LIB="libwine.so"
8489 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8494 DLLFLAGS="$DLLFLAGS -fPIC"
8495 LDEXECFLAGS=""
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8497 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8498 if ${ac_cv_c_dll_gnuelf+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 void myfunc() {}
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 ac_cv_c_dll_gnuelf="yes"
8509 else
8510 ac_cv_c_dll_gnuelf="no"
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8517 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8518 if test "$ac_cv_c_dll_gnuelf" = "yes"
8519 then
8520 LIBWINE_LDFLAGS="-shared"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8522 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8523 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8524 $as_echo_n "(cached) " >&6
8525 else
8526 ac_wine_try_cflags_saved=$CFLAGS
8527 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 int main(int argc, char **argv) { return 0; }
8531 _ACEOF
8532 if ac_fn_c_try_link "$LINENO"; then :
8533 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8534 else
8535 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8537 rm -f core conftest.err conftest.$ac_objext \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8542 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8543 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8544 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8545 else
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8547 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8548 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_wine_try_cflags_saved=$CFLAGS
8552 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 int main(int argc, char **argv) { return 0; }
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8559 else
8560 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 CFLAGS=$ac_wine_try_cflags_saved
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8567 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8568 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8569 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8573 echo '{ global: *; };' >conftest.map
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8575 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8576 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_wine_try_cflags_saved=$CFLAGS
8580 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8583 int main(int argc, char **argv) { return 0; }
8584 _ACEOF
8585 if ac_fn_c_try_link "$LINENO"; then :
8586 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8587 else
8588 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8590 rm -f core conftest.err conftest.$ac_objext \
8591 conftest$ac_exeext conftest.$ac_ext
8592 CFLAGS=$ac_wine_try_cflags_saved
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8595 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8596 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8597 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8599 rm -f conftest.map
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8602 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8603 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 ac_wine_try_cflags_saved=$CFLAGS
8607 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 int main(int argc, char **argv) { return 0; }
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8614 else
8615 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8617 rm -f core conftest.err conftest.$ac_objext \
8618 conftest$ac_exeext conftest.$ac_ext
8619 CFLAGS=$ac_wine_try_cflags_saved
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8622 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8623 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8624 LDEXECFLAGS="-Wl,--export-dynamic"
8627 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8629 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8630 if eval \${$as_ac_var+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 int main(int argc, char **argv) { return 0; }
8638 _ACEOF
8639 if ac_fn_c_try_link "$LINENO"; then :
8640 eval "$as_ac_var=yes"
8641 else
8642 eval "$as_ac_var=no"
8644 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext
8646 CFLAGS=$ac_wine_try_cflags_saved
8648 eval ac_res=\$$as_ac_var
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8650 $as_echo "$ac_res" >&6; }
8651 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8652 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8653 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8654 else
8655 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8657 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8658 if eval \${$as_ac_var+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8666 _ACEOF
8667 if ac_fn_c_try_link "$LINENO"; then :
8668 eval "$as_ac_var=yes"
8669 else
8670 eval "$as_ac_var=no"
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 CFLAGS=$ac_wine_try_cflags_saved
8676 eval ac_res=\$$as_ac_var
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8678 $as_echo "$ac_res" >&6; }
8679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8680 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8681 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8686 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8687 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 int main(int argc, char **argv) { return 0; }
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_cflags__Wl___enable_new_dtags=yes
8698 else
8699 ac_cv_cflags__Wl___enable_new_dtags=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8706 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8707 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8708 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8711 case $host_cpu in
8712 *i[3456789]86* | x86_64)
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8714 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8715 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8726 else
8727 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8734 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8735 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8736 case $host_os in
8737 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8738 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8739 esac
8740 else
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8742 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8743 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 int main(int argc, char **argv) { return 0; }
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8754 else
8755 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8762 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8763 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8764 case $host_os in
8765 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8766 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8767 esac
8769 # Extract the first word of "prelink", so it can be a program name with args.
8770 set dummy prelink; ac_word=$2
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8772 $as_echo_n "checking for $ac_word... " >&6; }
8773 if ${ac_cv_path_PRELINK+:} false; then :
8774 $as_echo_n "(cached) " >&6
8775 else
8776 case $PRELINK in
8777 [\\/]* | ?:[\\/]*)
8778 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8782 for as_dir in /sbin /usr/sbin $PATH
8784 IFS=$as_save_IFS
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8788 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8790 break 2
8792 done
8793 done
8794 IFS=$as_save_IFS
8796 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8798 esac
8800 PRELINK=$ac_cv_path_PRELINK
8801 if test -n "$PRELINK"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8803 $as_echo "$PRELINK" >&6; }
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8810 if test "x$PRELINK" = xfalse
8811 then
8812 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8816 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8817 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8818 $as_echo_n "(cached) " >&6
8819 else
8820 ac_wine_try_cflags_saved=$CFLAGS
8821 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8824 int main(int argc, char **argv) { return 0; }
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8827 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8828 else
8829 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8831 rm -f core conftest.err conftest.$ac_objext \
8832 conftest$ac_exeext conftest.$ac_ext
8833 CFLAGS=$ac_wine_try_cflags_saved
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8836 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8837 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8838 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8841 esac
8843 else
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8845 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8846 if ${ac_cv_c_dll_unixware+:} false; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 ac_wine_try_cflags_saved=$CFLAGS
8850 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8853 void myfunc() {}
8854 _ACEOF
8855 if ac_fn_c_try_link "$LINENO"; then :
8856 ac_cv_c_dll_unixware="yes"
8857 else
8858 ac_cv_c_dll_unixware="no"
8860 rm -f core conftest.err conftest.$ac_objext \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8865 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8866 if test "$ac_cv_c_dll_unixware" = "yes"
8867 then
8868 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8871 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8873 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8875 LIBWINE_INSTALL_DEV="libwine.so"
8877 LIBWINE_DEPENDS="wine.map"
8880 esac
8882 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8883 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8884 enable_winemac_drv=${enable_winemac_drv:-no}
8885 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8887 CROSSTARGET=""
8889 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8890 then
8891 case "$host_cpu" in
8892 arm*)
8893 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8894 i[3456789]86*)
8895 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
8896 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8897 mingw32-gcc" ;;
8898 x86_64)
8899 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
8900 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8902 ac_prefix_list="" ;;
8903 esac
8904 for ac_prog in $ac_prefix_list
8906 # Extract the first word of "$ac_prog", so it can be a program name with args.
8907 set dummy $ac_prog; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_prog_CROSSCC+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 if test -n "$CROSSCC"; then
8914 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8915 else
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8917 for as_dir in $PATH
8919 IFS=$as_save_IFS
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8923 ac_cv_prog_CROSSCC="$ac_prog"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 break 2
8927 done
8928 done
8929 IFS=$as_save_IFS
8933 CROSSCC=$ac_cv_prog_CROSSCC
8934 if test -n "$CROSSCC"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8936 $as_echo "$CROSSCC" >&6; }
8937 else
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8943 test -n "$CROSSCC" && break
8944 done
8945 test -n "$CROSSCC" || CROSSCC="false"
8947 if test "$CROSSCC" != "false"
8948 then
8949 ac_save_CC="$CC"
8950 CC="$CROSSCC"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8952 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8954 /* end confdefs.h. */
8957 main ()
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_compile "$LINENO"; then :
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8966 $as_echo "yes" >&6; }
8967 set x $CROSSCC
8968 shift
8969 while test $# -ge 1
8971 case "$1" in
8972 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8973 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8974 esac
8975 shift
8976 done
8977 else
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 $as_echo "no" >&6; }
8981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8982 CC="$ac_save_CC"
8987 if test "$ac_cv_header_pthread_h" = "yes"
8988 then
8989 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8990 if test "x$ac_cv_func_pthread_create" = xyes; then :
8992 else
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8994 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8995 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8996 $as_echo_n "(cached) " >&6
8997 else
8998 ac_check_lib_save_LIBS=$LIBS
8999 LIBS="-lpthread $LIBS"
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9006 #ifdef __cplusplus
9007 extern "C"
9008 #endif
9009 char pthread_create ();
9011 main ()
9013 return pthread_create ();
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 ac_cv_lib_pthread_pthread_create=yes
9020 else
9021 ac_cv_lib_pthread_pthread_create=no
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9025 LIBS=$ac_check_lib_save_LIBS
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9028 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9029 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9030 PTHREAD_LIBS="-lpthread"
9037 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9038 case "x$with_pthread" in
9039 xno) ;;
9040 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9041 Wine cannot support threads without libpthread.
9042 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9043 esac
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9049 $as_echo_n "checking for X... " >&6; }
9052 # Check whether --with-x was given.
9053 if test "${with_x+set}" = set; then :
9054 withval=$with_x;
9057 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9058 if test "x$with_x" = xno; then
9059 # The user explicitly disabled X.
9060 have_x=disabled
9061 else
9062 case $x_includes,$x_libraries in #(
9063 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9064 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9065 $as_echo_n "(cached) " >&6
9066 else
9067 # One or both of the vars are not set, and there is no cached value.
9068 ac_x_includes=no ac_x_libraries=no
9069 rm -f -r conftest.dir
9070 if mkdir conftest.dir; then
9071 cd conftest.dir
9072 cat >Imakefile <<'_ACEOF'
9073 incroot:
9074 @echo incroot='${INCROOT}'
9075 usrlibdir:
9076 @echo usrlibdir='${USRLIBDIR}'
9077 libdir:
9078 @echo libdir='${LIBDIR}'
9079 _ACEOF
9080 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9081 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9082 for ac_var in incroot usrlibdir libdir; do
9083 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9084 done
9085 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9086 for ac_extension in a so sl dylib la dll; do
9087 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9088 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9089 ac_im_usrlibdir=$ac_im_libdir; break
9091 done
9092 # Screen out bogus values from the imake configuration. They are
9093 # bogus both because they are the default anyway, and because
9094 # using them would break gcc on systems where it needs fixed includes.
9095 case $ac_im_incroot in
9096 /usr/include) ac_x_includes= ;;
9097 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9098 esac
9099 case $ac_im_usrlibdir in
9100 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9101 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9102 esac
9104 cd ..
9105 rm -f -r conftest.dir
9108 # Standard set of common directories for X headers.
9109 # Check X11 before X11Rn because it is often a symlink to the current release.
9110 ac_x_header_dirs='
9111 /usr/X11/include
9112 /usr/X11R7/include
9113 /usr/X11R6/include
9114 /usr/X11R5/include
9115 /usr/X11R4/include
9117 /usr/include/X11
9118 /usr/include/X11R7
9119 /usr/include/X11R6
9120 /usr/include/X11R5
9121 /usr/include/X11R4
9123 /usr/local/X11/include
9124 /usr/local/X11R7/include
9125 /usr/local/X11R6/include
9126 /usr/local/X11R5/include
9127 /usr/local/X11R4/include
9129 /usr/local/include/X11
9130 /usr/local/include/X11R7
9131 /usr/local/include/X11R6
9132 /usr/local/include/X11R5
9133 /usr/local/include/X11R4
9135 /usr/X386/include
9136 /usr/x386/include
9137 /usr/XFree86/include/X11
9139 /usr/include
9140 /usr/local/include
9141 /usr/unsupported/include
9142 /usr/athena/include
9143 /usr/local/x11r5/include
9144 /usr/lpp/Xamples/include
9146 /usr/openwin/include
9147 /usr/openwin/share/include'
9149 if test "$ac_x_includes" = no; then
9150 # Guess where to find include files, by looking for Xlib.h.
9151 # First, try using that file with no special directory specified.
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9154 #include <X11/Xlib.h>
9155 _ACEOF
9156 if ac_fn_c_try_cpp "$LINENO"; then :
9157 # We can compile using X headers with no special include directory.
9158 ac_x_includes=
9159 else
9160 for ac_dir in $ac_x_header_dirs; do
9161 if test -r "$ac_dir/X11/Xlib.h"; then
9162 ac_x_includes=$ac_dir
9163 break
9165 done
9167 rm -f conftest.err conftest.i conftest.$ac_ext
9168 fi # $ac_x_includes = no
9170 if test "$ac_x_libraries" = no; then
9171 # Check for the libraries.
9172 # See if we find them without any special options.
9173 # Don't add to $LIBS permanently.
9174 ac_save_LIBS=$LIBS
9175 LIBS="-lX11 $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9178 #include <X11/Xlib.h>
9180 main ()
9182 XrmInitialize ()
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 LIBS=$ac_save_LIBS
9189 # We can link X programs with no special library path.
9190 ac_x_libraries=
9191 else
9192 LIBS=$ac_save_LIBS
9193 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9195 # Don't even attempt the hair of trying to link an X program!
9196 for ac_extension in a so sl dylib la dll; do
9197 if test -r "$ac_dir/libX11.$ac_extension"; then
9198 ac_x_libraries=$ac_dir
9199 break 2
9201 done
9202 done
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 fi # $ac_x_libraries = no
9208 case $ac_x_includes,$ac_x_libraries in #(
9209 no,* | *,no | *\'*)
9210 # Didn't find X, or a directory has "'" in its name.
9211 ac_cv_have_x="have_x=no";; #(
9213 # Record where we found X for the cache.
9214 ac_cv_have_x="have_x=yes\
9215 ac_x_includes='$ac_x_includes'\
9216 ac_x_libraries='$ac_x_libraries'"
9217 esac
9219 ;; #(
9220 *) have_x=yes;;
9221 esac
9222 eval "$ac_cv_have_x"
9223 fi # $with_x != no
9225 if test "$have_x" != yes; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9227 $as_echo "$have_x" >&6; }
9228 no_x=yes
9229 else
9230 # If each of the values was on the command line, it overrides each guess.
9231 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9232 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9233 # Update the cache value to reflect the command line values.
9234 ac_cv_have_x="have_x=yes\
9235 ac_x_includes='$x_includes'\
9236 ac_x_libraries='$x_libraries'"
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9238 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9241 if test "$no_x" = yes; then
9242 # Not all programs may use this symbol, but it does not hurt to define it.
9244 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9246 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9247 else
9248 if test -n "$x_includes"; then
9249 X_CFLAGS="$X_CFLAGS -I$x_includes"
9252 # It would also be nice to do this for all -L options, not just this one.
9253 if test -n "$x_libraries"; then
9254 X_LIBS="$X_LIBS -L$x_libraries"
9255 # For Solaris; some versions of Sun CC require a space after -R and
9256 # others require no space. Words are not sufficient . . . .
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9258 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9259 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9260 ac_xsave_c_werror_flag=$ac_c_werror_flag
9261 ac_c_werror_flag=yes
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9266 main ()
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9275 $as_echo "no" >&6; }
9276 X_LIBS="$X_LIBS -R$x_libraries"
9277 else
9278 LIBS="$ac_xsave_LIBS -R $x_libraries"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9283 main ()
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9292 $as_echo "yes" >&6; }
9293 X_LIBS="$X_LIBS -R $x_libraries"
9294 else
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9296 $as_echo "neither works" >&6; }
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 ac_c_werror_flag=$ac_xsave_c_werror_flag
9304 LIBS=$ac_xsave_LIBS
9307 # Check for system-dependent libraries X programs must link with.
9308 # Do this before checking for the system-independent R6 libraries
9309 # (-lICE), since we may need -lsocket or whatever for X linking.
9311 if test "$ISC" = yes; then
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9313 else
9314 # Martyn Johnson says this is needed for Ultrix, if the X
9315 # libraries were built with DECnet support. And Karl Berry says
9316 # the Alpha needs dnet_stub (dnet does not exist).
9317 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9324 #ifdef __cplusplus
9325 extern "C"
9326 #endif
9327 char XOpenDisplay ();
9329 main ()
9331 return XOpenDisplay ();
9333 return 0;
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9338 else
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9340 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9341 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_check_lib_save_LIBS=$LIBS
9345 LIBS="-ldnet $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9352 #ifdef __cplusplus
9353 extern "C"
9354 #endif
9355 char dnet_ntoa ();
9357 main ()
9359 return dnet_ntoa ();
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_lib_dnet_dnet_ntoa=yes
9366 else
9367 ac_cv_lib_dnet_dnet_ntoa=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 LIBS=$ac_check_lib_save_LIBS
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9374 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9375 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9376 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9379 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9381 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9382 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_check_lib_save_LIBS=$LIBS
9386 LIBS="-ldnet_stub $LIBS"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9393 #ifdef __cplusplus
9394 extern "C"
9395 #endif
9396 char dnet_ntoa ();
9398 main ()
9400 return dnet_ntoa ();
9402 return 0;
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9407 else
9408 ac_cv_lib_dnet_stub_dnet_ntoa=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9415 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9416 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9417 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS="$ac_xsave_LIBS"
9426 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9427 # to get the SysV transport functions.
9428 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9429 # needs -lnsl.
9430 # The nsl library prevents programs from opening the X display
9431 # on Irix 5.2, according to T.E. Dickey.
9432 # The functions gethostbyname, getservbyname, and inet_addr are
9433 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9434 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9435 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9439 if test $ac_cv_func_gethostbyname = no; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9441 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9442 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_check_lib_save_LIBS=$LIBS
9446 LIBS="-lnsl $LIBS"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9453 #ifdef __cplusplus
9454 extern "C"
9455 #endif
9456 char gethostbyname ();
9458 main ()
9460 return gethostbyname ();
9462 return 0;
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 ac_cv_lib_nsl_gethostbyname=yes
9467 else
9468 ac_cv_lib_nsl_gethostbyname=no
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 LIBS=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9475 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9476 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9480 if test $ac_cv_lib_nsl_gethostbyname = no; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9482 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9483 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lbsd $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char gethostbyname ();
9499 main ()
9501 return gethostbyname ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_bsd_gethostbyname=yes
9508 else
9509 ac_cv_lib_bsd_gethostbyname=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9516 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9517 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9524 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9525 # socket/setsockopt and other routines are undefined under SCO ODT
9526 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9527 # on later versions), says Simon Leinen: it contains gethostby*
9528 # variants that don't use the name server (or something). -lsocket
9529 # must be given before -lnsl if both are needed. We assume that
9530 # if connect needs -lnsl, so does gethostbyname.
9531 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9532 if test "x$ac_cv_func_connect" = xyes; then :
9536 if test $ac_cv_func_connect = no; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9538 $as_echo_n "checking for connect in -lsocket... " >&6; }
9539 if ${ac_cv_lib_socket_connect+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char connect ();
9555 main ()
9557 return connect ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_lib_socket_connect=yes
9564 else
9565 ac_cv_lib_socket_connect=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9572 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9573 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9574 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9579 # Guillermo Gomez says -lposix is necessary on A/UX.
9580 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9581 if test "x$ac_cv_func_remove" = xyes; then :
9585 if test $ac_cv_func_remove = no; then
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9587 $as_echo_n "checking for remove in -lposix... " >&6; }
9588 if ${ac_cv_lib_posix_remove+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-lposix $LIBS"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9599 #ifdef __cplusplus
9600 extern "C"
9601 #endif
9602 char remove ();
9604 main ()
9606 return remove ();
9608 return 0;
9610 _ACEOF
9611 if ac_fn_c_try_link "$LINENO"; then :
9612 ac_cv_lib_posix_remove=yes
9613 else
9614 ac_cv_lib_posix_remove=no
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9621 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9622 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9623 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9628 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9629 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9630 if test "x$ac_cv_func_shmat" = xyes; then :
9634 if test $ac_cv_func_shmat = no; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9636 $as_echo_n "checking for shmat in -lipc... " >&6; }
9637 if ${ac_cv_lib_ipc_shmat+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lipc $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char shmat ();
9653 main ()
9655 return shmat ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 ac_cv_lib_ipc_shmat=yes
9662 else
9663 ac_cv_lib_ipc_shmat=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9670 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9671 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9678 # Check for libraries that X11R6 Xt/Xaw programs need.
9679 ac_save_LDFLAGS=$LDFLAGS
9680 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9681 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9682 # check for ICE first), but we must link in the order -lSM -lICE or
9683 # we get undefined symbols. So assume we have SM if we have ICE.
9684 # These have to be linked with before -lX11, unlike the other
9685 # libraries we check for below, so use a different variable.
9686 # John Interrante, Karl Berry
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9688 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9689 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 ac_check_lib_save_LIBS=$LIBS
9693 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9700 #ifdef __cplusplus
9701 extern "C"
9702 #endif
9703 char IceConnectionNumber ();
9705 main ()
9707 return IceConnectionNumber ();
9709 return 0;
9711 _ACEOF
9712 if ac_fn_c_try_link "$LINENO"; then :
9713 ac_cv_lib_ICE_IceConnectionNumber=yes
9714 else
9715 ac_cv_lib_ICE_IceConnectionNumber=no
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_lib_save_LIBS
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9722 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9723 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9724 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9727 LDFLAGS=$ac_save_LDFLAGS
9732 if test "$have_x" = "yes"
9733 then
9734 ac_save_CPPFLAGS="$CPPFLAGS"
9735 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9738 $as_echo_n "checking for -lX11... " >&6; }
9739 if ${ac_cv_lib_soname_X11+:} false; then :
9740 $as_echo_n "(cached) " >&6
9741 else
9742 ac_check_soname_save_LIBS=$LIBS
9743 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9750 #ifdef __cplusplus
9751 extern "C"
9752 #endif
9753 char XCreateWindow ();
9755 main ()
9757 return XCreateWindow ();
9759 return 0;
9761 _ACEOF
9762 if ac_fn_c_try_link "$LINENO"; then :
9763 case "$LIBEXT" in
9764 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9765 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'` ;;
9766 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9767 if ${ac_cv_lib_soname_X11:+false} :; then :
9768 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9769 fi ;;
9770 esac
9772 rm -f core conftest.err conftest.$ac_objext \
9773 conftest$ac_exeext conftest.$ac_ext
9774 LIBS=$ac_check_soname_save_LIBS
9776 if ${ac_cv_lib_soname_X11:+false} :; then :
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9778 $as_echo "not found" >&6; }
9780 else
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9782 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9784 cat >>confdefs.h <<_ACEOF
9785 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9786 _ACEOF
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9791 $as_echo_n "checking for -lXext... " >&6; }
9792 if ${ac_cv_lib_soname_Xext+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 ac_check_soname_save_LIBS=$LIBS
9796 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9800 /* Override any GCC internal prototype to avoid an error.
9801 Use char because int might match the return type of a GCC
9802 builtin and then its argument prototype would still apply. */
9803 #ifdef __cplusplus
9804 extern "C"
9805 #endif
9806 char XextCreateExtension ();
9808 main ()
9810 return XextCreateExtension ();
9812 return 0;
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"; then :
9816 case "$LIBEXT" in
9817 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9818 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'` ;;
9819 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9820 if ${ac_cv_lib_soname_Xext:+false} :; then :
9821 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9822 fi ;;
9823 esac
9825 rm -f core conftest.err conftest.$ac_objext \
9826 conftest$ac_exeext conftest.$ac_ext
9827 LIBS=$ac_check_soname_save_LIBS
9829 if ${ac_cv_lib_soname_Xext:+false} :; then :
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9831 $as_echo "not found" >&6; }
9833 else
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9835 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9837 cat >>confdefs.h <<_ACEOF
9838 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9839 _ACEOF
9841 X_LIBS="$X_LIBS -lXext"
9843 X_LIBS="$X_LIBS -lX11"
9845 for ac_header in X11/Xlib.h \
9846 X11/XKBlib.h \
9847 X11/Xutil.h \
9848 X11/Xcursor/Xcursor.h \
9849 X11/extensions/shape.h \
9850 X11/extensions/XInput.h \
9851 X11/extensions/XInput2.h \
9852 X11/extensions/XShm.h \
9853 X11/extensions/Xcomposite.h \
9854 X11/extensions/Xinerama.h \
9855 X11/extensions/Xrandr.h \
9856 X11/extensions/Xrender.h \
9857 X11/extensions/xf86vmode.h \
9858 X11/extensions/xf86vmproto.h
9859 do :
9860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9862 # include <X11/Xlib.h>
9863 #endif
9864 #ifdef HAVE_X11_XUTIL_H
9865 # include <X11/Xutil.h>
9866 #endif
9868 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9869 cat >>confdefs.h <<_ACEOF
9870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9871 _ACEOF
9875 done
9878 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9879 then
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9881 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9882 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_check_lib_save_LIBS=$LIBS
9886 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9893 #ifdef __cplusplus
9894 extern "C"
9895 #endif
9896 char XkbQueryExtension ();
9898 main ()
9900 return XkbQueryExtension ();
9902 return 0;
9904 _ACEOF
9905 if ac_fn_c_try_link "$LINENO"; then :
9906 ac_cv_lib_X11_XkbQueryExtension=yes
9907 else
9908 ac_cv_lib_X11_XkbQueryExtension=no
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LIBS=$ac_check_lib_save_LIBS
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9915 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9916 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9918 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9924 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9925 then
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9927 $as_echo_n "checking for -lXcursor... " >&6; }
9928 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_check_soname_save_LIBS=$LIBS
9932 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9936 /* Override any GCC internal prototype to avoid an error.
9937 Use char because int might match the return type of a GCC
9938 builtin and then its argument prototype would still apply. */
9939 #ifdef __cplusplus
9940 extern "C"
9941 #endif
9942 char XcursorImageLoadCursor ();
9944 main ()
9946 return XcursorImageLoadCursor ();
9948 return 0;
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 case "$LIBEXT" in
9953 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9954 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'` ;;
9955 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9956 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9957 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9958 fi ;;
9959 esac
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_soname_save_LIBS
9965 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9967 $as_echo "not found" >&6; }
9969 else
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9971 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9973 cat >>confdefs.h <<_ACEOF
9974 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9975 _ACEOF
9980 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9981 case "x$with_xcursor" in
9982 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9983 xno) ;;
9984 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9985 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9986 esac
9990 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9991 then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9993 $as_echo_n "checking for -lXi... " >&6; }
9994 if ${ac_cv_lib_soname_Xi+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XOpenDevice ();
10010 main ()
10012 return XOpenDevice ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_Xi:+false} :; then :
10023 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_soname_save_LIBS
10031 if ${ac_cv_lib_soname_Xi:+false} :; then :
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 $as_echo "not found" >&6; }
10035 else
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10037 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10039 cat >>confdefs.h <<_ACEOF
10040 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10041 _ACEOF
10046 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10047 case "x$with_xinput" in
10048 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10049 xno) ;;
10050 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10051 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10052 esac
10056 if test "x$ac_cv_lib_soname_Xi" != x
10057 then
10058 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10059 case "x$with_xinput2" in
10060 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10061 xno) ;;
10062 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10063 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10064 esac
10069 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10070 then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10072 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10073 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_check_lib_save_LIBS=$LIBS
10077 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 char XShmQueryExtension ();
10089 main ()
10091 return XShmQueryExtension ();
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_lib_Xext_XShmQueryExtension=yes
10098 else
10099 ac_cv_lib_Xext_XShmQueryExtension=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LIBS=$ac_check_lib_save_LIBS
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10106 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10107 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10109 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10114 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10115 case "x$with_xshm" in
10116 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10117 xno) ;;
10118 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10119 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10120 esac
10124 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10125 then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10127 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10128 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 ac_check_lib_save_LIBS=$LIBS
10132 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10136 /* Override any GCC internal prototype to avoid an error.
10137 Use char because int might match the return type of a GCC
10138 builtin and then its argument prototype would still apply. */
10139 #ifdef __cplusplus
10140 extern "C"
10141 #endif
10142 char XShapeQueryExtension ();
10144 main ()
10146 return XShapeQueryExtension ();
10148 return 0;
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"; then :
10152 ac_cv_lib_Xext_XShapeQueryExtension=yes
10153 else
10154 ac_cv_lib_Xext_XShapeQueryExtension=no
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_lib_save_LIBS
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10161 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10162 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10164 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10169 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10170 case "x$with_xshape" in
10171 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10172 xno) ;;
10173 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10174 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10175 esac
10179 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10180 then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10182 $as_echo_n "checking for -lXxf86vm... " >&6; }
10183 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 ac_check_soname_save_LIBS=$LIBS
10187 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10191 /* Override any GCC internal prototype to avoid an error.
10192 Use char because int might match the return type of a GCC
10193 builtin and then its argument prototype would still apply. */
10194 #ifdef __cplusplus
10195 extern "C"
10196 #endif
10197 char XF86VidModeQueryExtension ();
10199 main ()
10201 return XF86VidModeQueryExtension ();
10203 return 0;
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 case "$LIBEXT" in
10208 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 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'` ;;
10210 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10212 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10213 fi ;;
10214 esac
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 LIBS=$ac_check_soname_save_LIBS
10220 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10222 $as_echo "not found" >&6; }
10224 else
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10226 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10228 cat >>confdefs.h <<_ACEOF
10229 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10230 _ACEOF
10235 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10236 case "x$with_xxf86vm" in
10237 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10238 xno) ;;
10239 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10240 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10241 esac
10245 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10246 then
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10248 $as_echo_n "checking for -lXrender... " >&6; }
10249 if ${ac_cv_lib_soname_Xrender+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_soname_save_LIBS=$LIBS
10253 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char XRenderQueryExtension ();
10265 main ()
10267 return XRenderQueryExtension ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 case "$LIBEXT" in
10274 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10275 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'` ;;
10276 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10277 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10278 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10279 fi ;;
10280 esac
10282 rm -f core conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10284 LIBS=$ac_check_soname_save_LIBS
10286 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10288 $as_echo "not found" >&6; }
10290 else
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10292 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10294 cat >>confdefs.h <<_ACEOF
10295 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10296 _ACEOF
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10299 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10300 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_check_lib_save_LIBS=$LIBS
10304 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10311 #ifdef __cplusplus
10312 extern "C"
10313 #endif
10314 char XRenderSetPictureTransform ();
10316 main ()
10318 return XRenderSetPictureTransform ();
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10325 else
10326 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10333 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10334 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10336 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10341 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10342 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_check_lib_save_LIBS=$LIBS
10346 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10350 /* Override any GCC internal prototype to avoid an error.
10351 Use char because int might match the return type of a GCC
10352 builtin and then its argument prototype would still apply. */
10353 #ifdef __cplusplus
10354 extern "C"
10355 #endif
10356 char XRenderCreateLinearGradient ();
10358 main ()
10360 return XRenderCreateLinearGradient ();
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10367 else
10368 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_lib_save_LIBS
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10375 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10376 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10378 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10385 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10386 case "x$with_xrender" in
10387 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10388 xno) ;;
10389 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10390 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10391 esac
10395 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10396 then
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10399 #include <X11/Xlib.h>
10400 #include <X11/extensions/Xrandr.h>
10402 main ()
10404 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10406 return 0;
10408 _ACEOF
10409 if ac_fn_c_try_compile "$LINENO"; then :
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10411 $as_echo_n "checking for -lXrandr... " >&6; }
10412 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10423 #ifdef __cplusplus
10424 extern "C"
10425 #endif
10426 char XRRQueryExtension ();
10428 main ()
10430 return XRRQueryExtension ();
10432 return 0;
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 case "$LIBEXT" in
10437 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10438 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'` ;;
10439 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10440 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10441 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10442 fi ;;
10443 esac
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_soname_save_LIBS
10449 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10451 $as_echo "not found" >&6; }
10453 else
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10455 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10457 cat >>confdefs.h <<_ACEOF
10458 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10459 _ACEOF
10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10463 #include <X11/Xlib.h>
10464 #include <X11/extensions/Xrandr.h>
10466 main ()
10468 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10470 return 0;
10472 _ACEOF
10473 if ac_fn_c_try_compile "$LINENO"; then :
10475 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10483 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10484 case "x$with_xrandr" in
10485 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10486 xno) ;;
10487 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10488 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10489 esac
10493 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10494 then
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 #include <X11/Xlib.h>
10498 #include <X11/extensions/Xinerama.h>
10500 main ()
10502 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10504 return 0;
10506 _ACEOF
10507 if ac_fn_c_try_compile "$LINENO"; then :
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10509 $as_echo_n "checking for -lXinerama... " >&6; }
10510 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_check_soname_save_LIBS=$LIBS
10514 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10521 #ifdef __cplusplus
10522 extern "C"
10523 #endif
10524 char XineramaQueryScreens ();
10526 main ()
10528 return XineramaQueryScreens ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10539 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 fi ;;
10541 esac
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_soname_save_LIBS
10547 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10551 else
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10553 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10555 cat >>confdefs.h <<_ACEOF
10556 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10557 _ACEOF
10562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10564 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10565 case "x$with_xinerama" in
10566 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10567 xno) ;;
10568 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10569 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10570 esac
10574 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10575 then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10577 $as_echo_n "checking for -lXcomposite... " >&6; }
10578 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_check_soname_save_LIBS=$LIBS
10582 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10589 #ifdef __cplusplus
10590 extern "C"
10591 #endif
10592 char XCompositeRedirectWindow ();
10594 main ()
10596 return XCompositeRedirectWindow ();
10598 return 0;
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 case "$LIBEXT" in
10603 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10604 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'` ;;
10605 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10606 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10607 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10608 fi ;;
10609 esac
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 LIBS=$ac_check_soname_save_LIBS
10615 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10617 $as_echo "not found" >&6; }
10619 else
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10621 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10623 cat >>confdefs.h <<_ACEOF
10624 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10625 _ACEOF
10630 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10631 case "x$with_xcomposite" in
10632 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10633 xno) ;;
10634 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10635 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10636 esac
10640 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10641 #include <X11/Xlib.h>
10642 #endif
10644 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10646 cat >>confdefs.h <<_ACEOF
10647 #define HAVE_XICCALLBACK_CALLBACK 1
10648 _ACEOF
10652 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10653 #include <X11/Xlib.h>
10654 #endif
10656 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10658 cat >>confdefs.h <<_ACEOF
10659 #define HAVE_XEVENT_XCOOKIE 1
10660 _ACEOF
10667 opengl_msg=""
10668 if test "x$with_opengl" != "xno"
10669 then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10671 $as_echo_n "checking for -lGL... " >&6; }
10672 if ${ac_cv_lib_soname_GL+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_soname_save_LIBS=$LIBS
10676 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char glXCreateContext ();
10688 main ()
10690 return glXCreateContext ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 case "$LIBEXT" in
10697 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10698 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'` ;;
10699 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10700 if ${ac_cv_lib_soname_GL:+false} :; then :
10701 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10702 fi ;;
10703 esac
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_soname_save_LIBS
10709 if ${ac_cv_lib_soname_GL:+false} :; then :
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10711 $as_echo "not found" >&6; }
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10713 $as_echo_n "checking for -lGL... " >&6; }
10714 if ${ac_cv_lib_soname_GL+:} false; then :
10715 $as_echo_n "(cached) " >&6
10716 else
10717 ac_check_soname_save_LIBS=$LIBS
10718 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"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 char glXCreateContext ();
10730 main ()
10732 return glXCreateContext ();
10734 return 0;
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 case "$LIBEXT" in
10739 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10740 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'` ;;
10741 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10742 if ${ac_cv_lib_soname_GL:+false} :; then :
10743 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10744 fi ;;
10745 esac
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_soname_save_LIBS
10751 if ${ac_cv_lib_soname_GL:+false} :; then :
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10753 $as_echo "not found" >&6; }
10754 if test -f /usr/X11R6/lib/libGL.a
10755 then
10756 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10757 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10758 else
10759 opengl_msg="No OpenGL library found on this system."
10761 else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10763 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10765 cat >>confdefs.h <<_ACEOF
10766 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10767 _ACEOF
10769 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"
10771 else
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10773 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10775 cat >>confdefs.h <<_ACEOF
10776 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10777 _ACEOF
10779 OPENGL_LIBS="-lGL"
10781 if test "x$with_glu" != "xno"
10782 then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10784 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10785 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char gluLookAt ();
10801 main ()
10803 return gluLookAt ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_GLU_gluLookAt=yes
10810 else
10811 ac_cv_lib_GLU_gluLookAt=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10818 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10819 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10823 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10824 case "x$with_glu" in
10825 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10826 xno) ;;
10827 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10828 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10829 esac
10834 if test "x$with_osmesa" != "xno"
10835 then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10837 $as_echo_n "checking for -lOSMesa... " >&6; }
10838 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 ac_check_soname_save_LIBS=$LIBS
10842 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char glAccum ();
10854 main ()
10856 return glAccum ();
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 case "$LIBEXT" in
10863 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10864 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'` ;;
10865 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10866 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10867 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10868 fi ;;
10869 esac
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_soname_save_LIBS
10875 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10877 $as_echo "not found" >&6; }
10879 else
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10881 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10883 cat >>confdefs.h <<_ACEOF
10884 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10885 _ACEOF
10889 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10890 case "x$with_osmesa" in
10891 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10892 xno) ;;
10893 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10894 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10895 esac
10900 if test -n "$opengl_msg"; then :
10901 case "x$with_opengl" in
10902 x) as_fn_append wine_warnings "|$opengl_msg
10903 OpenGL and Direct3D won't be supported." ;;
10904 xno) ;;
10905 *) as_fn_error $? "$opengl_msg
10906 OpenGL and Direct3D won't be supported.
10907 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10908 esac
10912 CPPFLAGS="$ac_save_CPPFLAGS"
10913 else
10914 X_CFLAGS=""
10915 X_LIBS=""
10917 if test "x$X_LIBS" = "x"; then :
10918 case "x$with_x" in
10919 xno) ;;
10920 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10921 without X support, which probably isn't what you want. You will need
10922 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10923 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10924 esac
10925 enable_winex11_drv=${enable_winex11_drv:-no}
10928 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10930 if test "$ac_cv_header_CL_cl_h" = "yes"
10931 then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10933 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10934 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10935 $as_echo_n "(cached) " >&6
10936 else
10937 ac_check_lib_save_LIBS=$LIBS
10938 LIBS="-lOpenCL $LIBS"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10945 #ifdef __cplusplus
10946 extern "C"
10947 #endif
10948 char clGetPlatformInfo ();
10950 main ()
10952 return clGetPlatformInfo ();
10954 return 0;
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10959 else
10960 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10962 rm -f core conftest.err conftest.$ac_objext \
10963 conftest$ac_exeext conftest.$ac_ext
10964 LIBS=$ac_check_lib_save_LIBS
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10967 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10968 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10969 OPENCL_LIBS="-lOpenCL"
10974 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10975 case "x$with_opencl" in
10976 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10977 xno) ;;
10978 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10979 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10980 esac
10981 enable_opencl=${enable_opencl:-no}
10984 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10985 then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10987 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10988 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10989 $as_echo_n "(cached) " >&6
10990 else
10991 ac_check_lib_save_LIBS=$LIBS
10992 LIBS="-lpcap $LIBS"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
10999 #ifdef __cplusplus
11000 extern "C"
11001 #endif
11002 char pcap_create ();
11004 main ()
11006 return pcap_create ();
11008 return 0;
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"; then :
11012 ac_cv_lib_pcap_pcap_create=yes
11013 else
11014 ac_cv_lib_pcap_pcap_create=no
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11021 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11022 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11023 PCAP_LIBS="-lpcap"
11028 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11029 case "x$with_pcap" in
11030 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11031 xno) ;;
11032 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11033 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11034 esac
11035 enable_wpcap=${enable_wpcap:-no}
11039 if test "x$with_xml" != "xno"
11040 then
11041 if ${XML2_CFLAGS:+false} :; then :
11042 if ${PKG_CONFIG+:} false; then :
11043 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11046 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11047 if ${XML2_LIBS:+false} :; then :
11048 if ${PKG_CONFIG+:} false; then :
11049 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11052 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11053 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11054 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11055 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11056 ac_save_CPPFLAGS=$CPPFLAGS
11057 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11058 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11059 do :
11060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11061 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11062 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11063 cat >>confdefs.h <<_ACEOF
11064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11065 _ACEOF
11069 done
11071 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"
11072 then
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11074 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11075 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-lxml2 $XML2_LIBS $LIBS"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11086 #ifdef __cplusplus
11087 extern "C"
11088 #endif
11089 char xmlParseMemory ();
11091 main ()
11093 return xmlParseMemory ();
11095 return 0;
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_xml2_xmlParseMemory=yes
11100 else
11101 ac_cv_lib_xml2_xmlParseMemory=no
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11108 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11109 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11111 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11113 else
11114 XML2_LIBS=""
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11118 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11119 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11120 $as_echo_n "(cached) " >&6
11121 else
11122 ac_check_lib_save_LIBS=$LIBS
11123 LIBS="-lxml2 $XML2_LIBS $LIBS"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char xmlReadMemory ();
11135 main ()
11137 return xmlReadMemory ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 ac_cv_lib_xml2_xmlReadMemory=yes
11144 else
11145 ac_cv_lib_xml2_xmlReadMemory=no
11147 rm -f core conftest.err conftest.$ac_objext \
11148 conftest$ac_exeext conftest.$ac_ext
11149 LIBS=$ac_check_lib_save_LIBS
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11152 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11153 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11155 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11160 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11161 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_lib_save_LIBS=$LIBS
11165 LIBS="-lxml2 $XML2_LIBS $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char xmlNewDocPI ();
11177 main ()
11179 return xmlNewDocPI ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_xml2_xmlNewDocPI=yes
11186 else
11187 ac_cv_lib_xml2_xmlNewDocPI=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11194 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11195 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11197 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11202 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11203 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lxml2 $XML2_LIBS $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char xmlSchemaSetParserStructuredErrors ();
11219 main ()
11221 return xmlSchemaSetParserStructuredErrors ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11228 else
11229 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11236 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11237 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11239 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11244 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11245 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lxml2 $XML2_LIBS $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xmlSchemaSetValidStructuredErrors ();
11261 main ()
11263 return xmlSchemaSetValidStructuredErrors ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11270 else
11271 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11278 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11279 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11281 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11286 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11287 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_lib_save_LIBS=$LIBS
11291 LIBS="-lxml2 $XML2_LIBS $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char xmlFirstElementChild ();
11303 main ()
11305 return xmlFirstElementChild ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 ac_cv_lib_xml2_xmlFirstElementChild=yes
11312 else
11313 ac_cv_lib_xml2_xmlFirstElementChild=no
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11320 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11321 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11323 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11327 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11329 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11331 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11335 else
11336 XML2_CFLAGS=""
11337 XML2_LIBS=""
11339 CPPFLAGS=$ac_save_CPPFLAGS
11340 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11341 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11344 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11345 case "x$with_xml" in
11346 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11347 xno) ;;
11348 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11349 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11350 esac
11354 if test "x$with_xslt" != "xno"
11355 then
11356 if ${XSLT_CFLAGS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11361 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11362 if ${XSLT_LIBS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11367 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11368 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11369 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11370 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11371 ac_save_CPPFLAGS=$CPPFLAGS
11372 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11373 for ac_header in libxslt/pattern.h libxslt/transform.h
11374 do :
11375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11376 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11377 # include <libxslt/pattern.h>
11378 #endif
11380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11381 cat >>confdefs.h <<_ACEOF
11382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11383 _ACEOF
11387 done
11389 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11390 then
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11392 $as_echo_n "checking for -lxslt... " >&6; }
11393 if ${ac_cv_lib_soname_xslt+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_soname_save_LIBS=$LIBS
11397 LIBS="-lxslt $XSLT_LIBS $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char xsltCompilePattern ();
11409 main ()
11411 return xsltCompilePattern ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 case "$LIBEXT" in
11418 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11419 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'` ;;
11420 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11421 if ${ac_cv_lib_soname_xslt:+false} :; then :
11422 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11423 fi ;;
11424 esac
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_soname_save_LIBS
11430 if ${ac_cv_lib_soname_xslt:+false} :; then :
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11432 $as_echo "not found" >&6; }
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11436 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11438 cat >>confdefs.h <<_ACEOF
11439 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11440 _ACEOF
11444 else
11445 XSLT_CFLAGS=""
11447 CPPFLAGS=$ac_save_CPPFLAGS
11448 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11449 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11452 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11453 case "x$with_xslt" in
11454 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11455 xno) ;;
11456 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11457 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11458 esac
11462 if test "x$with_dbus" != "xno"
11463 then
11464 if ${DBUS_CFLAGS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11470 if ${DBUS_LIBS:+false} :; then :
11471 if ${PKG_CONFIG+:} false; then :
11472 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11477 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11478 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11479 ac_save_CPPFLAGS=$CPPFLAGS
11480 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11481 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11482 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11484 $as_echo_n "checking for -ldbus-1... " >&6; }
11485 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 ac_check_soname_save_LIBS=$LIBS
11489 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char dbus_connection_close ();
11501 main ()
11503 return dbus_connection_close ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 case "$LIBEXT" in
11510 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) 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'`
11513 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11514 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11515 fi ;;
11516 esac
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11525 DBUS_CFLAGS=""
11526 else
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11528 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11530 cat >>confdefs.h <<_ACEOF
11531 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11532 _ACEOF
11536 else
11537 DBUS_CFLAGS=""
11541 CPPFLAGS=$ac_save_CPPFLAGS
11542 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11543 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11546 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11547 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11548 case "x$with_dbus" in
11549 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11550 xno) ;;
11551 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11552 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11553 esac
11557 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11558 then
11559 if ${HAL_CFLAGS:+false} :; then :
11560 if ${PKG_CONFIG+:} false; then :
11561 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11565 if ${HAL_LIBS:+false} :; then :
11566 if ${PKG_CONFIG+:} false; then :
11567 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11571 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11572 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11573 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11574 ac_save_CPPFLAGS=$CPPFLAGS
11575 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11576 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11577 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11579 $as_echo_n "checking for -lhal... " >&6; }
11580 if ${ac_cv_lib_soname_hal+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-lhal $HAL_LIBS $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char libhal_ctx_new ();
11596 main ()
11598 return libhal_ctx_new ();
11600 return 0;
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 case "$LIBEXT" in
11605 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11608 if ${ac_cv_lib_soname_hal:+false} :; then :
11609 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11610 fi ;;
11611 esac
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_soname_save_LIBS
11617 if ${ac_cv_lib_soname_hal:+false} :; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11619 $as_echo "not found" >&6; }
11620 HAL_CFLAGS=""
11621 else
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11623 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11625 cat >>confdefs.h <<_ACEOF
11626 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11627 _ACEOF
11631 else
11632 HAL_CFLAGS=""
11636 CPPFLAGS=$ac_save_CPPFLAGS
11637 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11638 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11640 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11641 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11642 case "x$with_hal" in
11643 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11644 xno) ;;
11645 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11646 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11647 esac
11652 if test "x$with_gnutls" != "xno"
11653 then
11654 if ${GNUTLS_CFLAGS:+false} :; then :
11655 if ${PKG_CONFIG+:} false; then :
11656 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11660 if ${GNUTLS_LIBS:+false} :; then :
11661 if ${PKG_CONFIG+:} false; then :
11662 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11667 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11668 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11669 ac_save_CPPFLAGS=$CPPFLAGS
11670 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11671 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11672 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 #include <gnutls/gnutls.h>
11676 #include <gnutls/crypto.h>
11678 main ()
11680 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_compile "$LINENO"; then :
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11687 $as_echo_n "checking for -lgnutls... " >&6; }
11688 if ${ac_cv_lib_soname_gnutls+:} false; then :
11689 $as_echo_n "(cached) " >&6
11690 else
11691 ac_check_soname_save_LIBS=$LIBS
11692 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11696 /* Override any GCC internal prototype to avoid an error.
11697 Use char because int might match the return type of a GCC
11698 builtin and then its argument prototype would still apply. */
11699 #ifdef __cplusplus
11700 extern "C"
11701 #endif
11702 char gnutls_global_init ();
11704 main ()
11706 return gnutls_global_init ();
11708 return 0;
11710 _ACEOF
11711 if ac_fn_c_try_link "$LINENO"; then :
11712 case "$LIBEXT" in
11713 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11714 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'` ;;
11715 *) 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'`
11716 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11717 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'`
11718 fi ;;
11719 esac
11721 rm -f core conftest.err conftest.$ac_objext \
11722 conftest$ac_exeext conftest.$ac_ext
11723 LIBS=$ac_check_soname_save_LIBS
11725 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11727 $as_echo "not found" >&6; }
11728 GNUTLS_CFLAGS=""
11729 else
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11731 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11733 cat >>confdefs.h <<_ACEOF
11734 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11735 _ACEOF
11739 ac_wine_check_funcs_save_LIBS="$LIBS"
11740 LIBS="$LIBS $GNUTLS_LIBS"
11741 for ac_func in gnutls_hash
11742 do :
11743 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11744 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11745 cat >>confdefs.h <<_ACEOF
11746 #define HAVE_GNUTLS_HASH 1
11747 _ACEOF
11749 else
11750 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11752 done
11754 LIBS="$ac_wine_check_funcs_save_LIBS"
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11757 else
11758 GNUTLS_CFLAGS=""
11762 CPPFLAGS=$ac_save_CPPFLAGS
11763 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11764 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11767 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11768 case "x$with_gnutls" in
11769 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11770 xno) ;;
11771 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11772 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11773 esac
11777 CURSES_LIBS=""
11778 if test "$ac_cv_header_ncurses_h" = "yes"
11779 then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11781 $as_echo_n "checking for -lncurses... " >&6; }
11782 if ${ac_cv_lib_soname_ncurses+:} false; then :
11783 $as_echo_n "(cached) " >&6
11784 else
11785 ac_check_soname_save_LIBS=$LIBS
11786 LIBS="-lncurses $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char waddch ();
11798 main ()
11800 return waddch ();
11802 return 0;
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 case "$LIBEXT" in
11807 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11808 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'` ;;
11809 *) 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'`
11810 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11811 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11812 fi ;;
11813 esac
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_soname_save_LIBS
11819 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11821 $as_echo "not found" >&6; }
11823 else
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11825 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11827 cat >>confdefs.h <<_ACEOF
11828 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11829 _ACEOF
11831 CURSES_LIBS="-lncurses"
11833 elif test "$ac_cv_header_curses_h" = "yes"
11834 then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11836 $as_echo_n "checking for -lcurses... " >&6; }
11837 if ${ac_cv_lib_soname_curses+:} false; then :
11838 $as_echo_n "(cached) " >&6
11839 else
11840 ac_check_soname_save_LIBS=$LIBS
11841 LIBS="-lcurses $LIBS"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char waddch ();
11853 main ()
11855 return waddch ();
11857 return 0;
11859 _ACEOF
11860 if ac_fn_c_try_link "$LINENO"; then :
11861 case "$LIBEXT" in
11862 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11863 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'` ;;
11864 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11865 if ${ac_cv_lib_soname_curses:+false} :; then :
11866 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 fi ;;
11868 esac
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_soname_save_LIBS
11874 if ${ac_cv_lib_soname_curses:+false} :; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11876 $as_echo "not found" >&6; }
11878 else
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11880 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11882 cat >>confdefs.h <<_ACEOF
11883 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11884 _ACEOF
11886 CURSES_LIBS="-lcurses"
11889 ac_save_LIBS="$LIBS"
11890 LIBS="$LIBS $CURSES_LIBS"
11891 for ac_func in mousemask
11892 do :
11893 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11894 if test "x$ac_cv_func_mousemask" = xyes; then :
11895 cat >>confdefs.h <<_ACEOF
11896 #define HAVE_MOUSEMASK 1
11897 _ACEOF
11900 done
11902 LIBS="$ac_save_LIBS"
11903 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11904 case "x$with_curses" in
11905 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11906 xno) ;;
11907 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11908 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11909 esac
11913 if test "x$with_sane" != "xno"
11914 then
11915 if ${SANE_CFLAGS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11920 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11921 if ${SANE_LIBS:+false} :; then :
11922 if ${PKG_CONFIG+:} false; then :
11923 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11926 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11928 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11932 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11935 $as_echo_n "checking for -lsane... " >&6; }
11936 if ${ac_cv_lib_soname_sane+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 ac_check_soname_save_LIBS=$LIBS
11940 LIBS="-lsane $SANE_LIBS $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char sane_init ();
11952 main ()
11954 return sane_init ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 case "$LIBEXT" in
11961 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11962 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'` ;;
11963 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11964 if ${ac_cv_lib_soname_sane:+false} :; then :
11965 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11966 fi ;;
11967 esac
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_soname_save_LIBS
11973 if ${ac_cv_lib_soname_sane:+false} :; then :
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11975 $as_echo "not found" >&6; }
11976 SANE_CFLAGS=""
11977 else
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11979 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11981 cat >>confdefs.h <<_ACEOF
11982 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11983 _ACEOF
11987 else
11988 SANE_CFLAGS=""
11992 CPPFLAGS=$ac_save_CPPFLAGS
11993 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11994 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11997 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11998 case "x$with_sane" in
11999 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12000 xno) ;;
12001 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12002 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12003 esac
12007 if test "x$with_v4l" != "xno"
12008 then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12010 $as_echo_n "checking for -lv4l1... " >&6; }
12011 if ${ac_cv_lib_soname_v4l1+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_soname_save_LIBS=$LIBS
12015 LIBS="-lv4l1 $LIBS"
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char v4l1_open ();
12027 main ()
12029 return v4l1_open ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 case "$LIBEXT" in
12036 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12037 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'` ;;
12038 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12039 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12040 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12041 fi ;;
12042 esac
12044 rm -f core conftest.err conftest.$ac_objext \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_soname_save_LIBS
12048 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12050 $as_echo "not found" >&6; }
12052 else
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12054 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12056 cat >>confdefs.h <<_ACEOF
12057 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12058 _ACEOF
12063 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12064 case "x$with_v4l" in
12065 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12066 xno) ;;
12067 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12068 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12069 esac
12073 if test "x$with_gphoto" != "xno"
12074 then
12075 if ${GPHOTO2_CFLAGS:+false} :; then :
12076 if ${PKG_CONFIG+:} false; then :
12077 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12080 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12081 if ${GPHOTO2_LIBS:+false} :; then :
12082 if ${PKG_CONFIG+:} false; then :
12083 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12086 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12087 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12088 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12089 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12090 ac_save_CPPFLAGS=$CPPFLAGS
12091 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12092 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12093 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12095 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12096 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12097 $as_echo_n "(cached) " >&6
12098 else
12099 ac_check_lib_save_LIBS=$LIBS
12100 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 char gp_camera_new ();
12112 main ()
12114 return gp_camera_new ();
12116 return 0;
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"; then :
12120 ac_cv_lib_gphoto2_gp_camera_new=yes
12121 else
12122 ac_cv_lib_gphoto2_gp_camera_new=no
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12129 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12130 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12132 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12134 else
12135 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12138 else
12139 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12143 CPPFLAGS=$ac_save_CPPFLAGS
12144 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12145 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12147 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12152 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12153 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12154 if ${PKG_CONFIG+:} false; then :
12155 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12158 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12159 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12160 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12161 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12162 ac_save_CPPFLAGS=$CPPFLAGS
12163 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12164 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12165 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12167 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12168 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_check_lib_save_LIBS=$LIBS
12172 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char gp_port_info_list_new ();
12184 main ()
12186 return gp_port_info_list_new ();
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12193 else
12194 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12201 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12202 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12204 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12206 else
12207 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12210 else
12211 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12215 CPPFLAGS=$ac_save_CPPFLAGS
12216 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12217 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12220 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12221 case "x$with_gphoto" in
12222 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12223 xno) ;;
12224 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12225 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12226 esac
12229 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12230 case "x$with_gphoto" in
12231 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12232 xno) ;;
12233 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12234 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12235 esac
12240 if test "$ac_cv_header_resolv_h" = "yes"
12241 then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12243 $as_echo_n "checking for resolver library... " >&6; }
12244 if ${ac_cv_have_resolv+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_save_LIBS="$LIBS"
12248 for lib in '' -lresolv
12250 LIBS="$lib $ac_save_LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #ifdef HAVE_NETINET_IN_H
12254 #include <netinet/in.h>
12255 #endif
12256 #include <resolv.h>
12258 main ()
12260 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_link "$LINENO"; then :
12266 ac_cv_have_resolv=${lib:-"none required"}
12267 else
12268 ac_cv_have_resolv="not found"
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 test "x$ac_cv_have_resolv" = "xnot found" || break
12273 done
12274 LIBS="$ac_save_LIBS"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12277 $as_echo "$ac_cv_have_resolv" >&6; }
12279 case "$ac_cv_have_resolv" in
12280 "not found") ;;
12281 "none required")
12283 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12286 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12288 RESOLV_LIBS=$ac_cv_have_resolv
12290 esac
12293 if test "x$with_cms" != "xno"
12294 then
12295 if ${LCMS2_CFLAGS:+false} :; then :
12296 if ${PKG_CONFIG+:} false; then :
12297 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12301 if ${LCMS2_LIBS:+false} :; then :
12302 if ${PKG_CONFIG+:} false; then :
12303 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12307 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12308 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12309 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12310 ac_save_CPPFLAGS=$CPPFLAGS
12311 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12312 for ac_header in lcms2.h
12313 do :
12314 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12315 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12316 cat >>confdefs.h <<_ACEOF
12317 #define HAVE_LCMS2_H 1
12318 _ACEOF
12322 done
12324 if test "$ac_cv_header_lcms2_h" = "yes"
12325 then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12327 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12328 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12329 $as_echo_n "(cached) " >&6
12330 else
12331 ac_check_lib_save_LIBS=$LIBS
12332 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char cmsOpenProfileFromFile ();
12344 main ()
12346 return cmsOpenProfileFromFile ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"; then :
12352 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12353 else
12354 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12356 rm -f core conftest.err conftest.$ac_objext \
12357 conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_lib_save_LIBS
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12361 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12362 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12364 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12366 else
12367 LCMS2_LIBS=""
12370 else
12371 LCMS2_CFLAGS=""
12372 LCMS2_LIBS=""
12374 CPPFLAGS=$ac_save_CPPFLAGS
12375 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12376 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12379 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12380 case "x$with_cms" in
12381 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12382 xno) ;;
12383 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12384 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12385 esac
12389 if test "x$with_freetype" != "xno"
12390 then
12391 if ${FREETYPE_CFLAGS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12396 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12397 if ${FREETYPE_LIBS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12402 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12403 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12404 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12405 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12406 ac_save_CPPFLAGS=$CPPFLAGS
12407 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12408 for ac_header in ft2build.h
12409 do :
12410 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12411 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12412 cat >>confdefs.h <<_ACEOF
12413 #define HAVE_FT2BUILD_H 1
12414 _ACEOF
12418 done
12420 if test "$ac_cv_header_ft2build_h" = "yes"
12421 then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12423 $as_echo_n "checking for -lfreetype... " >&6; }
12424 if ${ac_cv_lib_soname_freetype+:} false; then :
12425 $as_echo_n "(cached) " >&6
12426 else
12427 ac_check_soname_save_LIBS=$LIBS
12428 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 #ifdef __cplusplus
12436 extern "C"
12437 #endif
12438 char FT_Init_FreeType ();
12440 main ()
12442 return FT_Init_FreeType ();
12444 return 0;
12446 _ACEOF
12447 if ac_fn_c_try_link "$LINENO"; then :
12448 case "$LIBEXT" in
12449 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12450 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'` ;;
12451 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12452 if ${ac_cv_lib_soname_freetype:+false} :; then :
12453 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12454 fi ;;
12455 esac
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 LIBS=$ac_check_soname_save_LIBS
12461 if ${ac_cv_lib_soname_freetype:+false} :; then :
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12463 $as_echo "not found" >&6; }
12464 FREETYPE_LIBS=""
12465 else
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12467 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12469 cat >>confdefs.h <<_ACEOF
12470 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12471 _ACEOF
12474 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12476 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12477 #include FT_MODULE_H
12479 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12481 cat >>confdefs.h <<_ACEOF
12482 #define HAVE_FT_TRUETYPEENGINETYPE 1
12483 _ACEOF
12489 else
12490 FREETYPE_CFLAGS=""
12491 FREETYPE_LIBS=""
12493 CPPFLAGS=$ac_save_CPPFLAGS
12494 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12495 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12498 if test "x$ac_cv_lib_soname_freetype" = x; then :
12499 case "x$with_freetype" in
12500 xno) ;;
12501 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12502 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12503 esac
12504 enable_fonts=${enable_fonts:-no}
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12508 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12509 if ${ac_cv_c_ppdev+:} false; then :
12510 $as_echo_n "(cached) " >&6
12511 else
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 #ifdef HAVE_SYS_IOCTL_H
12515 # include <sys/ioctl.h>
12516 #endif
12517 #include <linux/ppdev.h>
12519 main ()
12521 ioctl (1,PPCLAIM,0)
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_compile "$LINENO"; then :
12527 ac_cv_c_ppdev="yes"
12528 else
12529 ac_cv_c_ppdev="no"
12531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12534 $as_echo "$ac_cv_c_ppdev" >&6; }
12535 if test "$ac_cv_c_ppdev" = "yes"
12536 then
12538 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12542 ac_wine_check_funcs_save_LIBS="$LIBS"
12543 LIBS="$LIBS $PTHREAD_LIBS"
12544 for ac_func in \
12545 pthread_attr_get_np \
12546 pthread_getattr_np \
12547 pthread_getthreadid_np \
12548 pthread_get_stackaddr_np \
12549 pthread_get_stacksize_np
12550 do :
12551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12556 _ACEOF
12559 done
12561 LIBS="$ac_wine_check_funcs_save_LIBS"
12563 if test "$ac_cv_header_zlib_h" = "yes"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12566 $as_echo_n "checking for inflate in -lz... " >&6; }
12567 if ${ac_cv_lib_z_inflate+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lz $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char inflate ();
12583 main ()
12585 return inflate ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_z_inflate=yes
12592 else
12593 ac_cv_lib_z_inflate=no
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12600 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12601 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12603 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12605 Z_LIBS="-lz"
12610 if test "x$Z_LIBS" = "x"; then :
12611 case "x$with_zlib" in
12612 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12613 xno) ;;
12614 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12615 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12616 esac
12620 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12621 then
12622 if test "$ac_cv_header_gettext_po_h" = "yes"
12623 then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12625 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12626 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_lib_save_LIBS=$LIBS
12630 LIBS="-lgettextpo $LIBS"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char po_message_msgctxt ();
12642 main ()
12644 return po_message_msgctxt ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12651 else
12652 ac_cv_lib_gettextpo_po_message_msgctxt=no
12654 rm -f core conftest.err conftest.$ac_objext \
12655 conftest$ac_exeext conftest.$ac_ext
12656 LIBS=$ac_check_lib_save_LIBS
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12659 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12660 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12662 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12664 GETTEXTPO_LIBS="-lgettextpo"
12669 if test "x$GETTEXTPO_LIBS" = "x"; then :
12670 case "x$with_gettextpo" in
12671 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12672 xno) ;;
12673 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12674 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12675 esac
12678 if test "$srcdir" != .; then :
12679 case "x$with_gettextpo" in
12680 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12681 xno) ;;
12682 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12683 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12684 esac
12689 if test "x$with_pulse" != "xno";
12690 then
12691 if ${PULSE_CFLAGS:+false} :; then :
12692 if ${PKG_CONFIG+:} false; then :
12693 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12697 if ${PULSE_LIBS:+false} :; then :
12698 if ${PKG_CONFIG+:} false; then :
12699 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12704 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12705 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12706 ac_save_CPPFLAGS=$CPPFLAGS
12707 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12708 for ac_header in pulse/pulseaudio.h
12709 do :
12710 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12711 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12712 cat >>confdefs.h <<_ACEOF
12713 #define HAVE_PULSE_PULSEAUDIO_H 1
12714 _ACEOF
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12716 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12717 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12718 $as_echo_n "(cached) " >&6
12719 else
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lpulse $PULSE_LIBS $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char pa_stream_is_corked ();
12733 main ()
12735 return pa_stream_is_corked ();
12737 return 0;
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_lib_pulse_pa_stream_is_corked=yes
12742 else
12743 ac_cv_lib_pulse_pa_stream_is_corked=no
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12750 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12751 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12753 else
12754 PULSE_LIBS=""
12757 else
12758 PULSE_LIBS=""
12761 done
12763 CPPFLAGS=$ac_save_CPPFLAGS
12764 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12765 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12768 if test -z "$PULSE_LIBS"; then :
12769 case "x$with_pulse" in
12770 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12771 xno) ;;
12772 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12773 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12774 esac
12775 enable_winepulse_drv=${enable_winepulse_drv:-no}
12778 if test "x$with_gstreamer" != "xno"
12779 then
12780 if ${GSTREAMER_CFLAGS:+false} :; then :
12781 if ${PKG_CONFIG+:} false; then :
12782 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12786 if ${GSTREAMER_LIBS:+false} :; then :
12787 if ${PKG_CONFIG+:} false; then :
12788 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12793 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12794 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12795 ac_save_CPPFLAGS=$CPPFLAGS
12796 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12797 ac_gst_incl=""
12798 for i in $GSTREAMER_CFLAGS
12800 case "$i" in
12801 -I*) ac_gst_incl="$ac_gst_incl $i";;
12802 esac
12803 done
12804 GSTREAMER_CFLAGS=$ac_gst_incl
12805 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12806 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12807 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12809 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12811 /* end confdefs.h. */
12812 #include <gst/gst.h>
12814 main ()
12816 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12818 return 0;
12820 _ACEOF
12821 if ac_fn_c_try_compile "$LINENO"; then :
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12823 $as_echo "yes" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12825 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12826 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 char gst_pad_new ();
12842 main ()
12844 return gst_pad_new ();
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12851 else
12852 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12859 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12860 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12864 else
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12867 ac_glib2_broken=yes
12868 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12874 CPPFLAGS=$ac_save_CPPFLAGS
12875 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12876 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12879 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 :
12880 case "x$with_gstreamer" in
12881 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12882 xno) ;;
12883 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12884 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12885 esac
12888 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12890 ALSA_LIBS=""
12892 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12893 then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12895 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12896 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12897 $as_echo_n "(cached) " >&6
12898 else
12899 ac_check_lib_save_LIBS=$LIBS
12900 LIBS="-lasound $LIBS"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12907 #ifdef __cplusplus
12908 extern "C"
12909 #endif
12910 char snd_pcm_hw_params_get_access_mask ();
12912 main ()
12914 return snd_pcm_hw_params_get_access_mask ();
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_link "$LINENO"; then :
12920 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12921 else
12922 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12924 rm -f core conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_lib_save_LIBS
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12929 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12930 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933 #ifdef HAVE_ALSA_ASOUNDLIB_H
12934 #include <alsa/asoundlib.h>
12935 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12936 #include <sys/asoundlib.h>
12937 #endif
12939 main ()
12941 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12943 return 0;
12945 _ACEOF
12946 if ac_fn_c_try_compile "$LINENO"; then :
12947 ALSA_LIBS="-lasound"
12949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12953 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12955 if test "x$with_oss" != xno
12956 then
12957 ac_save_CPPFLAGS="$CPPFLAGS"
12958 if test -f /etc/oss.conf
12959 then
12960 . /etc/oss.conf
12962 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12963 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12964 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12965 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12966 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12968 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12970 cat >>confdefs.h <<_ACEOF
12971 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12972 _ACEOF
12974 OSS4_CFLAGS="$ac_oss_incl"
12981 CPPFLAGS="$ac_save_CPPFLAGS"
12983 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12984 case "x$with_oss" in
12985 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12986 xno) ;;
12987 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12988 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12989 esac
12990 enable_wineoss_drv=${enable_wineoss_drv:-no}
12993 if test "x$with_udev" != "xno"
12994 then
12995 if ${UDEV_CFLAGS:+false} :; then :
12996 if ${PKG_CONFIG+:} false; then :
12997 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13001 if ${UDEV_LIBS:+false} :; then :
13002 if ${PKG_CONFIG+:} false; then :
13003 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13007 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13008 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13009 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13010 ac_save_CPPFLAGS=$CPPFLAGS
13011 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13012 for ac_header in libudev.h
13013 do :
13014 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13015 if test "x$ac_cv_header_libudev_h" = xyes; then :
13016 cat >>confdefs.h <<_ACEOF
13017 #define HAVE_LIBUDEV_H 1
13018 _ACEOF
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13020 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13021 if ${ac_cv_lib_udev_udev_new+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 ac_check_lib_save_LIBS=$LIBS
13025 LIBS="-ludev $UDEV_LIBS $LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 /* Override any GCC internal prototype to avoid an error.
13030 Use char because int might match the return type of a GCC
13031 builtin and then its argument prototype would still apply. */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char udev_new ();
13037 main ()
13039 return udev_new ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 ac_cv_lib_udev_udev_new=yes
13046 else
13047 ac_cv_lib_udev_udev_new=no
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13051 LIBS=$ac_check_lib_save_LIBS
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13054 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13055 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13057 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13059 else
13060 UDEV_LIBS=""
13063 else
13064 UDEV_LIBS=""
13067 done
13069 CPPFLAGS=$ac_save_CPPFLAGS
13070 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13071 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13074 if test "x$UDEV_LIBS" = "x"; then :
13075 case "x$with_udev" in
13076 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13077 xno) ;;
13078 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13079 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13080 esac
13084 if test "x$with_capi" != "xno"
13085 then
13086 if ${CAPI20_CFLAGS:+false} :; then :
13087 if ${PKG_CONFIG+:} false; then :
13088 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13092 if ${CAPI20_LIBS:+false} :; then :
13093 if ${PKG_CONFIG+:} false; then :
13094 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13099 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13100 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13101 ac_save_CPPFLAGS=$CPPFLAGS
13102 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13103 for ac_header in capi20.h linux/capi.h
13104 do :
13105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13111 _ACEOF
13115 done
13117 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13118 then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13120 $as_echo_n "checking for -lcapi20... " >&6; }
13121 if ${ac_cv_lib_soname_capi20+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_soname_save_LIBS=$LIBS
13125 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char capi20_register ();
13137 main ()
13139 return capi20_register ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 case "$LIBEXT" in
13146 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13147 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'` ;;
13148 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13149 if ${ac_cv_lib_soname_capi20:+false} :; then :
13150 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13151 fi ;;
13152 esac
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext conftest.$ac_ext
13156 LIBS=$ac_check_soname_save_LIBS
13158 if ${ac_cv_lib_soname_capi20:+false} :; then :
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13160 $as_echo "not found" >&6; }
13162 else
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13164 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13166 cat >>confdefs.h <<_ACEOF
13167 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13168 _ACEOF
13173 CPPFLAGS=$ac_save_CPPFLAGS
13174 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13175 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13178 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13179 case "x$with_capi" in
13180 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13181 xno) ;;
13182 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13183 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13184 esac
13188 CUPS_CFLAGS=""
13190 if test "x$with_cups" != "xno"
13191 then
13192 ac_save_CPPFLAGS="$CPPFLAGS"
13193 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13194 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13195 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13196 for ac_header in cups/cups.h
13197 do :
13198 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13199 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13200 cat >>confdefs.h <<_ACEOF
13201 #define HAVE_CUPS_CUPS_H 1
13202 _ACEOF
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13204 $as_echo_n "checking for -lcups... " >&6; }
13205 if ${ac_cv_lib_soname_cups+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_soname_save_LIBS=$LIBS
13209 LIBS="-lcups $ac_cups_libs $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char cupsGetDefault ();
13221 main ()
13223 return cupsGetDefault ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 case "$LIBEXT" in
13230 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13231 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'` ;;
13232 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13233 if ${ac_cv_lib_soname_cups:+false} :; then :
13234 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13235 fi ;;
13236 esac
13238 rm -f core conftest.err conftest.$ac_objext \
13239 conftest$ac_exeext conftest.$ac_ext
13240 LIBS=$ac_check_soname_save_LIBS
13242 if ${ac_cv_lib_soname_cups:+false} :; then :
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13244 $as_echo "not found" >&6; }
13246 else
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13248 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13250 cat >>confdefs.h <<_ACEOF
13251 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13252 _ACEOF
13254 CUPS_CFLAGS="$ac_cups_cflags"
13256 for ac_header in cups/ppd.h
13257 do :
13258 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13259 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13260 cat >>confdefs.h <<_ACEOF
13261 #define HAVE_CUPS_PPD_H 1
13262 _ACEOF
13266 done
13270 done
13272 CPPFLAGS="$ac_save_CPPFLAGS"
13274 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13275 case "x$with_cups" in
13276 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13277 xno) ;;
13278 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13279 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13280 esac
13284 if test "x$with_fontconfig" != "xno"
13285 then
13286 if ${FONTCONFIG_CFLAGS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13291 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13292 if ${FONTCONFIG_LIBS:+false} :; then :
13293 if ${PKG_CONFIG+:} false; then :
13294 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13297 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13299 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13300 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13301 ac_save_CPPFLAGS=$CPPFLAGS
13302 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13303 for ac_header in fontconfig/fontconfig.h
13304 do :
13305 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13306 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13307 cat >>confdefs.h <<_ACEOF
13308 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13309 _ACEOF
13313 done
13315 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13316 then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13318 $as_echo_n "checking for -lfontconfig... " >&6; }
13319 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13320 $as_echo_n "(cached) " >&6
13321 else
13322 ac_check_soname_save_LIBS=$LIBS
13323 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char FcInit ();
13335 main ()
13337 return FcInit ();
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_link "$LINENO"; then :
13343 case "$LIBEXT" in
13344 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13345 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'` ;;
13346 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13347 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13348 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13349 fi ;;
13350 esac
13352 rm -f core conftest.err conftest.$ac_objext \
13353 conftest$ac_exeext conftest.$ac_ext
13354 LIBS=$ac_check_soname_save_LIBS
13356 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13358 $as_echo "not found" >&6; }
13359 FONTCONFIG_CFLAGS=""
13360 else
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13362 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13364 cat >>confdefs.h <<_ACEOF
13365 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13366 _ACEOF
13370 else
13371 FONTCONFIG_CFLAGS=""
13373 CPPFLAGS=$ac_save_CPPFLAGS
13374 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13375 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13378 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13379 case "x$with_fontconfig" in
13380 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13381 xno) ;;
13382 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13383 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13384 esac
13388 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13389 then
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13391 $as_echo_n "checking for -lgsm... " >&6; }
13392 if ${ac_cv_lib_soname_gsm+:} false; then :
13393 $as_echo_n "(cached) " >&6
13394 else
13395 ac_check_soname_save_LIBS=$LIBS
13396 LIBS="-lgsm $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char gsm_create ();
13408 main ()
13410 return gsm_create ();
13412 return 0;
13414 _ACEOF
13415 if ac_fn_c_try_link "$LINENO"; then :
13416 case "$LIBEXT" in
13417 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13418 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'` ;;
13419 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13420 if ${ac_cv_lib_soname_gsm:+false} :; then :
13421 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13422 fi ;;
13423 esac
13425 rm -f core conftest.err conftest.$ac_objext \
13426 conftest$ac_exeext conftest.$ac_ext
13427 LIBS=$ac_check_soname_save_LIBS
13429 if ${ac_cv_lib_soname_gsm:+false} :; then :
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13431 $as_echo "not found" >&6; }
13433 else
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13435 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13437 cat >>confdefs.h <<_ACEOF
13438 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13439 _ACEOF
13444 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13445 case "x$with_gsm" in
13446 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13447 xno) ;;
13448 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13449 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13450 esac
13454 if test "x$with_jpeg" != "xno"
13455 then
13456 if ${JPEG_CFLAGS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13462 if ${JPEG_LIBS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13469 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13471 ac_save_CPPFLAGS=$CPPFLAGS
13472 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13473 for ac_header in jpeglib.h
13474 do :
13475 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13476 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13477 cat >>confdefs.h <<_ACEOF
13478 #define HAVE_JPEGLIB_H 1
13479 _ACEOF
13483 done
13485 if test "$ac_cv_header_jpeglib_h" = "yes"
13486 then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13488 $as_echo_n "checking for -ljpeg... " >&6; }
13489 if ${ac_cv_lib_soname_jpeg+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_check_soname_save_LIBS=$LIBS
13493 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char jpeg_start_decompress ();
13505 main ()
13507 return jpeg_start_decompress ();
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 case "$LIBEXT" in
13514 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13515 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'` ;;
13516 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13517 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13518 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13519 fi ;;
13520 esac
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 JPEG_CFLAGS=""
13530 else
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13532 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13536 _ACEOF
13540 else
13541 JPEG_CFLAGS=""
13543 CPPFLAGS=$ac_save_CPPFLAGS
13544 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13545 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13548 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13549 case "x$with_jpeg" in
13550 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13551 xno) ;;
13552 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13553 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13554 esac
13558 if test "x$with_png" != "xno"
13559 then
13560 if ${PNG_CFLAGS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13565 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13566 if ${PNG_LIBS:+false} :; then :
13567 if ${PKG_CONFIG+:} false; then :
13568 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13571 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13573 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13574 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13575 ac_save_CPPFLAGS=$CPPFLAGS
13576 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13577 for ac_header in png.h
13578 do :
13579 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13580 if test "x$ac_cv_header_png_h" = xyes; then :
13581 cat >>confdefs.h <<_ACEOF
13582 #define HAVE_PNG_H 1
13583 _ACEOF
13587 done
13589 if test "$ac_cv_header_png_h" = "yes"
13590 then
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13592 $as_echo_n "checking for -lpng... " >&6; }
13593 if ${ac_cv_lib_soname_png+:} false; then :
13594 $as_echo_n "(cached) " >&6
13595 else
13596 ac_check_soname_save_LIBS=$LIBS
13597 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13604 #ifdef __cplusplus
13605 extern "C"
13606 #endif
13607 char png_create_read_struct ();
13609 main ()
13611 return png_create_read_struct ();
13613 return 0;
13615 _ACEOF
13616 if ac_fn_c_try_link "$LINENO"; then :
13617 case "$LIBEXT" in
13618 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13619 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'` ;;
13620 *) 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'`
13621 if ${ac_cv_lib_soname_png:+false} :; then :
13622 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13623 fi ;;
13624 esac
13626 rm -f core conftest.err conftest.$ac_objext \
13627 conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_soname_save_LIBS
13630 if ${ac_cv_lib_soname_png:+false} :; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13632 $as_echo "not found" >&6; }
13633 PNG_CFLAGS=""
13634 else
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13636 $as_echo "$ac_cv_lib_soname_png" >&6; }
13638 cat >>confdefs.h <<_ACEOF
13639 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13640 _ACEOF
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13644 #include <png.h>
13646 main ()
13648 typeof(png_set_expand_gray_1_2_4_to_8) *p
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_compile "$LINENO"; then :
13655 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13660 else
13661 PNG_CFLAGS=""
13663 CPPFLAGS=$ac_save_CPPFLAGS
13664 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13665 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13668 if test "x$ac_cv_lib_soname_png" = "x"; then :
13669 case "x$with_png" in
13670 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13671 xno) ;;
13672 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13673 This is an error since --with-png was requested." "$LINENO" 5 ;;
13674 esac
13678 if test "x$with_tiff" != "xno"
13679 then
13680 if ${TIFF_CFLAGS:+false} :; then :
13681 if ${PKG_CONFIG+:} false; then :
13682 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13686 if ${TIFF_LIBS:+false} :; then :
13687 if ${PKG_CONFIG+:} false; then :
13688 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13693 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13694 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13695 ac_save_CPPFLAGS=$CPPFLAGS
13696 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13697 for ac_header in tiffio.h
13698 do :
13699 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13700 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13701 cat >>confdefs.h <<_ACEOF
13702 #define HAVE_TIFFIO_H 1
13703 _ACEOF
13707 done
13709 if test "$ac_cv_header_tiffio_h" = "yes"
13710 then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13712 $as_echo_n "checking for -ltiff... " >&6; }
13713 if ${ac_cv_lib_soname_tiff+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 ac_check_soname_save_LIBS=$LIBS
13717 LIBS="-ltiff $TIFF_LIBS $LIBS"
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 /* Override any GCC internal prototype to avoid an error.
13722 Use char because int might match the return type of a GCC
13723 builtin and then its argument prototype would still apply. */
13724 #ifdef __cplusplus
13725 extern "C"
13726 #endif
13727 char TIFFClientOpen ();
13729 main ()
13731 return TIFFClientOpen ();
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"; then :
13737 case "$LIBEXT" in
13738 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13739 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'` ;;
13740 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13741 if ${ac_cv_lib_soname_tiff:+false} :; then :
13742 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13743 fi ;;
13744 esac
13746 rm -f core conftest.err conftest.$ac_objext \
13747 conftest$ac_exeext conftest.$ac_ext
13748 LIBS=$ac_check_soname_save_LIBS
13750 if ${ac_cv_lib_soname_tiff:+false} :; then :
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13752 $as_echo "not found" >&6; }
13754 else
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13756 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13758 cat >>confdefs.h <<_ACEOF
13759 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13760 _ACEOF
13765 CPPFLAGS=$ac_save_CPPFLAGS
13766 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13767 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13770 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13771 case "x$with_tiff" in
13772 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13773 xno) ;;
13774 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13775 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13776 esac
13780 if test "x$with_mpg123" != "xno"
13781 then
13782 if ${MPG123_CFLAGS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13788 if ${MPG123_LIBS:+false} :; then :
13789 if ${PKG_CONFIG+:} false; then :
13790 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13794 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13795 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13796 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13797 ac_save_CPPFLAGS=$CPPFLAGS
13798 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13799 for ac_header in mpg123.h
13800 do :
13801 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13802 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13803 cat >>confdefs.h <<_ACEOF
13804 #define HAVE_MPG123_H 1
13805 _ACEOF
13809 done
13811 if test "$ac_cv_header_mpg123_h" = "yes"
13812 then
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13814 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13815 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_check_lib_save_LIBS=$LIBS
13819 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13826 #ifdef __cplusplus
13827 extern "C"
13828 #endif
13829 char mpg123_feed ();
13831 main ()
13833 return mpg123_feed ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"; then :
13839 ac_cv_lib_mpg123_mpg123_feed=yes
13840 else
13841 ac_cv_lib_mpg123_mpg123_feed=no
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 LIBS=$ac_check_lib_save_LIBS
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13848 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13849 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13851 else
13852 MPG123_LIBS=""
13855 else
13856 MPG123_CFLAGS=""
13857 MPG123_LIBS=""
13859 CPPFLAGS=$ac_save_CPPFLAGS
13860 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13861 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13864 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13865 case "x$with_mpg123" in
13866 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13867 xno) ;;
13868 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13869 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13870 esac
13871 enable_winemp3_acm=${enable_winemp3_acm:-no}
13874 if test "$ac_cv_header_AL_al_h" = "yes"
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13877 $as_echo_n "checking for -lopenal... " >&6; }
13878 if ${ac_cv_lib_soname_openal+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lopenal $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 #ifdef __cplusplus
13890 extern "C"
13891 #endif
13892 char alGetSource3i ();
13894 main ()
13896 return alGetSource3i ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 case "$LIBEXT" in
13903 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13904 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'` ;;
13905 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13906 if ${ac_cv_lib_soname_openal:+false} :; then :
13907 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13908 fi ;;
13909 esac
13911 rm -f core conftest.err conftest.$ac_objext \
13912 conftest$ac_exeext conftest.$ac_ext
13913 LIBS=$ac_check_soname_save_LIBS
13915 if ${ac_cv_lib_soname_openal:+false} :; then :
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13917 $as_echo "not found" >&6; }
13919 else
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13921 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13923 cat >>confdefs.h <<_ACEOF
13924 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13925 _ACEOF
13927 OPENAL_LIBS="-lopenal"
13929 ac_cv_lib_openal=yes
13931 cat >>confdefs.h <<_ACEOF
13932 #define HAVE_OPENAL 1
13933 _ACEOF
13937 if test "x$ac_cv_lib_openal" != xyes; then :
13938 case "x$with_openal" in
13939 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13940 xno) ;;
13941 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13942 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13943 esac
13944 enable_openal32=${enable_openal32:-no}
13947 if test "x$ac_cv_lib_openal" = xyes
13948 then
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13950 $as_echo_n "checking for openal-soft... " >&6; }
13951 if ${ac_cv_have_openalsoft+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 #include <AL/al.h>
13957 #include <AL/alc.h>
13958 #include <AL/alext.h>
13959 LPALCRENDERSAMPLESSOFT x;
13961 main ()
13965 return 0;
13967 _ACEOF
13968 if ac_fn_c_try_compile "$LINENO"; then :
13969 ac_cv_have_openalsoft=yes
13970 else
13971 ac_cv_have_openalsoft=no
13973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13976 $as_echo "$ac_cv_have_openalsoft" >&6; }
13978 if test "x$ac_cv_have_openalsoft" != xyes
13979 then
13980 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13981 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13982 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13983 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13984 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13985 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13986 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13987 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13988 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13989 enable_xapofx1_1=${enable_xapofx1_1:-no}
13990 enable_xapofx1_2=${enable_xapofx1_2:-no}
13991 enable_xapofx1_3=${enable_xapofx1_3:-no}
13992 enable_xapofx1_4=${enable_xapofx1_4:-no}
13993 enable_xapofx1_5=${enable_xapofx1_5:-no}
13994 enable_xaudio2_0=${enable_xaudio2_0:-no}
13995 enable_xaudio2_1=${enable_xaudio2_1:-no}
13996 enable_xaudio2_2=${enable_xaudio2_2:-no}
13997 enable_xaudio2_3=${enable_xaudio2_3:-no}
13998 enable_xaudio2_4=${enable_xaudio2_4:-no}
13999 enable_xaudio2_5=${enable_xaudio2_5:-no}
14000 enable_xaudio2_6=${enable_xaudio2_6:-no}
14001 enable_xaudio2_7=${enable_xaudio2_7:-no}
14002 enable_xaudio2_8=${enable_xaudio2_8:-no}
14003 enable_xaudio2_9=${enable_xaudio2_9:-no}
14006 if test "$ac_cv_header_kstat_h" = "yes"
14007 then
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14009 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14010 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 ac_check_lib_save_LIBS=$LIBS
14014 LIBS="-lkstat $LIBS"
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14018 /* Override any GCC internal prototype to avoid an error.
14019 Use char because int might match the return type of a GCC
14020 builtin and then its argument prototype would still apply. */
14021 #ifdef __cplusplus
14022 extern "C"
14023 #endif
14024 char kstat_open ();
14026 main ()
14028 return kstat_open ();
14030 return 0;
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 ac_cv_lib_kstat_kstat_open=yes
14035 else
14036 ac_cv_lib_kstat_kstat_open=no
14038 rm -f core conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 LIBS=$ac_check_lib_save_LIBS
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14043 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14044 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14046 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14048 KSTAT_LIBS="-lkstat"
14054 if test "$ac_cv_header_libprocstat_h" = "yes"
14055 then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14057 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14058 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_check_lib_save_LIBS=$LIBS
14062 LIBS="-lprocstat $LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char procstat_open_sysctl ();
14074 main ()
14076 return procstat_open_sysctl ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_lib_procstat_procstat_open_sysctl=yes
14083 else
14084 ac_cv_lib_procstat_procstat_open_sysctl=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14091 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14092 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14094 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14096 PROCSTAT_LIBS="-lprocstat"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14103 $as_echo_n "checking for -lodbc... " >&6; }
14104 if ${ac_cv_lib_soname_odbc+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_check_soname_save_LIBS=$LIBS
14108 LIBS="-lodbc $LIBS"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14112 /* Override any GCC internal prototype to avoid an error.
14113 Use char because int might match the return type of a GCC
14114 builtin and then its argument prototype would still apply. */
14115 #ifdef __cplusplus
14116 extern "C"
14117 #endif
14118 char SQLConnect ();
14120 main ()
14122 return SQLConnect ();
14124 return 0;
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 case "$LIBEXT" in
14129 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14130 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'` ;;
14131 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14132 if ${ac_cv_lib_soname_odbc:+false} :; then :
14133 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14134 fi ;;
14135 esac
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_soname_save_LIBS
14141 if ${ac_cv_lib_soname_odbc:+false} :; then :
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14143 $as_echo "not found" >&6; }
14144 cat >>confdefs.h <<_ACEOF
14145 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14146 _ACEOF
14148 else
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14150 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14152 cat >>confdefs.h <<_ACEOF
14153 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14154 _ACEOF
14159 if test "x$with_netapi" != "xno"
14160 then
14161 if ${NETAPI_CFLAGS:+false} :; then :
14162 if ${PKG_CONFIG+:} false; then :
14163 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14167 if ${NETAPI_LIBS:+false} :; then :
14168 if ${PKG_CONFIG+:} false; then :
14169 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14174 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14175 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14176 ac_save_CPPFLAGS=$CPPFLAGS
14177 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14179 $as_echo_n "checking for -lnetapi... " >&6; }
14180 if ${ac_cv_lib_soname_netapi+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_check_soname_save_LIBS=$LIBS
14184 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 #ifdef __cplusplus
14192 extern "C"
14193 #endif
14194 char libnetapi_init ();
14196 main ()
14198 return libnetapi_init ();
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 case "$LIBEXT" in
14205 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14206 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'` ;;
14207 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14208 if ${ac_cv_lib_soname_netapi:+false} :; then :
14209 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14210 fi ;;
14211 esac
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_soname_save_LIBS
14217 if ${ac_cv_lib_soname_netapi:+false} :; then :
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14219 $as_echo "not found" >&6; }
14220 cat >>confdefs.h <<_ACEOF
14221 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14222 _ACEOF
14224 else
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14226 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14228 cat >>confdefs.h <<_ACEOF
14229 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14230 _ACEOF
14234 CPPFLAGS=$ac_save_CPPFLAGS
14235 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14236 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14240 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14241 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14242 then
14243 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14247 EXTRACFLAGS=""
14249 if test "x${GCC}" = "xyes"
14250 then
14251 EXTRACFLAGS="-Wall -pipe"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14254 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14255 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 if test "$cross_compiling" = yes; then :
14259 ac_cv_c_gcc_strength_bug="no"
14260 else
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14263 int L[4] = {0,1,2,3};
14265 main ()
14267 static int Array[3];
14268 unsigned int B = 3;
14269 int i;
14270 for(i=0; i<B; i++) Array[i] = i - 3;
14271 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14272 L[i] = 4;
14273 return (Array[1] != -2 || L[2] != 3)
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_run "$LINENO"; then :
14279 ac_cv_c_gcc_strength_bug="no"
14280 else
14281 ac_cv_c_gcc_strength_bug="yes"
14283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14284 conftest.$ac_objext conftest.beam conftest.$ac_ext
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14289 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14290 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14291 then
14292 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14296 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14297 if ${ac_cv_cflags__fno_builtin+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_wine_try_cflags_saved=$CFLAGS
14301 CFLAGS="$CFLAGS -fno-builtin"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14304 int main(int argc, char **argv) { return 0; }
14305 _ACEOF
14306 if ac_fn_c_try_link "$LINENO"; then :
14307 ac_cv_cflags__fno_builtin=yes
14308 else
14309 ac_cv_cflags__fno_builtin=no
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext conftest.$ac_ext
14313 CFLAGS=$ac_wine_try_cflags_saved
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14316 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14317 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14318 BUILTINFLAG="-fno-builtin"
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14322 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14323 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 ac_wine_try_cflags_saved=$CFLAGS
14327 CFLAGS="$CFLAGS -fno-strict-aliasing"
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14330 int main(int argc, char **argv) { return 0; }
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"; then :
14333 ac_cv_cflags__fno_strict_aliasing=yes
14334 else
14335 ac_cv_cflags__fno_strict_aliasing=no
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14339 CFLAGS=$ac_wine_try_cflags_saved
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14342 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14343 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14344 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14347 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14348 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_wine_try_cflags_saved=$CFLAGS
14352 CFLAGS="$CFLAGS -fexcess-precision=standard"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 int main(int argc, char **argv) { return 0; }
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_cflags__fexcess_precision_standard=yes
14359 else
14360 ac_cv_cflags__fexcess_precision_standard=no
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 CFLAGS=$ac_wine_try_cflags_saved
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14367 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14368 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14369 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14372 saved_CFLAGS=$CFLAGS
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14374 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14375 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 ac_wine_try_cflags_saved=$CFLAGS
14379 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 int main(int argc, char **argv) { return 0; }
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 ac_cv_cflags__Werror_unknown_warning_option=yes
14386 else
14387 ac_cv_cflags__Werror_unknown_warning_option=no
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 CFLAGS=$ac_wine_try_cflags_saved
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14394 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14395 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14396 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14399 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14400 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 ac_wine_try_cflags_saved=$CFLAGS
14404 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14407 int main(int argc, char **argv) { return 0; }
14408 _ACEOF
14409 if ac_fn_c_try_link "$LINENO"; then :
14410 ac_cv_cflags__Wdeclaration_after_statement=yes
14411 else
14412 ac_cv_cflags__Wdeclaration_after_statement=no
14414 rm -f core conftest.err conftest.$ac_objext \
14415 conftest$ac_exeext conftest.$ac_ext
14416 CFLAGS=$ac_wine_try_cflags_saved
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14419 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14420 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14421 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14424 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14425 if ${ac_cv_cflags__Wempty_body+:} false; then :
14426 $as_echo_n "(cached) " >&6
14427 else
14428 ac_wine_try_cflags_saved=$CFLAGS
14429 CFLAGS="$CFLAGS -Wempty-body"
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14432 int main(int argc, char **argv) { return 0; }
14433 _ACEOF
14434 if ac_fn_c_try_link "$LINENO"; then :
14435 ac_cv_cflags__Wempty_body=yes
14436 else
14437 ac_cv_cflags__Wempty_body=no
14439 rm -f core conftest.err conftest.$ac_objext \
14440 conftest$ac_exeext conftest.$ac_ext
14441 CFLAGS=$ac_wine_try_cflags_saved
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14444 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14445 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14446 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14449 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14450 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 ac_wine_try_cflags_saved=$CFLAGS
14454 CFLAGS="$CFLAGS -Wignored-qualifiers"
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 int main(int argc, char **argv) { return 0; }
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 ac_cv_cflags__Wignored_qualifiers=yes
14461 else
14462 ac_cv_cflags__Wignored_qualifiers=no
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 CFLAGS=$ac_wine_try_cflags_saved
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14469 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14470 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14471 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14474 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14475 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 ac_wine_try_cflags_saved=$CFLAGS
14479 CFLAGS="$CFLAGS -Wshift-overflow=2"
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14482 int main(int argc, char **argv) { return 0; }
14483 _ACEOF
14484 if ac_fn_c_try_link "$LINENO"; then :
14485 ac_cv_cflags__Wshift_overflow_2=yes
14486 else
14487 ac_cv_cflags__Wshift_overflow_2=no
14489 rm -f core conftest.err conftest.$ac_objext \
14490 conftest$ac_exeext conftest.$ac_ext
14491 CFLAGS=$ac_wine_try_cflags_saved
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14494 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14495 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14496 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14499 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14500 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14501 $as_echo_n "(cached) " >&6
14502 else
14503 ac_wine_try_cflags_saved=$CFLAGS
14504 CFLAGS="$CFLAGS -Wstrict-prototypes"
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14507 int main(int argc, char **argv) { return 0; }
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 ac_cv_cflags__Wstrict_prototypes=yes
14511 else
14512 ac_cv_cflags__Wstrict_prototypes=no
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 CFLAGS=$ac_wine_try_cflags_saved
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14519 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14520 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14521 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14524 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14525 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14526 $as_echo_n "(cached) " >&6
14527 else
14528 ac_wine_try_cflags_saved=$CFLAGS
14529 CFLAGS="$CFLAGS -Wtype-limits"
14530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14532 int main(int argc, char **argv) { return 0; }
14533 _ACEOF
14534 if ac_fn_c_try_link "$LINENO"; then :
14535 ac_cv_cflags__Wtype_limits=yes
14536 else
14537 ac_cv_cflags__Wtype_limits=no
14539 rm -f core conftest.err conftest.$ac_objext \
14540 conftest$ac_exeext conftest.$ac_ext
14541 CFLAGS=$ac_wine_try_cflags_saved
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14544 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14545 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14546 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14549 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14550 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 ac_wine_try_cflags_saved=$CFLAGS
14554 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14557 int main(int argc, char **argv) { return 0; }
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_cflags__Wunused_but_set_parameter=yes
14561 else
14562 ac_cv_cflags__Wunused_but_set_parameter=no
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 CFLAGS=$ac_wine_try_cflags_saved
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14569 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14570 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14571 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14574 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14575 if ${ac_cv_cflags__Wvla+:} false; then :
14576 $as_echo_n "(cached) " >&6
14577 else
14578 ac_wine_try_cflags_saved=$CFLAGS
14579 CFLAGS="$CFLAGS -Wvla"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 int main(int argc, char **argv) { return 0; }
14583 _ACEOF
14584 if ac_fn_c_try_link "$LINENO"; then :
14585 ac_cv_cflags__Wvla=yes
14586 else
14587 ac_cv_cflags__Wvla=no
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 CFLAGS=$ac_wine_try_cflags_saved
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14594 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14595 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14596 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14599 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14600 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_wine_try_cflags_saved=$CFLAGS
14604 CFLAGS="$CFLAGS -Wwrite-strings"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 int main(int argc, char **argv) { return 0; }
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 ac_cv_cflags__Wwrite_strings=yes
14611 else
14612 ac_cv_cflags__Wwrite_strings=no
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 CFLAGS=$ac_wine_try_cflags_saved
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14619 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14620 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14621 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14625 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14626 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 ac_wine_try_cflags_saved=$CFLAGS
14630 CFLAGS="$CFLAGS -Wpointer-arith"
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 int main(int argc, char **argv) { return 0; }
14634 _ACEOF
14635 if ac_fn_c_try_link "$LINENO"; then :
14636 ac_cv_cflags__Wpointer_arith=yes
14637 else
14638 ac_cv_cflags__Wpointer_arith=no
14640 rm -f core conftest.err conftest.$ac_objext \
14641 conftest$ac_exeext conftest.$ac_ext
14642 CFLAGS=$ac_wine_try_cflags_saved
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14645 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14646 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14647 saved_string_h_CFLAGS=$CFLAGS
14648 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14650 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14651 if ${ac_cv_c_string_h_warnings+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #include <string.h>
14658 main ()
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_compile "$LINENO"; then :
14666 ac_cv_c_string_h_warnings=no
14667 else
14668 ac_cv_c_string_h_warnings=yes
14670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14673 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14674 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14675 CFLAGS=$saved_string_h_CFLAGS
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14679 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14680 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 ac_wine_try_cflags_saved=$CFLAGS
14684 CFLAGS="$CFLAGS -Wlogical-op"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 int main(int argc, char **argv) { return 0; }
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_cv_cflags__Wlogical_op=yes
14691 else
14692 ac_cv_cflags__Wlogical_op=no
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14696 CFLAGS=$ac_wine_try_cflags_saved
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14699 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14700 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14701 saved_string_h_CFLAGS=$CFLAGS
14702 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14704 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14705 if ${ac_cv_c_logicalop_noisy+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14710 #include <string.h>
14711 char*f(const char *h,char n) {return strchr(h,n);}
14713 main ()
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_compile "$LINENO"; then :
14721 ac_cv_c_logicalop_noisy=no
14722 else
14723 ac_cv_c_logicalop_noisy=yes
14725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14728 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14729 CFLAGS=$saved_string_h_CFLAGS
14730 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14733 CFLAGS=$saved_CFLAGS
14735 for ac_flag in $CFLAGS; do
14736 case $ac_flag in
14737 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14738 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14739 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14740 $as_echo_n "(cached) " >&6
14741 else
14742 ac_wine_try_cflags_saved=$CFLAGS
14743 CFLAGS="$CFLAGS -gdwarf-2"
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14746 int main(int argc, char **argv) { return 0; }
14747 _ACEOF
14748 if ac_fn_c_try_link "$LINENO"; then :
14749 ac_cv_cflags__gdwarf_2=yes
14750 else
14751 ac_cv_cflags__gdwarf_2=no
14753 rm -f core conftest.err conftest.$ac_objext \
14754 conftest$ac_exeext conftest.$ac_ext
14755 CFLAGS=$ac_wine_try_cflags_saved
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14758 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14759 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14760 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14763 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14764 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14765 $as_echo_n "(cached) " >&6
14766 else
14767 ac_wine_try_cflags_saved=$CFLAGS
14768 CFLAGS="$CFLAGS -gstrict-dwarf"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 int main(int argc, char **argv) { return 0; }
14772 _ACEOF
14773 if ac_fn_c_try_link "$LINENO"; then :
14774 ac_cv_cflags__gstrict_dwarf=yes
14775 else
14776 ac_cv_cflags__gstrict_dwarf=no
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 CFLAGS=$ac_wine_try_cflags_saved
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14783 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14784 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14785 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14786 fi ;;
14787 esac
14788 done
14790 case $host_cpu in
14791 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14792 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14793 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_wine_try_cflags_saved=$CFLAGS
14797 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 int main(int argc, char **argv) { return 0; }
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_cflags__fno_omit_frame_pointer=yes
14804 else
14805 ac_cv_cflags__fno_omit_frame_pointer=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 CFLAGS=$ac_wine_try_cflags_saved
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14812 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14813 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14814 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14815 fi ;;
14816 esac
14818 case $host in
14819 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14820 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14821 if ${ac_cv_cflags__Wno_format+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_wine_try_cflags_saved=$CFLAGS
14825 CFLAGS="$CFLAGS -Wno-format"
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14828 int main(int argc, char **argv) { return 0; }
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_cflags__Wno_format=yes
14832 else
14833 ac_cv_cflags__Wno_format=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 CFLAGS=$ac_wine_try_cflags_saved
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14840 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14841 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14842 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14843 fi ;;
14844 esac
14846 if test "x$enable_maintainer_mode" = "xyes"
14847 then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14849 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14850 if ${ac_cv_cflags__Werror+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_wine_try_cflags_saved=$CFLAGS
14854 CFLAGS="$CFLAGS -Werror"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 int main(int argc, char **argv) { return 0; }
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_cflags__Werror=yes
14861 else
14862 ac_cv_cflags__Werror=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 CFLAGS=$ac_wine_try_cflags_saved
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14869 $as_echo "$ac_cv_cflags__Werror" >&6; }
14870 if test "x$ac_cv_cflags__Werror" = xyes; then :
14871 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14875 saved_CFLAGS="$CFLAGS"
14876 CFLAGS="$CFLAGS -Werror"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14878 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14879 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14886 main ()
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_compile "$LINENO"; then :
14894 ac_cv_have_ms_hook_prologue="yes"
14895 else
14896 ac_cv_have_ms_hook_prologue="no"
14898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14901 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14902 CFLAGS="$saved_CFLAGS"
14903 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14904 then
14906 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14908 else
14909 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14916 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14917 if ${ac_cv_c_fortify_enabled+:} false; then :
14918 $as_echo_n "(cached) " >&6
14919 else
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 #include <string.h>
14924 main ()
14926 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14927 #error Fortify enabled
14928 #endif
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_compile "$LINENO"; then :
14934 ac_cv_c_fortify_enabled=no
14935 else
14936 ac_cv_c_fortify_enabled=yes
14938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14941 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14942 if test "$ac_cv_c_fortify_enabled" = yes
14943 then
14944 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14949 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14950 if ${ac_cv_c_extern_prefix+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 extern int ac_test;
14957 main ()
14959 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 ac_cv_c_extern_prefix="yes"
14966 else
14967 ac_cv_c_extern_prefix="no"
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14973 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14975 case $host_cpu in
14976 *i[3456789]86*)
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14978 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14979 if ${ac_cv_c_stdcall_suffix+:} false; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14984 #ifndef _MSC_VER
14985 #define __stdcall __attribute__((__stdcall__))
14986 #endif
14987 int __stdcall ac_test(int i) { return i; }
14989 main ()
14991 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_c_stdcall_suffix="yes"
14998 else
14999 ac_cv_c_stdcall_suffix="no"
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15005 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15006 *) ac_cv_c_stdcall_suffix="no" ;;
15007 esac
15010 if test "$ac_cv_c_extern_prefix" = "yes"
15011 then
15012 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15014 asm_name_prefix="_"
15015 else
15016 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15018 asm_name_prefix=""
15022 if test "$ac_cv_c_stdcall_suffix" = "yes"
15023 then
15024 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15026 else
15027 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15033 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15034 if ${ac_cv_asm_func_def+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15041 main ()
15043 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 ac_cv_asm_func_def=".def"
15050 else
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15055 main ()
15057 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_asm_func_def=".type @function"
15064 else
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15069 main ()
15071 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_asm_func_def=".type 2"
15078 else
15079 ac_cv_asm_func_def="unknown"
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15091 $as_echo "$ac_cv_asm_func_def" >&6; }
15094 case "$ac_cv_asm_func_def" in
15095 ".def")
15096 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15098 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15099 ".type @function")
15100 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15102 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15103 ".type 2")
15104 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15106 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15108 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15110 asm_func_header="" ;;
15111 esac
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15114 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15115 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 asm(".text\n\t.long 0");
15122 main ()
15126 return 0;
15128 _ACEOF
15129 if ac_fn_c_try_compile "$LINENO"; then :
15130 ac_cv_c_asm_outside_funcs="yes"
15131 else
15132 ac_cv_c_asm_outside_funcs="no"
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15137 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15140 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15141 if ${ac_cv_c_dot_previous+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15148 main ()
15150 asm(".text\nac_test:\t.long 0\n\t.previous");
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 ac_cv_c_dot_previous="yes"
15157 else
15158 ac_cv_c_dot_previous="no"
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15164 $as_echo "$ac_cv_c_dot_previous" >&6; }
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15167 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15168 if ${ac_cv_c_cfi_support+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15173 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15175 main ()
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_compile "$LINENO"; then :
15183 ac_cv_c_cfi_support="yes"
15184 else
15185 ac_cv_c_cfi_support="no"
15187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15190 $as_echo "$ac_cv_c_cfi_support" >&6; }
15192 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15193 asm_func_trailer=""
15194 if test "$ac_cv_c_dot_previous" = "yes"
15195 then
15196 asm_func_trailer="\\n\\t.previous"
15198 if test "$ac_cv_c_cfi_support" = "yes"
15199 then
15200 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15201 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15203 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15205 UNWINDFLAGS=-fasynchronous-unwind-tables
15207 else
15208 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15210 if test "x$enable_win64" = "xyes"
15211 then
15212 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15216 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15219 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15220 then
15221 cat >>confdefs.h <<_ACEOF
15222 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15223 _ACEOF
15225 else
15226 cat >>confdefs.h <<_ACEOF
15227 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15228 _ACEOF
15232 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15235 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15239 case $build_os in
15240 cygwin*|mingw32*) TOOLSEXT=".exe"
15242 esac
15244 case $host_os in
15245 linux-android*) ;;
15246 linux*)
15247 case $host_cpu in
15248 *i[3456789]86*|x86_64*)
15249 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15250 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15252 esac
15254 esac
15257 ac_save_CFLAGS="$CFLAGS"
15258 CFLAGS="$CFLAGS $BUILTINFLAG"
15259 for ac_func in \
15260 __res_get_state \
15261 __res_getservers \
15262 _finite \
15263 _isnan \
15264 _pclose \
15265 _popen \
15266 _snprintf \
15267 _spawnvp \
15268 _strdup \
15269 _stricmp \
15270 _strnicmp \
15271 _strtoi64 \
15272 _strtoui64 \
15273 _vsnprintf \
15274 asctime_r \
15275 chsize \
15276 dlopen \
15277 epoll_create \
15278 ffs \
15279 finitef \
15280 fnmatch \
15281 fork \
15282 fpclass \
15283 fstatfs \
15284 fstatvfs \
15285 ftruncate \
15286 futimens \
15287 futimes \
15288 futimesat \
15289 getattrlist \
15290 getopt_long_only \
15291 getpwuid \
15292 gettimeofday \
15293 getuid \
15294 if_nameindex \
15295 isnanf \
15296 kqueue \
15297 lstat \
15298 memmove \
15299 mmap \
15300 pclose \
15301 pipe2 \
15302 poll \
15303 popen \
15304 port_create \
15305 prctl \
15306 pread \
15307 proc_pidinfo \
15308 pwrite \
15309 readdir \
15310 readlink \
15311 sched_yield \
15312 select \
15313 setproctitle \
15314 setprogname \
15315 setrlimit \
15316 settimeofday \
15317 sigaltstack \
15318 sigprocmask \
15319 snprintf \
15320 statfs \
15321 statvfs \
15322 strcasecmp \
15323 strdup \
15324 strerror \
15325 strncasecmp \
15326 strtold \
15327 strtoll \
15328 strtoull \
15329 symlink \
15330 sysinfo \
15331 tcdrain \
15332 thr_kill2 \
15333 timegm \
15334 usleep \
15335 vsnprintf
15337 do :
15338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15340 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15341 cat >>confdefs.h <<_ACEOF
15342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15343 _ACEOF
15346 done
15348 CFLAGS="$ac_save_CFLAGS"
15350 if test "$ac_cv_func_dlopen" = no
15351 then
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15353 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15354 if ${ac_cv_lib_dl_dlopen+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 ac_check_lib_save_LIBS=$LIBS
15358 LIBS="-ldl $LIBS"
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 char dlopen ();
15370 main ()
15372 return dlopen ();
15374 return 0;
15376 _ACEOF
15377 if ac_fn_c_try_link "$LINENO"; then :
15378 ac_cv_lib_dl_dlopen=yes
15379 else
15380 ac_cv_lib_dl_dlopen=no
15382 rm -f core conftest.err conftest.$ac_objext \
15383 conftest$ac_exeext conftest.$ac_ext
15384 LIBS=$ac_check_lib_save_LIBS
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15388 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15389 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15390 DL_LIBS="-ldl"
15395 ac_wine_check_funcs_save_LIBS="$LIBS"
15396 LIBS="$LIBS $DL_LIBS"
15397 for ac_func in dladdr
15398 do :
15399 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15400 if test "x$ac_cv_func_dladdr" = xyes; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define HAVE_DLADDR 1
15403 _ACEOF
15406 done
15408 LIBS="$ac_wine_check_funcs_save_LIBS"
15410 if test "$ac_cv_func_poll" = no
15411 then
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15413 $as_echo_n "checking for poll in -lpoll... " >&6; }
15414 if ${ac_cv_lib_poll_poll+:} false; then :
15415 $as_echo_n "(cached) " >&6
15416 else
15417 ac_check_lib_save_LIBS=$LIBS
15418 LIBS="-lpoll $LIBS"
15419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 #endif
15428 char poll ();
15430 main ()
15432 return poll ();
15434 return 0;
15436 _ACEOF
15437 if ac_fn_c_try_link "$LINENO"; then :
15438 ac_cv_lib_poll_poll=yes
15439 else
15440 ac_cv_lib_poll_poll=no
15442 rm -f core conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_check_lib_save_LIBS
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15447 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15448 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15449 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15450 POLL_LIBS="-lpoll"
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15457 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15458 if ${ac_cv_search_gethostbyname+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 ac_func_search_save_LIBS=$LIBS
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char gethostbyname ();
15473 main ()
15475 return gethostbyname ();
15477 return 0;
15479 _ACEOF
15480 for ac_lib in '' nsl; do
15481 if test -z "$ac_lib"; then
15482 ac_res="none required"
15483 else
15484 ac_res=-l$ac_lib
15485 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15487 if ac_fn_c_try_link "$LINENO"; then :
15488 ac_cv_search_gethostbyname=$ac_res
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext
15492 if ${ac_cv_search_gethostbyname+:} false; then :
15493 break
15495 done
15496 if ${ac_cv_search_gethostbyname+:} false; then :
15498 else
15499 ac_cv_search_gethostbyname=no
15501 rm conftest.$ac_ext
15502 LIBS=$ac_func_search_save_LIBS
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15505 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15506 ac_res=$ac_cv_search_gethostbyname
15507 if test "$ac_res" != no; then :
15508 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15514 $as_echo_n "checking for library containing connect... " >&6; }
15515 if ${ac_cv_search_connect+:} false; then :
15516 $as_echo_n "(cached) " >&6
15517 else
15518 ac_func_search_save_LIBS=$LIBS
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 char connect ();
15530 main ()
15532 return connect ();
15534 return 0;
15536 _ACEOF
15537 for ac_lib in '' socket; do
15538 if test -z "$ac_lib"; then
15539 ac_res="none required"
15540 else
15541 ac_res=-l$ac_lib
15542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15544 if ac_fn_c_try_link "$LINENO"; then :
15545 ac_cv_search_connect=$ac_res
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext
15549 if ${ac_cv_search_connect+:} false; then :
15550 break
15552 done
15553 if ${ac_cv_search_connect+:} false; then :
15555 else
15556 ac_cv_search_connect=no
15558 rm conftest.$ac_ext
15559 LIBS=$ac_func_search_save_LIBS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15562 $as_echo "$ac_cv_search_connect" >&6; }
15563 ac_res=$ac_cv_search_connect
15564 if test "$ac_res" != no; then :
15565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15571 $as_echo_n "checking for library containing inet_aton... " >&6; }
15572 if ${ac_cv_search_inet_aton+:} false; then :
15573 $as_echo_n "(cached) " >&6
15574 else
15575 ac_func_search_save_LIBS=$LIBS
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char inet_aton ();
15587 main ()
15589 return inet_aton ();
15591 return 0;
15593 _ACEOF
15594 for ac_lib in '' resolv; do
15595 if test -z "$ac_lib"; then
15596 ac_res="none required"
15597 else
15598 ac_res=-l$ac_lib
15599 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15601 if ac_fn_c_try_link "$LINENO"; then :
15602 ac_cv_search_inet_aton=$ac_res
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext
15606 if ${ac_cv_search_inet_aton+:} false; then :
15607 break
15609 done
15610 if ${ac_cv_search_inet_aton+:} false; then :
15612 else
15613 ac_cv_search_inet_aton=no
15615 rm conftest.$ac_ext
15616 LIBS=$ac_func_search_save_LIBS
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15619 $as_echo "$ac_cv_search_inet_aton" >&6; }
15620 ac_res=$ac_cv_search_inet_aton
15621 if test "$ac_res" != no; then :
15622 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15627 for ac_func in \
15628 getaddrinfo \
15629 getnameinfo \
15630 getnetbyname \
15631 getprotobyname \
15632 getprotobynumber \
15633 getservbyport \
15634 inet_addr \
15635 inet_network \
15636 inet_ntop \
15637 inet_pton \
15638 sendmsg \
15639 socketpair \
15641 do :
15642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15644 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15647 _ACEOF
15650 done
15653 ac_save_LIBS=$LIBS
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15655 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15656 if ${ac_cv_search_clock_gettime+:} false; then :
15657 $as_echo_n "(cached) " >&6
15658 else
15659 ac_func_search_save_LIBS=$LIBS
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15663 /* Override any GCC internal prototype to avoid an error.
15664 Use char because int might match the return type of a GCC
15665 builtin and then its argument prototype would still apply. */
15666 #ifdef __cplusplus
15667 extern "C"
15668 #endif
15669 char clock_gettime ();
15671 main ()
15673 return clock_gettime ();
15675 return 0;
15677 _ACEOF
15678 for ac_lib in '' rt; do
15679 if test -z "$ac_lib"; then
15680 ac_res="none required"
15681 else
15682 ac_res=-l$ac_lib
15683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15685 if ac_fn_c_try_link "$LINENO"; then :
15686 ac_cv_search_clock_gettime=$ac_res
15688 rm -f core conftest.err conftest.$ac_objext \
15689 conftest$ac_exeext
15690 if ${ac_cv_search_clock_gettime+:} false; then :
15691 break
15693 done
15694 if ${ac_cv_search_clock_gettime+:} false; then :
15696 else
15697 ac_cv_search_clock_gettime=no
15699 rm conftest.$ac_ext
15700 LIBS=$ac_func_search_save_LIBS
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15703 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15704 ac_res=$ac_cv_search_clock_gettime
15705 if test "$ac_res" != no; then :
15706 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15708 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15710 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15714 LIBS=$ac_save_LIBS
15716 LDAP_LIBS=""
15718 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15719 then
15720 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15722 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15724 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15725 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15726 $as_echo_n "(cached) " >&6
15727 else
15728 ac_check_lib_save_LIBS=$LIBS
15729 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15736 #ifdef __cplusplus
15737 extern "C"
15738 #endif
15739 char ldap_initialize ();
15741 main ()
15743 return ldap_initialize ();
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ac_cv_lib_ldap_r_ldap_initialize=yes
15750 else
15751 ac_cv_lib_ldap_r_ldap_initialize=no
15753 rm -f core conftest.err conftest.$ac_objext \
15754 conftest$ac_exeext conftest.$ac_ext
15755 LIBS=$ac_check_lib_save_LIBS
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15758 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15759 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15761 $as_echo_n "checking for ber_init in -llber... " >&6; }
15762 if ${ac_cv_lib_lber_ber_init+:} false; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15765 ac_check_lib_save_LIBS=$LIBS
15766 LIBS="-llber $PTHREAD_LIBS $LIBS"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15770 /* Override any GCC internal prototype to avoid an error.
15771 Use char because int might match the return type of a GCC
15772 builtin and then its argument prototype would still apply. */
15773 #ifdef __cplusplus
15774 extern "C"
15775 #endif
15776 char ber_init ();
15778 main ()
15780 return ber_init ();
15782 return 0;
15784 _ACEOF
15785 if ac_fn_c_try_link "$LINENO"; then :
15786 ac_cv_lib_lber_ber_init=yes
15787 else
15788 ac_cv_lib_lber_ber_init=no
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15795 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15796 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15798 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15800 LDAP_LIBS="-lldap_r -llber"
15807 ac_wine_check_funcs_save_LIBS="$LIBS"
15808 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15809 for ac_func in \
15810 ldap_count_references \
15811 ldap_first_reference \
15812 ldap_next_reference \
15813 ldap_parse_reference \
15814 ldap_parse_sort_control \
15815 ldap_parse_sortresponse_control \
15816 ldap_parse_vlv_control \
15817 ldap_parse_vlvresponse_control
15818 do :
15819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15821 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15824 _ACEOF
15827 done
15829 LIBS="$ac_wine_check_funcs_save_LIBS"
15831 if test "x$LDAP_LIBS" = "x"; then :
15832 case "x$with_ldap" in
15833 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15834 xno) ;;
15835 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15836 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15837 esac
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15842 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15843 if ${wine_cv_one_arg_mkdir+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848 #include <sys/stat.h>
15850 main ()
15852 mkdir("foo");
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_compile "$LINENO"; then :
15858 wine_cv_one_arg_mkdir=yes
15859 else
15860 wine_cv_one_arg_mkdir=no
15862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15865 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15866 if test "$wine_cv_one_arg_mkdir" = "yes"
15867 then
15869 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15874 $as_echo_n "checking for sched_setaffinity... " >&6; }
15875 if ${wine_cv_have_sched_setaffinity+:} false; then :
15876 $as_echo_n "(cached) " >&6
15877 else
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE
15881 #include <sched.h>
15883 main ()
15885 sched_setaffinity(0, 0, 0);
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 wine_cv_have_sched_setaffinity=yes
15892 else
15893 wine_cv_have_sched_setaffinity=no
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15899 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15900 if test "$wine_cv_have_sched_setaffinity" = "yes"
15901 then
15903 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15908 $as_echo_n "checking for fallocate... " >&6; }
15909 if ${wine_cv_have_fallocate+:} false; then :
15910 $as_echo_n "(cached) " >&6
15911 else
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #define _GNU_SOURCE
15915 #include <fcntl.h>
15917 main ()
15919 fallocate(-1, 0, 0, 0);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_link "$LINENO"; then :
15925 wine_cv_have_fallocate=yes
15926 else
15927 wine_cv_have_fallocate=no
15929 rm -f core conftest.err conftest.$ac_objext \
15930 conftest$ac_exeext conftest.$ac_ext
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15933 $as_echo "$wine_cv_have_fallocate" >&6; }
15934 if test "$wine_cv_have_fallocate" = "yes"
15935 then
15937 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15943 $as_echo_n "checking for inline... " >&6; }
15944 if ${ac_cv_c_inline+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_cv_c_inline=no
15948 for ac_kw in inline __inline__ __inline; do
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 #ifndef __cplusplus
15952 typedef int foo_t;
15953 static $ac_kw foo_t static_foo () {return 0; }
15954 $ac_kw foo_t foo () {return 0; }
15955 #endif
15957 _ACEOF
15958 if ac_fn_c_try_compile "$LINENO"; then :
15959 ac_cv_c_inline=$ac_kw
15961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15962 test "$ac_cv_c_inline" != no && break
15963 done
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15967 $as_echo "$ac_cv_c_inline" >&6; }
15969 case $ac_cv_c_inline in
15970 inline | yes) ;;
15972 case $ac_cv_c_inline in
15973 no) ac_val=;;
15974 *) ac_val=$ac_cv_c_inline;;
15975 esac
15976 cat >>confdefs.h <<_ACEOF
15977 #ifndef __cplusplus
15978 #define inline $ac_val
15979 #endif
15980 _ACEOF
15982 esac
15984 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15985 if test "x$ac_cv_type_mode_t" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_MODE_T 1
15989 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_off_t" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_OFF_T 1
15998 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16003 if test "x$ac_cv_type_pid_t" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_PID_T 1
16007 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16012 if test "x$ac_cv_type_size_t" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_SIZE_T 1
16016 _ACEOF
16020 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16021 if test "x$ac_cv_type_ssize_t" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_SSIZE_T 1
16025 _ACEOF
16029 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16030 if test "x$ac_cv_type_long_long" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_LONG_LONG 1
16034 _ACEOF
16038 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16039 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_FSBLKCNT_T 1
16043 _ACEOF
16047 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16048 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_FSFILCNT_T 1
16052 _ACEOF
16057 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16058 #include <signal.h>
16060 if test "x$ac_cv_type_sigset_t" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_SIGSET_T 1
16064 _ACEOF
16069 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16071 if test "x$ac_cv_type_request_sense" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_REQUEST_SENSE 1
16075 _ACEOF
16081 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16082 #ifdef HAVE_SYS_SOCKET_H
16083 #include <sys/socket.h>
16084 #endif
16085 #ifdef HAVE_SYS_SOCKETVAR_H
16086 #include <sys/socketvar.h>
16087 #endif
16088 #ifdef HAVE_NET_ROUTE_H
16089 #include <net/route.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_H
16092 #include <netinet/in.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IN_SYSTM_H
16095 #include <netinet/in_systm.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IP_H
16098 #include <netinet/ip.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IN_PCB_H
16101 #include <netinet/in_pcb.h>
16102 #endif
16104 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_XINPGEN 1
16108 _ACEOF
16114 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16115 #include <link.h>
16116 #endif
16117 #ifdef HAVE_SYS_LINK_H
16118 #include <sys/link.h>
16119 #endif
16121 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_R_DEBUG 1
16125 _ACEOF
16129 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16130 #include <link.h>
16131 #endif
16132 #ifdef HAVE_SYS_LINK_H
16133 #include <sys/link.h>
16134 #endif
16136 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_LINK_MAP 1
16140 _ACEOF
16146 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16147 #include <linux/input.h>
16148 #endif
16150 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16154 _ACEOF
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16161 $as_echo_n "checking for sigaddset... " >&6; }
16162 if ${wine_cv_have_sigaddset+:} false; then :
16163 $as_echo_n "(cached) " >&6
16164 else
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16167 #include <signal.h>
16169 main ()
16171 sigset_t set; sigaddset(&set,SIGTERM);
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 wine_cv_have_sigaddset=yes
16178 else
16179 wine_cv_have_sigaddset=no
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16185 $as_echo "$wine_cv_have_sigaddset" >&6; }
16186 if test "$wine_cv_have_sigaddset" = "yes"
16187 then
16189 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16195 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16196 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16197 $as_echo_n "(cached) " >&6
16198 else
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16201 #include <netdb.h>
16203 main ()
16206 char *name=0;
16207 struct hostent he;
16208 struct hostent *result;
16209 char *buf=0;
16210 int bufsize=0;
16211 int errnr;
16212 char *addr=0;
16213 int addrlen=0;
16214 int addrtype=0;
16215 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16216 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 wine_cv_linux_gethostbyname_r_6=yes
16224 else
16225 wine_cv_linux_gethostbyname_r_6=no
16228 rm -f core conftest.err conftest.$ac_objext \
16229 conftest$ac_exeext conftest.$ac_ext
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16233 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16234 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16235 then
16237 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16241 if test "$ac_cv_header_linux_joystick_h" = "yes"
16242 then
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16244 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16245 if ${wine_cv_linux_joystick_22_api+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 #include <sys/ioctl.h>
16252 #include <sys/types.h>
16253 #include <linux/joystick.h>
16255 struct js_event blub;
16256 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16257 #error "no 2.2 header"
16258 #endif
16261 main ()
16263 /*empty*/
16265 return 0;
16267 _ACEOF
16268 if ac_fn_c_try_compile "$LINENO"; then :
16269 wine_cv_linux_joystick_22_api=yes
16270 else
16271 wine_cv_linux_joystick_22_api=no
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16277 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16278 if test "$wine_cv_linux_joystick_22_api" = "yes"
16279 then
16281 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16287 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16288 #ifdef HAVE_SYS_PARAM_H
16289 # include <sys/param.h>
16290 #endif
16291 #ifdef HAVE_SYS_MOUNT_H
16292 # include <sys/mount.h>
16293 #endif
16294 #ifdef HAVE_SYS_VFS_H
16295 # include <sys/vfs.h>
16296 #endif
16297 #ifdef HAVE_SYS_STATFS_H
16298 # include <sys/statfs.h>
16299 #endif
16301 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_STRUCT_STATFS_F_BFREE 1
16305 _ACEOF
16309 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16310 #ifdef HAVE_SYS_PARAM_H
16311 # include <sys/param.h>
16312 #endif
16313 #ifdef HAVE_SYS_MOUNT_H
16314 # include <sys/mount.h>
16315 #endif
16316 #ifdef HAVE_SYS_VFS_H
16317 # include <sys/vfs.h>
16318 #endif
16319 #ifdef HAVE_SYS_STATFS_H
16320 # include <sys/statfs.h>
16321 #endif
16323 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16327 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16332 #ifdef HAVE_SYS_PARAM_H
16333 # include <sys/param.h>
16334 #endif
16335 #ifdef HAVE_SYS_MOUNT_H
16336 # include <sys/mount.h>
16337 #endif
16338 #ifdef HAVE_SYS_VFS_H
16339 # include <sys/vfs.h>
16340 #endif
16341 #ifdef HAVE_SYS_STATFS_H
16342 # include <sys/statfs.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_PARAM_H
16355 # include <sys/param.h>
16356 #endif
16357 #ifdef HAVE_SYS_MOUNT_H
16358 # include <sys/mount.h>
16359 #endif
16360 #ifdef HAVE_SYS_VFS_H
16361 # include <sys/vfs.h>
16362 #endif
16363 #ifdef HAVE_SYS_STATFS_H
16364 # include <sys/statfs.h>
16365 #endif
16367 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16369 cat >>confdefs.h <<_ACEOF
16370 #define HAVE_STRUCT_STATFS_F_FFREE 1
16371 _ACEOF
16375 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16376 #ifdef HAVE_SYS_PARAM_H
16377 # include <sys/param.h>
16378 #endif
16379 #ifdef HAVE_SYS_MOUNT_H
16380 # include <sys/mount.h>
16381 #endif
16382 #ifdef HAVE_SYS_VFS_H
16383 # include <sys/vfs.h>
16384 #endif
16385 #ifdef HAVE_SYS_STATFS_H
16386 # include <sys/statfs.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16393 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16398 #ifdef HAVE_SYS_PARAM_H
16399 # include <sys/param.h>
16400 #endif
16401 #ifdef HAVE_SYS_MOUNT_H
16402 # include <sys/mount.h>
16403 #endif
16404 #ifdef HAVE_SYS_VFS_H
16405 # include <sys/vfs.h>
16406 #endif
16407 #ifdef HAVE_SYS_STATFS_H
16408 # include <sys/statfs.h>
16409 #endif
16411 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16415 _ACEOF
16421 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16422 #include <sys/statvfs.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16429 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16436 #include <dirent.h>
16437 #endif
16439 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16443 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16450 #ifdef HAVE_SYS_SOCKET_H
16451 # include <sys/socket.h>
16452 #endif
16453 #ifdef HAVE_SYS_UN_H
16454 # include <sys/un.h>
16455 #endif
16457 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16459 cat >>confdefs.h <<_ACEOF
16460 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16461 _ACEOF
16465 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16466 #ifdef HAVE_SYS_SOCKET_H
16467 # include <sys/socket.h>
16468 #endif
16469 #ifdef HAVE_SYS_UN_H
16470 # include <sys/un.h>
16471 #endif
16473 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16477 _ACEOF
16481 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16482 #ifdef HAVE_SYS_SOCKET_H
16483 # include <sys/socket.h>
16484 #endif
16485 #ifdef HAVE_SYS_UN_H
16486 # include <sys/un.h>
16487 #endif
16489 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16493 _ACEOF
16499 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16500 #ifdef HAVE_SCSI_SG_H
16501 #include <scsi/sg.h>
16502 #endif
16504 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_SCSIREQ_T_CMD 1
16508 _ACEOF
16512 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>
16513 #ifdef HAVE_SCSI_SG_H
16514 #include <scsi/sg.h>
16515 #endif
16517 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16519 cat >>confdefs.h <<_ACEOF
16520 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16521 _ACEOF
16527 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16529 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_SIGINFO_T_SI_FD 1
16533 _ACEOF
16539 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16540 #ifdef HAVE_SYS_MTIO_H
16541 #include <sys/mtio.h>
16542 #endif
16544 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16548 _ACEOF
16552 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16553 #ifdef HAVE_SYS_MTIO_H
16554 #include <sys/mtio.h>
16555 #endif
16557 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16561 _ACEOF
16565 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16566 #ifdef HAVE_SYS_MTIO_H
16567 #include <sys/mtio.h>
16568 #endif
16570 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16574 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16581 #include <getopt.h>
16582 #endif
16584 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_OPTION_NAME 1
16588 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16599 _ACEOF
16603 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_MTIM 1
16608 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16617 _ACEOF
16621 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_CTIM 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT_ST_ATIM 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16658 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16662 _ACEOF
16666 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16667 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16671 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16676 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16680 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16685 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16689 _ACEOF
16693 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16694 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16698 _ACEOF
16704 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
16705 #include <sys/types.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IN_H
16708 #include <netinet/in.h>
16709 #endif
16711 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16713 cat >>confdefs.h <<_ACEOF
16714 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16715 _ACEOF
16721 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16722 #include <sys/types.h>
16723 #endif
16724 #ifdef HAVE_NETINET_IN_H
16725 #include <netinet/in.h>
16726 #endif
16727 #ifdef HAVE_RESOLV_H
16728 #include <resolv.h>
16729 #endif
16731 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16733 cat >>confdefs.h <<_ACEOF
16734 #define HAVE_STRUCT___RES_STATE 1
16735 _ACEOF
16741 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
16742 #include <resolv.h>
16743 #endif
16745 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16749 _ACEOF
16755 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16756 #include <sys/types.h>
16757 #endif
16758 #ifdef HAVE_NETINET_IN_H
16759 # include <netinet/in.h>
16760 #endif
16761 #ifdef HAVE_ARPA_NAMESER_H
16762 # include <arpa/nameser.h>
16763 #endif
16765 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_NS_MSG__MSG_PTR 1
16769 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16776 #include <sys/types.h>
16777 #endif
16778 #ifdef HAVE_NETINET_IN_H
16779 #include <netinet/in.h>
16780 #endif
16781 #ifdef HAVE_NETINET_IP_H
16782 #include <netinet/ip.h>
16783 #endif
16784 #ifdef HAVE_NETINET_IP_ICMP_H
16785 #include <netinet/ip_icmp.h>
16786 #endif
16787 #ifdef HAVE_NETINET_ICMP_VAR_H
16788 #include <netinet/icmp_var.h>
16789 #endif
16791 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16793 cat >>confdefs.h <<_ACEOF
16794 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16795 _ACEOF
16801 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16802 #include <sys/types.h>
16803 #endif
16804 #ifdef HAVE_ALIAS_H
16805 #include <alias.h>
16806 #endif
16807 #ifdef HAVE_SYS_SOCKET_H
16808 #include <sys/socket.h>
16809 #endif
16810 #ifdef HAVE_SYS_SOCKETVAR_H
16811 #include <sys/socketvar.h>
16812 #endif
16813 #ifdef HAVE_SYS_TIMEOUT_H
16814 #include <sys/timeout.h>
16815 #endif
16816 #ifdef HAVE_NETINET_IN_H
16817 #include <netinet/in.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IN_SYSTM_H
16820 #include <netinet/in_systm.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IP_H
16823 #include <netinet/ip.h>
16824 #endif
16825 #ifdef HAVE_NETINET_IP_VAR_H
16826 #include <netinet/ip_var.h>
16827 #endif
16828 #ifdef HAVE_NETINET_IP_ICMP_H
16829 #include <netinet/ip_icmp.h>
16830 #endif
16831 #ifdef HAVE_NETINET_ICMP_VAR_H
16832 #include <netinet/icmp_var.h>
16833 #endif
16835 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16839 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16846 #include <sys/types.h>
16847 #endif
16848 #ifdef HAVE_SYS_SOCKETVAR_H
16849 #include <sys/socketvar.h>
16850 #endif
16851 #ifdef HAVE_NETINET_IN_H
16852 #include <netinet/in.h>
16853 #endif
16854 #ifdef HAVE_NETINET_IP_VAR_H
16855 #include <netinet/ip_var.h>
16856 #endif
16858 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16862 _ACEOF
16868 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
16869 #include <netinet/ip_var.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16876 _ACEOF
16882 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16883 #include <sys/types.h>
16884 #endif
16885 #ifdef HAVE_SYS_SOCKETVAR_H
16886 #include <sys/socketvar.h>
16887 #endif
16888 #ifdef HAVE_NETINET_IN_H
16889 #include <netinet/in.h>
16890 #endif
16891 #ifdef HAVE_NETINET_TCP_H
16892 #include <netinet/tcp.h>
16893 #endif
16894 #ifdef HAVE_NETINET_TCP_VAR_H
16895 #include <netinet/tcp_var.h>
16896 #endif
16898 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16902 _ACEOF
16908 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
16909 #include <netinet/tcp_var.h>
16910 #endif
16912 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16916 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16923 #include <sys/types.h>
16924 #endif
16925 #ifdef HAVE_NETINET_IN_H
16926 #include <netinet/in.h>
16927 #endif
16928 #ifdef HAVE_NETINET_IP_VAR_H
16929 #include <netinet/ip_var.h>
16930 #endif
16931 #ifdef HAVE_NETINET_UDP_H
16932 #include <netinet/udp.h>
16933 #endif
16934 #ifdef HAVE_NETINET_UDP_VAR_H
16935 #include <netinet/udp_var.h>
16936 #endif
16938 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16942 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16949 #include <sys/types.h>
16950 #endif
16951 #ifdef HAVE_NET_IF_H
16952 # include <net/if.h>
16953 #endif
16955 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16959 _ACEOF
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16966 $as_echo_n "checking for timezone variable... " >&6; }
16967 if ${ac_cv_have_timezone+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #include <time.h>
16974 main ()
16976 timezone = 1
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_have_timezone="yes"
16983 else
16984 ac_cv_have_timezone="no"
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16990 $as_echo "$ac_cv_have_timezone" >&6; }
16991 if test "$ac_cv_have_timezone" = "yes"
16992 then
16994 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16998 $as_echo_n "checking for daylight variable... " >&6; }
16999 if ${ac_cv_have_daylight+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <time.h>
17006 main ()
17008 daylight = 1
17010 return 0;
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_have_daylight="yes"
17015 else
17016 ac_cv_have_daylight="no"
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17022 $as_echo "$ac_cv_have_daylight" >&6; }
17023 if test "$ac_cv_have_daylight" = "yes"
17024 then
17026 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17030 ac_save_LIBS="$LIBS"
17031 LIBS="$LIBS -lm"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17033 $as_echo_n "checking for isfinite... " >&6; }
17034 if ${ac_cv_have_isfinite+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #define _GNU_SOURCE
17040 #include <math.h>
17042 main ()
17044 float f = 0.0; return isfinite(f)
17046 return 0;
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"; then :
17050 ac_cv_have_isfinite="yes"
17051 else
17052 ac_cv_have_isfinite="no"
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17058 $as_echo "$ac_cv_have_isfinite" >&6; }
17059 if test "$ac_cv_have_isfinite" = "yes"
17060 then
17062 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17067 $as_echo_n "checking for isinf... " >&6; }
17068 if ${ac_cv_have_isinf+:} false; then :
17069 $as_echo_n "(cached) " >&6
17070 else
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <math.h>
17075 main ()
17077 float f = 0.0; return isinf(f)
17079 return 0;
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_have_isinf="yes"
17084 else
17085 ac_cv_have_isinf="no"
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17091 $as_echo "$ac_cv_have_isinf" >&6; }
17092 if test "$ac_cv_have_isinf" = "yes"
17093 then
17095 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17100 $as_echo_n "checking for isnan... " >&6; }
17101 if ${ac_cv_have_isnan+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 #include <math.h>
17108 main ()
17110 float f = 0.0; return isnan(f)
17112 return 0;
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"; then :
17116 ac_cv_have_isnan="yes"
17117 else
17118 ac_cv_have_isnan="no"
17120 rm -f core conftest.err conftest.$ac_objext \
17121 conftest$ac_exeext conftest.$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17124 $as_echo "$ac_cv_have_isnan" >&6; }
17125 if test "$ac_cv_have_isnan" = "yes"
17126 then
17128 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17132 for ac_func in \
17133 asinh \
17134 asinhf \
17135 cbrt \
17136 cbrtf \
17137 erf \
17138 erff \
17139 exp2 \
17140 exp2f \
17141 lgamma \
17142 lgammaf \
17143 llrint \
17144 llrintf \
17145 llround \
17146 llroundf \
17147 log2 \
17148 log2f \
17149 lrint \
17150 lrintf \
17151 lround \
17152 lroundf \
17153 nearbyint \
17154 nearbyintf \
17155 powl \
17156 remainder \
17157 remainderf \
17158 rint \
17159 rintf \
17160 round \
17161 roundf \
17162 trunc \
17163 truncf
17165 do :
17166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17169 cat >>confdefs.h <<_ACEOF
17170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17171 _ACEOF
17174 done
17176 LIBS="$ac_save_LIBS"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17179 $as_echo_n "checking for __builtin_clz... " >&6; }
17180 if ${ac_cv_have___builtin_clz+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17187 main ()
17189 return __builtin_clz(1)
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_have___builtin_clz="yes"
17196 else
17197 ac_cv_have___builtin_clz="no"
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17203 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17204 if test "$ac_cv_have___builtin_clz" = "yes"
17205 then
17207 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17212 $as_echo_n "checking for __builtin_popcount... " >&6; }
17213 if ${ac_cv_have___builtin_popcount+:} false; then :
17214 $as_echo_n "(cached) " >&6
17215 else
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17220 main ()
17222 return __builtin_popcount(1)
17224 return 0;
17226 _ACEOF
17227 if ac_fn_c_try_link "$LINENO"; then :
17228 ac_cv_have___builtin_popcount="yes"
17229 else
17230 ac_cv_have___builtin_popcount="no"
17232 rm -f core conftest.err conftest.$ac_objext \
17233 conftest$ac_exeext conftest.$ac_ext
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17236 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17237 if test "$ac_cv_have___builtin_popcount" = "yes"
17238 then
17240 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17245 case $host_cpu in
17246 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17247 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17248 if ${ac_cv_cpp_def___i386__+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #ifndef __i386__
17255 #endif
17256 _ACEOF
17257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17258 $EGREP "yes" >/dev/null 2>&1; then :
17259 ac_cv_cpp_def___i386__=yes
17260 else
17261 ac_cv_cpp_def___i386__=no
17263 rm -f conftest*
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17267 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17268 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17269 CFLAGS="$CFLAGS -D__i386__"
17270 LINTFLAGS="$LINTFLAGS -D__i386__"
17271 fi ;;
17272 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17273 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17274 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 #ifndef __x86_64__
17281 #endif
17282 _ACEOF
17283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17284 $EGREP "yes" >/dev/null 2>&1; then :
17285 ac_cv_cpp_def___x86_64__=yes
17286 else
17287 ac_cv_cpp_def___x86_64__=no
17289 rm -f conftest*
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17293 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17294 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17295 CFLAGS="$CFLAGS -D__x86_64__"
17296 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17297 fi ;;
17298 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17299 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17300 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #ifndef __sparc64__
17307 #endif
17308 _ACEOF
17309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17310 $EGREP "yes" >/dev/null 2>&1; then :
17311 ac_cv_cpp_def___sparc64__=yes
17312 else
17313 ac_cv_cpp_def___sparc64__=no
17315 rm -f conftest*
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17319 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17320 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17321 CFLAGS="$CFLAGS -D__sparc64__"
17322 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17323 fi ;;
17324 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17325 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17326 if ${ac_cv_cpp_def___sparc__+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #ifndef __sparc__
17333 #endif
17334 _ACEOF
17335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17336 $EGREP "yes" >/dev/null 2>&1; then :
17337 ac_cv_cpp_def___sparc__=yes
17338 else
17339 ac_cv_cpp_def___sparc__=no
17341 rm -f conftest*
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17345 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17346 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17347 CFLAGS="$CFLAGS -D__sparc__"
17348 LINTFLAGS="$LINTFLAGS -D__sparc__"
17349 fi ;;
17350 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17351 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17352 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #ifndef __powerpc64__
17359 #endif
17360 _ACEOF
17361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17362 $EGREP "yes" >/dev/null 2>&1; then :
17363 ac_cv_cpp_def___powerpc64__=yes
17364 else
17365 ac_cv_cpp_def___powerpc64__=no
17367 rm -f conftest*
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17371 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17372 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17373 CFLAGS="$CFLAGS -D__powerpc64__"
17374 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17375 fi ;;
17376 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17377 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17378 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #ifndef __powerpc__
17385 #endif
17386 _ACEOF
17387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17388 $EGREP "yes" >/dev/null 2>&1; then :
17389 ac_cv_cpp_def___powerpc__=yes
17390 else
17391 ac_cv_cpp_def___powerpc__=no
17393 rm -f conftest*
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17397 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17398 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17399 CFLAGS="$CFLAGS -D__powerpc__"
17400 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17401 fi ;;
17402 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17403 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17404 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #ifndef __aarch64__
17411 #endif
17412 _ACEOF
17413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17414 $EGREP "yes" >/dev/null 2>&1; then :
17415 ac_cv_cpp_def___aarch64__=yes
17416 else
17417 ac_cv_cpp_def___aarch64__=no
17419 rm -f conftest*
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17423 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17424 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17425 CFLAGS="$CFLAGS -D__aarch64__"
17426 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17427 fi ;;
17428 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17429 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17430 if ${ac_cv_cpp_def___arm__+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 #ifndef __arm__
17437 #endif
17438 _ACEOF
17439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17440 $EGREP "yes" >/dev/null 2>&1; then :
17441 ac_cv_cpp_def___arm__=yes
17442 else
17443 ac_cv_cpp_def___arm__=no
17445 rm -f conftest*
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17449 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17450 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17451 CFLAGS="$CFLAGS -D__arm__"
17452 LINTFLAGS="$LINTFLAGS -D__arm__"
17453 fi ;;
17454 esac
17456 case $host_vendor in
17457 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17458 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17459 if ${ac_cv_cpp_def___sun__+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464 #ifndef __sun__
17466 #endif
17467 _ACEOF
17468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17469 $EGREP "yes" >/dev/null 2>&1; then :
17470 ac_cv_cpp_def___sun__=yes
17471 else
17472 ac_cv_cpp_def___sun__=no
17474 rm -f conftest*
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17478 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17479 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17480 CFLAGS="$CFLAGS -D__sun__"
17481 LINTFLAGS="$LINTFLAGS -D__sun__"
17482 fi ;;
17483 esac
17489 ac_config_commands="$ac_config_commands include/stamp-h"
17491 $as_echo_n "creating Makefile rules..." >&6
17493 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17494 SOCKET_LIBS = $SOCKET_LIBS
17495 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17496 IOKIT_LIBS = $IOKIT_LIBS
17497 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17498 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17499 CORESERVICES_LIBS = $CORESERVICES_LIBS
17500 APPKIT_LIBS = $APPKIT_LIBS
17501 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17502 SECURITY_LIBS = $SECURITY_LIBS
17503 COREAUDIO_LIBS = $COREAUDIO_LIBS
17504 OPENAL_LIBS = $OPENAL_LIBS
17505 OPENCL_LIBS = $OPENCL_LIBS
17506 QUICKTIME_LIBS = $QUICKTIME_LIBS
17507 CARBON_LIBS = $CARBON_LIBS
17508 PTHREAD_LIBS = $PTHREAD_LIBS
17509 X_CFLAGS = $X_CFLAGS
17510 X_PRE_LIBS = $X_PRE_LIBS
17511 X_LIBS = $X_LIBS
17512 X_EXTRA_LIBS = $X_EXTRA_LIBS
17513 PCAP_LIBS = $PCAP_LIBS
17514 XML2_CFLAGS = $XML2_CFLAGS
17515 XML2_LIBS = $XML2_LIBS
17516 XSLT_CFLAGS = $XSLT_CFLAGS
17517 XSLT_LIBS = $XSLT_LIBS
17518 DBUS_CFLAGS = $DBUS_CFLAGS
17519 DBUS_LIBS = $DBUS_LIBS
17520 HAL_CFLAGS = $HAL_CFLAGS
17521 HAL_LIBS = $HAL_LIBS
17522 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17523 GNUTLS_LIBS = $GNUTLS_LIBS
17524 SANE_CFLAGS = $SANE_CFLAGS
17525 SANE_LIBS = $SANE_LIBS
17526 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17527 GPHOTO2_LIBS = $GPHOTO2_LIBS
17528 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17529 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17530 RESOLV_LIBS = $RESOLV_LIBS
17531 LCMS2_CFLAGS = $LCMS2_CFLAGS
17532 LCMS2_LIBS = $LCMS2_LIBS
17533 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17534 FREETYPE_LIBS = $FREETYPE_LIBS
17535 Z_LIBS = $Z_LIBS
17536 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17537 PULSE_CFLAGS = $PULSE_CFLAGS
17538 PULSE_LIBS = $PULSE_LIBS
17539 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17540 GSTREAMER_LIBS = $GSTREAMER_LIBS
17541 ALSA_LIBS = $ALSA_LIBS
17542 OSS4_CFLAGS = $OSS4_CFLAGS
17543 UDEV_CFLAGS = $UDEV_CFLAGS
17544 UDEV_LIBS = $UDEV_LIBS
17545 CAPI20_CFLAGS = $CAPI20_CFLAGS
17546 CAPI20_LIBS = $CAPI20_LIBS
17547 CUPS_CFLAGS = $CUPS_CFLAGS
17548 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17549 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17550 JPEG_CFLAGS = $JPEG_CFLAGS
17551 JPEG_LIBS = $JPEG_LIBS
17552 PNG_CFLAGS = $PNG_CFLAGS
17553 PNG_LIBS = $PNG_LIBS
17554 TIFF_CFLAGS = $TIFF_CFLAGS
17555 TIFF_LIBS = $TIFF_LIBS
17556 MPG123_CFLAGS = $MPG123_CFLAGS
17557 MPG123_LIBS = $MPG123_LIBS
17558 KSTAT_LIBS = $KSTAT_LIBS
17559 PROCSTAT_LIBS = $PROCSTAT_LIBS
17560 NETAPI_CFLAGS = $NETAPI_CFLAGS
17561 NETAPI_LIBS = $NETAPI_LIBS
17562 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17563 DL_LIBS = $DL_LIBS
17564 POLL_LIBS = $POLL_LIBS
17565 RT_LIBS = $RT_LIBS
17566 LDAP_LIBS = $LDAP_LIBS
17571 wine_fn_append_rule "
17572 # Rules automatically generated by configure
17574 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17576 .INIT: Makefile
17577 .MAKEFILEDEPS:
17578 all: Makefile
17579 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17580 @./config.status Make.tmp Makefile
17581 depend: \$(MAKEDEP) dummy
17582 \$(MAKEDEP)"
17584 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17585 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17587 if test "x$enable_fonts" != xno; then
17588 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17589 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17590 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17591 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17592 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17593 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17595 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17596 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17597 ac_config_links="$ac_config_links wine:tools/winewrapper"
17598 wine_fn_config_symlink wine
17599 if test "x$enable_win64" != xno; then
17600 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17601 wine_fn_config_symlink wine64
17604 wine_fn_config_dll acledit enable_acledit
17605 wine_fn_config_dll aclui enable_aclui implib
17606 wine_fn_config_dll activeds enable_activeds implib
17607 wine_fn_config_dll actxprxy enable_actxprxy clean
17608 wine_fn_config_lib adsiid
17609 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17610 wine_fn_config_test dlls/advapi32/tests advapi32_test
17611 wine_fn_config_dll advpack enable_advpack implib
17612 wine_fn_config_test dlls/advpack/tests advpack_test
17613 wine_fn_config_dll amstream enable_amstream clean
17614 wine_fn_config_test dlls/amstream/tests amstream_test
17615 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17616 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17627 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17633 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17636 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17641 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17642 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17643 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17653 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17656 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17658 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17659 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17660 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17663 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17664 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17666 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17670 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17671 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17674 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17678 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17680 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17682 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17683 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17690 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17693 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17698 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17702 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17704 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17705 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17707 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17719 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17720 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17727 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17732 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17733 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17734 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17735 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17736 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17737 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17738 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17739 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17740 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17741 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17742 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17743 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17744 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17745 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17746 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17747 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17748 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17749 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17750 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17751 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17752 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17753 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17754 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17755 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17756 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17757 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17758 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17759 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17760 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17761 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17762 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17763 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17764 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17765 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17766 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17767 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17768 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17769 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17770 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17771 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17772 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17773 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17774 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17775 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17776 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17777 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17778 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17779 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17780 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17781 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17782 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17783 wine_fn_config_dll apphelp enable_apphelp
17784 wine_fn_config_test dlls/apphelp/tests apphelp_test
17785 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17786 wine_fn_config_dll atl enable_atl clean,implib
17787 wine_fn_config_test dlls/atl/tests atl_test
17788 wine_fn_config_dll atl100 enable_atl100 clean,implib
17789 wine_fn_config_test dlls/atl100/tests atl100_test
17790 wine_fn_config_dll atl110 enable_atl110 clean
17791 wine_fn_config_dll atl80 enable_atl80 clean,implib
17792 wine_fn_config_test dlls/atl80/tests atl80_test
17793 wine_fn_config_dll atl90 enable_atl90 clean
17794 wine_fn_config_dll authz enable_authz
17795 wine_fn_config_dll avicap32 enable_avicap32 implib
17796 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17797 wine_fn_config_test dlls/avifil32/tests avifil32_test
17798 wine_fn_config_dll avifile.dll16 enable_win16
17799 wine_fn_config_dll avrt enable_avrt implib
17800 wine_fn_config_dll bcrypt enable_bcrypt implib
17801 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17802 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17803 wine_fn_config_dll browseui enable_browseui clean
17804 wine_fn_config_test dlls/browseui/tests browseui_test
17805 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17806 wine_fn_config_dll cabinet enable_cabinet implib
17807 wine_fn_config_test dlls/cabinet/tests cabinet_test
17808 wine_fn_config_dll capi2032 enable_capi2032 implib
17809 wine_fn_config_dll cards enable_cards implib
17810 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17811 wine_fn_config_dll clusapi enable_clusapi implib
17812 wine_fn_config_dll combase enable_combase
17813 wine_fn_config_test dlls/combase/tests combase_test
17814 wine_fn_config_dll comcat enable_comcat
17815 wine_fn_config_test dlls/comcat/tests comcat_test
17816 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17817 wine_fn_config_test dlls/comctl32/tests comctl32_test
17818 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17819 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17820 wine_fn_config_dll comm.drv16 enable_win16
17821 wine_fn_config_dll commdlg.dll16 enable_win16
17822 wine_fn_config_dll compobj.dll16 enable_win16
17823 wine_fn_config_dll compstui enable_compstui implib
17824 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17825 wine_fn_config_dll concrt140 enable_concrt140
17826 wine_fn_config_dll connect enable_connect
17827 wine_fn_config_dll credui enable_credui clean,implib
17828 wine_fn_config_test dlls/credui/tests credui_test
17829 wine_fn_config_dll crtdll enable_crtdll
17830 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17831 wine_fn_config_test dlls/crypt32/tests crypt32_test
17832 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17833 wine_fn_config_dll cryptdll enable_cryptdll implib
17834 wine_fn_config_dll cryptext enable_cryptext
17835 wine_fn_config_dll cryptnet enable_cryptnet implib
17836 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17837 wine_fn_config_dll cryptui enable_cryptui clean,implib
17838 wine_fn_config_test dlls/cryptui/tests cryptui_test
17839 wine_fn_config_dll ctapi32 enable_ctapi32
17840 wine_fn_config_dll ctl3d.dll16 enable_win16
17841 wine_fn_config_dll ctl3d32 enable_ctl3d32
17842 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17843 wine_fn_config_dll d2d1 enable_d2d1 implib
17844 wine_fn_config_test dlls/d2d1/tests d2d1_test
17845 wine_fn_config_dll d3d10 enable_d3d10 implib
17846 wine_fn_config_test dlls/d3d10/tests d3d10_test
17847 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17848 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17849 wine_fn_config_dll d3d10core enable_d3d10core implib
17850 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17851 wine_fn_config_dll d3d11 enable_d3d11 implib
17852 wine_fn_config_test dlls/d3d11/tests d3d11_test
17853 wine_fn_config_dll d3d8 enable_d3d8 implib
17854 wine_fn_config_test dlls/d3d8/tests d3d8_test
17855 wine_fn_config_dll d3d9 enable_d3d9 implib
17856 wine_fn_config_test dlls/d3d9/tests d3d9_test
17857 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17858 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17859 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17860 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17861 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17862 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17863 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17864 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17865 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17866 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17867 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17868 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17869 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17870 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17871 wine_fn_config_dll d3dim enable_d3dim
17872 wine_fn_config_dll d3drm enable_d3drm implib
17873 wine_fn_config_test dlls/d3drm/tests d3drm_test
17874 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17875 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17876 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17877 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17878 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17879 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17880 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17881 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17882 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17883 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17884 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17885 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17886 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17887 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17888 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17889 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17890 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17891 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17892 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17893 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17894 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17895 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17896 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17897 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17898 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17899 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17900 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17901 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17902 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17903 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17904 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17905 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17906 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17907 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17908 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17909 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17910 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17911 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17912 wine_fn_config_dll davclnt enable_davclnt
17913 wine_fn_config_dll dbgeng enable_dbgeng implib
17914 wine_fn_config_dll dbghelp enable_dbghelp implib
17915 wine_fn_config_dll dciman32 enable_dciman32 implib
17916 wine_fn_config_dll ddeml.dll16 enable_win16
17917 wine_fn_config_dll ddraw enable_ddraw clean,implib
17918 wine_fn_config_test dlls/ddraw/tests ddraw_test
17919 wine_fn_config_dll ddrawex enable_ddrawex clean
17920 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17921 wine_fn_config_dll devenum enable_devenum clean
17922 wine_fn_config_test dlls/devenum/tests devenum_test
17923 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17924 wine_fn_config_dll difxapi enable_difxapi
17925 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17926 wine_fn_config_test dlls/dinput/tests dinput_test
17927 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17928 wine_fn_config_test dlls/dinput8/tests dinput8_test
17929 wine_fn_config_dll dispdib.dll16 enable_win16
17930 wine_fn_config_dll dispex enable_dispex clean
17931 wine_fn_config_test dlls/dispex/tests dispex_test
17932 wine_fn_config_dll display.drv16 enable_win16
17933 wine_fn_config_dll dmband enable_dmband clean
17934 wine_fn_config_test dlls/dmband/tests dmband_test
17935 wine_fn_config_dll dmcompos enable_dmcompos clean
17936 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17937 wine_fn_config_dll dmime enable_dmime clean
17938 wine_fn_config_test dlls/dmime/tests dmime_test
17939 wine_fn_config_dll dmloader enable_dmloader clean
17940 wine_fn_config_test dlls/dmloader/tests dmloader_test
17941 wine_fn_config_dll dmscript enable_dmscript clean
17942 wine_fn_config_test dlls/dmscript/tests dmscript_test
17943 wine_fn_config_dll dmstyle enable_dmstyle clean
17944 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17945 wine_fn_config_dll dmsynth enable_dmsynth clean
17946 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17947 wine_fn_config_dll dmusic enable_dmusic clean
17948 wine_fn_config_test dlls/dmusic/tests dmusic_test
17949 wine_fn_config_dll dmusic32 enable_dmusic32
17950 wine_fn_config_dll dnsapi enable_dnsapi implib
17951 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17952 wine_fn_config_dll dplay enable_dplay
17953 wine_fn_config_dll dplayx enable_dplayx clean,implib
17954 wine_fn_config_test dlls/dplayx/tests dplayx_test
17955 wine_fn_config_dll dpnaddr enable_dpnaddr
17956 wine_fn_config_dll dpnet enable_dpnet clean,implib
17957 wine_fn_config_test dlls/dpnet/tests dpnet_test
17958 wine_fn_config_dll dpnhpast enable_dpnhpast
17959 wine_fn_config_dll dpnlobby enable_dpnlobby
17960 wine_fn_config_dll dpvoice enable_dpvoice clean
17961 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17962 wine_fn_config_dll dpwsockx enable_dpwsockx
17963 wine_fn_config_dll drmclien enable_drmclien
17964 wine_fn_config_dll dsound enable_dsound clean,implib
17965 wine_fn_config_test dlls/dsound/tests dsound_test
17966 wine_fn_config_dll dssenh enable_dssenh
17967 wine_fn_config_test dlls/dssenh/tests dssenh_test
17968 wine_fn_config_dll dswave enable_dswave clean
17969 wine_fn_config_test dlls/dswave/tests dswave_test
17970 wine_fn_config_dll dwmapi enable_dwmapi implib
17971 wine_fn_config_dll dwrite enable_dwrite implib
17972 wine_fn_config_test dlls/dwrite/tests dwrite_test
17973 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17974 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17975 wine_fn_config_lib dxerr8
17976 wine_fn_config_lib dxerr9
17977 wine_fn_config_dll dxgi enable_dxgi implib
17978 wine_fn_config_test dlls/dxgi/tests dxgi_test
17979 wine_fn_config_lib dxguid
17980 wine_fn_config_dll dxva2 enable_dxva2
17981 wine_fn_config_dll esent enable_esent
17982 wine_fn_config_dll evr enable_evr
17983 wine_fn_config_dll explorerframe enable_explorerframe clean
17984 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17985 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17986 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17987 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17988 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17989 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17990 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17991 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17992 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17993 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17994 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17995 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17996 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17997 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17998 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17999 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
18000 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18001 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18002 wine_fn_config_dll faultrep enable_faultrep implib
18003 wine_fn_config_test dlls/faultrep/tests faultrep_test
18004 wine_fn_config_dll fltlib enable_fltlib
18005 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18006 wine_fn_config_dll fntcache enable_fntcache
18007 wine_fn_config_dll fontsub enable_fontsub
18008 wine_fn_config_dll fusion enable_fusion
18009 wine_fn_config_test dlls/fusion/tests fusion_test
18010 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18011 wine_fn_config_dll gameux enable_gameux clean
18012 wine_fn_config_test dlls/gameux/tests gameux_test
18013 wine_fn_config_dll gdi.exe16 enable_win16
18014 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18015 wine_fn_config_test dlls/gdi32/tests gdi32_test
18016 wine_fn_config_dll gdiplus enable_gdiplus implib
18017 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18018 wine_fn_config_dll glu32 enable_glu32 implib
18019 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18020 wine_fn_config_dll gpkcsp enable_gpkcsp
18021 wine_fn_config_dll hal enable_hal
18022 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18023 wine_fn_config_dll hid enable_hid implib
18024 wine_fn_config_test dlls/hid/tests hid_test
18025 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18026 wine_fn_config_dll hlink enable_hlink clean,implib
18027 wine_fn_config_test dlls/hlink/tests hlink_test
18028 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18029 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18030 wine_fn_config_dll httpapi enable_httpapi
18031 wine_fn_config_dll iccvid enable_iccvid clean
18032 wine_fn_config_dll icmp enable_icmp
18033 wine_fn_config_dll ieframe enable_ieframe clean,implib
18034 wine_fn_config_test dlls/ieframe/tests ieframe_test
18035 wine_fn_config_dll ifsmgr.vxd enable_win16
18036 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18037 wine_fn_config_dll imagehlp enable_imagehlp implib
18038 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18039 wine_fn_config_dll imm.dll16 enable_win16
18040 wine_fn_config_dll imm32 enable_imm32 implib
18041 wine_fn_config_test dlls/imm32/tests imm32_test
18042 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18043 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18044 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18045 wine_fn_config_dll inetmib1 enable_inetmib1
18046 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18047 wine_fn_config_dll infosoft enable_infosoft clean
18048 wine_fn_config_test dlls/infosoft/tests infosoft_test
18049 wine_fn_config_dll initpki enable_initpki
18050 wine_fn_config_dll inkobj enable_inkobj
18051 wine_fn_config_dll inseng enable_inseng clean
18052 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18053 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18054 wine_fn_config_dll iprop enable_iprop
18055 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18056 wine_fn_config_dll itircl enable_itircl
18057 wine_fn_config_dll itss enable_itss clean
18058 wine_fn_config_test dlls/itss/tests itss_test
18059 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18060 wine_fn_config_dll jscript enable_jscript clean
18061 wine_fn_config_test dlls/jscript/tests jscript_test
18062 wine_fn_config_dll jsproxy enable_jsproxy implib
18063 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18064 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18065 wine_fn_config_test dlls/kernel32/tests kernel32_test
18066 wine_fn_config_dll kernelbase enable_kernelbase
18067 wine_fn_config_dll keyboard.drv16 enable_win16
18068 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18069 wine_fn_config_dll ksuser enable_ksuser
18070 wine_fn_config_dll ktmw32 enable_ktmw32
18071 wine_fn_config_dll loadperf enable_loadperf implib
18072 wine_fn_config_dll localspl enable_localspl clean
18073 wine_fn_config_test dlls/localspl/tests localspl_test
18074 wine_fn_config_dll localui enable_localui clean
18075 wine_fn_config_test dlls/localui/tests localui_test
18076 wine_fn_config_dll lz32 enable_lz32 implib
18077 wine_fn_config_test dlls/lz32/tests lz32_test
18078 wine_fn_config_dll lzexpand.dll16 enable_win16
18079 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18080 wine_fn_config_test dlls/mapi32/tests mapi32_test
18081 wine_fn_config_dll mapistub enable_mapistub
18082 wine_fn_config_dll mciavi32 enable_mciavi32
18083 wine_fn_config_dll mcicda enable_mcicda
18084 wine_fn_config_dll mciqtz32 enable_mciqtz32
18085 wine_fn_config_dll mciseq enable_mciseq
18086 wine_fn_config_dll mciwave enable_mciwave
18087 wine_fn_config_dll mf enable_mf
18088 wine_fn_config_dll mf3216 enable_mf3216
18089 wine_fn_config_dll mfplat enable_mfplat
18090 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18091 wine_fn_config_dll mgmtapi enable_mgmtapi
18092 wine_fn_config_dll midimap enable_midimap
18093 wine_fn_config_dll mlang enable_mlang clean,implib
18094 wine_fn_config_test dlls/mlang/tests mlang_test
18095 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18096 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18097 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18098 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18099 wine_fn_config_dll mmdevldr.vxd enable_win16
18100 wine_fn_config_dll mmsystem.dll16 enable_win16
18101 wine_fn_config_dll monodebg.vxd enable_win16
18102 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18103 wine_fn_config_dll mouse.drv16 enable_win16
18104 wine_fn_config_dll mpr enable_mpr clean,implib
18105 wine_fn_config_test dlls/mpr/tests mpr_test
18106 wine_fn_config_dll mprapi enable_mprapi implib
18107 wine_fn_config_dll msacm.dll16 enable_win16
18108 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18109 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18110 wine_fn_config_test dlls/msacm32/tests msacm32_test
18111 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18112 wine_fn_config_dll msasn1 enable_msasn1 implib
18113 wine_fn_config_dll mscat32 enable_mscat32
18114 wine_fn_config_dll mscms enable_mscms implib
18115 wine_fn_config_test dlls/mscms/tests mscms_test
18116 wine_fn_config_dll mscoree enable_mscoree clean
18117 wine_fn_config_test dlls/mscoree/tests mscoree_test
18118 wine_fn_config_dll msctf enable_msctf clean
18119 wine_fn_config_test dlls/msctf/tests msctf_test
18120 wine_fn_config_dll msctfp enable_msctfp clean
18121 wine_fn_config_dll msdaps enable_msdaps clean
18122 wine_fn_config_dll msdelta enable_msdelta
18123 wine_fn_config_dll msdmo enable_msdmo implib
18124 wine_fn_config_test dlls/msdmo/tests msdmo_test
18125 wine_fn_config_dll msdrm enable_msdrm
18126 wine_fn_config_dll msftedit enable_msftedit
18127 wine_fn_config_dll msg711.acm enable_msg711_acm
18128 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18129 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18130 wine_fn_config_dll mshtml enable_mshtml clean,implib
18131 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18132 wine_fn_config_dll msi enable_msi clean,implib
18133 wine_fn_config_test dlls/msi/tests msi_test
18134 wine_fn_config_dll msident enable_msident clean
18135 wine_fn_config_dll msimg32 enable_msimg32 implib
18136 wine_fn_config_dll msimsg enable_msimsg
18137 wine_fn_config_dll msimtf enable_msimtf clean
18138 wine_fn_config_dll msisip enable_msisip
18139 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18140 wine_fn_config_dll msls31 enable_msls31
18141 wine_fn_config_dll msnet32 enable_msnet32
18142 wine_fn_config_dll mspatcha enable_mspatcha implib
18143 wine_fn_config_dll msports enable_msports
18144 wine_fn_config_dll msrle32 enable_msrle32 clean
18145 wine_fn_config_test dlls/msrle32/tests msrle32_test
18146 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18147 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18148 wine_fn_config_dll mssign32 enable_mssign32
18149 wine_fn_config_dll mssip32 enable_mssip32
18150 wine_fn_config_dll mstask enable_mstask clean
18151 wine_fn_config_test dlls/mstask/tests mstask_test
18152 wine_fn_config_dll msvcirt enable_msvcirt
18153 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18154 wine_fn_config_dll msvcm80 enable_msvcm80
18155 wine_fn_config_dll msvcm90 enable_msvcm90
18156 wine_fn_config_dll msvcp100 enable_msvcp100
18157 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18158 wine_fn_config_dll msvcp110 enable_msvcp110
18159 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18160 wine_fn_config_dll msvcp120 enable_msvcp120
18161 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18162 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18163 wine_fn_config_dll msvcp140 enable_msvcp140
18164 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18165 wine_fn_config_dll msvcp60 enable_msvcp60
18166 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18167 wine_fn_config_dll msvcp70 enable_msvcp70
18168 wine_fn_config_dll msvcp71 enable_msvcp71
18169 wine_fn_config_dll msvcp80 enable_msvcp80
18170 wine_fn_config_dll msvcp90 enable_msvcp90
18171 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18172 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18173 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18174 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18175 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18176 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18177 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18178 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18179 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18180 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18181 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18182 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18183 wine_fn_config_dll msvcrt enable_msvcrt implib
18184 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18185 wine_fn_config_dll msvcrt20 enable_msvcrt20
18186 wine_fn_config_dll msvcrt40 enable_msvcrt40
18187 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18188 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18189 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18190 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18191 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18192 wine_fn_config_dll msvideo.dll16 enable_win16
18193 wine_fn_config_dll mswsock enable_mswsock implib
18194 wine_fn_config_dll msxml enable_msxml clean
18195 wine_fn_config_dll msxml2 enable_msxml2 clean
18196 wine_fn_config_dll msxml3 enable_msxml3 clean
18197 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18198 wine_fn_config_dll msxml4 enable_msxml4 clean
18199 wine_fn_config_dll msxml6 enable_msxml6 clean
18200 wine_fn_config_dll ncrypt enable_ncrypt
18201 wine_fn_config_dll nddeapi enable_nddeapi implib
18202 wine_fn_config_dll ndis.sys enable_ndis_sys
18203 wine_fn_config_dll netapi32 enable_netapi32 implib
18204 wine_fn_config_test dlls/netapi32/tests netapi32_test
18205 wine_fn_config_dll netcfgx enable_netcfgx clean
18206 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18207 wine_fn_config_dll netprofm enable_netprofm clean
18208 wine_fn_config_test dlls/netprofm/tests netprofm_test
18209 wine_fn_config_dll newdev enable_newdev implib
18210 wine_fn_config_dll normaliz enable_normaliz implib
18211 wine_fn_config_dll npmshtml enable_npmshtml
18212 wine_fn_config_dll npptools enable_npptools
18213 wine_fn_config_dll ntdll enable_ntdll implib
18214 wine_fn_config_test dlls/ntdll/tests ntdll_test
18215 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18216 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18217 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18218 wine_fn_config_dll ntprint enable_ntprint
18219 wine_fn_config_test dlls/ntprint/tests ntprint_test
18220 wine_fn_config_dll objsel enable_objsel clean
18221 wine_fn_config_dll odbc32 enable_odbc32 implib
18222 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18223 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18224 wine_fn_config_dll odbccu32 enable_odbccu32
18225 wine_fn_config_dll ole2.dll16 enable_win16
18226 wine_fn_config_dll ole2conv.dll16 enable_win16
18227 wine_fn_config_dll ole2disp.dll16 enable_win16
18228 wine_fn_config_dll ole2nls.dll16 enable_win16
18229 wine_fn_config_dll ole2prox.dll16 enable_win16
18230 wine_fn_config_dll ole2thk.dll16 enable_win16
18231 wine_fn_config_dll ole32 enable_ole32 clean,implib
18232 wine_fn_config_test dlls/ole32/tests ole32_test
18233 wine_fn_config_dll oleacc enable_oleacc clean,implib
18234 wine_fn_config_test dlls/oleacc/tests oleacc_test
18235 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18236 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18237 wine_fn_config_dll olecli.dll16 enable_win16
18238 wine_fn_config_dll olecli32 enable_olecli32 implib
18239 wine_fn_config_dll oledb32 enable_oledb32 clean
18240 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18241 wine_fn_config_dll oledlg enable_oledlg clean,implib
18242 wine_fn_config_test dlls/oledlg/tests oledlg_test
18243 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18244 wine_fn_config_dll olesvr.dll16 enable_win16
18245 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18246 wine_fn_config_dll olethk32 enable_olethk32
18247 wine_fn_config_dll openal32 enable_openal32
18248 wine_fn_config_dll opencl enable_opencl
18249 wine_fn_config_dll opengl32 enable_opengl32 implib
18250 wine_fn_config_test dlls/opengl32/tests opengl32_test
18251 wine_fn_config_dll packager enable_packager clean
18252 wine_fn_config_test dlls/packager/tests packager_test
18253 wine_fn_config_dll pdh enable_pdh implib
18254 wine_fn_config_test dlls/pdh/tests pdh_test
18255 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18256 wine_fn_config_dll pidgen enable_pidgen
18257 wine_fn_config_dll powrprof enable_powrprof implib
18258 wine_fn_config_dll printui enable_printui
18259 wine_fn_config_dll prntvpt enable_prntvpt
18260 wine_fn_config_dll propsys enable_propsys clean,implib
18261 wine_fn_config_test dlls/propsys/tests propsys_test
18262 wine_fn_config_dll psapi enable_psapi implib
18263 wine_fn_config_test dlls/psapi/tests psapi_test
18264 wine_fn_config_dll pstorec enable_pstorec clean
18265 wine_fn_config_test dlls/pstorec/tests pstorec_test
18266 wine_fn_config_dll qcap enable_qcap
18267 wine_fn_config_test dlls/qcap/tests qcap_test
18268 wine_fn_config_dll qedit enable_qedit clean
18269 wine_fn_config_test dlls/qedit/tests qedit_test
18270 wine_fn_config_dll qmgr enable_qmgr clean
18271 wine_fn_config_test dlls/qmgr/tests qmgr_test
18272 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18273 wine_fn_config_dll quartz enable_quartz clean,implib
18274 wine_fn_config_test dlls/quartz/tests quartz_test clean
18275 wine_fn_config_dll query enable_query
18276 wine_fn_config_dll rasapi16.dll16 enable_win16
18277 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18278 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18279 wine_fn_config_dll rasdlg enable_rasdlg implib
18280 wine_fn_config_dll regapi enable_regapi
18281 wine_fn_config_dll resutils enable_resutils implib
18282 wine_fn_config_dll riched20 enable_riched20 clean,implib
18283 wine_fn_config_test dlls/riched20/tests riched20_test
18284 wine_fn_config_dll riched32 enable_riched32
18285 wine_fn_config_test dlls/riched32/tests riched32_test
18286 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18287 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18288 wine_fn_config_dll rsabase enable_rsabase
18289 wine_fn_config_dll rsaenh enable_rsaenh implib
18290 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18291 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18292 wine_fn_config_dll rtutils enable_rtutils implib
18293 wine_fn_config_dll samlib enable_samlib
18294 wine_fn_config_dll sane.ds enable_sane_ds clean
18295 wine_fn_config_dll scarddlg enable_scarddlg
18296 wine_fn_config_dll sccbase enable_sccbase
18297 wine_fn_config_dll schannel enable_schannel
18298 wine_fn_config_test dlls/schannel/tests schannel_test
18299 wine_fn_config_dll schedsvc enable_schedsvc clean
18300 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18301 wine_fn_config_dll scrobj enable_scrobj clean
18302 wine_fn_config_dll scrrun enable_scrrun clean
18303 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18304 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18305 wine_fn_config_dll secur32 enable_secur32 implib
18306 wine_fn_config_test dlls/secur32/tests secur32_test
18307 wine_fn_config_dll security enable_security
18308 wine_fn_config_dll sensapi enable_sensapi implib
18309 wine_fn_config_dll serialui enable_serialui clean
18310 wine_fn_config_test dlls/serialui/tests serialui_test
18311 wine_fn_config_dll setupapi enable_setupapi clean,implib
18312 wine_fn_config_test dlls/setupapi/tests setupapi_test
18313 wine_fn_config_dll setupx.dll16 enable_win16
18314 wine_fn_config_dll sfc enable_sfc implib
18315 wine_fn_config_dll sfc_os enable_sfc_os implib
18316 wine_fn_config_dll shdoclc enable_shdoclc clean
18317 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18318 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18319 wine_fn_config_dll shell.dll16 enable_win16
18320 wine_fn_config_dll shell32 enable_shell32 clean,implib
18321 wine_fn_config_test dlls/shell32/tests shell32_test
18322 wine_fn_config_dll shfolder enable_shfolder implib
18323 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18324 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18325 wine_fn_config_dll slbcsp enable_slbcsp
18326 wine_fn_config_dll slc enable_slc implib
18327 wine_fn_config_test dlls/slc/tests slc_test
18328 wine_fn_config_dll snmpapi enable_snmpapi implib
18329 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18330 wine_fn_config_dll softpub enable_softpub
18331 wine_fn_config_dll sound.drv16 enable_win16
18332 wine_fn_config_dll spoolss enable_spoolss implib
18333 wine_fn_config_test dlls/spoolss/tests spoolss_test
18334 wine_fn_config_dll sspicli enable_sspicli
18335 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18336 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18337 wine_fn_config_dll sti enable_sti clean,implib
18338 wine_fn_config_test dlls/sti/tests sti_test
18339 wine_fn_config_dll storage.dll16 enable_win16
18340 wine_fn_config_dll stress.dll16 enable_win16
18341 wine_fn_config_lib strmbase
18342 wine_fn_config_lib strmiids
18343 wine_fn_config_dll svrapi enable_svrapi
18344 wine_fn_config_dll sxs enable_sxs implib
18345 wine_fn_config_test dlls/sxs/tests sxs_test
18346 wine_fn_config_dll system.drv16 enable_win16
18347 wine_fn_config_dll t2embed enable_t2embed implib
18348 wine_fn_config_test dlls/t2embed/tests t2embed_test
18349 wine_fn_config_dll tapi32 enable_tapi32 implib
18350 wine_fn_config_dll taskschd enable_taskschd clean
18351 wine_fn_config_test dlls/taskschd/tests taskschd_test
18352 wine_fn_config_dll tdi.sys enable_tdi_sys
18353 wine_fn_config_dll toolhelp.dll16 enable_win16
18354 wine_fn_config_dll traffic enable_traffic
18355 wine_fn_config_dll twain.dll16 enable_win16
18356 wine_fn_config_dll twain_32 enable_twain_32
18357 wine_fn_config_test dlls/twain_32/tests twain_32_test
18358 wine_fn_config_dll typelib.dll16 enable_win16
18359 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18360 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18361 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18362 wine_fn_config_dll unicows enable_unicows implib
18363 wine_fn_config_dll updspapi enable_updspapi
18364 wine_fn_config_dll url enable_url implib
18365 wine_fn_config_dll urlmon enable_urlmon clean,implib
18366 wine_fn_config_test dlls/urlmon/tests urlmon_test
18367 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18368 wine_fn_config_dll user.exe16 enable_win16
18369 wine_fn_config_dll user32 enable_user32 clean,implib
18370 wine_fn_config_test dlls/user32/tests user32_test
18371 wine_fn_config_dll userenv enable_userenv implib
18372 wine_fn_config_test dlls/userenv/tests userenv_test
18373 wine_fn_config_dll usp10 enable_usp10 implib
18374 wine_fn_config_test dlls/usp10/tests usp10_test
18375 wine_fn_config_lib uuid
18376 wine_fn_config_dll uxtheme enable_uxtheme implib
18377 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18378 wine_fn_config_dll vbscript enable_vbscript clean
18379 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18380 wine_fn_config_dll vcomp enable_vcomp
18381 wine_fn_config_test dlls/vcomp/tests vcomp_test
18382 wine_fn_config_dll vcomp100 enable_vcomp100
18383 wine_fn_config_dll vcomp110 enable_vcomp110
18384 wine_fn_config_dll vcomp120 enable_vcomp120
18385 wine_fn_config_dll vcomp140 enable_vcomp140
18386 wine_fn_config_dll vcomp90 enable_vcomp90
18387 wine_fn_config_dll vcruntime140 enable_vcruntime140
18388 wine_fn_config_dll vdhcp.vxd enable_win16
18389 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18390 wine_fn_config_dll ver.dll16 enable_win16
18391 wine_fn_config_dll version enable_version implib
18392 wine_fn_config_test dlls/version/tests version_test
18393 wine_fn_config_dll virtdisk enable_virtdisk
18394 wine_fn_config_dll vmm.vxd enable_win16
18395 wine_fn_config_dll vnbt.vxd enable_win16
18396 wine_fn_config_dll vnetbios.vxd enable_win16
18397 wine_fn_config_dll vssapi enable_vssapi
18398 wine_fn_config_dll vtdapi.vxd enable_win16
18399 wine_fn_config_dll vwin32.vxd enable_win16
18400 wine_fn_config_dll w32skrnl enable_win16
18401 wine_fn_config_dll w32sys.dll16 enable_win16
18402 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18403 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18404 wine_fn_config_dll wbemprox enable_wbemprox clean
18405 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18406 wine_fn_config_dll webservices enable_webservices implib
18407 wine_fn_config_test dlls/webservices/tests webservices_test
18408 wine_fn_config_dll wer enable_wer implib
18409 wine_fn_config_test dlls/wer/tests wer_test
18410 wine_fn_config_dll wevtapi enable_wevtapi
18411 wine_fn_config_dll wiaservc enable_wiaservc clean
18412 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18413 wine_fn_config_dll wimgapi enable_wimgapi
18414 wine_fn_config_dll win32s16.dll16 enable_win16
18415 wine_fn_config_dll win87em.dll16 enable_win16
18416 wine_fn_config_dll winaspi.dll16 enable_win16
18417 wine_fn_config_dll windebug.dll16 enable_win16
18418 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18419 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18420 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18421 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18422 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18423 wine_fn_config_dll winebus.sys enable_winebus_sys
18424 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18425 wine_fn_config_lib winecrt0
18426 wine_fn_config_dll wined3d enable_wined3d implib
18427 wine_fn_config_dll winegstreamer enable_winegstreamer
18428 wine_fn_config_dll winehid.sys enable_winehid_sys
18429 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18430 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18431 wine_fn_config_dll winemapi enable_winemapi
18432 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18433 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18434 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18435 wine_fn_config_dll wineps16.drv16 enable_win16
18436 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18437 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18438 wine_fn_config_dll winex11.drv enable_winex11_drv
18439 wine_fn_config_dll wing.dll16 enable_win16
18440 wine_fn_config_dll wing32 enable_wing32
18441 wine_fn_config_dll winhttp enable_winhttp clean,implib
18442 wine_fn_config_test dlls/winhttp/tests winhttp_test
18443 wine_fn_config_dll wininet enable_wininet clean,implib
18444 wine_fn_config_test dlls/wininet/tests wininet_test
18445 wine_fn_config_dll winmm enable_winmm clean,implib
18446 wine_fn_config_test dlls/winmm/tests winmm_test
18447 wine_fn_config_dll winnls.dll16 enable_win16
18448 wine_fn_config_dll winnls32 enable_winnls32 implib
18449 wine_fn_config_dll winscard enable_winscard implib
18450 wine_fn_config_dll winsock.dll16 enable_win16
18451 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18452 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18453 wine_fn_config_dll winsta enable_winsta
18454 wine_fn_config_dll wintab.dll16 enable_win16
18455 wine_fn_config_dll wintab32 enable_wintab32 implib
18456 wine_fn_config_test dlls/wintab32/tests wintab32_test
18457 wine_fn_config_dll wintrust enable_wintrust implib
18458 wine_fn_config_test dlls/wintrust/tests wintrust_test
18459 wine_fn_config_dll winusb enable_winusb
18460 wine_fn_config_dll wlanapi enable_wlanapi implib
18461 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18462 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18463 wine_fn_config_test dlls/wldap32/tests wldap32_test
18464 wine_fn_config_dll wmasf enable_wmasf
18465 wine_fn_config_dll wmi enable_wmi
18466 wine_fn_config_dll wmiutils enable_wmiutils clean
18467 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18468 wine_fn_config_dll wmp enable_wmp clean
18469 wine_fn_config_test dlls/wmp/tests wmp_test
18470 wine_fn_config_dll wmvcore enable_wmvcore
18471 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18472 wine_fn_config_dll wow32 enable_win16 implib
18473 wine_fn_config_dll wpc enable_wpc clean
18474 wine_fn_config_test dlls/wpc/tests wpc_test
18475 wine_fn_config_dll wpcap enable_wpcap
18476 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18477 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18478 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18479 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18480 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18481 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18482 wine_fn_config_dll wsock32 enable_wsock32 implib
18483 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18484 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18485 wine_fn_config_dll wuapi enable_wuapi clean
18486 wine_fn_config_dll wuaueng enable_wuaueng
18487 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18488 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18489 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18490 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18491 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18492 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18493 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18494 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18495 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18496 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18497 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18498 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18499 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18500 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18501 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18502 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18503 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18504 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18505 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18506 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18507 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18508 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18509 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18510 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18511 wine_fn_config_dll xinput1_1 enable_xinput1_1
18512 wine_fn_config_dll xinput1_2 enable_xinput1_2
18513 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18514 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18515 wine_fn_config_dll xinput1_4 enable_xinput1_4
18516 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18517 wine_fn_config_dll xmllite enable_xmllite implib
18518 wine_fn_config_test dlls/xmllite/tests xmllite_test
18519 wine_fn_config_dll xolehlp enable_xolehlp
18520 wine_fn_config_dll xpsprint enable_xpsprint
18521 wine_fn_config_dll xpssvcs enable_xpssvcs
18522 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18523 wine_fn_config_makefile include enable_include clean,install-dev
18524 wine_fn_config_makefile libs/port enable_libs_port
18525 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18526 wine_fn_config_makefile libs/wpp enable_libs_wpp
18527 wine_fn_config_makefile loader enable_loader clean,install-lib
18528 wine_fn_config_makefile po enable_po clean
18529 wine_fn_config_program arp enable_arp install
18530 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18531 wine_fn_config_program attrib enable_attrib clean,install
18532 wine_fn_config_program cabarc enable_cabarc install
18533 wine_fn_config_program cacls enable_cacls install
18534 wine_fn_config_program clock enable_clock clean,install
18535 wine_fn_config_program cmd enable_cmd clean,install
18536 wine_fn_config_test programs/cmd/tests cmd.exe_test
18537 wine_fn_config_program conhost enable_conhost install
18538 wine_fn_config_program control enable_control install
18539 wine_fn_config_program cscript enable_cscript clean,install
18540 wine_fn_config_program dpnsvr enable_dpnsvr install
18541 wine_fn_config_program dxdiag enable_dxdiag clean,install
18542 wine_fn_config_program eject enable_eject install
18543 wine_fn_config_program expand enable_expand install
18544 wine_fn_config_program explorer enable_explorer clean,install
18545 wine_fn_config_program extrac32 enable_extrac32 install
18546 wine_fn_config_program findstr enable_findstr install
18547 wine_fn_config_program fsutil enable_fsutil install
18548 wine_fn_config_program hh enable_hh install
18549 wine_fn_config_program hostname enable_hostname clean,install
18550 wine_fn_config_program icacls enable_icacls install
18551 wine_fn_config_program icinfo enable_icinfo install
18552 wine_fn_config_program iexplore enable_iexplore install
18553 wine_fn_config_program ipconfig enable_ipconfig clean,install
18554 wine_fn_config_program lodctr enable_lodctr install
18555 wine_fn_config_program mofcomp enable_mofcomp install
18556 wine_fn_config_program mshta enable_mshta install
18557 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18558 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18559 wine_fn_config_program net enable_net clean,install
18560 wine_fn_config_program netsh enable_netsh install
18561 wine_fn_config_program netstat enable_netstat clean,install
18562 wine_fn_config_program ngen enable_ngen install
18563 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18564 wine_fn_config_program oleview enable_oleview clean,install
18565 wine_fn_config_program ping enable_ping install
18566 wine_fn_config_program plugplay enable_plugplay install
18567 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18568 wine_fn_config_program progman enable_progman clean,install
18569 wine_fn_config_program reg enable_reg clean,install
18570 wine_fn_config_test programs/reg/tests reg.exe_test
18571 wine_fn_config_program regasm enable_regasm install
18572 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18573 wine_fn_config_test programs/regedit/tests regedit.exe_test
18574 wine_fn_config_program regsvcs enable_regsvcs install
18575 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18576 wine_fn_config_program rpcss enable_rpcss clean,install
18577 wine_fn_config_program rundll.exe16 enable_win16 install
18578 wine_fn_config_program rundll32 enable_rundll32 install
18579 wine_fn_config_program sc enable_sc install
18580 wine_fn_config_program schtasks enable_schtasks install
18581 wine_fn_config_program sdbinst enable_sdbinst install
18582 wine_fn_config_program secedit enable_secedit install
18583 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18584 wine_fn_config_program services enable_services clean,install
18585 wine_fn_config_test programs/services/tests services.exe_test
18586 wine_fn_config_program shutdown enable_shutdown install
18587 wine_fn_config_program spoolsv enable_spoolsv install
18588 wine_fn_config_program start enable_start clean,install
18589 wine_fn_config_program subst enable_subst install
18590 wine_fn_config_program svchost enable_svchost install
18591 wine_fn_config_program systeminfo enable_systeminfo install
18592 wine_fn_config_program taskkill enable_taskkill clean,install
18593 wine_fn_config_program tasklist enable_tasklist install
18594 wine_fn_config_program taskmgr enable_taskmgr clean,install
18595 wine_fn_config_program termsv enable_termsv install
18596 wine_fn_config_program uninstaller enable_uninstaller clean,install
18597 wine_fn_config_program unlodctr enable_unlodctr install
18598 wine_fn_config_program view enable_view clean,install
18599 wine_fn_config_program wevtutil enable_wevtutil install
18600 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18601 wine_fn_config_program winebrowser enable_winebrowser install
18602 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18603 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18604 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18605 wine_fn_config_program winedevice enable_winedevice install
18606 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18607 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18608 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18609 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18610 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18611 wine_fn_config_program winetest enable_winetest clean
18612 wine_fn_config_program winevdm enable_win16 install
18613 wine_fn_config_program winhelp.exe16 enable_win16 install
18614 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18615 wine_fn_config_program winoldap.mod16 enable_win16 install
18616 wine_fn_config_program winver enable_winver install
18617 wine_fn_config_program wmic enable_wmic clean,install
18618 wine_fn_config_program wmplayer enable_wmplayer install
18619 wine_fn_config_program wordpad enable_wordpad clean,install
18620 wine_fn_config_program write enable_write clean,install
18621 wine_fn_config_program wscript enable_wscript clean,install
18622 wine_fn_config_test programs/wscript/tests wscript.exe_test
18623 wine_fn_config_program wusa enable_wusa install
18624 wine_fn_config_program xcopy enable_xcopy clean,install
18625 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18626 wine_fn_config_makefile server enable_server clean,install-lib
18627 wine_fn_config_tool tools clean
18628 wine_fn_config_tool tools/sfnt2fon clean
18629 wine_fn_config_tool tools/widl clean,install-dev
18630 wine_fn_config_tool tools/winebuild clean,install-dev
18631 wine_fn_config_tool tools/winedump clean,install-dev
18632 wine_fn_config_tool tools/winegcc clean,install-dev
18633 wine_fn_config_tool tools/winemaker clean,install-dev
18634 wine_fn_config_tool tools/wmc clean,install-dev
18635 wine_fn_config_tool tools/wrc clean,install-dev
18638 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18639 wine_fn_append_file CONFIGURE_TARGETS "tags"
18640 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18641 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18642 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18643 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18644 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18645 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18647 if test "x$enable_tools" != xno
18648 then
18649 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18650 ac_config_commands="$ac_config_commands tools/makedep"
18654 ac_config_commands="$ac_config_commands Makefile"
18657 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18661 if test "x$enable_maintainer_mode" = xyes
18662 then
18663 wine_fn_append_rule "configure: configure.ac aclocal.m4
18664 autoconf --warnings=all
18665 include/config.h.in: include/stamp-h.in
18666 include/stamp-h.in: configure.ac aclocal.m4
18667 autoheader --warnings=all
18668 @echo timestamp > \$@"
18671 if test "x$enable_tools" != xno
18672 then
18673 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18674 @./config.status tools/makedep
18675 Makefile: tools/makedep$ac_exeext"
18676 else
18677 wine_fn_append_rule "\$(MAKEDEP):
18678 @echo \"You need to run make in $TOOLSDIR first\" && false"
18681 if test -n "$with_wine64"
18682 then
18683 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18684 fonts server:
18685 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18686 $with_wine64/loader/wine:
18687 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18688 $with_wine64/loader/wine-preloader:
18689 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18690 clean::
18691 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18692 else
18693 WINELOADER_INSTALL="wine.inf"
18695 wine_fn_append_rule "install install-lib::
18696 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18697 uninstall::
18698 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18699 case $host_os in
18700 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18701 *) wine_fn_append_rule "install install-lib::
18702 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18703 uninstall::
18704 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18705 esac
18708 $as_echo " done" >&6
18709 cat >confcache <<\_ACEOF
18710 # This file is a shell script that caches the results of configure
18711 # tests run on this system so they can be shared between configure
18712 # scripts and configure runs, see configure's option --config-cache.
18713 # It is not useful on other systems. If it contains results you don't
18714 # want to keep, you may remove or edit it.
18716 # config.status only pays attention to the cache file if you give it
18717 # the --recheck option to rerun configure.
18719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18721 # following values.
18723 _ACEOF
18725 # The following way of writing the cache mishandles newlines in values,
18726 # but we know of no workaround that is simple, portable, and efficient.
18727 # So, we kill variables containing newlines.
18728 # Ultrix sh set writes to stderr and can't be redirected directly,
18729 # and sets the high bit in the cache file unless we assign to the vars.
18731 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18732 eval ac_val=\$$ac_var
18733 case $ac_val in #(
18734 *${as_nl}*)
18735 case $ac_var in #(
18736 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18738 esac
18739 case $ac_var in #(
18740 _ | IFS | as_nl) ;; #(
18741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18742 *) { eval $ac_var=; unset $ac_var;} ;;
18743 esac ;;
18744 esac
18745 done
18747 (set) 2>&1 |
18748 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18749 *${as_nl}ac_space=\ *)
18750 # `set' does not quote correctly, so add quotes: double-quote
18751 # substitution turns \\\\ into \\, and sed turns \\ into \.
18752 sed -n \
18753 "s/'/'\\\\''/g;
18754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18755 ;; #(
18757 # `set' quotes correctly as required by POSIX, so do not add quotes.
18758 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18760 esac |
18761 sort
18763 sed '
18764 /^ac_cv_env_/b end
18765 t clear
18766 :clear
18767 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18768 t end
18769 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18770 :end' >>confcache
18771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18772 if test -w "$cache_file"; then
18773 if test "x$cache_file" != "x/dev/null"; then
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18775 $as_echo "$as_me: updating cache $cache_file" >&6;}
18776 if test ! -f "$cache_file" || test -h "$cache_file"; then
18777 cat confcache >"$cache_file"
18778 else
18779 case $cache_file in #(
18780 */* | ?:*)
18781 mv -f confcache "$cache_file"$$ &&
18782 mv -f "$cache_file"$$ "$cache_file" ;; #(
18784 mv -f confcache "$cache_file" ;;
18785 esac
18788 else
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18790 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18793 rm -f confcache
18795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18796 # Let make expand exec_prefix.
18797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18799 DEFS=-DHAVE_CONFIG_H
18801 ac_libobjs=
18802 ac_ltlibobjs=
18804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18805 # 1. Remove the extension, and $U if already installed.
18806 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18807 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18808 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18809 # will be set to the directory where LIBOBJS objects are built.
18810 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18811 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18812 done
18813 LIBOBJS=$ac_libobjs
18815 LTLIBOBJS=$ac_ltlibobjs
18819 : "${CONFIG_STATUS=./config.status}"
18820 ac_write_fail=0
18821 ac_clean_files_save=$ac_clean_files
18822 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18824 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18825 as_write_fail=0
18826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18827 #! $SHELL
18828 # Generated by $as_me.
18829 # Run this file to recreate the current configuration.
18830 # Compiler output produced by configure, useful for debugging
18831 # configure, is in config.log if it exists.
18833 debug=false
18834 ac_cs_recheck=false
18835 ac_cs_silent=false
18837 SHELL=\${CONFIG_SHELL-$SHELL}
18838 export SHELL
18839 _ASEOF
18840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18841 ## -------------------- ##
18842 ## M4sh Initialization. ##
18843 ## -------------------- ##
18845 # Be more Bourne compatible
18846 DUALCASE=1; export DUALCASE # for MKS sh
18847 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18848 emulate sh
18849 NULLCMD=:
18850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18851 # is contrary to our usage. Disable this feature.
18852 alias -g '${1+"$@"}'='"$@"'
18853 setopt NO_GLOB_SUBST
18854 else
18855 case `(set -o) 2>/dev/null` in #(
18856 *posix*) :
18857 set -o posix ;; #(
18858 *) :
18860 esac
18864 as_nl='
18866 export as_nl
18867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18868 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18871 # Prefer a ksh shell builtin over an external printf program on Solaris,
18872 # but without wasting forks for bash or zsh.
18873 if test -z "$BASH_VERSION$ZSH_VERSION" \
18874 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18875 as_echo='print -r --'
18876 as_echo_n='print -rn --'
18877 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18878 as_echo='printf %s\n'
18879 as_echo_n='printf %s'
18880 else
18881 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18882 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18883 as_echo_n='/usr/ucb/echo -n'
18884 else
18885 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18886 as_echo_n_body='eval
18887 arg=$1;
18888 case $arg in #(
18889 *"$as_nl"*)
18890 expr "X$arg" : "X\\(.*\\)$as_nl";
18891 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18892 esac;
18893 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18895 export as_echo_n_body
18896 as_echo_n='sh -c $as_echo_n_body as_echo'
18898 export as_echo_body
18899 as_echo='sh -c $as_echo_body as_echo'
18902 # The user is always right.
18903 if test "${PATH_SEPARATOR+set}" != set; then
18904 PATH_SEPARATOR=:
18905 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18906 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18907 PATH_SEPARATOR=';'
18912 # IFS
18913 # We need space, tab and new line, in precisely that order. Quoting is
18914 # there to prevent editors from complaining about space-tab.
18915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18916 # splitting by setting IFS to empty value.)
18917 IFS=" "" $as_nl"
18919 # Find who we are. Look in the path if we contain no directory separator.
18920 as_myself=
18921 case $0 in #((
18922 *[\\/]* ) as_myself=$0 ;;
18923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18924 for as_dir in $PATH
18926 IFS=$as_save_IFS
18927 test -z "$as_dir" && as_dir=.
18928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18929 done
18930 IFS=$as_save_IFS
18933 esac
18934 # We did not find ourselves, most probably we were run as `sh COMMAND'
18935 # in which case we are not to be found in the path.
18936 if test "x$as_myself" = x; then
18937 as_myself=$0
18939 if test ! -f "$as_myself"; then
18940 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18941 exit 1
18944 # Unset variables that we do not need and which cause bugs (e.g. in
18945 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18946 # suppresses any "Segmentation fault" message there. '((' could
18947 # trigger a bug in pdksh 5.2.14.
18948 for as_var in BASH_ENV ENV MAIL MAILPATH
18949 do eval test x\${$as_var+set} = xset \
18950 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18951 done
18952 PS1='$ '
18953 PS2='> '
18954 PS4='+ '
18956 # NLS nuisances.
18957 LC_ALL=C
18958 export LC_ALL
18959 LANGUAGE=C
18960 export LANGUAGE
18962 # CDPATH.
18963 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18966 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18967 # ----------------------------------------
18968 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18969 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18970 # script with STATUS, using 1 if that was 0.
18971 as_fn_error ()
18973 as_status=$1; test $as_status -eq 0 && as_status=1
18974 if test "$4"; then
18975 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18976 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18978 $as_echo "$as_me: error: $2" >&2
18979 as_fn_exit $as_status
18980 } # as_fn_error
18983 # as_fn_set_status STATUS
18984 # -----------------------
18985 # Set $? to STATUS, without forking.
18986 as_fn_set_status ()
18988 return $1
18989 } # as_fn_set_status
18991 # as_fn_exit STATUS
18992 # -----------------
18993 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18994 as_fn_exit ()
18996 set +e
18997 as_fn_set_status $1
18998 exit $1
18999 } # as_fn_exit
19001 # as_fn_unset VAR
19002 # ---------------
19003 # Portably unset VAR.
19004 as_fn_unset ()
19006 { eval $1=; unset $1;}
19008 as_unset=as_fn_unset
19009 # as_fn_append VAR VALUE
19010 # ----------------------
19011 # Append the text in VALUE to the end of the definition contained in VAR. Take
19012 # advantage of any shell optimizations that allow amortized linear growth over
19013 # repeated appends, instead of the typical quadratic growth present in naive
19014 # implementations.
19015 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19016 eval 'as_fn_append ()
19018 eval $1+=\$2
19020 else
19021 as_fn_append ()
19023 eval $1=\$$1\$2
19025 fi # as_fn_append
19027 # as_fn_arith ARG...
19028 # ------------------
19029 # Perform arithmetic evaluation on the ARGs, and store the result in the
19030 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19031 # must be portable across $(()) and expr.
19032 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19033 eval 'as_fn_arith ()
19035 as_val=$(( $* ))
19037 else
19038 as_fn_arith ()
19040 as_val=`expr "$@" || test $? -eq 1`
19042 fi # as_fn_arith
19045 if expr a : '\(a\)' >/dev/null 2>&1 &&
19046 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19047 as_expr=expr
19048 else
19049 as_expr=false
19052 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19053 as_basename=basename
19054 else
19055 as_basename=false
19058 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19059 as_dirname=dirname
19060 else
19061 as_dirname=false
19064 as_me=`$as_basename -- "$0" ||
19065 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19066 X"$0" : 'X\(//\)$' \| \
19067 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19068 $as_echo X/"$0" |
19069 sed '/^.*\/\([^/][^/]*\)\/*$/{
19070 s//\1/
19073 /^X\/\(\/\/\)$/{
19074 s//\1/
19077 /^X\/\(\/\).*/{
19078 s//\1/
19081 s/.*/./; q'`
19083 # Avoid depending upon Character Ranges.
19084 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19085 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19086 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19087 as_cr_digits='0123456789'
19088 as_cr_alnum=$as_cr_Letters$as_cr_digits
19090 ECHO_C= ECHO_N= ECHO_T=
19091 case `echo -n x` in #(((((
19092 -n*)
19093 case `echo 'xy\c'` in
19094 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19095 xy) ECHO_C='\c';;
19096 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19097 ECHO_T=' ';;
19098 esac;;
19100 ECHO_N='-n';;
19101 esac
19103 rm -f conf$$ conf$$.exe conf$$.file
19104 if test -d conf$$.dir; then
19105 rm -f conf$$.dir/conf$$.file
19106 else
19107 rm -f conf$$.dir
19108 mkdir conf$$.dir 2>/dev/null
19110 if (echo >conf$$.file) 2>/dev/null; then
19111 if ln -s conf$$.file conf$$ 2>/dev/null; then
19112 as_ln_s='ln -s'
19113 # ... but there are two gotchas:
19114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19116 # In both cases, we have to default to `cp -pR'.
19117 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19118 as_ln_s='cp -pR'
19119 elif ln conf$$.file conf$$ 2>/dev/null; then
19120 as_ln_s=ln
19121 else
19122 as_ln_s='cp -pR'
19124 else
19125 as_ln_s='cp -pR'
19127 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19128 rmdir conf$$.dir 2>/dev/null
19131 # as_fn_mkdir_p
19132 # -------------
19133 # Create "$as_dir" as a directory, including parents if necessary.
19134 as_fn_mkdir_p ()
19137 case $as_dir in #(
19138 -*) as_dir=./$as_dir;;
19139 esac
19140 test -d "$as_dir" || eval $as_mkdir_p || {
19141 as_dirs=
19142 while :; do
19143 case $as_dir in #(
19144 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19145 *) as_qdir=$as_dir;;
19146 esac
19147 as_dirs="'$as_qdir' $as_dirs"
19148 as_dir=`$as_dirname -- "$as_dir" ||
19149 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19150 X"$as_dir" : 'X\(//\)[^/]' \| \
19151 X"$as_dir" : 'X\(//\)$' \| \
19152 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19153 $as_echo X"$as_dir" |
19154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19155 s//\1/
19158 /^X\(\/\/\)[^/].*/{
19159 s//\1/
19162 /^X\(\/\/\)$/{
19163 s//\1/
19166 /^X\(\/\).*/{
19167 s//\1/
19170 s/.*/./; q'`
19171 test -d "$as_dir" && break
19172 done
19173 test -z "$as_dirs" || eval "mkdir $as_dirs"
19174 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19177 } # as_fn_mkdir_p
19178 if mkdir -p . 2>/dev/null; then
19179 as_mkdir_p='mkdir -p "$as_dir"'
19180 else
19181 test -d ./-p && rmdir ./-p
19182 as_mkdir_p=false
19186 # as_fn_executable_p FILE
19187 # -----------------------
19188 # Test if FILE is an executable regular file.
19189 as_fn_executable_p ()
19191 test -f "$1" && test -x "$1"
19192 } # as_fn_executable_p
19193 as_test_x='test -x'
19194 as_executable_p=as_fn_executable_p
19196 # Sed expression to map a string onto a valid CPP name.
19197 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19199 # Sed expression to map a string onto a valid variable name.
19200 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19203 exec 6>&1
19204 ## ----------------------------------- ##
19205 ## Main body of $CONFIG_STATUS script. ##
19206 ## ----------------------------------- ##
19207 _ASEOF
19208 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19211 # Save the log message, to keep $0 and so on meaningful, and to
19212 # report actual input values of CONFIG_FILES etc. instead of their
19213 # values after options handling.
19214 ac_log="
19215 This file was extended by Wine $as_me 2.4, which was
19216 generated by GNU Autoconf 2.69. Invocation command line was
19218 CONFIG_FILES = $CONFIG_FILES
19219 CONFIG_HEADERS = $CONFIG_HEADERS
19220 CONFIG_LINKS = $CONFIG_LINKS
19221 CONFIG_COMMANDS = $CONFIG_COMMANDS
19222 $ $0 $@
19224 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19227 _ACEOF
19229 case $ac_config_files in *"
19230 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19231 esac
19233 case $ac_config_headers in *"
19234 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19235 esac
19238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19239 # Files that config.status was made for.
19240 config_files="$ac_config_files"
19241 config_headers="$ac_config_headers"
19242 config_links="$ac_config_links"
19243 config_commands="$ac_config_commands"
19245 _ACEOF
19247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19248 ac_cs_usage="\
19249 \`$as_me' instantiates files and other configuration actions
19250 from templates according to the current configuration. Unless the files
19251 and actions are specified as TAGs, all are instantiated by default.
19253 Usage: $0 [OPTION]... [TAG]...
19255 -h, --help print this help, then exit
19256 -V, --version print version number and configuration settings, then exit
19257 --config print configuration, then exit
19258 -q, --quiet, --silent
19259 do not print progress messages
19260 -d, --debug don't remove temporary files
19261 --recheck update $as_me by reconfiguring in the same conditions
19262 --file=FILE[:TEMPLATE]
19263 instantiate the configuration file FILE
19264 --header=FILE[:TEMPLATE]
19265 instantiate the configuration header FILE
19267 Configuration files:
19268 $config_files
19270 Configuration headers:
19271 $config_headers
19273 Configuration links:
19274 $config_links
19276 Configuration commands:
19277 $config_commands
19279 Report bugs to <wine-devel@winehq.org>.
19280 Wine home page: <http://www.winehq.org>."
19282 _ACEOF
19283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19284 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19285 ac_cs_version="\\
19286 Wine config.status 2.4
19287 configured by $0, generated by GNU Autoconf 2.69,
19288 with options \\"\$ac_cs_config\\"
19290 Copyright (C) 2012 Free Software Foundation, Inc.
19291 This config.status script is free software; the Free Software Foundation
19292 gives unlimited permission to copy, distribute and modify it."
19294 ac_pwd='$ac_pwd'
19295 srcdir='$srcdir'
19296 test -n "\$AWK" || AWK=awk
19297 _ACEOF
19299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19300 # The default lists apply if the user does not specify any file.
19301 ac_need_defaults=:
19302 while test $# != 0
19304 case $1 in
19305 --*=?*)
19306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19307 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19308 ac_shift=:
19310 --*=)
19311 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19312 ac_optarg=
19313 ac_shift=:
19316 ac_option=$1
19317 ac_optarg=$2
19318 ac_shift=shift
19320 esac
19322 case $ac_option in
19323 # Handling of the options.
19324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19325 ac_cs_recheck=: ;;
19326 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19327 $as_echo "$ac_cs_version"; exit ;;
19328 --config | --confi | --conf | --con | --co | --c )
19329 $as_echo "$ac_cs_config"; exit ;;
19330 --debug | --debu | --deb | --de | --d | -d )
19331 debug=: ;;
19332 --file | --fil | --fi | --f )
19333 $ac_shift
19334 case $ac_optarg in
19335 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19336 '') as_fn_error $? "missing file argument" ;;
19337 esac
19338 as_fn_append CONFIG_FILES " '$ac_optarg'"
19339 ac_need_defaults=false;;
19340 --header | --heade | --head | --hea )
19341 $ac_shift
19342 case $ac_optarg in
19343 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19344 esac
19345 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19346 ac_need_defaults=false;;
19347 --he | --h)
19348 # Conflict between --help and --header
19349 as_fn_error $? "ambiguous option: \`$1'
19350 Try \`$0 --help' for more information.";;
19351 --help | --hel | -h )
19352 $as_echo "$ac_cs_usage"; exit ;;
19353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19354 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19355 ac_cs_silent=: ;;
19357 # This is an error.
19358 -*) as_fn_error $? "unrecognized option: \`$1'
19359 Try \`$0 --help' for more information." ;;
19361 *) as_fn_append ac_config_targets " $1"
19362 ac_need_defaults=false ;;
19364 esac
19365 shift
19366 done
19368 ac_configure_extra_args=
19370 if $ac_cs_silent; then
19371 exec 6>/dev/null
19372 ac_configure_extra_args="$ac_configure_extra_args --silent"
19375 _ACEOF
19376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19377 if \$ac_cs_recheck; then
19378 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19379 shift
19380 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19381 CONFIG_SHELL='$SHELL'
19382 export CONFIG_SHELL
19383 exec "\$@"
19386 _ACEOF
19387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19388 exec 5>>config.log
19390 echo
19391 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19392 ## Running $as_me. ##
19393 _ASBOX
19394 $as_echo "$ac_log"
19395 } >&5
19397 _ACEOF
19398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19400 # INIT-COMMANDS
19402 wine_fn_output_makedep ()
19404 as_dir=tools; as_fn_mkdir_p
19405 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19407 wine_fn_output_makefile ()
19409 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19410 `cat $wine_rules_file`
19411 _WINE_EOF
19412 as_fn_error $? "could not create Makefile" "$LINENO" 5
19415 _ACEOF
19417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19419 # Handling of arguments.
19420 for ac_config_target in $ac_config_targets
19422 case $ac_config_target in
19423 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19424 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19425 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19426 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19427 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19428 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19429 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19430 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19431 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19432 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19433 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19434 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19435 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19437 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19438 esac
19439 done
19442 # If the user did not use the arguments to specify the items to instantiate,
19443 # then the envvar interface is used. Set only those that are not.
19444 # We use the long form for the default assignment because of an extremely
19445 # bizarre bug on SunOS 4.1.3.
19446 if $ac_need_defaults; then
19447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19449 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19450 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19453 # Have a temporary directory for convenience. Make it in the build tree
19454 # simply because there is no reason against having it here, and in addition,
19455 # creating and moving files from /tmp can sometimes cause problems.
19456 # Hook for its removal unless debugging.
19457 # Note that there is a small window in which the directory will not be cleaned:
19458 # after its creation but before its name has been assigned to `$tmp'.
19459 $debug ||
19461 tmp= ac_tmp=
19462 trap 'exit_status=$?
19463 : "${ac_tmp:=$tmp}"
19464 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19466 trap 'as_fn_exit 1' 1 2 13 15
19468 # Create a (secure) tmp directory for tmp files.
19471 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19472 test -d "$tmp"
19473 } ||
19475 tmp=./conf$$-$RANDOM
19476 (umask 077 && mkdir "$tmp")
19477 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19478 ac_tmp=$tmp
19480 # Set up the scripts for CONFIG_FILES section.
19481 # No need to generate them if there are no CONFIG_FILES.
19482 # This happens for instance with `./config.status config.h'.
19483 if test -n "$CONFIG_FILES"; then
19486 ac_cr=`echo X | tr X '\015'`
19487 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19488 # But we know of no other shell where ac_cr would be empty at this
19489 # point, so we can use a bashism as a fallback.
19490 if test "x$ac_cr" = x; then
19491 eval ac_cr=\$\'\\r\'
19493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19495 ac_cs_awk_cr='\\r'
19496 else
19497 ac_cs_awk_cr=$ac_cr
19500 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19501 _ACEOF
19505 echo "cat >conf$$subs.awk <<_ACEOF" &&
19506 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19507 echo "_ACEOF"
19508 } >conf$$subs.sh ||
19509 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19511 ac_delim='%!_!# '
19512 for ac_last_try in false false false false false :; do
19513 . ./conf$$subs.sh ||
19514 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19516 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19517 if test $ac_delim_n = $ac_delim_num; then
19518 break
19519 elif $ac_last_try; then
19520 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19521 else
19522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19524 done
19525 rm -f conf$$subs.sh
19527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19528 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19529 _ACEOF
19530 sed -n '
19532 s/^/S["/; s/!.*/"]=/
19535 s/^[^!]*!//
19536 :repl
19537 t repl
19538 s/'"$ac_delim"'$//
19539 t delim
19542 s/\(.\{148\}\)..*/\1/
19543 t more1
19544 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19547 b repl
19548 :more1
19549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19552 s/.\{148\}//
19553 t nl
19554 :delim
19556 s/\(.\{148\}\)..*/\1/
19557 t more2
19558 s/["\\]/\\&/g; s/^/"/; s/$/"/
19561 :more2
19562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19565 s/.\{148\}//
19566 t delim
19567 ' <conf$$subs.awk | sed '
19568 /^[^""]/{
19570 s/\n//
19572 ' >>$CONFIG_STATUS || ac_write_fail=1
19573 rm -f conf$$subs.awk
19574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19575 _ACAWK
19576 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19577 for (key in S) S_is_set[key] = 1
19578 FS = "\a"
19582 line = $ 0
19583 nfields = split(line, field, "@")
19584 substed = 0
19585 len = length(field[1])
19586 for (i = 2; i < nfields; i++) {
19587 key = field[i]
19588 keylen = length(key)
19589 if (S_is_set[key]) {
19590 value = S[key]
19591 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19592 len += length(value) + length(field[++i])
19593 substed = 1
19594 } else
19595 len += 1 + keylen
19598 print line
19601 _ACAWK
19602 _ACEOF
19603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19605 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19606 else
19608 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19609 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19610 _ACEOF
19612 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19613 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19614 # trailing colons and then remove the whole line if VPATH becomes empty
19615 # (actually we leave an empty line to preserve line numbers).
19616 if test "x$srcdir" = x.; then
19617 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19619 s///
19620 s/^/:/
19621 s/[ ]*$/:/
19622 s/:\$(srcdir):/:/g
19623 s/:\${srcdir}:/:/g
19624 s/:@srcdir@:/:/g
19625 s/^:*//
19626 s/:*$//
19628 s/\(=[ ]*\).*/\1/
19630 s/\n//
19631 s/^[^=]*=[ ]*$//
19635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19636 fi # test -n "$CONFIG_FILES"
19638 # Set up the scripts for CONFIG_HEADERS section.
19639 # No need to generate them if there are no CONFIG_HEADERS.
19640 # This happens for instance with `./config.status Makefile'.
19641 if test -n "$CONFIG_HEADERS"; then
19642 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19643 BEGIN {
19644 _ACEOF
19646 # Transform confdefs.h into an awk script `defines.awk', embedded as
19647 # here-document in config.status, that substitutes the proper values into
19648 # config.h.in to produce config.h.
19650 # Create a delimiter string that does not exist in confdefs.h, to ease
19651 # handling of long lines.
19652 ac_delim='%!_!# '
19653 for ac_last_try in false false :; do
19654 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19655 if test -z "$ac_tt"; then
19656 break
19657 elif $ac_last_try; then
19658 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19659 else
19660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19662 done
19664 # For the awk script, D is an array of macro values keyed by name,
19665 # likewise P contains macro parameters if any. Preserve backslash
19666 # newline sequences.
19668 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19669 sed -n '
19670 s/.\{148\}/&'"$ac_delim"'/g
19671 t rset
19672 :rset
19673 s/^[ ]*#[ ]*define[ ][ ]*/ /
19674 t def
19676 :def
19677 s/\\$//
19678 t bsnl
19679 s/["\\]/\\&/g
19680 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19681 D["\1"]=" \3"/p
19682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19684 :bsnl
19685 s/["\\]/\\&/g
19686 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19687 D["\1"]=" \3\\\\\\n"\\/p
19688 t cont
19689 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19690 t cont
19692 :cont
19694 s/.\{148\}/&'"$ac_delim"'/g
19695 t clear
19696 :clear
19697 s/\\$//
19698 t bsnlc
19699 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19701 :bsnlc
19702 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19703 b cont
19704 ' <confdefs.h | sed '
19705 s/'"$ac_delim"'/"\\\
19706 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19709 for (key in D) D_is_set[key] = 1
19710 FS = "\a"
19712 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19713 line = \$ 0
19714 split(line, arg, " ")
19715 if (arg[1] == "#") {
19716 defundef = arg[2]
19717 mac1 = arg[3]
19718 } else {
19719 defundef = substr(arg[1], 2)
19720 mac1 = arg[2]
19722 split(mac1, mac2, "(") #)
19723 macro = mac2[1]
19724 prefix = substr(line, 1, index(line, defundef) - 1)
19725 if (D_is_set[macro]) {
19726 # Preserve the white space surrounding the "#".
19727 print prefix "define", macro P[macro] D[macro]
19728 next
19729 } else {
19730 # Replace #undef with comments. This is necessary, for example,
19731 # in the case of _POSIX_SOURCE, which is predefined and required
19732 # on some systems where configure will not decide to define it.
19733 if (defundef == "undef") {
19734 print "/*", prefix defundef, macro, "*/"
19735 next
19739 { print }
19740 _ACAWK
19741 _ACEOF
19742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19743 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19744 fi # test -n "$CONFIG_HEADERS"
19747 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19748 shift
19749 for ac_tag
19751 case $ac_tag in
19752 :[FHLC]) ac_mode=$ac_tag; continue;;
19753 esac
19754 case $ac_mode$ac_tag in
19755 :[FHL]*:*);;
19756 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19757 :[FH]-) ac_tag=-:-;;
19758 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19759 esac
19760 ac_save_IFS=$IFS
19761 IFS=:
19762 set x $ac_tag
19763 IFS=$ac_save_IFS
19764 shift
19765 ac_file=$1
19766 shift
19768 case $ac_mode in
19769 :L) ac_source=$1;;
19770 :[FH])
19771 ac_file_inputs=
19772 for ac_f
19774 case $ac_f in
19775 -) ac_f="$ac_tmp/stdin";;
19776 *) # Look for the file first in the build tree, then in the source tree
19777 # (if the path is not absolute). The absolute path cannot be DOS-style,
19778 # because $ac_f cannot contain `:'.
19779 test -f "$ac_f" ||
19780 case $ac_f in
19781 [\\/$]*) false;;
19782 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19783 esac ||
19784 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19785 esac
19786 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19787 as_fn_append ac_file_inputs " '$ac_f'"
19788 done
19790 # Let's still pretend it is `configure' which instantiates (i.e., don't
19791 # use $as_me), people would be surprised to read:
19792 # /* config.h. Generated by config.status. */
19793 configure_input='Generated from '`
19794 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19795 `' by configure.'
19796 if test x"$ac_file" != x-; then
19797 configure_input="$ac_file. $configure_input"
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19799 $as_echo "$as_me: creating $ac_file" >&6;}
19801 # Neutralize special characters interpreted by sed in replacement strings.
19802 case $configure_input in #(
19803 *\&* | *\|* | *\\* )
19804 ac_sed_conf_input=`$as_echo "$configure_input" |
19805 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19806 *) ac_sed_conf_input=$configure_input;;
19807 esac
19809 case $ac_tag in
19810 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19812 esac
19814 esac
19816 ac_dir=`$as_dirname -- "$ac_file" ||
19817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19818 X"$ac_file" : 'X\(//\)[^/]' \| \
19819 X"$ac_file" : 'X\(//\)$' \| \
19820 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19821 $as_echo X"$ac_file" |
19822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19823 s//\1/
19826 /^X\(\/\/\)[^/].*/{
19827 s//\1/
19830 /^X\(\/\/\)$/{
19831 s//\1/
19834 /^X\(\/\).*/{
19835 s//\1/
19838 s/.*/./; q'`
19839 as_dir="$ac_dir"; as_fn_mkdir_p
19840 ac_builddir=.
19842 case "$ac_dir" in
19843 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19845 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19846 # A ".." for each directory in $ac_dir_suffix.
19847 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19848 case $ac_top_builddir_sub in
19849 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19850 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19851 esac ;;
19852 esac
19853 ac_abs_top_builddir=$ac_pwd
19854 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19855 # for backward compatibility:
19856 ac_top_builddir=$ac_top_build_prefix
19858 case $srcdir in
19859 .) # We are building in place.
19860 ac_srcdir=.
19861 ac_top_srcdir=$ac_top_builddir_sub
19862 ac_abs_top_srcdir=$ac_pwd ;;
19863 [\\/]* | ?:[\\/]* ) # Absolute name.
19864 ac_srcdir=$srcdir$ac_dir_suffix;
19865 ac_top_srcdir=$srcdir
19866 ac_abs_top_srcdir=$srcdir ;;
19867 *) # Relative name.
19868 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19869 ac_top_srcdir=$ac_top_build_prefix$srcdir
19870 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19871 esac
19872 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19875 case $ac_mode in
19878 # CONFIG_FILE
19881 _ACEOF
19883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19884 # If the template does not know about datarootdir, expand it.
19885 # FIXME: This hack should be removed a few years after 2.60.
19886 ac_datarootdir_hack=; ac_datarootdir_seen=
19887 ac_sed_dataroot='
19888 /datarootdir/ {
19892 /@datadir@/p
19893 /@docdir@/p
19894 /@infodir@/p
19895 /@localedir@/p
19896 /@mandir@/p'
19897 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19898 *datarootdir*) ac_datarootdir_seen=yes;;
19899 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19901 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19902 _ACEOF
19903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19904 ac_datarootdir_hack='
19905 s&@datadir@&$datadir&g
19906 s&@docdir@&$docdir&g
19907 s&@infodir@&$infodir&g
19908 s&@localedir@&$localedir&g
19909 s&@mandir@&$mandir&g
19910 s&\\\${datarootdir}&$datarootdir&g' ;;
19911 esac
19912 _ACEOF
19914 # Neutralize VPATH when `$srcdir' = `.'.
19915 # Shell code in configure.ac might set extrasub.
19916 # FIXME: do we really want to maintain this feature?
19917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19918 ac_sed_extra="$ac_vpsub
19919 $extrasub
19920 _ACEOF
19921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19924 s|@configure_input@|$ac_sed_conf_input|;t t
19925 s&@top_builddir@&$ac_top_builddir_sub&;t t
19926 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19927 s&@srcdir@&$ac_srcdir&;t t
19928 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19929 s&@top_srcdir@&$ac_top_srcdir&;t t
19930 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19931 s&@builddir@&$ac_builddir&;t t
19932 s&@abs_builddir@&$ac_abs_builddir&;t t
19933 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19934 $ac_datarootdir_hack
19936 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19937 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19939 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19940 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19941 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19942 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19944 which seems to be undefined. Please make sure it is defined" >&5
19945 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19946 which seems to be undefined. Please make sure it is defined" >&2;}
19948 rm -f "$ac_tmp/stdin"
19949 case $ac_file in
19950 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19951 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19952 esac \
19953 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19957 # CONFIG_HEADER
19959 if test x"$ac_file" != x-; then
19961 $as_echo "/* $configure_input */" \
19962 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19963 } >"$ac_tmp/config.h" \
19964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19965 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19967 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19968 else
19969 rm -f "$ac_file"
19970 mv "$ac_tmp/config.h" "$ac_file" \
19971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19973 else
19974 $as_echo "/* $configure_input */" \
19975 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19976 || as_fn_error $? "could not create -" "$LINENO" 5
19981 # CONFIG_LINK
19984 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19986 else
19987 # Prefer the file from the source tree if names are identical.
19988 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19989 ac_source=$srcdir/$ac_source
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19993 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19995 if test ! -r "$ac_source"; then
19996 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19998 rm -f "$ac_file"
20000 # Try a relative symlink, then a hard link, then a copy.
20001 case $ac_source in
20002 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20003 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20004 esac
20005 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20006 ln "$ac_source" "$ac_file" 2>/dev/null ||
20007 cp -p "$ac_source" "$ac_file" ||
20008 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20011 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20012 $as_echo "$as_me: executing $ac_file commands" >&6;}
20014 esac
20017 case $ac_file$ac_mode in
20018 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20019 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20020 "Makefile":C) wine_fn_output_makefile Makefile ;;
20022 esac
20023 done # for ac_tag
20026 as_fn_exit 0
20027 _ACEOF
20028 ac_clean_files=$ac_clean_files_save
20030 test $ac_write_fail = 0 ||
20031 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20034 # configure is writing to config.log, and then calls config.status.
20035 # config.status does its own redirection, appending to config.log.
20036 # Unfortunately, on DOS this fails, as config.log is still kept open
20037 # by configure, so config.status won't be able to write to it; its
20038 # output is simply discarded. So we exec the FD to /dev/null,
20039 # effectively closing config.log, so it can be properly (re)opened and
20040 # appended to by config.status. When coming back to configure, we
20041 # need to make the FD available again.
20042 if test "$no_create" != yes; then
20043 ac_cs_success=:
20044 ac_config_status_args=
20045 test "$silent" = yes &&
20046 ac_config_status_args="$ac_config_status_args --quiet"
20047 exec 5>/dev/null
20048 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20049 exec 5>>config.log
20050 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20051 # would make configure fail if this is the last instruction.
20052 $ac_cs_success || as_fn_exit 1
20054 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20056 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20060 if test "$no_create" = "yes"
20061 then
20062 exit 0
20065 ac_save_IFS="$IFS"
20066 if test "x$wine_notices" != x; then
20067 echo >&6
20068 IFS="|"
20069 for msg in $wine_notices; do
20070 IFS="$ac_save_IFS"
20071 if ${msg:+false} :; then :
20073 else
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20075 $as_echo "$as_me: $msg" >&6;}
20077 done
20079 IFS="|"
20080 for msg in $wine_warnings; do
20081 IFS="$ac_save_IFS"
20082 if ${msg:+false} :; then :
20084 else
20085 echo >&2
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20087 $as_echo "$as_me: WARNING: $msg" >&2;}
20089 done
20090 IFS="$ac_save_IFS"
20092 $as_echo "
20093 $as_me: Finished. Do '${ac_make}' to compile Wine.
20094 " >&6