include: Update with recently added DirectWrite API.
[wine.git] / configure
blob34a84ca3ec3646114ed0680d2fe65551d8dfbed8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.5.
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.5'
584 PACKAGE_STRING='Wine 2.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_mm_misc_l1_1_1
1022 enable_api_ms_win_mm_mme_l1_1_0
1023 enable_api_ms_win_ntuser_dc_access_l1_1_0
1024 enable_api_ms_win_power_base_l1_1_0
1025 enable_api_ms_win_power_setting_l1_1_0
1026 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1027 enable_api_ms_win_security_audit_l1_1_1
1028 enable_api_ms_win_security_base_l1_1_0
1029 enable_api_ms_win_security_base_l1_2_0
1030 enable_api_ms_win_security_base_private_l1_1_1
1031 enable_api_ms_win_security_grouppolicy_l1_1_0
1032 enable_api_ms_win_security_lsalookup_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_1
1034 enable_api_ms_win_security_lsalookup_l2_1_1
1035 enable_api_ms_win_security_lsapolicy_l1_1_0
1036 enable_api_ms_win_security_sddl_l1_1_0
1037 enable_api_ms_win_security_systemfunctions_l1_1_0
1038 enable_api_ms_win_service_core_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_1
1040 enable_api_ms_win_service_management_l1_1_0
1041 enable_api_ms_win_service_management_l2_1_0
1042 enable_api_ms_win_service_private_l1_1_1
1043 enable_api_ms_win_service_winsvc_l1_1_0
1044 enable_api_ms_win_service_winsvc_l1_2_0
1045 enable_api_ms_win_shell_shellcom_l1_1_0
1046 enable_api_ms_win_shell_shellfolders_l1_1_0
1047 enable_apphelp
1048 enable_appwiz_cpl
1049 enable_atl
1050 enable_atl100
1051 enable_atl110
1052 enable_atl80
1053 enable_atl90
1054 enable_authz
1055 enable_avicap32
1056 enable_avifil32
1057 enable_avrt
1058 enable_bcrypt
1059 enable_bluetoothapis
1060 enable_browseui
1061 enable_bthprops_cpl
1062 enable_cabinet
1063 enable_capi2032
1064 enable_cards
1065 enable_cfgmgr32
1066 enable_clusapi
1067 enable_combase
1068 enable_comcat
1069 enable_comctl32
1070 enable_comdlg32
1071 enable_compstui
1072 enable_comsvcs
1073 enable_concrt140
1074 enable_connect
1075 enable_credui
1076 enable_crtdll
1077 enable_crypt32
1078 enable_cryptdlg
1079 enable_cryptdll
1080 enable_cryptext
1081 enable_cryptnet
1082 enable_cryptui
1083 enable_ctapi32
1084 enable_ctl3d32
1085 enable_d2d1
1086 enable_d3d10
1087 enable_d3d10_1
1088 enable_d3d10core
1089 enable_d3d11
1090 enable_d3d8
1091 enable_d3d9
1092 enable_d3dcompiler_33
1093 enable_d3dcompiler_34
1094 enable_d3dcompiler_35
1095 enable_d3dcompiler_36
1096 enable_d3dcompiler_37
1097 enable_d3dcompiler_38
1098 enable_d3dcompiler_39
1099 enable_d3dcompiler_40
1100 enable_d3dcompiler_41
1101 enable_d3dcompiler_42
1102 enable_d3dcompiler_43
1103 enable_d3dcompiler_46
1104 enable_d3dcompiler_47
1105 enable_d3dim
1106 enable_d3drm
1107 enable_d3dx10_33
1108 enable_d3dx10_34
1109 enable_d3dx10_35
1110 enable_d3dx10_36
1111 enable_d3dx10_37
1112 enable_d3dx10_38
1113 enable_d3dx10_39
1114 enable_d3dx10_40
1115 enable_d3dx10_41
1116 enable_d3dx10_42
1117 enable_d3dx10_43
1118 enable_d3dx11_42
1119 enable_d3dx11_43
1120 enable_d3dx9_24
1121 enable_d3dx9_25
1122 enable_d3dx9_26
1123 enable_d3dx9_27
1124 enable_d3dx9_28
1125 enable_d3dx9_29
1126 enable_d3dx9_30
1127 enable_d3dx9_31
1128 enable_d3dx9_32
1129 enable_d3dx9_33
1130 enable_d3dx9_34
1131 enable_d3dx9_35
1132 enable_d3dx9_36
1133 enable_d3dx9_37
1134 enable_d3dx9_38
1135 enable_d3dx9_39
1136 enable_d3dx9_40
1137 enable_d3dx9_41
1138 enable_d3dx9_42
1139 enable_d3dx9_43
1140 enable_d3dxof
1141 enable_davclnt
1142 enable_dbgeng
1143 enable_dbghelp
1144 enable_dciman32
1145 enable_ddraw
1146 enable_ddrawex
1147 enable_devenum
1148 enable_dhcpcsvc
1149 enable_difxapi
1150 enable_dinput
1151 enable_dinput8
1152 enable_dispex
1153 enable_dmband
1154 enable_dmcompos
1155 enable_dmime
1156 enable_dmloader
1157 enable_dmscript
1158 enable_dmstyle
1159 enable_dmsynth
1160 enable_dmusic
1161 enable_dmusic32
1162 enable_dnsapi
1163 enable_dplay
1164 enable_dplayx
1165 enable_dpnaddr
1166 enable_dpnet
1167 enable_dpnhpast
1168 enable_dpnlobby
1169 enable_dpvoice
1170 enable_dpwsockx
1171 enable_drmclien
1172 enable_dsound
1173 enable_dssenh
1174 enable_dswave
1175 enable_dwmapi
1176 enable_dwrite
1177 enable_dxdiagn
1178 enable_dxgi
1179 enable_dxva2
1180 enable_esent
1181 enable_evr
1182 enable_explorerframe
1183 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1184 enable_ext_ms_win_gdi_dc_create_l1_1_1
1185 enable_ext_ms_win_gdi_dc_l1_2_0
1186 enable_ext_ms_win_gdi_devcaps_l1_1_0
1187 enable_ext_ms_win_gdi_draw_l1_1_1
1188 enable_ext_ms_win_gdi_render_l1_1_0
1189 enable_ext_ms_win_kernel32_package_current_l1_1_0
1190 enable_ext_ms_win_ntuser_message_l1_1_1
1191 enable_ext_ms_win_ntuser_private_l1_1_1
1192 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1193 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1194 enable_ext_ms_win_ntuser_window_l1_1_1
1195 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1196 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1197 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1198 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1200 enable_faultrep
1201 enable_fltlib
1202 enable_fltmgr_sys
1203 enable_fntcache
1204 enable_fontsub
1205 enable_fusion
1206 enable_fwpuclnt
1207 enable_gameux
1208 enable_gdi32
1209 enable_gdiplus
1210 enable_glu32
1211 enable_gphoto2_ds
1212 enable_gpkcsp
1213 enable_hal
1214 enable_hhctrl_ocx
1215 enable_hid
1216 enable_hidclass_sys
1217 enable_hlink
1218 enable_hnetcfg
1219 enable_httpapi
1220 enable_iccvid
1221 enable_icmp
1222 enable_ieframe
1223 enable_imaadp32_acm
1224 enable_imagehlp
1225 enable_imm32
1226 enable_inetcomm
1227 enable_inetcpl_cpl
1228 enable_inetmib1
1229 enable_infosoft
1230 enable_initpki
1231 enable_inkobj
1232 enable_inseng
1233 enable_iphlpapi
1234 enable_iprop
1235 enable_irprops_cpl
1236 enable_itircl
1237 enable_itss
1238 enable_joy_cpl
1239 enable_jscript
1240 enable_jsproxy
1241 enable_kernel32
1242 enable_kernelbase
1243 enable_ksuser
1244 enable_ktmw32
1245 enable_loadperf
1246 enable_localspl
1247 enable_localui
1248 enable_lz32
1249 enable_mapi32
1250 enable_mapistub
1251 enable_mciavi32
1252 enable_mcicda
1253 enable_mciqtz32
1254 enable_mciseq
1255 enable_mciwave
1256 enable_mf
1257 enable_mf3216
1258 enable_mfplat
1259 enable_mfreadwrite
1260 enable_mgmtapi
1261 enable_midimap
1262 enable_mlang
1263 enable_mmcndmgr
1264 enable_mmdevapi
1265 enable_mountmgr_sys
1266 enable_mpr
1267 enable_mprapi
1268 enable_msacm32_drv
1269 enable_msacm32
1270 enable_msadp32_acm
1271 enable_msasn1
1272 enable_mscat32
1273 enable_mscms
1274 enable_mscoree
1275 enable_msctf
1276 enable_msctfp
1277 enable_msdaps
1278 enable_msdelta
1279 enable_msdmo
1280 enable_msdrm
1281 enable_msftedit
1282 enable_msg711_acm
1283 enable_msgsm32_acm
1284 enable_mshtml_tlb
1285 enable_mshtml
1286 enable_msi
1287 enable_msident
1288 enable_msimg32
1289 enable_msimsg
1290 enable_msimtf
1291 enable_msisip
1292 enable_msisys_ocx
1293 enable_msls31
1294 enable_msnet32
1295 enable_mspatcha
1296 enable_msports
1297 enable_msrle32
1298 enable_msscript_ocx
1299 enable_mssign32
1300 enable_mssip32
1301 enable_mstask
1302 enable_msvcirt
1303 enable_msvcm80
1304 enable_msvcm90
1305 enable_msvcp100
1306 enable_msvcp110
1307 enable_msvcp120
1308 enable_msvcp120_app
1309 enable_msvcp140
1310 enable_msvcp60
1311 enable_msvcp70
1312 enable_msvcp71
1313 enable_msvcp80
1314 enable_msvcp90
1315 enable_msvcr100
1316 enable_msvcr110
1317 enable_msvcr120
1318 enable_msvcr120_app
1319 enable_msvcr70
1320 enable_msvcr71
1321 enable_msvcr80
1322 enable_msvcr90
1323 enable_msvcrt
1324 enable_msvcrt20
1325 enable_msvcrt40
1326 enable_msvcrtd
1327 enable_msvfw32
1328 enable_msvidc32
1329 enable_mswsock
1330 enable_msxml
1331 enable_msxml2
1332 enable_msxml3
1333 enable_msxml4
1334 enable_msxml6
1335 enable_ncrypt
1336 enable_nddeapi
1337 enable_ndis_sys
1338 enable_netapi32
1339 enable_netcfgx
1340 enable_netprofm
1341 enable_newdev
1342 enable_normaliz
1343 enable_npmshtml
1344 enable_npptools
1345 enable_ntdll
1346 enable_ntdsapi
1347 enable_ntoskrnl_exe
1348 enable_ntprint
1349 enable_objsel
1350 enable_odbc32
1351 enable_odbccp32
1352 enable_odbccu32
1353 enable_ole32
1354 enable_oleacc
1355 enable_oleaut32
1356 enable_olecli32
1357 enable_oledb32
1358 enable_oledlg
1359 enable_olepro32
1360 enable_olesvr32
1361 enable_olethk32
1362 enable_openal32
1363 enable_opencl
1364 enable_opengl32
1365 enable_packager
1366 enable_pdh
1367 enable_photometadatahandler
1368 enable_pidgen
1369 enable_powrprof
1370 enable_printui
1371 enable_prntvpt
1372 enable_propsys
1373 enable_psapi
1374 enable_pstorec
1375 enable_qcap
1376 enable_qedit
1377 enable_qmgr
1378 enable_qmgrprxy
1379 enable_quartz
1380 enable_query
1381 enable_rasapi32
1382 enable_rasdlg
1383 enable_regapi
1384 enable_resutils
1385 enable_riched20
1386 enable_riched32
1387 enable_rpcrt4
1388 enable_rsabase
1389 enable_rsaenh
1390 enable_rstrtmgr
1391 enable_rtutils
1392 enable_samlib
1393 enable_sane_ds
1394 enable_scarddlg
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_secur32
1402 enable_security
1403 enable_sensapi
1404 enable_serialui
1405 enable_setupapi
1406 enable_sfc
1407 enable_sfc_os
1408 enable_shdoclc
1409 enable_shdocvw
1410 enable_shell32
1411 enable_shfolder
1412 enable_shlwapi
1413 enable_slbcsp
1414 enable_slc
1415 enable_snmpapi
1416 enable_softpub
1417 enable_spoolss
1418 enable_sspicli
1419 enable_stdole2_tlb
1420 enable_stdole32_tlb
1421 enable_sti
1422 enable_svrapi
1423 enable_sxs
1424 enable_t2embed
1425 enable_tapi32
1426 enable_taskschd
1427 enable_tdi_sys
1428 enable_traffic
1429 enable_twain_32
1430 enable_ucrtbase
1431 enable_uiautomationcore
1432 enable_unicows
1433 enable_updspapi
1434 enable_url
1435 enable_urlmon
1436 enable_usbd_sys
1437 enable_user32
1438 enable_userenv
1439 enable_usp10
1440 enable_uxtheme
1441 enable_vbscript
1442 enable_vcomp
1443 enable_vcomp100
1444 enable_vcomp110
1445 enable_vcomp120
1446 enable_vcomp140
1447 enable_vcomp90
1448 enable_vcruntime140
1449 enable_vdmdbg
1450 enable_version
1451 enable_virtdisk
1452 enable_vssapi
1453 enable_wbemdisp
1454 enable_wbemprox
1455 enable_webservices
1456 enable_wer
1457 enable_wevtapi
1458 enable_wiaservc
1459 enable_wimgapi
1460 enable_windowscodecs
1461 enable_windowscodecsext
1462 enable_winealsa_drv
1463 enable_winebus_sys
1464 enable_winecoreaudio_drv
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winejoystick_drv
1469 enable_winemac_drv
1470 enable_winemapi
1471 enable_winemp3_acm
1472 enable_wineoss_drv
1473 enable_wineps_drv
1474 enable_winepulse_drv
1475 enable_wineqtdecoder
1476 enable_winex11_drv
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winscard
1483 enable_winspool_drv
1484 enable_winsta
1485 enable_wintab32
1486 enable_wintrust
1487 enable_winusb
1488 enable_wlanapi
1489 enable_wldap32
1490 enable_wmasf
1491 enable_wmi
1492 enable_wmiutils
1493 enable_wmp
1494 enable_wmvcore
1495 enable_wnaspi32
1496 enable_wpc
1497 enable_wpcap
1498 enable_ws2_32
1499 enable_wsdapi
1500 enable_wshom_ocx
1501 enable_wsnmp32
1502 enable_wsock32
1503 enable_wtsapi32
1504 enable_wuapi
1505 enable_wuaueng
1506 enable_x3daudio1_0
1507 enable_x3daudio1_1
1508 enable_x3daudio1_2
1509 enable_x3daudio1_3
1510 enable_x3daudio1_4
1511 enable_x3daudio1_5
1512 enable_x3daudio1_6
1513 enable_x3daudio1_7
1514 enable_xapofx1_1
1515 enable_xapofx1_2
1516 enable_xapofx1_3
1517 enable_xapofx1_4
1518 enable_xapofx1_5
1519 enable_xaudio2_0
1520 enable_xaudio2_1
1521 enable_xaudio2_2
1522 enable_xaudio2_3
1523 enable_xaudio2_4
1524 enable_xaudio2_5
1525 enable_xaudio2_6
1526 enable_xaudio2_7
1527 enable_xaudio2_8
1528 enable_xaudio2_9
1529 enable_xinput1_1
1530 enable_xinput1_2
1531 enable_xinput1_3
1532 enable_xinput1_4
1533 enable_xinput9_1_0
1534 enable_xmllite
1535 enable_xolehlp
1536 enable_xpsprint
1537 enable_xpssvcs
1538 enable_fonts
1539 enable_include
1540 enable_libs_port
1541 enable_libs_wine
1542 enable_libs_wpp
1543 enable_loader
1544 enable_po
1545 enable_arp
1546 enable_aspnet_regiis
1547 enable_attrib
1548 enable_cabarc
1549 enable_cacls
1550 enable_clock
1551 enable_cmd
1552 enable_conhost
1553 enable_control
1554 enable_cscript
1555 enable_dpnsvr
1556 enable_dxdiag
1557 enable_eject
1558 enable_expand
1559 enable_explorer
1560 enable_extrac32
1561 enable_findstr
1562 enable_fsutil
1563 enable_hh
1564 enable_hostname
1565 enable_icacls
1566 enable_icinfo
1567 enable_iexplore
1568 enable_ipconfig
1569 enable_lodctr
1570 enable_mofcomp
1571 enable_mshta
1572 enable_msiexec
1573 enable_msinfo32
1574 enable_net
1575 enable_netsh
1576 enable_netstat
1577 enable_ngen
1578 enable_notepad
1579 enable_oleview
1580 enable_ping
1581 enable_plugplay
1582 enable_presentationfontcache
1583 enable_progman
1584 enable_reg
1585 enable_regasm
1586 enable_regedit
1587 enable_regsvcs
1588 enable_regsvr32
1589 enable_rpcss
1590 enable_rundll32
1591 enable_sc
1592 enable_schtasks
1593 enable_sdbinst
1594 enable_secedit
1595 enable_servicemodelreg
1596 enable_services
1597 enable_shutdown
1598 enable_spoolsv
1599 enable_start
1600 enable_subst
1601 enable_svchost
1602 enable_systeminfo
1603 enable_taskkill
1604 enable_tasklist
1605 enable_taskmgr
1606 enable_termsv
1607 enable_uninstaller
1608 enable_unlodctr
1609 enable_view
1610 enable_wevtutil
1611 enable_wineboot
1612 enable_winebrowser
1613 enable_winecfg
1614 enable_wineconsole
1615 enable_winedbg
1616 enable_winedevice
1617 enable_winefile
1618 enable_winemenubuilder
1619 enable_winemine
1620 enable_winemsibuilder
1621 enable_winepath
1622 enable_winetest
1623 enable_winhlp32
1624 enable_winver
1625 enable_wmic
1626 enable_wmplayer
1627 enable_wordpad
1628 enable_write
1629 enable_wscript
1630 enable_wusa
1631 enable_xcopy
1632 enable_server
1633 enable_tools
1635 ac_precious_vars='build_alias
1636 host_alias
1637 target_alias
1639 CFLAGS
1640 LDFLAGS
1641 LIBS
1642 CPPFLAGS
1644 CXXFLAGS
1647 XMKMF
1648 XML2_CFLAGS
1649 XML2_LIBS
1650 XSLT_CFLAGS
1651 XSLT_LIBS
1652 DBUS_CFLAGS
1653 DBUS_LIBS
1654 HAL_CFLAGS
1655 HAL_LIBS
1656 GNUTLS_CFLAGS
1657 GNUTLS_LIBS
1658 SANE_CFLAGS
1659 SANE_LIBS
1660 GPHOTO2_CFLAGS
1661 GPHOTO2_LIBS
1662 GPHOTO2_PORT_CFLAGS
1663 GPHOTO2_PORT_LIBS
1664 LCMS2_CFLAGS
1665 LCMS2_LIBS
1666 FREETYPE_CFLAGS
1667 FREETYPE_LIBS
1668 PULSE_CFLAGS
1669 PULSE_LIBS
1670 GSTREAMER_CFLAGS
1671 GSTREAMER_LIBS
1672 UDEV_CFLAGS
1673 UDEV_LIBS
1674 CAPI20_CFLAGS
1675 CAPI20_LIBS
1676 FONTCONFIG_CFLAGS
1677 FONTCONFIG_LIBS
1678 JPEG_CFLAGS
1679 JPEG_LIBS
1680 PNG_CFLAGS
1681 PNG_LIBS
1682 TIFF_CFLAGS
1683 TIFF_LIBS
1684 MPG123_CFLAGS
1685 MPG123_LIBS
1686 NETAPI_CFLAGS
1687 NETAPI_LIBS'
1690 # Initialize some variables set by options.
1691 ac_init_help=
1692 ac_init_version=false
1693 ac_unrecognized_opts=
1694 ac_unrecognized_sep=
1695 # The variables have the same names as the options, with
1696 # dashes changed to underlines.
1697 cache_file=/dev/null
1698 exec_prefix=NONE
1699 no_create=
1700 no_recursion=
1701 prefix=NONE
1702 program_prefix=NONE
1703 program_suffix=NONE
1704 program_transform_name=s,x,x,
1705 silent=
1706 site=
1707 srcdir=
1708 verbose=
1709 x_includes=NONE
1710 x_libraries=NONE
1712 # Installation directory options.
1713 # These are left unexpanded so users can "make install exec_prefix=/foo"
1714 # and all the variables that are supposed to be based on exec_prefix
1715 # by default will actually change.
1716 # Use braces instead of parens because sh, perl, etc. also accept them.
1717 # (The list follows the same order as the GNU Coding Standards.)
1718 bindir='${exec_prefix}/bin'
1719 sbindir='${exec_prefix}/sbin'
1720 libexecdir='${exec_prefix}/libexec'
1721 datarootdir='${prefix}/share'
1722 datadir='${datarootdir}'
1723 sysconfdir='${prefix}/etc'
1724 sharedstatedir='${prefix}/com'
1725 localstatedir='${prefix}/var'
1726 runstatedir='${localstatedir}/run'
1727 includedir='${prefix}/include'
1728 oldincludedir='/usr/include'
1729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1730 infodir='${datarootdir}/info'
1731 htmldir='${docdir}'
1732 dvidir='${docdir}'
1733 pdfdir='${docdir}'
1734 psdir='${docdir}'
1735 libdir='${exec_prefix}/lib'
1736 localedir='${datarootdir}/locale'
1737 mandir='${datarootdir}/man'
1739 ac_prev=
1740 ac_dashdash=
1741 for ac_option
1743 # If the previous option needs an argument, assign it.
1744 if test -n "$ac_prev"; then
1745 eval $ac_prev=\$ac_option
1746 ac_prev=
1747 continue
1750 case $ac_option in
1751 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1752 *=) ac_optarg= ;;
1753 *) ac_optarg=yes ;;
1754 esac
1756 # Accept the important Cygnus configure options, so we can diagnose typos.
1758 case $ac_dashdash$ac_option in
1760 ac_dashdash=yes ;;
1762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1763 ac_prev=bindir ;;
1764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1765 bindir=$ac_optarg ;;
1767 -build | --build | --buil | --bui | --bu)
1768 ac_prev=build_alias ;;
1769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1770 build_alias=$ac_optarg ;;
1772 -cache-file | --cache-file | --cache-fil | --cache-fi \
1773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1774 ac_prev=cache_file ;;
1775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1777 cache_file=$ac_optarg ;;
1779 --config-cache | -C)
1780 cache_file=config.cache ;;
1782 -datadir | --datadir | --datadi | --datad)
1783 ac_prev=datadir ;;
1784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1785 datadir=$ac_optarg ;;
1787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1788 | --dataroo | --dataro | --datar)
1789 ac_prev=datarootdir ;;
1790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1792 datarootdir=$ac_optarg ;;
1794 -disable-* | --disable-*)
1795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798 as_fn_error $? "invalid feature name: $ac_useropt"
1799 ac_useropt_orig=$ac_useropt
1800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1803 "enable_$ac_useropt"
1804 "*) ;;
1805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1806 ac_unrecognized_sep=', ';;
1807 esac
1808 eval enable_$ac_useropt=no ;;
1810 -docdir | --docdir | --docdi | --doc | --do)
1811 ac_prev=docdir ;;
1812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1813 docdir=$ac_optarg ;;
1815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1816 ac_prev=dvidir ;;
1817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1818 dvidir=$ac_optarg ;;
1820 -enable-* | --enable-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid feature name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "enable_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval enable_$ac_useropt=\$ac_optarg ;;
1836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1838 | --exec | --exe | --ex)
1839 ac_prev=exec_prefix ;;
1840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1842 | --exec=* | --exe=* | --ex=*)
1843 exec_prefix=$ac_optarg ;;
1845 -gas | --gas | --ga | --g)
1846 # Obsolete; use --with-gas.
1847 with_gas=yes ;;
1849 -help | --help | --hel | --he | -h)
1850 ac_init_help=long ;;
1851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1852 ac_init_help=recursive ;;
1853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1854 ac_init_help=short ;;
1856 -host | --host | --hos | --ho)
1857 ac_prev=host_alias ;;
1858 -host=* | --host=* | --hos=* | --ho=*)
1859 host_alias=$ac_optarg ;;
1861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1862 ac_prev=htmldir ;;
1863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1864 | --ht=*)
1865 htmldir=$ac_optarg ;;
1867 -includedir | --includedir | --includedi | --included | --include \
1868 | --includ | --inclu | --incl | --inc)
1869 ac_prev=includedir ;;
1870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1871 | --includ=* | --inclu=* | --incl=* | --inc=*)
1872 includedir=$ac_optarg ;;
1874 -infodir | --infodir | --infodi | --infod | --info | --inf)
1875 ac_prev=infodir ;;
1876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1877 infodir=$ac_optarg ;;
1879 -libdir | --libdir | --libdi | --libd)
1880 ac_prev=libdir ;;
1881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1882 libdir=$ac_optarg ;;
1884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1885 | --libexe | --libex | --libe)
1886 ac_prev=libexecdir ;;
1887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1888 | --libexe=* | --libex=* | --libe=*)
1889 libexecdir=$ac_optarg ;;
1891 -localedir | --localedir | --localedi | --localed | --locale)
1892 ac_prev=localedir ;;
1893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1894 localedir=$ac_optarg ;;
1896 -localstatedir | --localstatedir | --localstatedi | --localstated \
1897 | --localstate | --localstat | --localsta | --localst | --locals)
1898 ac_prev=localstatedir ;;
1899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1901 localstatedir=$ac_optarg ;;
1903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1904 ac_prev=mandir ;;
1905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1906 mandir=$ac_optarg ;;
1908 -nfp | --nfp | --nf)
1909 # Obsolete; use --without-fp.
1910 with_fp=no ;;
1912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1913 | --no-cr | --no-c | -n)
1914 no_create=yes ;;
1916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1918 no_recursion=yes ;;
1920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1922 | --oldin | --oldi | --old | --ol | --o)
1923 ac_prev=oldincludedir ;;
1924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1927 oldincludedir=$ac_optarg ;;
1929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1930 ac_prev=prefix ;;
1931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1932 prefix=$ac_optarg ;;
1934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1935 | --program-pre | --program-pr | --program-p)
1936 ac_prev=program_prefix ;;
1937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1939 program_prefix=$ac_optarg ;;
1941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1942 | --program-suf | --program-su | --program-s)
1943 ac_prev=program_suffix ;;
1944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1946 program_suffix=$ac_optarg ;;
1948 -program-transform-name | --program-transform-name \
1949 | --program-transform-nam | --program-transform-na \
1950 | --program-transform-n | --program-transform- \
1951 | --program-transform | --program-transfor \
1952 | --program-transfo | --program-transf \
1953 | --program-trans | --program-tran \
1954 | --progr-tra | --program-tr | --program-t)
1955 ac_prev=program_transform_name ;;
1956 -program-transform-name=* | --program-transform-name=* \
1957 | --program-transform-nam=* | --program-transform-na=* \
1958 | --program-transform-n=* | --program-transform-=* \
1959 | --program-transform=* | --program-transfor=* \
1960 | --program-transfo=* | --program-transf=* \
1961 | --program-trans=* | --program-tran=* \
1962 | --progr-tra=* | --program-tr=* | --program-t=*)
1963 program_transform_name=$ac_optarg ;;
1965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1966 ac_prev=pdfdir ;;
1967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1968 pdfdir=$ac_optarg ;;
1970 -psdir | --psdir | --psdi | --psd | --ps)
1971 ac_prev=psdir ;;
1972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1973 psdir=$ac_optarg ;;
1975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1976 | -silent | --silent | --silen | --sile | --sil)
1977 silent=yes ;;
1979 -runstatedir | --runstatedir | --runstatedi | --runstated \
1980 | --runstate | --runstat | --runsta | --runst | --runs \
1981 | --run | --ru | --r)
1982 ac_prev=runstatedir ;;
1983 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1984 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1985 | --run=* | --ru=* | --r=*)
1986 runstatedir=$ac_optarg ;;
1988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1989 ac_prev=sbindir ;;
1990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1991 | --sbi=* | --sb=*)
1992 sbindir=$ac_optarg ;;
1994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1996 | --sharedst | --shareds | --shared | --share | --shar \
1997 | --sha | --sh)
1998 ac_prev=sharedstatedir ;;
1999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2002 | --sha=* | --sh=*)
2003 sharedstatedir=$ac_optarg ;;
2005 -site | --site | --sit)
2006 ac_prev=site ;;
2007 -site=* | --site=* | --sit=*)
2008 site=$ac_optarg ;;
2010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2011 ac_prev=srcdir ;;
2012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2013 srcdir=$ac_optarg ;;
2015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2016 | --syscon | --sysco | --sysc | --sys | --sy)
2017 ac_prev=sysconfdir ;;
2018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2020 sysconfdir=$ac_optarg ;;
2022 -target | --target | --targe | --targ | --tar | --ta | --t)
2023 ac_prev=target_alias ;;
2024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2025 target_alias=$ac_optarg ;;
2027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2028 verbose=yes ;;
2030 -version | --version | --versio | --versi | --vers | -V)
2031 ac_init_version=: ;;
2033 -with-* | --with-*)
2034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2035 # Reject names that are not valid shell variable names.
2036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2037 as_fn_error $? "invalid package name: $ac_useropt"
2038 ac_useropt_orig=$ac_useropt
2039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2040 case $ac_user_opts in
2042 "with_$ac_useropt"
2043 "*) ;;
2044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2045 ac_unrecognized_sep=', ';;
2046 esac
2047 eval with_$ac_useropt=\$ac_optarg ;;
2049 -without-* | --without-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid package name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "with_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval with_$ac_useropt=no ;;
2065 --x)
2066 # Obsolete; use --with-x.
2067 with_x=yes ;;
2069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2070 | --x-incl | --x-inc | --x-in | --x-i)
2071 ac_prev=x_includes ;;
2072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2074 x_includes=$ac_optarg ;;
2076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2078 ac_prev=x_libraries ;;
2079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2081 x_libraries=$ac_optarg ;;
2083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2084 Try \`$0 --help' for more information"
2087 *=*)
2088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2089 # Reject names that are not valid shell variable names.
2090 case $ac_envvar in #(
2091 '' | [0-9]* | *[!_$as_cr_alnum]* )
2092 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2093 esac
2094 eval $ac_envvar=\$ac_optarg
2095 export $ac_envvar ;;
2098 # FIXME: should be removed in autoconf 3.0.
2099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2102 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2105 esac
2106 done
2108 if test -n "$ac_prev"; then
2109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2110 as_fn_error $? "missing argument to $ac_option"
2113 if test -n "$ac_unrecognized_opts"; then
2114 case $enable_option_checking in
2115 no) ;;
2116 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2118 esac
2121 # Check all directory arguments for consistency.
2122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2123 datadir sysconfdir sharedstatedir localstatedir includedir \
2124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2125 libdir localedir mandir runstatedir
2127 eval ac_val=\$$ac_var
2128 # Remove trailing slashes.
2129 case $ac_val in
2130 */ )
2131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2132 eval $ac_var=\$ac_val;;
2133 esac
2134 # Be sure to have absolute directory names.
2135 case $ac_val in
2136 [\\/$]* | ?:[\\/]* ) continue;;
2137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2138 esac
2139 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2140 done
2142 # There might be people who depend on the old broken behavior: `$host'
2143 # used to hold the argument of --host etc.
2144 # FIXME: To remove some day.
2145 build=$build_alias
2146 host=$host_alias
2147 target=$target_alias
2149 # FIXME: To remove some day.
2150 if test "x$host_alias" != x; then
2151 if test "x$build_alias" = x; then
2152 cross_compiling=maybe
2153 elif test "x$build_alias" != "x$host_alias"; then
2154 cross_compiling=yes
2158 ac_tool_prefix=
2159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2161 test "$silent" = yes && exec 6>/dev/null
2164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2165 ac_ls_di=`ls -di .` &&
2166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2167 as_fn_error $? "working directory cannot be determined"
2168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2169 as_fn_error $? "pwd does not report name of working directory"
2172 # Find the source files, if location was not specified.
2173 if test -z "$srcdir"; then
2174 ac_srcdir_defaulted=yes
2175 # Try the directory containing this script, then the parent directory.
2176 ac_confdir=`$as_dirname -- "$as_myself" ||
2177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2178 X"$as_myself" : 'X\(//\)[^/]' \| \
2179 X"$as_myself" : 'X\(//\)$' \| \
2180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2181 $as_echo X"$as_myself" |
2182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2183 s//\1/
2186 /^X\(\/\/\)[^/].*/{
2187 s//\1/
2190 /^X\(\/\/\)$/{
2191 s//\1/
2194 /^X\(\/\).*/{
2195 s//\1/
2198 s/.*/./; q'`
2199 srcdir=$ac_confdir
2200 if test ! -r "$srcdir/$ac_unique_file"; then
2201 srcdir=..
2203 else
2204 ac_srcdir_defaulted=no
2206 if test ! -r "$srcdir/$ac_unique_file"; then
2207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2208 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2211 ac_abs_confdir=`(
2212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2213 pwd)`
2214 # When building in place, set srcdir=.
2215 if test "$ac_abs_confdir" = "$ac_pwd"; then
2216 srcdir=.
2218 # Remove unnecessary trailing slashes from srcdir.
2219 # Double slashes in file names in object file debugging info
2220 # mess up M-x gdb in Emacs.
2221 case $srcdir in
2222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2223 esac
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2226 eval ac_env_${ac_var}_value=\$${ac_var}
2227 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2228 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2229 done
2232 # Report the --help message.
2234 if test "$ac_init_help" = "long"; then
2235 # Omit some internal or obsolete options to make the list less imposing.
2236 # This message is too long to be a string in the A/UX 3.1 sh.
2237 cat <<_ACEOF
2238 \`configure' configures Wine 2.5 to adapt to many kinds of systems.
2240 Usage: $0 [OPTION]... [VAR=VALUE]...
2242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2243 VAR=VALUE. See below for descriptions of some of the useful variables.
2245 Defaults for the options are specified in brackets.
2247 Configuration:
2248 -h, --help display this help and exit
2249 --help=short display options specific to this package
2250 --help=recursive display the short help of all the included packages
2251 -V, --version display version information and exit
2252 -q, --quiet, --silent do not print \`checking ...' messages
2253 --cache-file=FILE cache test results in FILE [disabled]
2254 -C, --config-cache alias for \`--cache-file=config.cache'
2255 -n, --no-create do not create output files
2256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2258 Installation directories:
2259 --prefix=PREFIX install architecture-independent files in PREFIX
2260 [$ac_default_prefix]
2261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2262 [PREFIX]
2264 By default, \`make install' will install all the files in
2265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2267 for instance \`--prefix=\$HOME'.
2269 For better control, use the options below.
2271 Fine tuning of the installation directories:
2272 --bindir=DIR user executables [EPREFIX/bin]
2273 --sbindir=DIR system admin executables [EPREFIX/sbin]
2274 --libexecdir=DIR program executables [EPREFIX/libexec]
2275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2278 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2279 --libdir=DIR object code libraries [EPREFIX/lib]
2280 --includedir=DIR C header files [PREFIX/include]
2281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2284 --infodir=DIR info documentation [DATAROOTDIR/info]
2285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2286 --mandir=DIR man documentation [DATAROOTDIR/man]
2287 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2288 --htmldir=DIR html documentation [DOCDIR]
2289 --dvidir=DIR dvi documentation [DOCDIR]
2290 --pdfdir=DIR pdf documentation [DOCDIR]
2291 --psdir=DIR ps documentation [DOCDIR]
2292 _ACEOF
2294 cat <<\_ACEOF
2296 X features:
2297 --x-includes=DIR X include files are in DIR
2298 --x-libraries=DIR X library files are in DIR
2300 System types:
2301 --build=BUILD configure for building on BUILD [guessed]
2302 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2303 _ACEOF
2306 if test -n "$ac_init_help"; then
2307 case $ac_init_help in
2308 short | recursive ) echo "Configuration of Wine 2.5:";;
2309 esac
2310 cat <<\_ACEOF
2312 Optional Features:
2313 --disable-option-checking ignore unrecognized --enable/--with options
2314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2316 --disable-win16 do not include Win16 support
2317 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2318 binaries)
2319 --disable-tests do not build the regression tests
2320 --enable-maintainer-mode
2321 enable maintainer-specific build rules
2322 --disable-largefile omit support for large files
2324 Optional Packages:
2325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2327 --without-alsa do not use the Alsa sound support
2328 --without-capi do not use CAPI (ISDN support)
2329 --without-cms do not use CMS (color management support)
2330 --without-coreaudio do not use the CoreAudio sound support
2331 --without-cups do not use CUPS
2332 --without-curses do not use (n)curses
2333 --without-dbus do not use DBus (dynamic device support)
2334 --without-fontconfig do not use fontconfig
2335 --without-freetype do not use the FreeType library
2336 --without-gettext do not use gettext
2337 --with-gettextpo use the GetTextPO library to rebuild po files
2338 --without-gphoto do not use gphoto (Digital Camera support)
2339 --without-glu do not use the GLU library
2340 --without-gnutls do not use GnuTLS (schannel support)
2341 --without-gsm do not use libgsm (GSM 06.10 codec support)
2342 --without-gstreamer do not use GStreamer (codecs support)
2343 --without-hal do not use HAL (dynamic device support)
2344 --without-jpeg do not use JPEG
2345 --without-ldap do not use LDAP
2346 --without-mpg123 do not use the mpg123 library
2347 --without-netapi do not use the Samba NetAPI library
2348 --without-openal do not use OpenAL
2349 --without-opencl do not use OpenCL
2350 --without-opengl do not use OpenGL
2351 --without-osmesa do not use the OSMesa library
2352 --without-oss do not use the OSS sound support
2353 --without-pcap do not use the Packet Capture library
2354 --without-png do not use PNG
2355 --without-pthread do not use the pthread library
2356 --without-pulse do not use PulseAudio sound support
2357 --without-sane do not use SANE (scanner support)
2358 --without-tiff do not use TIFF
2359 --without-udev do not use udev (plug and play support)
2360 --without-v4l do not use v4l1 (v4l support)
2361 --without-xcomposite do not use the Xcomposite extension
2362 --without-xcursor do not use the Xcursor extension
2363 --without-xinerama do not use Xinerama (multi-monitor support)
2364 --without-xinput do not use the Xinput extension
2365 --without-xinput2 do not use the Xinput 2 extension
2366 --without-xml do not use XML
2367 --without-xrandr do not use Xrandr (resolution changes)
2368 --without-xrender do not use the Xrender extension
2369 --without-xshape do not use the Xshape extension
2370 --without-xshm do not use XShm (shared memory extension)
2371 --without-xslt do not use XSLT
2372 --without-xxf86vm do not use XFree video mode extension
2373 --without-zlib do not use Zlib (data compression)
2374 --with-wine-tools=DIR use Wine tools from directory DIR
2375 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2376 --with-x use the X Window System
2378 Some influential environment variables:
2379 CC C compiler command
2380 CFLAGS C compiler flags
2381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2382 nonstandard directory <lib dir>
2383 LIBS libraries to pass to the linker, e.g. -l<library>
2384 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2385 you have headers in a nonstandard directory <include dir>
2386 CXX C++ compiler command
2387 CXXFLAGS C++ compiler flags
2388 CPP C preprocessor
2389 XMKMF Path to xmkmf, Makefile generator for X Window System
2390 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2391 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2392 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2393 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2394 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2395 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2396 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2397 HAL_LIBS Linker flags for hal, overriding pkg-config
2398 GNUTLS_CFLAGS
2399 C compiler flags for gnutls, overriding pkg-config
2400 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2401 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2402 SANE_LIBS Linker flags for libsane, overriding pkg-config
2403 GPHOTO2_CFLAGS
2404 C compiler flags for libgphoto2, overriding pkg-config
2405 GPHOTO2_LIBS
2406 Linker flags for libgphoto2, overriding pkg-config
2407 GPHOTO2_PORT_CFLAGS
2408 C compiler flags for libgphoto2_port, overriding pkg-config
2409 GPHOTO2_PORT_LIBS
2410 Linker flags for libgphoto2_port, overriding pkg-config
2411 LCMS2_CFLAGS
2412 C compiler flags for lcms2, overriding pkg-config
2413 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2414 FREETYPE_CFLAGS
2415 C compiler flags for freetype2, overriding pkg-config
2416 FREETYPE_LIBS
2417 Linker flags for freetype2, overriding pkg-config
2418 PULSE_CFLAGS
2419 C compiler flags for libpulse, overriding pkg-config
2420 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2421 GSTREAMER_CFLAGS
2422 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2423 gstreamer-audio-1.0, overriding pkg-config
2424 GSTREAMER_LIBS
2425 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2426 gstreamer-audio-1.0, overriding pkg-config
2427 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2428 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2429 CAPI20_CFLAGS
2430 C compiler flags for capi20, overriding pkg-config
2431 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2432 FONTCONFIG_CFLAGS
2433 C compiler flags for fontconfig, overriding pkg-config
2434 FONTCONFIG_LIBS
2435 Linker flags for fontconfig, overriding pkg-config
2436 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2437 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2438 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2439 PNG_LIBS Linker flags for libpng, overriding pkg-config
2440 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2441 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2442 MPG123_CFLAGS
2443 C compiler flags for libmpg123, overriding pkg-config
2444 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2445 NETAPI_CFLAGS
2446 C compiler flags for netapi, overriding pkg-config
2447 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2449 Use these variables to override the choices made by `configure' or to help
2450 it to find libraries and programs with nonstandard names/locations.
2452 Report bugs to <wine-devel@winehq.org>.
2453 Wine home page: <http://www.winehq.org>.
2454 _ACEOF
2455 ac_status=$?
2458 if test "$ac_init_help" = "recursive"; then
2459 # If there are subdirs, report their specific --help.
2460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2461 test -d "$ac_dir" ||
2462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2463 continue
2464 ac_builddir=.
2466 case "$ac_dir" in
2467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2470 # A ".." for each directory in $ac_dir_suffix.
2471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2472 case $ac_top_builddir_sub in
2473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2475 esac ;;
2476 esac
2477 ac_abs_top_builddir=$ac_pwd
2478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2479 # for backward compatibility:
2480 ac_top_builddir=$ac_top_build_prefix
2482 case $srcdir in
2483 .) # We are building in place.
2484 ac_srcdir=.
2485 ac_top_srcdir=$ac_top_builddir_sub
2486 ac_abs_top_srcdir=$ac_pwd ;;
2487 [\\/]* | ?:[\\/]* ) # Absolute name.
2488 ac_srcdir=$srcdir$ac_dir_suffix;
2489 ac_top_srcdir=$srcdir
2490 ac_abs_top_srcdir=$srcdir ;;
2491 *) # Relative name.
2492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2493 ac_top_srcdir=$ac_top_build_prefix$srcdir
2494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2495 esac
2496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2498 cd "$ac_dir" || { ac_status=$?; continue; }
2499 # Check for guested configure.
2500 if test -f "$ac_srcdir/configure.gnu"; then
2501 echo &&
2502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2503 elif test -f "$ac_srcdir/configure"; then
2504 echo &&
2505 $SHELL "$ac_srcdir/configure" --help=recursive
2506 else
2507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2508 fi || ac_status=$?
2509 cd "$ac_pwd" || { ac_status=$?; break; }
2510 done
2513 test -n "$ac_init_help" && exit $ac_status
2514 if $ac_init_version; then
2515 cat <<\_ACEOF
2516 Wine configure 2.5
2517 generated by GNU Autoconf 2.69
2519 Copyright (C) 2012 Free Software Foundation, Inc.
2520 This configure script is free software; the Free Software Foundation
2521 gives unlimited permission to copy, distribute and modify it.
2522 _ACEOF
2523 exit
2526 ## ------------------------ ##
2527 ## Autoconf initialization. ##
2528 ## ------------------------ ##
2530 # ac_fn_c_try_compile LINENO
2531 # --------------------------
2532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2533 ac_fn_c_try_compile ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 rm -f conftest.$ac_objext
2537 if { { ac_try="$ac_compile"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_compile") 2>conftest.err
2545 ac_status=$?
2546 if test -s conftest.err; then
2547 grep -v '^ *+' conftest.err >conftest.er1
2548 cat conftest.er1 >&5
2549 mv -f conftest.er1 conftest.err
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; } && {
2553 test -z "$ac_c_werror_flag" ||
2554 test ! -s conftest.err
2555 } && test -s conftest.$ac_objext; then :
2556 ac_retval=0
2557 else
2558 $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 ac_retval=1
2563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 as_fn_set_status $ac_retval
2566 } # ac_fn_c_try_compile
2568 # ac_fn_cxx_try_compile LINENO
2569 # ----------------------------
2570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2571 ac_fn_cxx_try_compile ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 rm -f conftest.$ac_objext
2575 if { { ac_try="$ac_compile"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_compile") 2>conftest.err
2583 ac_status=$?
2584 if test -s conftest.err; then
2585 grep -v '^ *+' conftest.err >conftest.er1
2586 cat conftest.er1 >&5
2587 mv -f conftest.er1 conftest.err
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; } && {
2591 test -z "$ac_cxx_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then :
2594 ac_retval=0
2595 else
2596 $as_echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 ac_retval=1
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 as_fn_set_status $ac_retval
2604 } # ac_fn_cxx_try_compile
2606 # ac_fn_c_try_link LINENO
2607 # -----------------------
2608 # Try to link conftest.$ac_ext, and return whether this succeeded.
2609 ac_fn_c_try_link ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 rm -f conftest.$ac_objext conftest$ac_exeext
2613 if { { ac_try="$ac_link"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>conftest.err
2621 ac_status=$?
2622 if test -s conftest.err; then
2623 grep -v '^ *+' conftest.err >conftest.er1
2624 cat conftest.er1 >&5
2625 mv -f conftest.er1 conftest.err
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; } && {
2629 test -z "$ac_c_werror_flag" ||
2630 test ! -s conftest.err
2631 } && test -s conftest$ac_exeext && {
2632 test "$cross_compiling" = yes ||
2633 test -x conftest$ac_exeext
2634 }; then :
2635 ac_retval=0
2636 else
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2640 ac_retval=1
2642 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2643 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2644 # interfere with the next link command; also delete a directory that is
2645 # left behind by Apple's compiler. We do this before executing the actions.
2646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_link
2652 # ac_fn_c_try_cpp LINENO
2653 # ----------------------
2654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_c_try_cpp ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 if { { ac_try="$ac_cpp conftest.$ac_ext"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } > conftest.i && {
2674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2676 }; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_cpp
2689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2690 # -------------------------------------------------------
2691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2692 # the include files in INCLUDES and setting the cache variable VAR
2693 # accordingly.
2694 ac_fn_c_check_header_mongrel ()
2696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2697 if eval \${$3+:} false; then :
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 eval ac_res=\$$3
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 else
2707 # Is the header compilable?
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2709 $as_echo_n "checking $2 usability... " >&6; }
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2713 #include <$2>
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 ac_header_compiler=yes
2717 else
2718 ac_header_compiler=no
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2722 $as_echo "$ac_header_compiler" >&6; }
2724 # Is the header present?
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2726 $as_echo_n "checking $2 presence... " >&6; }
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2729 #include <$2>
2730 _ACEOF
2731 if ac_fn_c_try_cpp "$LINENO"; then :
2732 ac_header_preproc=yes
2733 else
2734 ac_header_preproc=no
2736 rm -f conftest.err conftest.i conftest.$ac_ext
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2738 $as_echo "$ac_header_preproc" >&6; }
2740 # So? What about this header?
2741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2742 yes:no: )
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2748 no:yes:* )
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2759 ( $as_echo "## ------------------------------------ ##
2760 ## Report this to wine-devel@winehq.org ##
2761 ## ------------------------------------ ##"
2762 ) | sed "s/^/$as_me: WARNING: /" >&2
2764 esac
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \${$3+:} false; then :
2768 $as_echo_n "(cached) " >&6
2769 else
2770 eval "$3=\$ac_header_compiler"
2772 eval ac_res=\$$3
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2774 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 } # ac_fn_c_check_header_mongrel
2780 # ac_fn_c_try_run LINENO
2781 # ----------------------
2782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2783 # that executables *can* be run.
2784 ac_fn_c_try_run ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 if { { ac_try="$ac_link"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link") 2>&5
2795 ac_status=$?
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2798 { { case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_try") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; }; }; then :
2808 ac_retval=0
2809 else
2810 $as_echo "$as_me: program exited with status $ac_status" >&5
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_retval=$ac_status
2816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_run
2822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2823 # -------------------------------------------------------
2824 # Tests whether HEADER exists and can be compiled using the include files in
2825 # INCLUDES, setting the cache variable VAR accordingly.
2826 ac_fn_c_check_header_compile ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2837 #include <$2>
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 eval "$3=yes"
2841 else
2842 eval "$3=no"
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 eval ac_res=\$$3
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 } # ac_fn_c_check_header_compile
2853 # ac_fn_c_check_func LINENO FUNC VAR
2854 # ----------------------------------
2855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2856 ac_fn_c_check_func ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \${$3+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2868 #define $2 innocuous_$2
2870 /* System header to define __stub macros and hopefully few prototypes,
2871 which can conflict with char $2 (); below.
2872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2873 <limits.h> exists even on freestanding compilers. */
2875 #ifdef __STDC__
2876 # include <limits.h>
2877 #else
2878 # include <assert.h>
2879 #endif
2881 #undef $2
2883 /* Override any GCC internal prototype to avoid an error.
2884 Use char because int might match the return type of a GCC
2885 builtin and then its argument prototype would still apply. */
2886 #ifdef __cplusplus
2887 extern "C"
2888 #endif
2889 char $2 ();
2890 /* The GNU C library defines this for functions which it implements
2891 to always fail with ENOSYS. Some functions are actually named
2892 something starting with __ and the normal name is an alias. */
2893 #if defined __stub_$2 || defined __stub___$2
2894 choke me
2895 #endif
2898 main ()
2900 return $2 ();
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_link "$LINENO"; then :
2906 eval "$3=yes"
2907 else
2908 eval "$3=no"
2910 rm -f core conftest.err conftest.$ac_objext \
2911 conftest$ac_exeext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_func
2920 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2921 # ----------------------------------------------------
2922 # Tries to find if the field MEMBER exists in type AGGR, after including
2923 # INCLUDES, setting cache variable VAR accordingly.
2924 ac_fn_c_check_member ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2928 $as_echo_n "checking for $2.$3... " >&6; }
2929 if eval \${$4+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2938 static $2 ac_aggr;
2939 if (ac_aggr.$3)
2940 return 0;
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 eval "$4=yes"
2947 else
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2954 static $2 ac_aggr;
2955 if (sizeof ac_aggr.$3)
2956 return 0;
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 eval "$4=yes"
2963 else
2964 eval "$4=no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 eval ac_res=\$$4
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_member
2977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2978 # -------------------------------------------
2979 # Tests whether TYPE exists after having included INCLUDES, setting cache
2980 # variable VAR accordingly.
2981 ac_fn_c_check_type ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2985 $as_echo_n "checking for $2... " >&6; }
2986 if eval \${$3+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988 else
2989 eval "$3=no"
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main ()
2996 if (sizeof ($2))
2997 return 0;
2999 return 0;
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main ()
3009 if (sizeof (($2)))
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3017 else
3018 eval "$3=yes"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_type
3030 cat >config.log <<_ACEOF
3031 This file contains any messages produced by compilers while
3032 running configure, to aid debugging if configure makes a mistake.
3034 It was created by Wine $as_me 2.5, which was
3035 generated by GNU Autoconf 2.69. Invocation command line was
3037 $ $0 $@
3039 _ACEOF
3040 exec 5>>config.log
3042 cat <<_ASUNAME
3043 ## --------- ##
3044 ## Platform. ##
3045 ## --------- ##
3047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3064 _ASUNAME
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 for as_dir in $PATH
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 $as_echo "PATH: $as_dir"
3072 done
3073 IFS=$as_save_IFS
3075 } >&5
3077 cat >&5 <<_ACEOF
3080 ## ----------- ##
3081 ## Core tests. ##
3082 ## ----------- ##
3084 _ACEOF
3087 # Keep a trace of the command line.
3088 # Strip out --no-create and --no-recursion so they do not pile up.
3089 # Strip out --silent because we don't want to record it for future runs.
3090 # Also quote any args containing shell meta-characters.
3091 # Make two passes to allow for proper duplicate-argument suppression.
3092 ac_configure_args=
3093 ac_configure_args0=
3094 ac_configure_args1=
3095 ac_must_keep_next=false
3096 for ac_pass in 1 2
3098 for ac_arg
3100 case $ac_arg in
3101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3103 | -silent | --silent | --silen | --sile | --sil)
3104 continue ;;
3105 *\'*)
3106 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3107 esac
3108 case $ac_pass in
3109 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3111 as_fn_append ac_configure_args1 " '$ac_arg'"
3112 if test $ac_must_keep_next = true; then
3113 ac_must_keep_next=false # Got value, back to normal.
3114 else
3115 case $ac_arg in
3116 *=* | --config-cache | -C | -disable-* | --disable-* \
3117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3119 | -with-* | --with-* | -without-* | --without-* | --x)
3120 case "$ac_configure_args0 " in
3121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3122 esac
3124 -* ) ac_must_keep_next=true ;;
3125 esac
3127 as_fn_append ac_configure_args " '$ac_arg'"
3129 esac
3130 done
3131 done
3132 { ac_configure_args0=; unset ac_configure_args0;}
3133 { ac_configure_args1=; unset ac_configure_args1;}
3135 # When interrupted or exit'd, cleanup temporary files, and complete
3136 # config.log. We remove comments because anyway the quotes in there
3137 # would cause problems or look ugly.
3138 # WARNING: Use '\'' to represent an apostrophe within the trap.
3139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3140 trap 'exit_status=$?
3141 # Save into config.log some information that might help in debugging.
3143 echo
3145 $as_echo "## ---------------- ##
3146 ## Cache variables. ##
3147 ## ---------------- ##"
3148 echo
3149 # The following way of writing the cache mishandles newlines in values,
3151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3152 eval ac_val=\$$ac_var
3153 case $ac_val in #(
3154 *${as_nl}*)
3155 case $ac_var in #(
3156 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3158 esac
3159 case $ac_var in #(
3160 _ | IFS | as_nl) ;; #(
3161 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3162 *) { eval $ac_var=; unset $ac_var;} ;;
3163 esac ;;
3164 esac
3165 done
3166 (set) 2>&1 |
3167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3168 *${as_nl}ac_space=\ *)
3169 sed -n \
3170 "s/'\''/'\''\\\\'\'''\''/g;
3171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3172 ;; #(
3174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3176 esac |
3177 sort
3179 echo
3181 $as_echo "## ----------------- ##
3182 ## Output variables. ##
3183 ## ----------------- ##"
3184 echo
3185 for ac_var in $ac_subst_vars
3187 eval ac_val=\$$ac_var
3188 case $ac_val in
3189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3190 esac
3191 $as_echo "$ac_var='\''$ac_val'\''"
3192 done | sort
3193 echo
3195 if test -n "$ac_subst_files"; then
3196 $as_echo "## ------------------- ##
3197 ## File substitutions. ##
3198 ## ------------------- ##"
3199 echo
3200 for ac_var in $ac_subst_files
3202 eval ac_val=\$$ac_var
3203 case $ac_val in
3204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3205 esac
3206 $as_echo "$ac_var='\''$ac_val'\''"
3207 done | sort
3208 echo
3211 if test -s confdefs.h; then
3212 $as_echo "## ----------- ##
3213 ## confdefs.h. ##
3214 ## ----------- ##"
3215 echo
3216 cat confdefs.h
3217 echo
3219 test "$ac_signal" != 0 &&
3220 $as_echo "$as_me: caught signal $ac_signal"
3221 $as_echo "$as_me: exit $exit_status"
3222 } >&5
3223 rm -f core *.core core.conftest.* &&
3224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3225 exit $exit_status
3227 for ac_signal in 1 2 13 15; do
3228 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3229 done
3230 ac_signal=0
3232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3233 rm -f -r conftest* confdefs.h
3235 $as_echo "/* confdefs.h */" > confdefs.h
3237 # Predefined preprocessor variables.
3239 cat >>confdefs.h <<_ACEOF
3240 #define PACKAGE_NAME "$PACKAGE_NAME"
3241 _ACEOF
3243 cat >>confdefs.h <<_ACEOF
3244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3245 _ACEOF
3247 cat >>confdefs.h <<_ACEOF
3248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3249 _ACEOF
3251 cat >>confdefs.h <<_ACEOF
3252 #define PACKAGE_STRING "$PACKAGE_STRING"
3253 _ACEOF
3255 cat >>confdefs.h <<_ACEOF
3256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3257 _ACEOF
3259 cat >>confdefs.h <<_ACEOF
3260 #define PACKAGE_URL "$PACKAGE_URL"
3261 _ACEOF
3264 # Let the site file select an alternate cache file if it wants to.
3265 # Prefer an explicitly selected file to automatically selected ones.
3266 ac_site_file1=NONE
3267 ac_site_file2=NONE
3268 if test -n "$CONFIG_SITE"; then
3269 # We do not want a PATH search for config.site.
3270 case $CONFIG_SITE in #((
3271 -*) ac_site_file1=./$CONFIG_SITE;;
3272 */*) ac_site_file1=$CONFIG_SITE;;
3273 *) ac_site_file1=./$CONFIG_SITE;;
3274 esac
3275 elif test "x$prefix" != xNONE; then
3276 ac_site_file1=$prefix/share/config.site
3277 ac_site_file2=$prefix/etc/config.site
3278 else
3279 ac_site_file1=$ac_default_prefix/share/config.site
3280 ac_site_file2=$ac_default_prefix/etc/config.site
3282 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3284 test "x$ac_site_file" = xNONE && continue
3285 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3288 sed 's/^/| /' "$ac_site_file" >&5
3289 . "$ac_site_file" \
3290 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 as_fn_error $? "failed to load site script $ac_site_file
3293 See \`config.log' for more details" "$LINENO" 5; }
3295 done
3297 if test -r "$cache_file"; then
3298 # Some versions of bash will fail to source /dev/null (special files
3299 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3300 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3302 $as_echo "$as_me: loading cache $cache_file" >&6;}
3303 case $cache_file in
3304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3305 *) . "./$cache_file";;
3306 esac
3308 else
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3310 $as_echo "$as_me: creating cache $cache_file" >&6;}
3311 >$cache_file
3314 # Check that the precious variables saved in the cache have kept the same
3315 # value.
3316 ac_cache_corrupted=false
3317 for ac_var in $ac_precious_vars; do
3318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3319 eval ac_new_set=\$ac_env_${ac_var}_set
3320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3321 eval ac_new_val=\$ac_env_${ac_var}_value
3322 case $ac_old_set,$ac_new_set in
3323 set,)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3326 ac_cache_corrupted=: ;;
3327 ,set)
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3330 ac_cache_corrupted=: ;;
3331 ,);;
3333 if test "x$ac_old_val" != "x$ac_new_val"; then
3334 # differences in whitespace do not lead to failure.
3335 ac_old_val_w=`echo x $ac_old_val`
3336 ac_new_val_w=`echo x $ac_new_val`
3337 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3340 ac_cache_corrupted=:
3341 else
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3344 eval $ac_var=\$ac_old_val
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3347 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3349 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3350 fi;;
3351 esac
3352 # Pass precious variables to config.status.
3353 if test "$ac_new_set" = set; then
3354 case $ac_new_val in
3355 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3356 *) ac_arg=$ac_var=$ac_new_val ;;
3357 esac
3358 case " $ac_configure_args " in
3359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3360 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3361 esac
3363 done
3364 if $ac_cache_corrupted; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3369 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3371 ## -------------------- ##
3372 ## Main body of script. ##
3373 ## -------------------- ##
3375 ac_ext=c
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 ac_config_headers="$ac_config_headers include/config.h"
3385 ac_aux_dir=
3386 for ac_dir in tools "$srcdir"/tools; do
3387 if test -f "$ac_dir/install-sh"; then
3388 ac_aux_dir=$ac_dir
3389 ac_install_sh="$ac_aux_dir/install-sh -c"
3390 break
3391 elif test -f "$ac_dir/install.sh"; then
3392 ac_aux_dir=$ac_dir
3393 ac_install_sh="$ac_aux_dir/install.sh -c"
3394 break
3395 elif test -f "$ac_dir/shtool"; then
3396 ac_aux_dir=$ac_dir
3397 ac_install_sh="$ac_aux_dir/shtool install -c"
3398 break
3400 done
3401 if test -z "$ac_aux_dir"; then
3402 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3405 # These three variables are undocumented and unsupported,
3406 # and are intended to be withdrawn in a future Autoconf release.
3407 # They can cause serious problems if a builder's source tree is in a directory
3408 # whose full name contains unusual characters.
3409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3415 libwine_version="1.0"
3419 # Check whether --enable-win16 was given.
3420 if test "${enable_win16+set}" = set; then :
3421 enableval=$enable_win16;
3424 # Check whether --enable-win64 was given.
3425 if test "${enable_win64+set}" = set; then :
3426 enableval=$enable_win64;
3429 # Check whether --enable-tests was given.
3430 if test "${enable_tests+set}" = set; then :
3431 enableval=$enable_tests;
3434 # Check whether --enable-maintainer-mode was given.
3435 if test "${enable_maintainer_mode+set}" = set; then :
3436 enableval=$enable_maintainer_mode;
3441 # Check whether --with-alsa was given.
3442 if test "${with_alsa+set}" = set; then :
3443 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3447 # Check whether --with-capi was given.
3448 if test "${with_capi+set}" = set; then :
3449 withval=$with_capi;
3453 # Check whether --with-cms was given.
3454 if test "${with_cms+set}" = set; then :
3455 withval=$with_cms;
3459 # Check whether --with-coreaudio was given.
3460 if test "${with_coreaudio+set}" = set; then :
3461 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3465 # Check whether --with-cups was given.
3466 if test "${with_cups+set}" = set; then :
3467 withval=$with_cups;
3471 # Check whether --with-curses was given.
3472 if test "${with_curses+set}" = set; then :
3473 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3477 # Check whether --with-dbus was given.
3478 if test "${with_dbus+set}" = set; then :
3479 withval=$with_dbus;
3483 # Check whether --with-fontconfig was given.
3484 if test "${with_fontconfig+set}" = set; then :
3485 withval=$with_fontconfig;
3489 # Check whether --with-freetype was given.
3490 if test "${with_freetype+set}" = set; then :
3491 withval=$with_freetype;
3495 # Check whether --with-gettext was given.
3496 if test "${with_gettext+set}" = set; then :
3497 withval=$with_gettext;
3501 # Check whether --with-gettextpo was given.
3502 if test "${with_gettextpo+set}" = set; then :
3503 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3507 # Check whether --with-gphoto was given.
3508 if test "${with_gphoto+set}" = set; then :
3509 withval=$with_gphoto;
3513 # Check whether --with-glu was given.
3514 if test "${with_glu+set}" = set; then :
3515 withval=$with_glu;
3519 # Check whether --with-gnutls was given.
3520 if test "${with_gnutls+set}" = set; then :
3521 withval=$with_gnutls;
3525 # Check whether --with-gsm was given.
3526 if test "${with_gsm+set}" = set; then :
3527 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3531 # Check whether --with-gstreamer was given.
3532 if test "${with_gstreamer+set}" = set; then :
3533 withval=$with_gstreamer;
3537 # Check whether --with-hal was given.
3538 if test "${with_hal+set}" = set; then :
3539 withval=$with_hal;
3543 # Check whether --with-jpeg was given.
3544 if test "${with_jpeg+set}" = set; then :
3545 withval=$with_jpeg;
3549 # Check whether --with-ldap was given.
3550 if test "${with_ldap+set}" = set; then :
3551 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3555 # Check whether --with-mpg123 was given.
3556 if test "${with_mpg123+set}" = set; then :
3557 withval=$with_mpg123;
3561 # Check whether --with-netapi was given.
3562 if test "${with_netapi+set}" = set; then :
3563 withval=$with_netapi;
3567 # Check whether --with-openal was given.
3568 if test "${with_openal+set}" = set; then :
3569 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3573 # Check whether --with-opencl was given.
3574 if test "${with_opencl+set}" = set; then :
3575 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3579 # Check whether --with-opengl was given.
3580 if test "${with_opengl+set}" = set; then :
3581 withval=$with_opengl;
3585 # Check whether --with-osmesa was given.
3586 if test "${with_osmesa+set}" = set; then :
3587 withval=$with_osmesa;
3591 # Check whether --with-oss was given.
3592 if test "${with_oss+set}" = set; then :
3593 withval=$with_oss;
3597 # Check whether --with-pcap was given.
3598 if test "${with_pcap+set}" = set; then :
3599 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3603 # Check whether --with-png was given.
3604 if test "${with_png+set}" = set; then :
3605 withval=$with_png;
3609 # Check whether --with-pthread was given.
3610 if test "${with_pthread+set}" = set; then :
3611 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3615 # Check whether --with-pulse was given.
3616 if test "${with_pulse+set}" = set; then :
3617 withval=$with_pulse;
3621 # Check whether --with-sane was given.
3622 if test "${with_sane+set}" = set; then :
3623 withval=$with_sane;
3627 # Check whether --with-tiff was given.
3628 if test "${with_tiff+set}" = set; then :
3629 withval=$with_tiff;
3633 # Check whether --with-udev was given.
3634 if test "${with_udev+set}" = set; then :
3635 withval=$with_udev;
3639 # Check whether --with-v4l was given.
3640 if test "${with_v4l+set}" = set; then :
3641 withval=$with_v4l;
3645 # Check whether --with-xcomposite was given.
3646 if test "${with_xcomposite+set}" = set; then :
3647 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3651 # Check whether --with-xcursor was given.
3652 if test "${with_xcursor+set}" = set; then :
3653 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3657 # Check whether --with-xinerama was given.
3658 if test "${with_xinerama+set}" = set; then :
3659 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3663 # Check whether --with-xinput was given.
3664 if test "${with_xinput+set}" = set; then :
3665 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3669 # Check whether --with-xinput2 was given.
3670 if test "${with_xinput2+set}" = set; then :
3671 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3675 # Check whether --with-xml was given.
3676 if test "${with_xml+set}" = set; then :
3677 withval=$with_xml;
3681 # Check whether --with-xrandr was given.
3682 if test "${with_xrandr+set}" = set; then :
3683 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3687 # Check whether --with-xrender was given.
3688 if test "${with_xrender+set}" = set; then :
3689 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3693 # Check whether --with-xshape was given.
3694 if test "${with_xshape+set}" = set; then :
3695 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3699 # Check whether --with-xshm was given.
3700 if test "${with_xshm+set}" = set; then :
3701 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3705 # Check whether --with-xslt was given.
3706 if test "${with_xslt+set}" = set; then :
3707 withval=$with_xslt;
3711 # Check whether --with-xxf86vm was given.
3712 if test "${with_xxf86vm+set}" = set; then :
3713 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
3717 # Check whether --with-zlib was given.
3718 if test "${with_zlib+set}" = set; then :
3719 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3724 # Check whether --with-wine-tools was given.
3725 if test "${with_wine_tools+set}" = set; then :
3726 withval=$with_wine_tools;
3730 # Check whether --with-wine64 was given.
3731 if test "${with_wine64+set}" = set; then :
3732 withval=$with_wine64;
3736 # Make sure we can run config.sub.
3737 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3738 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3741 $as_echo_n "checking build system type... " >&6; }
3742 if ${ac_cv_build+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 ac_build_alias=$build_alias
3746 test "x$ac_build_alias" = x &&
3747 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3748 test "x$ac_build_alias" = x &&
3749 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3750 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3751 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3755 $as_echo "$ac_cv_build" >&6; }
3756 case $ac_cv_build in
3757 *-*-*) ;;
3758 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3759 esac
3760 build=$ac_cv_build
3761 ac_save_IFS=$IFS; IFS='-'
3762 set x $ac_cv_build
3763 shift
3764 build_cpu=$1
3765 build_vendor=$2
3766 shift; shift
3767 # Remember, the first character of IFS is used to create $*,
3768 # except with old shells:
3769 build_os=$*
3770 IFS=$ac_save_IFS
3771 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3775 $as_echo_n "checking host system type... " >&6; }
3776 if ${ac_cv_host+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test "x$host_alias" = x; then
3780 ac_cv_host=$ac_cv_build
3781 else
3782 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3783 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3788 $as_echo "$ac_cv_host" >&6; }
3789 case $ac_cv_host in
3790 *-*-*) ;;
3791 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3792 esac
3793 host=$ac_cv_host
3794 ac_save_IFS=$IFS; IFS='-'
3795 set x $ac_cv_host
3796 shift
3797 host_cpu=$1
3798 host_vendor=$2
3799 shift; shift
3800 # Remember, the first character of IFS is used to create $*,
3801 # except with old shells:
3802 host_os=$*
3803 IFS=$ac_save_IFS
3804 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3808 case "$srcdir" in
3809 .) ;;
3810 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3811 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3812 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3813 fi ;;
3814 esac
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3819 set x ${MAKE-make}
3820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 cat >conftest.make <<\_ACEOF
3825 SHELL = /bin/sh
3826 all:
3827 @echo '@@@%%%=$(MAKE)=@@@%%%'
3828 _ACEOF
3829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3831 *@@@%%%=?*=@@@%%%*)
3832 eval ac_cv_prog_make_${ac_make}_set=yes;;
3834 eval ac_cv_prog_make_${ac_make}_set=no;;
3835 esac
3836 rm -f conftest.make
3838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3840 $as_echo "yes" >&6; }
3841 SET_MAKE=
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3845 SET_MAKE="MAKE=${MAKE-make}"
3848 ac_ext=c
3849 ac_cpp='$CPP $CPPFLAGS'
3850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853 if test -n "$ac_tool_prefix"; then
3854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_CC+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 if test -n "$CC"; then
3862 ac_cv_prog_CC="$CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3877 IFS=$as_save_IFS
3881 CC=$ac_cv_prog_CC
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3892 if test -z "$ac_cv_prog_CC"; then
3893 ac_ct_CC=$CC
3894 # Extract the first word of "gcc", so it can be a program name with args.
3895 set dummy gcc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$ac_ct_CC"; then
3902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_ac_ct_CC="gcc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3915 done
3916 done
3917 IFS=$as_save_IFS
3921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3922 if test -n "$ac_ct_CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3924 $as_echo "$ac_ct_CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3930 if test "x$ac_ct_CC" = x; then
3931 CC=""
3932 else
3933 case $cross_compiling:$ac_tool_warned in
3934 yes:)
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3937 ac_tool_warned=yes ;;
3938 esac
3939 CC=$ac_ct_CC
3941 else
3942 CC="$ac_cv_prog_CC"
3945 if test -z "$CC"; then
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}cc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}cc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3986 if test -z "$CC"; then
3987 # Extract the first word of "cc", so it can be a program name with args.
3988 set dummy cc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 ac_prog_rejected=no
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4006 ac_prog_rejected=yes
4007 continue
4009 ac_cv_prog_CC="cc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4013 done
4014 done
4015 IFS=$as_save_IFS
4017 if test $ac_prog_rejected = yes; then
4018 # We found a bogon in the path, so make sure we never use it.
4019 set dummy $ac_cv_prog_CC
4020 shift
4021 if test $# != 0; then
4022 # We chose a different compiler from the bogus one.
4023 # However, it has the same basename, so the bogon will be chosen
4024 # first if we set CC to just the basename; use the full file name.
4025 shift
4026 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4031 CC=$ac_cv_prog_CC
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4042 if test -z "$CC"; then
4043 if test -n "$ac_tool_prefix"; then
4044 for ac_prog in cl.exe
4046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_CC+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 if test -n "$CC"; then
4054 ac_cv_prog_CC="$CC" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4059 IFS=$as_save_IFS
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 break 2
4067 done
4068 done
4069 IFS=$as_save_IFS
4073 CC=$ac_cv_prog_CC
4074 if test -n "$CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$CC" && break
4084 done
4086 if test -z "$CC"; then
4087 ac_ct_CC=$CC
4088 for ac_prog in cl.exe
4090 # Extract the first word of "$ac_prog", so it can be a program name with args.
4091 set dummy $ac_prog; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 if test -n "$ac_ct_CC"; then
4098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4099 else
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 for as_dir in $PATH
4103 IFS=$as_save_IFS
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4107 ac_cv_prog_ac_ct_CC="$ac_prog"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4111 done
4112 done
4113 IFS=$as_save_IFS
4117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4118 if test -n "$ac_ct_CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4120 $as_echo "$ac_ct_CC" >&6; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4127 test -n "$ac_ct_CC" && break
4128 done
4130 if test "x$ac_ct_CC" = x; then
4131 CC=""
4132 else
4133 case $cross_compiling:$ac_tool_warned in
4134 yes:)
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4137 ac_tool_warned=yes ;;
4138 esac
4139 CC=$ac_ct_CC
4146 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error $? "no acceptable C compiler found in \$PATH
4149 See \`config.log' for more details" "$LINENO" 5; }
4151 # Provide some information about the compiler.
4152 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4153 set X $ac_compile
4154 ac_compiler=$2
4155 for ac_option in --version -v -V -qversion; do
4156 { { ac_try="$ac_compiler $ac_option >&5"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 $as_echo "$ac_try_echo"; } >&5
4163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4164 ac_status=$?
4165 if test -s conftest.err; then
4166 sed '10a\
4167 ... rest of stderr output deleted ...
4168 10q' conftest.err >conftest.er1
4169 cat conftest.er1 >&5
4171 rm -f conftest.er1 conftest.err
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }
4174 done
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 ac_clean_files_save=$ac_clean_files
4188 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4189 # Try to create an executable without -o first, disregard a.out.
4190 # It will help us diagnose broken compilers, and finding out an intuition
4191 # of exeext.
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4193 $as_echo_n "checking whether the C compiler works... " >&6; }
4194 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4196 # The possible output files:
4197 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4199 ac_rmfiles=
4200 for ac_file in $ac_files
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4205 esac
4206 done
4207 rm -f $ac_rmfiles
4209 if { { ac_try="$ac_link_default"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_link_default") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4221 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4222 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4223 # so that the user can short-circuit this test for compilers unknown to
4224 # Autoconf.
4225 for ac_file in $ac_files ''
4227 test -f "$ac_file" || continue
4228 case $ac_file in
4229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4231 [ab].out )
4232 # We found the default executable, but exeext='' is most
4233 # certainly right.
4234 break;;
4235 *.* )
4236 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4237 then :; else
4238 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4240 # We set ac_cv_exeext here because the later test for it is not
4241 # safe: cross compilers may not add the suffix if given an `-o'
4242 # argument, so we may need to know it at that point already.
4243 # Even if this section looks crufty: it has the advantage of
4244 # actually working.
4245 break;;
4247 break;;
4248 esac
4249 done
4250 test "$ac_cv_exeext" = no && ac_cv_exeext=
4252 else
4253 ac_file=''
4255 if test -z "$ac_file"; then :
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4258 $as_echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error 77 "C compiler cannot create executables
4264 See \`config.log' for more details" "$LINENO" 5; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4270 $as_echo_n "checking for C compiler default output file name... " >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4272 $as_echo "$ac_file" >&6; }
4273 ac_exeext=$ac_cv_exeext
4275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4276 ac_clean_files=$ac_clean_files_save
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4278 $as_echo_n "checking for suffix of executables... " >&6; }
4279 if { { ac_try="$ac_link"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_link") 2>&5
4287 ac_status=$?
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }; then :
4290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4292 # work properly (i.e., refer to `conftest.exe'), while it won't with
4293 # `rm'.
4294 for ac_file in conftest.exe conftest conftest.*; do
4295 test -f "$ac_file" || continue
4296 case $ac_file in
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4299 break;;
4300 * ) break;;
4301 esac
4302 done
4303 else
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest conftest$ac_cv_exeext
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4311 $as_echo "$ac_cv_exeext" >&6; }
4313 rm -f conftest.$ac_ext
4314 EXEEXT=$ac_cv_exeext
4315 ac_exeext=$EXEEXT
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4318 #include <stdio.h>
4320 main ()
4322 FILE *f = fopen ("conftest.out", "w");
4323 return ferror (f) || fclose (f) != 0;
4326 return 0;
4328 _ACEOF
4329 ac_clean_files="$ac_clean_files conftest.out"
4330 # Check that the compiler produces executables we can run. If not, either
4331 # the compiler is broken, or we cross compile.
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4333 $as_echo_n "checking whether we are cross compiling... " >&6; }
4334 if test "$cross_compiling" != yes; then
4335 { { ac_try="$ac_link"
4336 case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341 $as_echo "$ac_try_echo"; } >&5
4342 (eval "$ac_link") 2>&5
4343 ac_status=$?
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4346 if { ac_try='./conftest$ac_cv_exeext'
4347 { { case "(($ac_try" in
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4350 esac
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_try") 2>&5
4354 ac_status=$?
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4356 test $ac_status = 0; }; }; then
4357 cross_compiling=no
4358 else
4359 if test "$cross_compiling" = maybe; then
4360 cross_compiling=yes
4361 else
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error $? "cannot run C compiled programs.
4365 If you meant to cross compile, use \`--host'.
4366 See \`config.log' for more details" "$LINENO" 5; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4371 $as_echo "$cross_compiling" >&6; }
4373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4374 ac_clean_files=$ac_clean_files_save
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4376 $as_echo_n "checking for suffix of object files... " >&6; }
4377 if ${ac_cv_objext+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4384 main ()
4388 return 0;
4390 _ACEOF
4391 rm -f conftest.o conftest.obj
4392 if { { ac_try="$ac_compile"
4393 case "(($ac_try" in
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4396 esac
4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4398 $as_echo "$ac_try_echo"; } >&5
4399 (eval "$ac_compile") 2>&5
4400 ac_status=$?
4401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402 test $ac_status = 0; }; then :
4403 for ac_file in conftest.o conftest.obj conftest.*; do
4404 test -f "$ac_file" || continue;
4405 case $ac_file in
4406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4407 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4408 break;;
4409 esac
4410 done
4411 else
4412 $as_echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.$ac_ext >&5
4415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4417 as_fn_error $? "cannot compute suffix of object files: cannot compile
4418 See \`config.log' for more details" "$LINENO" 5; }
4420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4423 $as_echo "$ac_cv_objext" >&6; }
4424 OBJEXT=$ac_cv_objext
4425 ac_objext=$OBJEXT
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4428 if ${ac_cv_c_compiler_gnu+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 main ()
4437 #ifndef __GNUC__
4438 choke me
4439 #endif
4442 return 0;
4444 _ACEOF
4445 if ac_fn_c_try_compile "$LINENO"; then :
4446 ac_compiler_gnu=yes
4447 else
4448 ac_compiler_gnu=no
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4455 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4456 if test $ac_compiler_gnu = yes; then
4457 GCC=yes
4458 else
4459 GCC=
4461 ac_test_CFLAGS=${CFLAGS+set}
4462 ac_save_CFLAGS=$CFLAGS
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4464 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4465 if ${ac_cv_prog_cc_g+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 ac_save_c_werror_flag=$ac_c_werror_flag
4469 ac_c_werror_flag=yes
4470 ac_cv_prog_cc_g=no
4471 CFLAGS="-g"
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4480 return 0;
4482 _ACEOF
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_g=yes
4485 else
4486 CFLAGS=""
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4500 else
4501 ac_c_werror_flag=$ac_save_c_werror_flag
4502 CFLAGS="-g"
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4515 ac_cv_prog_cc_g=yes
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 ac_c_werror_flag=$ac_save_c_werror_flag
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4525 $as_echo "$ac_cv_prog_cc_g" >&6; }
4526 if test "$ac_test_CFLAGS" = set; then
4527 CFLAGS=$ac_save_CFLAGS
4528 elif test $ac_cv_prog_cc_g = yes; then
4529 if test "$GCC" = yes; then
4530 CFLAGS="-g -O2"
4531 else
4532 CFLAGS="-g"
4534 else
4535 if test "$GCC" = yes; then
4536 CFLAGS="-O2"
4537 else
4538 CFLAGS=
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4543 if ${ac_cv_prog_cc_c89+:} false; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 ac_cv_prog_cc_c89=no
4547 ac_save_CC=$CC
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <stdarg.h>
4551 #include <stdio.h>
4552 struct stat;
4553 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4554 struct buf { int x; };
4555 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4556 static char *e (p, i)
4557 char **p;
4558 int i;
4560 return p[i];
4562 static char *f (char * (*g) (char **, int), char **p, ...)
4564 char *s;
4565 va_list v;
4566 va_start (v,p);
4567 s = g (p, va_arg (v,int));
4568 va_end (v);
4569 return s;
4572 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4573 function prototypes and stuff, but not '\xHH' hex character constants.
4574 These don't provoke an error unfortunately, instead are silently treated
4575 as 'x'. The following induces an error, until -std is added to get
4576 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4577 array size at least. It's necessary to write '\x00'==0 to get something
4578 that's true only with -std. */
4579 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4581 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4582 inside strings and character constants. */
4583 #define FOO(x) 'x'
4584 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4586 int test (int i, double x);
4587 struct s1 {int (*f) (int a);};
4588 struct s2 {int (*f) (double a);};
4589 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4590 int argc;
4591 char **argv;
4593 main ()
4595 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4597 return 0;
4599 _ACEOF
4600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4601 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4603 CC="$ac_save_CC $ac_arg"
4604 if ac_fn_c_try_compile "$LINENO"; then :
4605 ac_cv_prog_cc_c89=$ac_arg
4607 rm -f core conftest.err conftest.$ac_objext
4608 test "x$ac_cv_prog_cc_c89" != "xno" && break
4609 done
4610 rm -f conftest.$ac_ext
4611 CC=$ac_save_CC
4614 # AC_CACHE_VAL
4615 case "x$ac_cv_prog_cc_c89" in
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4618 $as_echo "none needed" >&6; } ;;
4619 xno)
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4621 $as_echo "unsupported" >&6; } ;;
4623 CC="$CC $ac_cv_prog_cc_c89"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4625 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4626 esac
4627 if test "x$ac_cv_prog_cc_c89" != xno; then :
4631 ac_ext=c
4632 ac_cpp='$CPP $CPPFLAGS'
4633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 ac_ext=cpp
4638 ac_cpp='$CXXCPP $CPPFLAGS'
4639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4642 if test -z "$CXX"; then
4643 if test -n "$CCC"; then
4644 CXX=$CCC
4645 else
4646 if test -n "$ac_tool_prefix"; then
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_CXX+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$CXX"; then
4657 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 CXX=$ac_cv_prog_CXX
4677 if test -n "$CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4679 $as_echo "$CXX" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$CXX" && break
4687 done
4689 if test -z "$CXX"; then
4690 ac_ct_CXX=$CXX
4691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4693 # Extract the first word of "$ac_prog", so it can be a program name with args.
4694 set dummy $ac_prog; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -n "$ac_ct_CXX"; then
4701 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CXX="$ac_prog"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4721 if test -n "$ac_ct_CXX"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4723 $as_echo "$ac_ct_CXX" >&6; }
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4730 test -n "$ac_ct_CXX" && break
4731 done
4733 if test "x$ac_ct_CXX" = x; then
4734 CXX="g++"
4735 else
4736 case $cross_compiling:$ac_tool_warned in
4737 yes:)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4741 esac
4742 CXX=$ac_ct_CXX
4748 # Provide some information about the compiler.
4749 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4750 set X $ac_compile
4751 ac_compiler=$2
4752 for ac_option in --version -v -V -qversion; do
4753 { { ac_try="$ac_compiler $ac_option >&5"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4759 $as_echo "$ac_try_echo"; } >&5
4760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761 ac_status=$?
4762 if test -s conftest.err; then
4763 sed '10a\
4764 ... rest of stderr output deleted ...
4765 10q' conftest.err >conftest.er1
4766 cat conftest.er1 >&5
4768 rm -f conftest.er1 conftest.err
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }
4771 done
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4774 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4775 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4784 #ifndef __GNUC__
4785 choke me
4786 #endif
4789 return 0;
4791 _ACEOF
4792 if ac_fn_cxx_try_compile "$LINENO"; then :
4793 ac_compiler_gnu=yes
4794 else
4795 ac_compiler_gnu=no
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4802 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4803 if test $ac_compiler_gnu = yes; then
4804 GXX=yes
4805 else
4806 GXX=
4808 ac_test_CXXFLAGS=${CXXFLAGS+set}
4809 ac_save_CXXFLAGS=$CXXFLAGS
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4811 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4812 if ${ac_cv_prog_cxx_g+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4816 ac_cxx_werror_flag=yes
4817 ac_cv_prog_cxx_g=no
4818 CXXFLAGS="-g"
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 main ()
4827 return 0;
4829 _ACEOF
4830 if ac_fn_cxx_try_compile "$LINENO"; then :
4831 ac_cv_prog_cxx_g=yes
4832 else
4833 CXXFLAGS=""
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 main ()
4842 return 0;
4844 _ACEOF
4845 if ac_fn_cxx_try_compile "$LINENO"; then :
4847 else
4848 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4849 CXXFLAGS="-g"
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4862 ac_cv_prog_cxx_g=yes
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4872 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4873 if test "$ac_test_CXXFLAGS" = set; then
4874 CXXFLAGS=$ac_save_CXXFLAGS
4875 elif test $ac_cv_prog_cxx_g = yes; then
4876 if test "$GXX" = yes; then
4877 CXXFLAGS="-g -O2"
4878 else
4879 CXXFLAGS="-g"
4881 else
4882 if test "$GXX" = yes; then
4883 CXXFLAGS="-O2"
4884 else
4885 CXXFLAGS=
4888 ac_ext=c
4889 ac_cpp='$CPP $CPPFLAGS'
4890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4896 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_CPPBIN+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$CPPBIN"; then
4903 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 CPPBIN=$ac_cv_prog_CPPBIN
4923 if test -n "$CPPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4925 $as_echo "$CPPBIN" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$ac_cv_prog_CPPBIN"; then
4934 ac_ct_CPPBIN=$CPPBIN
4935 # Extract the first word of "cpp", so it can be a program name with args.
4936 set dummy cpp; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 if test -n "$ac_ct_CPPBIN"; then
4943 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4944 else
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_CPPBIN="cpp"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4956 done
4957 done
4958 IFS=$as_save_IFS
4962 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4963 if test -n "$ac_ct_CPPBIN"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4965 $as_echo "$ac_ct_CPPBIN" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4971 if test "x$ac_ct_CPPBIN" = x; then
4972 CPPBIN="cpp"
4973 else
4974 case $cross_compiling:$ac_tool_warned in
4975 yes:)
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned=yes ;;
4979 esac
4980 CPPBIN=$ac_ct_CPPBIN
4982 else
4983 CPPBIN="$ac_cv_prog_CPPBIN"
4987 cat >>confdefs.h <<_ACEOF
4988 #define EXEEXT "$ac_exeext"
4989 _ACEOF
4991 if test -n "$ac_tool_prefix"; then
4992 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4993 set dummy ${ac_tool_prefix}ld; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_LD+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$LD"; then
5000 ac_cv_prog_LD="$LD" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_LD="${ac_tool_prefix}ld"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 LD=$ac_cv_prog_LD
5020 if test -n "$LD"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5022 $as_echo "$LD" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5030 if test -z "$ac_cv_prog_LD"; then
5031 ac_ct_LD=$LD
5032 # Extract the first word of "ld", so it can be a program name with args.
5033 set dummy ld; ac_word=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 if test -n "$ac_ct_LD"; then
5040 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_ac_ct_LD="ld"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 break 2
5053 done
5054 done
5055 IFS=$as_save_IFS
5059 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5060 if test -n "$ac_ct_LD"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5062 $as_echo "$ac_ct_LD" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5068 if test "x$ac_ct_LD" = x; then
5069 LD=""
5070 else
5071 case $cross_compiling:$ac_tool_warned in
5072 yes:)
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5075 ac_tool_warned=yes ;;
5076 esac
5077 LD=$ac_ct_LD
5079 else
5080 LD="$ac_cv_prog_LD"
5084 case $host in
5085 *-darwin*)
5086 with_fontconfig=${with_fontconfig:-no}
5088 *-mingw32*|*-cygwin*)
5089 enable_win16=${enable_win16:-no}
5090 CFLAGS="$CFLAGS -D_WIN32"
5092 esac
5094 case $host in
5095 x86_64*|amd64*)
5096 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5097 then
5098 CC="$CC -m32"
5099 CXX="$CXX -m32"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5101 $as_echo_n "checking whether $CC works... " >&6; }
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5107 main ()
5111 return 0;
5113 _ACEOF
5114 if ac_fn_c_try_link "$LINENO"; then :
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5116 $as_echo "yes" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5122 rm -f core conftest.err conftest.$ac_objext \
5123 conftest$ac_exeext conftest.$ac_ext
5124 host_cpu="i386"
5125 notice_platform="32-bit "
5126 TARGETFLAGS="-m32"
5128 enable_win16=${enable_win16:-yes}
5129 else
5130 if test "x${GCC}" = "xyes"
5131 then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5133 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <stdarg.h>
5138 main ()
5140 void func(__builtin_ms_va_list *args);
5142 return 0;
5144 _ACEOF
5145 if ac_fn_c_try_compile "$LINENO"; then :
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5147 $as_echo "yes" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155 CC="$CC -m64"
5156 CXX="$CXX -m64"
5157 host_cpu="x86_64"
5158 notice_platform="64-bit "
5159 TARGETFLAGS="-m64"
5163 arm*)
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5165 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5168 int ac_test(int i) { return i; }
5170 main ()
5172 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5174 return 0;
5176 _ACEOF
5177 if ac_fn_c_try_link "$LINENO"; then :
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5179 $as_echo "yes" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5183 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5185 rm -f core conftest.err conftest.$ac_objext \
5186 conftest$ac_exeext conftest.$ac_ext
5187 CFLAGS="$CFLAGS -marm"
5188 TARGETFLAGS="-marm"
5191 i[3456789]86*)
5192 enable_win16=${enable_win16:-yes}
5194 esac
5196 enable_win16=${enable_win16:-no}
5197 enable_win64=${enable_win64:-no}
5199 enable_winetest=${enable_winetest:-$enable_tests}
5201 if test -n "$with_wine64"
5202 then
5203 if test "x$enable_win64" = "xyes"
5204 then
5205 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5206 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5208 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5209 You should create a separate build directory and run configure from there." "$LINENO" 5
5210 enable_fonts=${enable_fonts:-no}
5211 enable_server=${enable_server:-no}
5212 elif test "x$enable_win64" = "xyes"
5213 then
5214 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5218 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5219 if ${wine_cv_toolsdir+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 wine_cv_toolsdir="$with_wine_tools"
5223 if test -z "$with_wine_tools"; then
5224 if test "$cross_compiling" = "yes"; then
5225 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5226 elif test -n "$with_wine64"; then
5227 wine_cv_toolsdir="$with_wine64"
5230 if test -z "$wine_cv_toolsdir"; then
5231 wine_makedep=tools/makedep
5232 wine_cv_toolsdir="\$(top_builddir)"
5233 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5234 wine_makedep=$wine_cv_toolsdir/tools/makedep
5235 case "$wine_cv_toolsdir" in
5236 /*) ;;
5237 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5238 esac
5239 enable_tools=${enable_tools:-no}
5240 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5241 else
5242 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5246 $as_echo "$wine_cv_toolsdir" >&6; }
5247 TOOLSDIR=$wine_cv_toolsdir
5249 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5250 then
5251 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5255 for ac_prog in flex
5257 # Extract the first word of "$ac_prog", so it can be a program name with args.
5258 set dummy $ac_prog; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_FLEX+:} false; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 if test -n "$FLEX"; then
5265 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5266 else
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 for as_dir in $PATH
5270 IFS=$as_save_IFS
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_FLEX="$ac_prog"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 break 2
5278 done
5279 done
5280 IFS=$as_save_IFS
5284 FLEX=$ac_cv_prog_FLEX
5285 if test -n "$FLEX"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5287 $as_echo "$FLEX" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5294 test -n "$FLEX" && break
5295 done
5296 test -n "$FLEX" || FLEX="none"
5298 if test "$FLEX" = "none"
5299 then
5300 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5303 $as_echo_n "checking whether flex is recent enough... " >&6; }
5304 cat >conftest.l <<EOF
5305 %top{
5306 #include "prediluvian.h"
5310 if $FLEX -t conftest.l >/dev/null 2>&5
5311 then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5313 $as_echo "yes" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5317 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5320 for ac_prog in bison
5322 # Extract the first word of "$ac_prog", so it can be a program name with args.
5323 set dummy $ac_prog; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_BISON+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$BISON"; then
5330 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_BISON="$ac_prog"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 BISON=$ac_cv_prog_BISON
5350 if test -n "$BISON"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5352 $as_echo "$BISON" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5359 test -n "$BISON" && break
5360 done
5361 test -n "$BISON" || BISON="none"
5363 if test "$BISON" = "none"
5364 then
5365 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5368 if test -n "$ac_tool_prefix"; then
5369 for ac_prog in ar gar
5371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_AR+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$AR"; then
5379 ac_cv_prog_AR="$AR" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 AR=$ac_cv_prog_AR
5399 if test -n "$AR"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5401 $as_echo "$AR" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 test -n "$AR" && break
5409 done
5411 if test -z "$AR"; then
5412 ac_ct_AR=$AR
5413 for ac_prog in ar gar
5415 # Extract the first word of "$ac_prog", so it can be a program name with args.
5416 set dummy $ac_prog; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_AR"; then
5423 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_AR="$ac_prog"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5443 if test -n "$ac_ct_AR"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5445 $as_echo "$ac_ct_AR" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 test -n "$ac_ct_AR" && break
5453 done
5455 if test "x$ac_ct_AR" = x; then
5456 AR="ar"
5457 else
5458 case $cross_compiling:$ac_tool_warned in
5459 yes:)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5463 esac
5464 AR=$ac_ct_AR
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}strip; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_STRIP+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$STRIP"; then
5477 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 STRIP=$ac_cv_prog_STRIP
5497 if test -n "$STRIP"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5499 $as_echo "$STRIP" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_STRIP"; then
5508 ac_ct_STRIP=$STRIP
5509 # Extract the first word of "strip", so it can be a program name with args.
5510 set dummy strip; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_STRIP"; then
5517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_STRIP="strip"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5537 if test -n "$ac_ct_STRIP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5539 $as_echo "$ac_ct_STRIP" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_STRIP" = x; then
5546 STRIP="strip"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 STRIP=$ac_ct_STRIP
5556 else
5557 STRIP="$ac_cv_prog_STRIP"
5560 ARFLAGS=rc
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_RANLIB+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$RANLIB"; then
5571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 RANLIB=$ac_cv_prog_RANLIB
5591 if test -n "$RANLIB"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5593 $as_echo "$RANLIB" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_RANLIB"; then
5602 ac_ct_RANLIB=$RANLIB
5603 # Extract the first word of "ranlib", so it can be a program name with args.
5604 set dummy ranlib; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$ac_ct_RANLIB"; then
5611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_RANLIB="ranlib"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5631 if test -n "$ac_ct_RANLIB"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5633 $as_echo "$ac_ct_RANLIB" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_RANLIB" = x; then
5640 RANLIB=":"
5641 else
5642 case $cross_compiling:$ac_tool_warned in
5643 yes:)
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned=yes ;;
5647 esac
5648 RANLIB=$ac_ct_RANLIB
5650 else
5651 RANLIB="$ac_cv_prog_RANLIB"
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5655 $as_echo_n "checking whether ln -s works... " >&6; }
5656 LN_S=$as_ln_s
5657 if test "$LN_S" = "ln -s"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5659 $as_echo "yes" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5662 $as_echo "no, using $LN_S" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5666 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5667 if ${ac_cv_path_GREP+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -z "$GREP"; then
5671 ac_path_GREP_found=false
5672 # Loop through the user's path and test for each of PROGNAME-LIST
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_prog in grep ggrep; do
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5681 as_fn_executable_p "$ac_path_GREP" || continue
5682 # Check for GNU ac_path_GREP and select it if it is found.
5683 # Check for GNU $ac_path_GREP
5684 case `"$ac_path_GREP" --version 2>&1` in
5685 *GNU*)
5686 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5688 ac_count=0
5689 $as_echo_n 0123456789 >"conftest.in"
5690 while :
5692 cat "conftest.in" "conftest.in" >"conftest.tmp"
5693 mv "conftest.tmp" "conftest.in"
5694 cp "conftest.in" "conftest.nl"
5695 $as_echo 'GREP' >> "conftest.nl"
5696 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5698 as_fn_arith $ac_count + 1 && ac_count=$as_val
5699 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5700 # Best one so far, save it but keep looking for a better one
5701 ac_cv_path_GREP="$ac_path_GREP"
5702 ac_path_GREP_max=$ac_count
5704 # 10*(2^10) chars as input seems more than enough
5705 test $ac_count -gt 10 && break
5706 done
5707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5708 esac
5710 $ac_path_GREP_found && break 3
5711 done
5712 done
5713 done
5714 IFS=$as_save_IFS
5715 if test -z "$ac_cv_path_GREP"; then
5716 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5718 else
5719 ac_cv_path_GREP=$GREP
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5724 $as_echo "$ac_cv_path_GREP" >&6; }
5725 GREP="$ac_cv_path_GREP"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5729 $as_echo_n "checking for egrep... " >&6; }
5730 if ${ac_cv_path_EGREP+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5734 then ac_cv_path_EGREP="$GREP -E"
5735 else
5736 if test -z "$EGREP"; then
5737 ac_path_EGREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in egrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5747 as_fn_executable_p "$ac_path_EGREP" || continue
5748 # Check for GNU ac_path_EGREP and select it if it is found.
5749 # Check for GNU $ac_path_EGREP
5750 case `"$ac_path_EGREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5754 ac_count=0
5755 $as_echo_n 0123456789 >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 $as_echo 'EGREP' >> "conftest.nl"
5762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 as_fn_arith $ac_count + 1 && ac_count=$as_val
5765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_EGREP="$ac_path_EGREP"
5768 ac_path_EGREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5776 $ac_path_EGREP_found && break 3
5777 done
5778 done
5779 done
5780 IFS=$as_save_IFS
5781 if test -z "$ac_cv_path_EGREP"; then
5782 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5784 else
5785 ac_cv_path_EGREP=$EGREP
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5791 $as_echo "$ac_cv_path_EGREP" >&6; }
5792 EGREP="$ac_cv_path_EGREP"
5795 # Extract the first word of "ldconfig", so it can be a program name with args.
5796 set dummy ldconfig; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_path_LDCONFIG+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 case $LDCONFIG in
5803 [\\/]* | ?:[\\/]*)
5804 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in /sbin /usr/sbin $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5822 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5824 esac
5826 LDCONFIG=$ac_cv_path_LDCONFIG
5827 if test -n "$LDCONFIG"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5829 $as_echo "$LDCONFIG" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5836 for ac_prog in msgfmt
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy $ac_prog; ac_word=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_MSGFMT+:} false; then :
5843 $as_echo_n "(cached) " >&6
5844 else
5845 if test -n "$MSGFMT"; then
5846 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5847 else
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH
5851 IFS=$as_save_IFS
5852 test -z "$as_dir" && as_dir=.
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_MSGFMT="$ac_prog"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 break 2
5859 done
5860 done
5861 IFS=$as_save_IFS
5865 MSGFMT=$ac_cv_prog_MSGFMT
5866 if test -n "$MSGFMT"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5868 $as_echo "$MSGFMT" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$MSGFMT" && break
5876 done
5877 test -n "$MSGFMT" || MSGFMT="false"
5879 if ${ac_tool_prefix+:} false; then :
5880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5919 if test "x$cross_compiling" = xyes; then :
5921 else
5922 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5923 # Extract the first word of "pkg-config", so it can be a program name with args.
5924 set dummy pkg-config; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$PKG_CONFIG"; then
5931 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_PKG_CONFIG="pkg-config"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5951 if test -n "$PKG_CONFIG"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5953 $as_echo "$PKG_CONFIG" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 else
5962 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5965 if test "x$enable_maintainer_mode" != "xyes"
5966 then
5967 FONTFORGE=""
5968 RSVG=""
5969 CONVERT=""
5970 ICOTOOL=""
5971 else
5972 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5973 for ac_prog in fontforge
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_FONTFORGE+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$FONTFORGE"; then
5983 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_FONTFORGE="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 FONTFORGE=$ac_cv_prog_FONTFORGE
6003 if test -n "$FONTFORGE"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6005 $as_echo "$FONTFORGE" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$FONTFORGE" && break
6013 done
6014 test -n "$FONTFORGE" || FONTFORGE="false"
6016 for ac_prog in rsvg-convert rsvg
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_RSVG+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$RSVG"; then
6026 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_RSVG="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 RSVG=$ac_cv_prog_RSVG
6046 if test -n "$RSVG"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6048 $as_echo "$RSVG" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$RSVG" && break
6056 done
6057 test -n "$RSVG" || RSVG="false"
6059 for ac_prog in convert
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_CONVERT+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$CONVERT"; then
6069 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_CONVERT="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 CONVERT=$ac_cv_prog_CONVERT
6089 if test -n "$CONVERT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6091 $as_echo "$CONVERT" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$CONVERT" && break
6099 done
6100 test -n "$CONVERT" || CONVERT="false"
6102 for ac_prog in icotool
6104 # Extract the first word of "$ac_prog", so it can be a program name with args.
6105 set dummy $ac_prog; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_ICOTOOL+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$ICOTOOL"; then
6112 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_ICOTOOL="$ac_prog"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6125 done
6126 done
6127 IFS=$as_save_IFS
6131 ICOTOOL=$ac_cv_prog_ICOTOOL
6132 if test -n "$ICOTOOL"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6134 $as_echo "$ICOTOOL" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6141 test -n "$ICOTOOL" && break
6142 done
6143 test -n "$ICOTOOL" || ICOTOOL="false"
6145 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6146 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6148 if test "$CONVERT" = false
6149 then
6150 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6153 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6154 convert_version=`convert --version | head -n1`
6155 if test "x$convert_version" != "x"
6156 then
6157 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6158 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6159 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6160 then
6161 CONVERT=false
6164 if test "$CONVERT" = false
6165 then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6167 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6168 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6171 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6175 if test "$ICOTOOL" = false
6176 then
6177 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6178 else
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6180 $as_echo_n "checking for recent enough icotool... " >&6; }
6181 icotool_version=`icotool --version | head -n1`
6182 if test "x$icotool_version" != "x"
6183 then
6184 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6185 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6186 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6187 then
6188 ICOTOOL=false
6189 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6192 if test "$ICOTOOL" = false
6193 then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6195 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6196 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6199 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6203 with_gettext=yes
6204 with_gettextpo=yes
6205 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6208 test "x$with_gettext" != xno || MSGFMT=false
6209 if test "$MSGFMT" != "false"
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6212 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6213 cat >conftest.po <<EOF
6214 # comment
6215 msgctxt "ctxt"
6216 msgid "id"
6217 msgstr "str"
6219 if $MSGFMT -o /dev/null conftest.po 2>&5
6220 then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 MSGFMT=false
6229 if test "$MSGFMT" = false; then :
6230 case "x$with_gettext" in
6231 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6232 xno) ;;
6233 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6234 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6235 esac
6236 enable_po=${enable_po:-no}
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6241 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6242 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6243 $as_echo_n "(cached) " >&6
6244 else
6245 ac_check_lib_save_LIBS=$LIBS
6246 LIBS="-li386 $LIBS"
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 /* Override any GCC internal prototype to avoid an error.
6251 Use char because int might match the return type of a GCC
6252 builtin and then its argument prototype would still apply. */
6253 #ifdef __cplusplus
6254 extern "C"
6255 #endif
6256 char i386_set_ldt ();
6258 main ()
6260 return i386_set_ldt ();
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_link "$LINENO"; then :
6266 ac_cv_lib_i386_i386_set_ldt=yes
6267 else
6268 ac_cv_lib_i386_i386_set_ldt=no
6270 rm -f core conftest.err conftest.$ac_objext \
6271 conftest$ac_exeext conftest.$ac_ext
6272 LIBS=$ac_check_lib_save_LIBS
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6275 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6276 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6277 cat >>confdefs.h <<_ACEOF
6278 #define HAVE_LIBI386 1
6279 _ACEOF
6281 LIBS="-li386 $LIBS"
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6286 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6287 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 ac_check_lib_save_LIBS=$LIBS
6291 LIBS="-lossaudio $LIBS"
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 /* Override any GCC internal prototype to avoid an error.
6296 Use char because int might match the return type of a GCC
6297 builtin and then its argument prototype would still apply. */
6298 #ifdef __cplusplus
6299 extern "C"
6300 #endif
6301 char _oss_ioctl ();
6303 main ()
6305 return _oss_ioctl ();
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"; then :
6311 ac_cv_lib_ossaudio__oss_ioctl=yes
6312 else
6313 ac_cv_lib_ossaudio__oss_ioctl=no
6315 rm -f core conftest.err conftest.$ac_objext \
6316 conftest$ac_exeext conftest.$ac_ext
6317 LIBS=$ac_check_lib_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6320 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6321 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6322 cat >>confdefs.h <<_ACEOF
6323 #define HAVE_LIBOSSAUDIO 1
6324 _ACEOF
6326 LIBS="-lossaudio $LIBS"
6331 OPENGL_LIBS=""
6335 # Check whether --enable-largefile was given.
6336 if test "${enable_largefile+set}" = set; then :
6337 enableval=$enable_largefile;
6340 if test "$enable_largefile" != no; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6343 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6344 if ${ac_cv_sys_largefile_CC+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_cv_sys_largefile_CC=no
6348 if test "$GCC" != yes; then
6349 ac_save_CC=$CC
6350 while :; do
6351 # IRIX 6.2 and later do not support large files by default,
6352 # so use the C compiler's -n32 option if that helps.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <sys/types.h>
6356 /* Check that off_t can represent 2**63 - 1 correctly.
6357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6358 since some C++ compilers masquerading as C compilers
6359 incorrectly reject 9223372036854775807. */
6360 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6362 && LARGE_OFF_T % 2147483647 == 1)
6363 ? 1 : -1];
6365 main ()
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_compile "$LINENO"; then :
6373 break
6375 rm -f core conftest.err conftest.$ac_objext
6376 CC="$CC -n32"
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_largefile_CC=' -n32'; break
6380 rm -f core conftest.err conftest.$ac_objext
6381 break
6382 done
6383 CC=$ac_save_CC
6384 rm -f conftest.$ac_ext
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6388 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6389 if test "$ac_cv_sys_largefile_CC" != no; then
6390 CC=$CC$ac_cv_sys_largefile_CC
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6394 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6395 if ${ac_cv_sys_file_offset_bits+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 while :; do
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <sys/types.h>
6402 /* Check that off_t can represent 2**63 - 1 correctly.
6403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6404 since some C++ compilers masquerading as C compilers
6405 incorrectly reject 9223372036854775807. */
6406 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6408 && LARGE_OFF_T % 2147483647 == 1)
6409 ? 1 : -1];
6411 main ()
6415 return 0;
6417 _ACEOF
6418 if ac_fn_c_try_compile "$LINENO"; then :
6419 ac_cv_sys_file_offset_bits=no; break
6421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6424 #define _FILE_OFFSET_BITS 64
6425 #include <sys/types.h>
6426 /* Check that off_t can represent 2**63 - 1 correctly.
6427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6428 since some C++ compilers masquerading as C compilers
6429 incorrectly reject 9223372036854775807. */
6430 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6432 && LARGE_OFF_T % 2147483647 == 1)
6433 ? 1 : -1];
6435 main ()
6439 return 0;
6441 _ACEOF
6442 if ac_fn_c_try_compile "$LINENO"; then :
6443 ac_cv_sys_file_offset_bits=64; break
6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6446 ac_cv_sys_file_offset_bits=unknown
6447 break
6448 done
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6451 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6452 case $ac_cv_sys_file_offset_bits in #(
6453 no | unknown) ;;
6455 cat >>confdefs.h <<_ACEOF
6456 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6457 _ACEOF
6459 esac
6460 rm -rf conftest*
6461 if test $ac_cv_sys_file_offset_bits = unknown; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6463 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6464 if ${ac_cv_sys_large_files+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 while :; do
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <sys/types.h>
6471 /* Check that off_t can represent 2**63 - 1 correctly.
6472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6473 since some C++ compilers masquerading as C compilers
6474 incorrectly reject 9223372036854775807. */
6475 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6477 && LARGE_OFF_T % 2147483647 == 1)
6478 ? 1 : -1];
6480 main ()
6484 return 0;
6486 _ACEOF
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488 ac_cv_sys_large_files=no; break
6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #define _LARGE_FILES 1
6494 #include <sys/types.h>
6495 /* Check that off_t can represent 2**63 - 1 correctly.
6496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6497 since some C++ compilers masquerading as C compilers
6498 incorrectly reject 9223372036854775807. */
6499 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6501 && LARGE_OFF_T % 2147483647 == 1)
6502 ? 1 : -1];
6504 main ()
6508 return 0;
6510 _ACEOF
6511 if ac_fn_c_try_compile "$LINENO"; then :
6512 ac_cv_sys_large_files=1; break
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6515 ac_cv_sys_large_files=unknown
6516 break
6517 done
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6520 $as_echo "$ac_cv_sys_large_files" >&6; }
6521 case $ac_cv_sys_large_files in #(
6522 no | unknown) ;;
6524 cat >>confdefs.h <<_ACEOF
6525 #define _LARGE_FILES $ac_cv_sys_large_files
6526 _ACEOF
6528 esac
6529 rm -rf conftest*
6536 ac_ext=c
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6542 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6543 # On Suns, sometimes $CPP names a directory.
6544 if test -n "$CPP" && test -d "$CPP"; then
6545 CPP=
6547 if test -z "$CPP"; then
6548 if ${ac_cv_prog_CPP+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 # Double quotes because CPP needs to be expanded
6552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6554 ac_preproc_ok=false
6555 for ac_c_preproc_warn_flag in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 #ifdef __STDC__
6566 # include <limits.h>
6567 #else
6568 # include <assert.h>
6569 #endif
6570 Syntax error
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6574 else
6575 # Broken: fails on valid input.
6576 continue
6578 rm -f conftest.err conftest.i conftest.$ac_ext
6580 # OK, works on sane cases. Now check whether nonexistent headers
6581 # can be detected and how.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #include <ac_nonexistent.h>
6585 _ACEOF
6586 if ac_fn_c_try_cpp "$LINENO"; then :
6587 # Broken: success on invalid input.
6588 continue
6589 else
6590 # Passes both tests.
6591 ac_preproc_ok=:
6592 break
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 done
6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6598 rm -f conftest.i conftest.err conftest.$ac_ext
6599 if $ac_preproc_ok; then :
6600 break
6603 done
6604 ac_cv_prog_CPP=$CPP
6607 CPP=$ac_cv_prog_CPP
6608 else
6609 ac_cv_prog_CPP=$CPP
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6612 $as_echo "$CPP" >&6; }
6613 ac_preproc_ok=false
6614 for ac_c_preproc_warn_flag in '' yes
6616 # Use a header file that comes with gcc, so configuring glibc
6617 # with a fresh cross-compiler works.
6618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6619 # <limits.h> exists even on freestanding compilers.
6620 # On the NeXT, cc -E runs the code through the compiler's parser,
6621 # not just through cpp. "Syntax error" is here to catch this case.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #ifdef __STDC__
6625 # include <limits.h>
6626 #else
6627 # include <assert.h>
6628 #endif
6629 Syntax error
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6633 else
6634 # Broken: fails on valid input.
6635 continue
6637 rm -f conftest.err conftest.i conftest.$ac_ext
6639 # OK, works on sane cases. Now check whether nonexistent headers
6640 # can be detected and how.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if ac_fn_c_try_cpp "$LINENO"; then :
6646 # Broken: success on invalid input.
6647 continue
6648 else
6649 # Passes both tests.
6650 ac_preproc_ok=:
6651 break
6653 rm -f conftest.err conftest.i conftest.$ac_ext
6655 done
6656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6657 rm -f conftest.i conftest.err conftest.$ac_ext
6658 if $ac_preproc_ok; then :
6660 else
6661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6663 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6664 See \`config.log' for more details" "$LINENO" 5; }
6667 ac_ext=c
6668 ac_cpp='$CPP $CPPFLAGS'
6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6675 $as_echo_n "checking for ANSI C header files... " >&6; }
6676 if ${ac_cv_header_stdc+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <stdlib.h>
6682 #include <stdarg.h>
6683 #include <string.h>
6684 #include <float.h>
6687 main ()
6691 return 0;
6693 _ACEOF
6694 if ac_fn_c_try_compile "$LINENO"; then :
6695 ac_cv_header_stdc=yes
6696 else
6697 ac_cv_header_stdc=no
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 if test $ac_cv_header_stdc = yes; then
6702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #include <string.h>
6707 _ACEOF
6708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6709 $EGREP "memchr" >/dev/null 2>&1; then :
6711 else
6712 ac_cv_header_stdc=no
6714 rm -f conftest*
6718 if test $ac_cv_header_stdc = yes; then
6719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <stdlib.h>
6724 _ACEOF
6725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6726 $EGREP "free" >/dev/null 2>&1; then :
6728 else
6729 ac_cv_header_stdc=no
6731 rm -f conftest*
6735 if test $ac_cv_header_stdc = yes; then
6736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6737 if test "$cross_compiling" = yes; then :
6739 else
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <ctype.h>
6743 #include <stdlib.h>
6744 #if ((' ' & 0x0FF) == 0x020)
6745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6747 #else
6748 # define ISLOWER(c) \
6749 (('a' <= (c) && (c) <= 'i') \
6750 || ('j' <= (c) && (c) <= 'r') \
6751 || ('s' <= (c) && (c) <= 'z'))
6752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6753 #endif
6755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6757 main ()
6759 int i;
6760 for (i = 0; i < 256; i++)
6761 if (XOR (islower (i), ISLOWER (i))
6762 || toupper (i) != TOUPPER (i))
6763 return 2;
6764 return 0;
6766 _ACEOF
6767 if ac_fn_c_try_run "$LINENO"; then :
6769 else
6770 ac_cv_header_stdc=no
6772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6773 conftest.$ac_objext conftest.beam conftest.$ac_ext
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6779 $as_echo "$ac_cv_header_stdc" >&6; }
6780 if test $ac_cv_header_stdc = yes; then
6782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6788 inttypes.h stdint.h unistd.h
6789 do :
6790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796 _ACEOF
6800 done
6803 for ac_header in \
6804 AL/al.h \
6805 ApplicationServices/ApplicationServices.h \
6806 AudioToolbox/AudioConverter.h \
6807 AudioUnit/AudioUnit.h \
6808 AudioUnit/AudioComponent.h \
6809 CL/cl.h \
6810 Carbon/Carbon.h \
6811 CommonCrypto/CommonDigest.h \
6812 CoreAudio/CoreAudio.h \
6813 CoreServices/CoreServices.h \
6814 DiskArbitration/DiskArbitration.h \
6815 IOKit/IOKitLib.h \
6816 IOKit/hid/IOHIDLib.h \
6817 OpenAL/al.h \
6818 OpenCL/opencl.h \
6819 QuickTime/ImageCompression.h \
6820 Security/Security.h \
6821 alias.h \
6822 alsa/asoundlib.h \
6823 arpa/inet.h \
6824 arpa/nameser.h \
6825 asm/types.h \
6826 asm/user.h \
6827 curses.h \
6828 direct.h \
6829 dirent.h \
6830 dlfcn.h \
6831 elf.h \
6832 float.h \
6833 fnmatch.h \
6834 getopt.h \
6835 gettext-po.h \
6836 grp.h \
6837 gsm.h \
6838 gsm/gsm.h \
6839 ieeefp.h \
6840 inet/mib2.h \
6841 io.h \
6842 kstat.h \
6843 lber.h \
6844 ldap.h \
6845 libproc.h \
6846 link.h \
6847 linux/cdrom.h \
6848 linux/compiler.h \
6849 linux/filter.h \
6850 linux/hdreg.h \
6851 linux/hidraw.h \
6852 linux/input.h \
6853 linux/ioctl.h \
6854 linux/joystick.h \
6855 linux/major.h \
6856 linux/param.h \
6857 linux/serial.h \
6858 linux/types.h \
6859 linux/ucdrom.h \
6860 lwp.h \
6861 mach-o/nlist.h \
6862 mach-o/loader.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/sysarch.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 pcap/pcap.h \
6876 poll.h \
6877 port.h \
6878 process.h \
6879 pthread.h \
6880 pwd.h \
6881 sched.h \
6882 scsi/scsi.h \
6883 scsi/scsi_ioctl.h \
6884 scsi/sg.h \
6885 stdbool.h \
6886 stdint.h \
6887 stropts.h \
6888 sys/asoundlib.h \
6889 sys/attr.h \
6890 sys/cdio.h \
6891 sys/elf32.h \
6892 sys/epoll.h \
6893 sys/event.h \
6894 sys/exec_elf.h \
6895 sys/filio.h \
6896 sys/inotify.h \
6897 sys/ioctl.h \
6898 sys/ipc.h \
6899 sys/limits.h \
6900 sys/link.h \
6901 sys/mman.h \
6902 sys/modem.h \
6903 sys/msg.h \
6904 sys/mtio.h \
6905 sys/param.h \
6906 sys/poll.h \
6907 sys/prctl.h \
6908 sys/protosw.h \
6909 sys/ptrace.h \
6910 sys/queue.h \
6911 sys/resource.h \
6912 sys/scsiio.h \
6913 sys/shm.h \
6914 sys/signal.h \
6915 sys/socket.h \
6916 sys/socketvar.h \
6917 sys/sockio.h \
6918 sys/statvfs.h \
6919 sys/strtio.h \
6920 sys/syscall.h \
6921 sys/sysinfo.h \
6922 sys/tihdr.h \
6923 sys/time.h \
6924 sys/timeout.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/user.h \
6928 sys/utsname.h \
6929 sys/vm86.h \
6930 sys/vnode.h \
6931 sys/wait.h \
6932 syscall.h \
6933 termios.h \
6934 unistd.h \
6935 utime.h \
6936 valgrind/memcheck.h \
6937 valgrind/valgrind.h \
6938 zlib.h
6940 do :
6941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6942 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6953 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6954 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6955 $as_echo_n "(cached) " >&6
6956 else
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6961 main ()
6963 return makedev(0, 0);
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 ac_cv_header_sys_types_h_makedev=yes
6970 else
6971 ac_cv_header_sys_types_h_makedev=no
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6978 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6980 if test $ac_cv_header_sys_types_h_makedev = no; then
6981 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6982 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6984 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6990 if test $ac_cv_header_sys_mkdev_h = no; then
6991 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6992 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6994 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7003 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7004 if ${ac_cv_header_stat_broken+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 #include <sys/stat.h>
7012 #if defined S_ISBLK && defined S_IFDIR
7013 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7014 #endif
7016 #if defined S_ISBLK && defined S_IFCHR
7017 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7018 #endif
7020 #if defined S_ISLNK && defined S_IFREG
7021 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7022 #endif
7024 #if defined S_ISSOCK && defined S_IFREG
7025 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7026 #endif
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_header_stat_broken=no
7031 else
7032 ac_cv_header_stat_broken=yes
7034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7037 $as_echo "$ac_cv_header_stat_broken" >&6; }
7038 if test $ac_cv_header_stat_broken = yes; then
7040 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7046 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7047 do :
7048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_PARAM_H
7051 # include <sys/param.h>
7052 #endif
7054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7055 cat >>confdefs.h <<_ACEOF
7056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7057 _ACEOF
7061 done
7064 for ac_header in \
7065 netinet/ip.h \
7066 net/if.h \
7067 net/if_arp.h \
7068 net/if_dl.h \
7069 net/if_types.h \
7070 net/route.h \
7071 netinet/if_ether.h \
7072 netinet/if_inarp.h \
7073 netinet/in_pcb.h \
7074 netinet/ip_icmp.h \
7075 netinet/ip_var.h \
7076 netinet/udp.h \
7077 netipx/ipx.h \
7078 sys/un.h \
7080 do :
7081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7083 #ifdef HAVE_SYS_SOCKET_H
7084 # include <sys/socket.h>
7085 #endif
7086 #ifdef HAVE_SYS_SOCKETVAR_H
7087 # include <sys/socketvar.h>
7088 #endif
7089 #ifdef HAVE_NET_ROUTE_H
7090 # include <net/route.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IN_H
7093 # include <netinet/in.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IN_SYSTM_H
7096 # include <netinet/in_systm.h>
7097 #endif
7098 #ifdef HAVE_NET_IF_H
7099 # include <net/if.h>
7100 #endif
7101 #ifdef HAVE_NETINET_IP_H
7102 # include <netinet/ip.h>
7103 #endif
7105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7108 _ACEOF
7112 done
7115 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7116 do :
7117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7118 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7119 #ifdef HAVE_ALIAS_H
7120 # include <alias.h>
7121 #endif
7122 #ifdef HAVE_SYS_SOCKET_H
7123 # include <sys/socket.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKETVAR_H
7126 # include <sys/socketvar.h>
7127 #endif
7128 #ifdef HAVE_SYS_TIMEOUT_H
7129 # include <sys/timeout.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IN_H
7132 # include <netinet/in.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IN_SYSTM_H
7135 # include <netinet/in_systm.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IP_H
7138 # include <netinet/ip.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_VAR_H
7141 # include <netinet/ip_var.h>
7142 #endif
7143 #ifdef HAVE_NETINET_IP_ICMP_H
7144 # include <netinet/ip_icmp.h>
7145 #endif
7146 #ifdef HAVE_NETINET_UDP_H
7147 # include <netinet/udp.h>
7148 #endif
7149 #ifdef HAVE_NETINET_TCP_H
7150 # include <netinet/tcp.h>
7151 #endif
7152 #ifdef HAVE_NETINET_TCP_TIMER_H
7153 #include <netinet/tcp_timer.h>
7154 #endif
7156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7163 done
7166 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7167 do :
7168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7170 #ifdef HAVE_ASM_TYPES_H
7171 # include <asm/types.h>
7172 #endif
7173 #ifdef HAVE_SYS_SOCKET_H
7174 # include <sys/socket.h>
7175 #endif
7176 #ifdef HAVE_LINUX_TYPES_H
7177 # include <linux/types.h>
7178 #endif
7180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7181 cat >>confdefs.h <<_ACEOF
7182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7187 done
7190 for ac_header in mach-o/dyld_images.h
7191 do :
7192 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7193 # include <stdbool.h>
7194 #endif
7195 #ifdef HAVE_STDINT_H
7196 # include <stdint.h>
7197 #endif
7199 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7202 _ACEOF
7206 done
7209 for ac_header in resolv.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7214 #endif
7215 #ifdef HAVE_NETINET_IN_H
7216 # include <netinet/in.h>
7217 #endif
7218 #ifdef HAVE_ARPA_NAMESER_H
7219 # include <arpa/nameser.h>
7220 #endif
7222 if test "x$ac_cv_header_resolv_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_RESOLV_H 1
7225 _ACEOF
7229 done
7232 for ac_header in ifaddrs.h
7233 do :
7234 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7236 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_IFADDRS_H 1
7239 _ACEOF
7243 done
7246 for ac_header in sys/ucontext.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7250 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_SYS_UCONTEXT_H 1
7253 _ACEOF
7257 done
7260 for ac_header in sys/thr.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7263 #ifdef HAVE_SYS_UCONTEXT_H
7264 #include <sys/ucontext.h>
7265 #endif
7267 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_SYS_THR_H 1
7270 _ACEOF
7274 done
7277 for ac_header in pthread_np.h
7278 do :
7279 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7280 #include <pthread.h>
7281 #endif
7283 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7284 cat >>confdefs.h <<_ACEOF
7285 #define HAVE_PTHREAD_NP_H 1
7286 _ACEOF
7290 done
7293 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7294 do :
7295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7297 #include <sys/time.h>
7298 #endif
7299 #include <sys/types.h>
7300 #ifdef HAVE_ASM_TYPES_H
7301 #include <asm/types.h>
7302 #endif
7304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7307 _ACEOF
7311 done
7314 for ac_header in libprocstat.h
7315 do :
7316 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7317 #include <sys/param.h>
7318 #endif
7319 #ifdef HAVE_SYS_QUEUE_H
7320 #include <sys/queue.h>
7321 #endif
7322 #ifdef HAVE_SYS_SOCKET_H
7323 #include <sys/socket.h>
7324 #endif
7326 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_LIBPROCSTAT_H 1
7329 _ACEOF
7333 done
7337 dlldir="\${libdir}/wine"
7339 DLLFLAGS="-D_REENTRANT"
7341 LDRPATH_INSTALL=""
7343 LDRPATH_LOCAL=""
7345 LDEXECFLAGS=""
7347 LIBEXT="so"
7348 DLLEXT=".so"
7349 IMPLIBEXT="def"
7350 # Extract the first word of "ldd", so it can be a program name with args.
7351 set dummy ldd; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_path_LDD+:} false; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 case $LDD in
7358 [\\/]* | ?:[\\/]*)
7359 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 as_dummy="/sbin:/usr/sbin:$PATH"
7364 for as_dir in $as_dummy
7366 IFS=$as_save_IFS
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7378 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7380 esac
7382 LDD=$ac_cv_path_LDD
7383 if test -n "$LDD"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7385 $as_echo "$LDD" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}otool; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_OTOOL+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$OTOOL"; then
7401 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 OTOOL=$ac_cv_prog_OTOOL
7421 if test -n "$OTOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7423 $as_echo "$OTOOL" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_OTOOL"; then
7432 ac_ct_OTOOL=$OTOOL
7433 # Extract the first word of "otool", so it can be a program name with args.
7434 set dummy otool; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$ac_ct_OTOOL"; then
7441 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_OTOOL="otool"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7461 if test -n "$ac_ct_OTOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7463 $as_echo "$ac_ct_OTOOL" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_OTOOL" = x; then
7470 OTOOL="otool"
7471 else
7472 case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478 OTOOL=$ac_ct_OTOOL
7480 else
7481 OTOOL="$ac_cv_prog_OTOOL"
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_READELF+:} false; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$READELF"; then
7493 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 READELF=$ac_cv_prog_READELF
7513 if test -n "$READELF"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7515 $as_echo "$READELF" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7523 if test -z "$ac_cv_prog_READELF"; then
7524 ac_ct_READELF=$READELF
7525 # Extract the first word of "readelf", so it can be a program name with args.
7526 set dummy readelf; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$ac_ct_READELF"; then
7533 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_READELF="readelf"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7553 if test -n "$ac_ct_READELF"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7555 $as_echo "$ac_ct_READELF" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7561 if test "x$ac_ct_READELF" = x; then
7562 READELF="true"
7563 else
7564 case $cross_compiling:$ac_tool_warned in
7565 yes:)
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7568 ac_tool_warned=yes ;;
7569 esac
7570 READELF=$ac_ct_READELF
7572 else
7573 READELF="$ac_cv_prog_READELF"
7576 wine_rules_file=conf$$rules.make
7577 rm -f $wine_rules_file
7578 SUBDIRS=""
7580 DISABLED_SUBDIRS=""
7582 CONFIGURE_TARGETS=""
7584 ALL_TEST_RESOURCES=""
7587 wine_fn_append_file ()
7589 as_fn_append $1 " \\$as_nl $2"
7592 wine_fn_append_rule ()
7594 $as_echo "$1" >>$wine_rules_file
7597 wine_fn_has_flag ()
7599 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7602 wine_fn_all_rules ()
7604 wine_fn_append_file SUBDIRS $ac_dir
7605 wine_fn_append_rule \
7606 "all: $ac_dir
7607 .PHONY: $ac_dir
7608 $ac_dir: dummy
7609 @cd $ac_dir && \$(MAKE)"
7612 wine_fn_install_rules ()
7614 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install $ac_dir/uninstall
7618 $ac_dir/install:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install
7620 $ac_dir/uninstall::
7621 @cd $ac_dir && \$(MAKE) uninstall
7622 install:: $ac_dir/install
7623 __uninstall__: $ac_dir/uninstall"
7625 if wine_fn_has_flag install-lib
7626 then
7627 wine_fn_append_rule \
7628 ".PHONY: $ac_dir/install-lib
7629 $ac_dir/install-lib:: $ac_dir
7630 @cd $ac_dir && \$(MAKE) install-lib
7631 install-lib:: $ac_dir/install-lib"
7634 if wine_fn_has_flag install-dev
7635 then
7636 wine_fn_append_rule \
7637 ".PHONY: $ac_dir/install-dev
7638 $ac_dir/install-dev:: $ac_dir
7639 @cd $ac_dir && \$(MAKE) install-dev
7640 install-dev:: $ac_dir/install-dev"
7644 wine_fn_clean_rules ()
7646 ac_clean=$@
7648 if wine_fn_has_flag clean
7649 then
7650 wine_fn_append_rule \
7651 "$ac_dir/clean: dummy
7652 @cd $ac_dir && \$(MAKE) clean"
7653 else
7654 wine_fn_append_rule \
7655 "$ac_dir/clean: dummy
7656 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7658 wine_fn_append_rule \
7659 "__clean__: $ac_dir/clean
7660 .PHONY: $ac_dir/clean"
7663 wine_fn_disabled_rules ()
7665 ac_clean=$@
7667 wine_fn_append_file SUBDIRS $ac_dir
7668 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7669 wine_fn_append_rule \
7670 "__clean__: $ac_dir/clean
7671 .PHONY: $ac_dir/clean
7672 $ac_dir/clean: dummy
7673 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7676 wine_fn_config_makefile ()
7678 ac_dir=$1
7679 ac_enable=$2
7680 ac_flags=$3
7682 case $ac_dir in
7683 fonts|server) test -z "$with_wine64" || return ;;
7684 esac
7685 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7686 wine_fn_disabled_rules; return
7688 wine_fn_all_rules
7689 wine_fn_install_rules
7690 wine_fn_clean_rules
7693 wine_fn_config_lib ()
7695 ac_name=$1
7696 ac_flags=$2
7697 ac_dir=dlls/$ac_name
7698 ac_deps="include"
7700 if test "x$enable_tools" = xno; then :
7702 else
7703 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7705 wine_fn_all_rules
7706 wine_fn_clean_rules
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install $ac_dir/uninstall
7710 $ac_dir/install:: $ac_dir
7711 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7714 install install-dev:: $ac_dir/install
7715 __uninstall__: $ac_dir/uninstall
7716 __builddeps__: $ac_dir
7717 $ac_dir: $ac_deps"
7720 wine_fn_config_dll ()
7722 ac_name=$1
7723 ac_dir=dlls/$ac_name
7724 ac_enable=$2
7725 ac_flags=$3
7726 ac_implib=${4:-$ac_name}
7727 ac_file=$ac_dir/lib$ac_implib
7728 ac_dll=$ac_name
7729 ac_deps="include"
7730 ac_implibflags=""
7732 if test "x$enable_tools" = xno; then :
7734 else
7735 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7737 case $ac_name in
7738 *.*16) ac_implibflags=" -m16" ;;
7739 *.*) ;;
7740 *) ac_dll=$ac_dll.dll ;;
7741 esac
7743 ac_clean=
7744 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7745 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7747 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7748 if test "$ac_enable" != enable_win16
7749 then
7750 wine_fn_clean_rules $ac_clean
7751 wine_fn_append_file SUBDIRS $ac_dir
7752 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7753 else
7754 wine_fn_disabled_rules $ac_clean
7755 return
7757 else
7758 wine_fn_all_rules
7759 wine_fn_clean_rules $ac_clean
7760 wine_fn_append_rule \
7761 "$ac_dir: __builddeps__
7762 manpages htmlpages sgmlpages xmlpages::
7763 @cd $ac_dir && \$(MAKE) \$@
7764 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7765 install install-lib:: $ac_dir/install-lib
7766 __uninstall__: $ac_dir/uninstall"
7767 if test -n "$DLLEXT"
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install-lib:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7772 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7775 else
7776 wine_fn_append_rule \
7777 "$ac_dir/install-lib:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7784 if wine_fn_has_flag staticimplib
7785 then
7786 wine_fn_append_rule \
7787 "__builddeps__: $ac_file.a
7788 $ac_file.a $ac_file.cross.a: $ac_deps
7789 $ac_file.a: dummy
7790 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7791 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7792 $ac_dir/install-dev:: $ac_file.a
7793 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7794 $ac_dir/uninstall::
7795 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7796 install install-dev:: $ac_dir/install-dev
7797 __uninstall__: $ac_dir/uninstall"
7799 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7800 then
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.cross.a
7803 $ac_file.cross.a: dummy
7804 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7807 elif wine_fn_has_flag implib
7808 then
7809 wine_fn_append_rule \
7810 "__builddeps__: $ac_file.$IMPLIBEXT
7811 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7812 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7813 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7815 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7816 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7817 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7818 $ac_dir/uninstall::
7819 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7820 install install-dev:: $ac_dir/install-dev
7821 __uninstall__: $ac_dir/uninstall"
7822 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7823 then
7824 wine_fn_append_rule \
7825 "__builddeps__: $ac_file.cross.a
7826 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7827 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7832 wine_fn_config_program ()
7834 ac_name=$1
7835 ac_dir=programs/$ac_name
7836 ac_enable=$2
7837 ac_flags=$3
7838 ac_program=$ac_name
7840 case $ac_name in
7841 *.*) ;;
7842 *) ac_program=$ac_program.exe ;;
7843 esac
7845 ac_clean=
7846 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7847 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7849 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7850 wine_fn_disabled_rules $ac_clean; return
7853 wine_fn_all_rules
7854 wine_fn_clean_rules $ac_clean
7855 wine_fn_append_rule "$ac_dir: __builddeps__"
7857 wine_fn_has_flag install || return
7858 wine_fn_append_rule \
7859 ".PHONY: $ac_dir/install $ac_dir/uninstall
7860 install install-lib:: $ac_dir/install
7861 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$DLLEXT"
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: $ac_dir
7867 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7868 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7869 $ac_dir/uninstall::
7870 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7872 if test -z "$with_wine64" && wine_fn_has_flag installbin
7873 then
7874 wine_fn_append_rule \
7875 "$ac_dir/install:: __tooldeps__
7876 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7877 $ac_dir/uninstall::
7878 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7880 else
7881 wine_fn_append_rule \
7882 "$ac_dir/install:: $ac_dir
7883 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7884 $ac_dir/uninstall::
7885 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7888 if test -z "$with_wine64" && wine_fn_has_flag manpage
7889 then
7890 wine_fn_append_rule \
7891 "$ac_dir/install:: $ac_dir
7892 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7898 wine_fn_config_test ()
7900 ac_dir=$1
7901 ac_name=$2
7902 ac_flags=$3
7904 ac_clean=
7905 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7906 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7908 if test "x$enable_tests" = xno; then :
7909 wine_fn_disabled_rules $ac_clean; return
7912 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7913 wine_fn_all_rules
7914 wine_fn_clean_rules $ac_clean
7916 wine_fn_append_rule \
7917 "$ac_dir: __builddeps__
7918 programs/winetest: $ac_dir
7919 check test: $ac_dir/test
7920 .PHONY: $ac_dir/test
7921 $ac_dir/test: dummy
7922 @cd $ac_dir && \$(MAKE) test
7923 testclean::
7924 \$(RM) $ac_dir/*.ok"
7926 if test -n "$CROSSTARGET"
7927 then
7928 wine_fn_append_rule \
7929 "crosstest: $ac_dir/crosstest
7930 .PHONY: $ac_dir/crosstest
7931 $ac_dir/crosstest: __builddeps__ dummy
7932 @cd $ac_dir && \$(MAKE) crosstest"
7936 wine_fn_config_tool ()
7938 ac_dir=$1
7939 ac_flags=$2
7940 if test "x$enable_tools" = xno; then :
7941 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7944 wine_fn_all_rules
7945 wine_fn_install_rules
7946 wine_fn_clean_rules
7948 wine_fn_append_rule "__tooldeps__: $ac_dir"
7949 wine_fn_append_rule "$ac_dir: libs/port"
7950 case $ac_dir in
7951 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7952 esac
7955 wine_fn_config_symlink ()
7957 ac_linkdir=
7958 if test "x$1" = "x-d"
7959 then
7960 ac_linkdir=$2
7961 shift; shift
7963 ac_links=$@
7964 wine_fn_append_rule \
7965 "$ac_links:
7966 @./config.status \$@"
7967 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7968 test -n "$ac_linkdir" || return
7969 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7972 wine_binary="wine"
7973 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7974 WINELOADER_PROGRAMS="$wine_binary"
7976 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7978 case $host_os in
7979 cygwin*|mingw32*)
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_DLLTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$DLLTOOL"; then
7989 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 DLLTOOL=$ac_cv_prog_DLLTOOL
8009 if test -n "$DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8011 $as_echo "$DLLTOOL" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_DLLTOOL"; then
8020 ac_ct_DLLTOOL=$DLLTOOL
8021 # Extract the first word of "dlltool", so it can be a program name with args.
8022 set dummy dlltool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$ac_ct_DLLTOOL"; then
8029 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8049 if test -n "$ac_ct_DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8051 $as_echo "$ac_ct_DLLTOOL" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_DLLTOOL" = x; then
8058 DLLTOOL="false"
8059 else
8060 case $cross_compiling:$ac_tool_warned in
8061 yes:)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8065 esac
8066 DLLTOOL=$ac_ct_DLLTOOL
8068 else
8069 DLLTOOL="$ac_cv_prog_DLLTOOL"
8072 LIBEXT="dll"
8073 DLLEXT=""
8074 IMPLIBEXT="a"
8075 enable_iphlpapi=${enable_iphlpapi:-no}
8076 enable_kernel32=${enable_kernel32:-no}
8077 enable_msvcrt=${enable_msvcrt:-no}
8078 enable_ntdll=${enable_ntdll:-no}
8079 enable_ws2_32=${enable_ws2_32:-no}
8080 enable_loader=${enable_loader:-no}
8081 enable_server=${enable_server:-no}
8082 with_x=${with_x:-no}
8083 with_pthread=${with_pthread:-no}
8085 crtlibs=""
8086 case $host_os in
8087 mingw32*)
8088 crtlibs="-lmsvcrt"
8089 SOCKET_LIBS="-lws2_32"
8091 esac
8093 LIBWINE_SHAREDLIB="libwine.dll"
8095 LIBWINE_IMPORTLIB="libwine.a"
8097 LIBWINE_INSTALL_LIB="libwine.dll"
8099 LIBWINE_INSTALL_DEV="libwine.a"
8101 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8103 LIBWINE_DEPENDS="wine.def"
8107 darwin*|macosx*)
8108 for ac_header in libunwind.h
8109 do :
8110 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_LIBUNWIND_H 1
8114 _ACEOF
8118 done
8120 LIBEXT="dylib"
8121 DLLFLAGS="$DLLFLAGS -fPIC"
8122 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8123 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8124 COREFOUNDATION_LIBS="-framework CoreFoundation"
8126 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8128 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8130 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8132 CORESERVICES_LIBS="-framework CoreServices"
8134 APPKIT_LIBS="-framework AppKit"
8136 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8138 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8139 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 ac_wine_try_cflags_saved=$CFLAGS
8143 CFLAGS="$CFLAGS -Wl,-no_pie"
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 int main(int argc, char **argv) { return 0; }
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 ac_cv_cflags__Wl__no_pie=yes
8150 else
8151 ac_cv_cflags__Wl__no_pie=no
8153 rm -f core conftest.err conftest.$ac_objext \
8154 conftest$ac_exeext conftest.$ac_ext
8155 CFLAGS=$ac_wine_try_cflags_saved
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8158 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8159 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8160 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8162 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8163 then
8164 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8167 if test "$ac_cv_header_Security_Security_h" = "yes"
8168 then
8169 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8171 ac_save_LIBS="$LIBS"
8172 LIBS="$LIBS $SECURITY_LIBS"
8173 for ac_func in SSLCopyPeerCertificates
8174 do :
8175 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8176 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8177 cat >>confdefs.h <<_ACEOF
8178 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8179 _ACEOF
8182 done
8184 LIBS="$ac_save_LIBS"
8185 with_gnutls=${with_gnutls:-no}
8187 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8188 then
8189 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8190 then
8191 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8193 else
8194 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8197 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8198 ac_save_LIBS="$LIBS"
8199 LIBS="$LIBS $COREAUDIO_LIBS"
8200 for ac_func in AUGraphAddNode
8201 do :
8202 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8203 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_AUGRAPHADDNODE 1
8206 _ACEOF
8209 done
8211 LIBS="$ac_save_LIBS"
8213 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8214 then
8215 OPENAL_LIBS="-framework OpenAL"
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_OPENAL 1
8220 _ACEOF
8222 ac_cv_lib_openal=yes
8224 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8225 then
8226 OPENCL_LIBS="-framework OpenCL"
8228 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8230 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8231 then
8232 ac_save_LIBS="$LIBS"
8233 LIBS="$LIBS $IOKIT_LIBS"
8234 for ac_func in IOHIDManagerCreate
8235 do :
8236 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8237 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_IOHIDMANAGERCREATE 1
8240 _ACEOF
8243 done
8245 LIBS="$ac_save_LIBS"
8247 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8248 then
8249 ac_save_LIBS="$LIBS"
8250 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8252 $as_echo_n "checking for the QuickTime framework... " >&6; }
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 #include <QuickTime/ImageCompression.h>
8257 main ()
8259 CodecManagerVersion(NULL);
8261 return 0;
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8267 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8269 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 ac_cv_header_QuickTime_ImageCompression_h=no
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 LIBS="$ac_save_LIBS"
8279 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8280 then
8281 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8283 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8284 then
8285 CARBON_LIBS="-framework Carbon"
8289 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8290 then
8291 ac_save_LIBS="$LIBS"
8292 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8293 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8294 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8295 enable_winemac_drv=${enable_winemac_drv:-yes}
8298 LIBS="$ac_save_LIBS"
8301 if test "x$enable_win16" = "xyes"
8302 then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8304 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8305 if test "$cross_compiling" = yes; then :
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8307 $as_echo "cross-compiling, assuming yes" >&6; }
8308 else
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 asm(".text\n"
8312 "bad:\tnop;nop\n"
8313 "good:\tnop;nop\n\t"
8314 ".globl _testfunc\n"
8315 "_testfunc:\tcallw good");
8316 extern void testfunc();
8318 main ()
8320 unsigned short *p = (unsigned short *)testfunc;
8321 return p[0] != 0xe866 || p[1] != 0xfffa
8323 return 0;
8325 _ACEOF
8326 if ac_fn_c_try_run "$LINENO"; then :
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8328 $as_echo "yes" >&6; }
8329 else
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8332 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
8334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8335 conftest.$ac_objext conftest.beam conftest.$ac_ext
8340 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8342 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8344 LIBWINE_INSTALL_DEV="libwine.dylib"
8346 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8348 WINELOADER_DEPENDS="wine_info.plist"
8352 linux-android*)
8353 DLLFLAGS="$DLLFLAGS -fPIC"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8355 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8356 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8367 else
8368 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8375 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8376 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8377 LDEXECFLAGS="-Wl,--export-dynamic"
8379 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8381 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8382 if eval \${$as_ac_var+:} false; then :
8383 $as_echo_n "(cached) " >&6
8384 else
8385 ac_wine_try_cflags_saved=$CFLAGS
8386 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8389 int main(int argc, char **argv) { return 0; }
8390 _ACEOF
8391 if ac_fn_c_try_link "$LINENO"; then :
8392 eval "$as_ac_var=yes"
8393 else
8394 eval "$as_ac_var=no"
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 CFLAGS=$ac_wine_try_cflags_saved
8400 eval ac_res=\$$as_ac_var
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8402 $as_echo "$ac_res" >&6; }
8403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8404 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8405 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8406 else
8407 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8409 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8410 if eval \${$as_ac_var+:} false; then :
8411 $as_echo_n "(cached) " >&6
8412 else
8413 ac_wine_try_cflags_saved=$CFLAGS
8414 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8417 int main(int argc, char **argv) { return 0; }
8418 _ACEOF
8419 if ac_fn_c_try_link "$LINENO"; then :
8420 eval "$as_ac_var=yes"
8421 else
8422 eval "$as_ac_var=no"
8424 rm -f core conftest.err conftest.$ac_objext \
8425 conftest$ac_exeext conftest.$ac_ext
8426 CFLAGS=$ac_wine_try_cflags_saved
8428 eval ac_res=\$$as_ac_var
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8430 $as_echo "$ac_res" >&6; }
8431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8432 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8433 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8438 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8439 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_cflags__Wl___enable_new_dtags=yes
8450 else
8451 ac_cv_cflags__Wl___enable_new_dtags=no
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8458 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8459 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8460 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8463 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8464 if ${ac_cv_cflags__Wl__pie+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -Wl,-pie"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_cflags__Wl__pie=yes
8475 else
8476 ac_cv_cflags__Wl__pie=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8483 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8484 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8485 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8488 LIBWINE_SHAREDLIB="libwine.so"
8490 LIBWINE_INSTALL_LIB="libwine.so"
8492 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8497 DLLFLAGS="$DLLFLAGS -fPIC"
8498 LDEXECFLAGS=""
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8500 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8501 if ${ac_cv_c_dll_gnuelf+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 void myfunc() {}
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_c_dll_gnuelf="yes"
8512 else
8513 ac_cv_c_dll_gnuelf="no"
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8520 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8521 if test "$ac_cv_c_dll_gnuelf" = "yes"
8522 then
8523 LIBWINE_LDFLAGS="-shared"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8526 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8537 else
8538 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8547 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8551 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8562 else
8563 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8570 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8571 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8572 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8576 echo '{ global: *; };' >conftest.map
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8578 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8579 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8590 else
8591 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8598 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8599 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8600 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8602 rm -f conftest.map
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8605 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8606 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8617 else
8618 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8625 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8626 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8627 LDEXECFLAGS="-Wl,--export-dynamic"
8630 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8632 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8633 if eval \${$as_ac_var+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 int main(int argc, char **argv) { return 0; }
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 eval "$as_ac_var=yes"
8644 else
8645 eval "$as_ac_var=no"
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 eval ac_res=\$$as_ac_var
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8653 $as_echo "$ac_res" >&6; }
8654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8655 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8656 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8657 else
8658 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8660 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8661 if eval \${$as_ac_var+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 ac_wine_try_cflags_saved=$CFLAGS
8665 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 int main(int argc, char **argv) { return 0; }
8669 _ACEOF
8670 if ac_fn_c_try_link "$LINENO"; then :
8671 eval "$as_ac_var=yes"
8672 else
8673 eval "$as_ac_var=no"
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 eval ac_res=\$$as_ac_var
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8681 $as_echo "$ac_res" >&6; }
8682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8683 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8684 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8690 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl___enable_new_dtags=yes
8701 else
8702 ac_cv_cflags__Wl___enable_new_dtags=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8711 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8714 case $host_cpu in
8715 *i[3456789]86* | x86_64)
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8717 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8718 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 int main(int argc, char **argv) { return 0; }
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8729 else
8730 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8737 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8738 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8739 case $host_os in
8740 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8741 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8742 esac
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8745 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8746 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 int main(int argc, char **argv) { return 0; }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8757 else
8758 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8765 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8766 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8767 case $host_os in
8768 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8769 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8770 esac
8772 # Extract the first word of "prelink", so it can be a program name with args.
8773 set dummy prelink; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775 $as_echo_n "checking for $ac_word... " >&6; }
8776 if ${ac_cv_path_PRELINK+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 case $PRELINK in
8780 [\\/]* | ?:[\\/]*)
8781 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 for as_dir in /sbin /usr/sbin $PATH
8787 IFS=$as_save_IFS
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 break 2
8795 done
8796 done
8797 IFS=$as_save_IFS
8799 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8801 esac
8803 PRELINK=$ac_cv_path_PRELINK
8804 if test -n "$PRELINK"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8806 $as_echo "$PRELINK" >&6; }
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8813 if test "x$PRELINK" = xfalse
8814 then
8815 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8819 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8820 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_wine_try_cflags_saved=$CFLAGS
8824 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 int main(int argc, char **argv) { return 0; }
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8831 else
8832 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 CFLAGS=$ac_wine_try_cflags_saved
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8839 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8840 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8841 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8844 esac
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8848 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8849 if ${ac_cv_c_dll_unixware+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 void myfunc() {}
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_c_dll_unixware="yes"
8860 else
8861 ac_cv_c_dll_unixware="no"
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8868 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8869 if test "$ac_cv_c_dll_unixware" = "yes"
8870 then
8871 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8874 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8876 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8878 LIBWINE_INSTALL_DEV="libwine.so"
8880 LIBWINE_DEPENDS="wine.map"
8883 esac
8885 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8886 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8887 enable_winemac_drv=${enable_winemac_drv:-no}
8888 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8890 CROSSTARGET=""
8892 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8893 then
8894 case "$host_cpu" in
8895 arm*)
8896 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8897 i[3456789]86*)
8898 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
8899 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8900 mingw32-gcc" ;;
8901 x86_64)
8902 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
8903 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8905 ac_prefix_list="" ;;
8906 esac
8907 for ac_prog in $ac_prefix_list
8909 # Extract the first word of "$ac_prog", so it can be a program name with args.
8910 set dummy $ac_prog; ac_word=$2
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8912 $as_echo_n "checking for $ac_word... " >&6; }
8913 if ${ac_cv_prog_CROSSCC+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 if test -n "$CROSSCC"; then
8917 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8918 else
8919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 for as_dir in $PATH
8922 IFS=$as_save_IFS
8923 test -z "$as_dir" && as_dir=.
8924 for ac_exec_ext in '' $ac_executable_extensions; do
8925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8926 ac_cv_prog_CROSSCC="$ac_prog"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 break 2
8930 done
8931 done
8932 IFS=$as_save_IFS
8936 CROSSCC=$ac_cv_prog_CROSSCC
8937 if test -n "$CROSSCC"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8939 $as_echo "$CROSSCC" >&6; }
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8946 test -n "$CROSSCC" && break
8947 done
8948 test -n "$CROSSCC" || CROSSCC="false"
8950 if test "$CROSSCC" != "false"
8951 then
8952 ac_save_CC="$CC"
8953 CC="$CROSSCC"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8955 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8960 main ()
8964 return 0;
8966 _ACEOF
8967 if ac_fn_c_try_compile "$LINENO"; then :
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8969 $as_echo "yes" >&6; }
8970 set x $CROSSCC
8971 shift
8972 while test $# -ge 1
8974 case "$1" in
8975 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8976 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8977 esac
8978 shift
8979 done
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8985 CC="$ac_save_CC"
8990 if test "$ac_cv_header_pthread_h" = "yes"
8991 then
8992 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8993 if test "x$ac_cv_func_pthread_create" = xyes; then :
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8997 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8998 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 ac_check_lib_save_LIBS=$LIBS
9002 LIBS="-lpthread $LIBS"
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char pthread_create ();
9014 main ()
9016 return pthread_create ();
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 ac_cv_lib_pthread_pthread_create=yes
9023 else
9024 ac_cv_lib_pthread_pthread_create=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_lib_save_LIBS
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9031 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9032 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9033 PTHREAD_LIBS="-lpthread"
9040 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9041 case "x$with_pthread" in
9042 xno) ;;
9043 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9044 Wine cannot support threads without libpthread.
9045 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9046 esac
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9052 $as_echo_n "checking for X... " >&6; }
9055 # Check whether --with-x was given.
9056 if test "${with_x+set}" = set; then :
9057 withval=$with_x;
9060 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9061 if test "x$with_x" = xno; then
9062 # The user explicitly disabled X.
9063 have_x=disabled
9064 else
9065 case $x_includes,$x_libraries in #(
9066 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9067 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 # One or both of the vars are not set, and there is no cached value.
9071 ac_x_includes=no ac_x_libraries=no
9072 rm -f -r conftest.dir
9073 if mkdir conftest.dir; then
9074 cd conftest.dir
9075 cat >Imakefile <<'_ACEOF'
9076 incroot:
9077 @echo incroot='${INCROOT}'
9078 usrlibdir:
9079 @echo usrlibdir='${USRLIBDIR}'
9080 libdir:
9081 @echo libdir='${LIBDIR}'
9082 _ACEOF
9083 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9084 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9085 for ac_var in incroot usrlibdir libdir; do
9086 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9087 done
9088 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9089 for ac_extension in a so sl dylib la dll; do
9090 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9091 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9092 ac_im_usrlibdir=$ac_im_libdir; break
9094 done
9095 # Screen out bogus values from the imake configuration. They are
9096 # bogus both because they are the default anyway, and because
9097 # using them would break gcc on systems where it needs fixed includes.
9098 case $ac_im_incroot in
9099 /usr/include) ac_x_includes= ;;
9100 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9101 esac
9102 case $ac_im_usrlibdir in
9103 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9104 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9105 esac
9107 cd ..
9108 rm -f -r conftest.dir
9111 # Standard set of common directories for X headers.
9112 # Check X11 before X11Rn because it is often a symlink to the current release.
9113 ac_x_header_dirs='
9114 /usr/X11/include
9115 /usr/X11R7/include
9116 /usr/X11R6/include
9117 /usr/X11R5/include
9118 /usr/X11R4/include
9120 /usr/include/X11
9121 /usr/include/X11R7
9122 /usr/include/X11R6
9123 /usr/include/X11R5
9124 /usr/include/X11R4
9126 /usr/local/X11/include
9127 /usr/local/X11R7/include
9128 /usr/local/X11R6/include
9129 /usr/local/X11R5/include
9130 /usr/local/X11R4/include
9132 /usr/local/include/X11
9133 /usr/local/include/X11R7
9134 /usr/local/include/X11R6
9135 /usr/local/include/X11R5
9136 /usr/local/include/X11R4
9138 /usr/X386/include
9139 /usr/x386/include
9140 /usr/XFree86/include/X11
9142 /usr/include
9143 /usr/local/include
9144 /usr/unsupported/include
9145 /usr/athena/include
9146 /usr/local/x11r5/include
9147 /usr/lpp/Xamples/include
9149 /usr/openwin/include
9150 /usr/openwin/share/include'
9152 if test "$ac_x_includes" = no; then
9153 # Guess where to find include files, by looking for Xlib.h.
9154 # First, try using that file with no special directory specified.
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 #include <X11/Xlib.h>
9158 _ACEOF
9159 if ac_fn_c_try_cpp "$LINENO"; then :
9160 # We can compile using X headers with no special include directory.
9161 ac_x_includes=
9162 else
9163 for ac_dir in $ac_x_header_dirs; do
9164 if test -r "$ac_dir/X11/Xlib.h"; then
9165 ac_x_includes=$ac_dir
9166 break
9168 done
9170 rm -f conftest.err conftest.i conftest.$ac_ext
9171 fi # $ac_x_includes = no
9173 if test "$ac_x_libraries" = no; then
9174 # Check for the libraries.
9175 # See if we find them without any special options.
9176 # Don't add to $LIBS permanently.
9177 ac_save_LIBS=$LIBS
9178 LIBS="-lX11 $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181 #include <X11/Xlib.h>
9183 main ()
9185 XrmInitialize ()
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 LIBS=$ac_save_LIBS
9192 # We can link X programs with no special library path.
9193 ac_x_libraries=
9194 else
9195 LIBS=$ac_save_LIBS
9196 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9198 # Don't even attempt the hair of trying to link an X program!
9199 for ac_extension in a so sl dylib la dll; do
9200 if test -r "$ac_dir/libX11.$ac_extension"; then
9201 ac_x_libraries=$ac_dir
9202 break 2
9204 done
9205 done
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 fi # $ac_x_libraries = no
9211 case $ac_x_includes,$ac_x_libraries in #(
9212 no,* | *,no | *\'*)
9213 # Didn't find X, or a directory has "'" in its name.
9214 ac_cv_have_x="have_x=no";; #(
9216 # Record where we found X for the cache.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$ac_x_includes'\
9219 ac_x_libraries='$ac_x_libraries'"
9220 esac
9222 ;; #(
9223 *) have_x=yes;;
9224 esac
9225 eval "$ac_cv_have_x"
9226 fi # $with_x != no
9228 if test "$have_x" != yes; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9230 $as_echo "$have_x" >&6; }
9231 no_x=yes
9232 else
9233 # If each of the values was on the command line, it overrides each guess.
9234 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9235 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9236 # Update the cache value to reflect the command line values.
9237 ac_cv_have_x="have_x=yes\
9238 ac_x_includes='$x_includes'\
9239 ac_x_libraries='$x_libraries'"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9241 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9244 if test "$no_x" = yes; then
9245 # Not all programs may use this symbol, but it does not hurt to define it.
9247 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9249 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9250 else
9251 if test -n "$x_includes"; then
9252 X_CFLAGS="$X_CFLAGS -I$x_includes"
9255 # It would also be nice to do this for all -L options, not just this one.
9256 if test -n "$x_libraries"; then
9257 X_LIBS="$X_LIBS -L$x_libraries"
9258 # For Solaris; some versions of Sun CC require a space after -R and
9259 # others require no space. Words are not sufficient . . . .
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9261 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9262 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9263 ac_xsave_c_werror_flag=$ac_c_werror_flag
9264 ac_c_werror_flag=yes
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9269 main ()
9273 return 0;
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9279 X_LIBS="$X_LIBS -R$x_libraries"
9280 else
9281 LIBS="$ac_xsave_LIBS -R $x_libraries"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9286 main ()
9290 return 0;
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9295 $as_echo "yes" >&6; }
9296 X_LIBS="$X_LIBS -R $x_libraries"
9297 else
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9299 $as_echo "neither works" >&6; }
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 ac_c_werror_flag=$ac_xsave_c_werror_flag
9307 LIBS=$ac_xsave_LIBS
9310 # Check for system-dependent libraries X programs must link with.
9311 # Do this before checking for the system-independent R6 libraries
9312 # (-lICE), since we may need -lsocket or whatever for X linking.
9314 if test "$ISC" = yes; then
9315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9316 else
9317 # Martyn Johnson says this is needed for Ultrix, if the X
9318 # libraries were built with DECnet support. And Karl Berry says
9319 # the Alpha needs dnet_stub (dnet does not exist).
9320 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char XOpenDisplay ();
9332 main ()
9334 return XOpenDisplay ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9341 else
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9343 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9344 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_check_lib_save_LIBS=$LIBS
9348 LIBS="-ldnet $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char dnet_ntoa ();
9360 main ()
9362 return dnet_ntoa ();
9364 return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_lib_dnet_dnet_ntoa=yes
9369 else
9370 ac_cv_lib_dnet_dnet_ntoa=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_lib_save_LIBS
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9377 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9378 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9384 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9385 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_check_lib_save_LIBS=$LIBS
9389 LIBS="-ldnet_stub $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char dnet_ntoa ();
9401 main ()
9403 return dnet_ntoa ();
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9410 else
9411 ac_cv_lib_dnet_stub_dnet_ntoa=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9418 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9419 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS="$ac_xsave_LIBS"
9429 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9430 # to get the SysV transport functions.
9431 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9432 # needs -lnsl.
9433 # The nsl library prevents programs from opening the X display
9434 # on Irix 5.2, according to T.E. Dickey.
9435 # The functions gethostbyname, getservbyname, and inet_addr are
9436 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9437 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9438 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9442 if test $ac_cv_func_gethostbyname = no; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9444 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9445 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_check_lib_save_LIBS=$LIBS
9449 LIBS="-lnsl $LIBS"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9456 #ifdef __cplusplus
9457 extern "C"
9458 #endif
9459 char gethostbyname ();
9461 main ()
9463 return gethostbyname ();
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_lib_nsl_gethostbyname=yes
9470 else
9471 ac_cv_lib_nsl_gethostbyname=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_lib_save_LIBS
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9478 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9479 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9483 if test $ac_cv_lib_nsl_gethostbyname = no; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9485 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9486 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lbsd $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char gethostbyname ();
9502 main ()
9504 return gethostbyname ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_bsd_gethostbyname=yes
9511 else
9512 ac_cv_lib_bsd_gethostbyname=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9519 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9520 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9527 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9528 # socket/setsockopt and other routines are undefined under SCO ODT
9529 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9530 # on later versions), says Simon Leinen: it contains gethostby*
9531 # variants that don't use the name server (or something). -lsocket
9532 # must be given before -lnsl if both are needed. We assume that
9533 # if connect needs -lnsl, so does gethostbyname.
9534 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9535 if test "x$ac_cv_func_connect" = xyes; then :
9539 if test $ac_cv_func_connect = no; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9541 $as_echo_n "checking for connect in -lsocket... " >&6; }
9542 if ${ac_cv_lib_socket_connect+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char connect ();
9558 main ()
9560 return connect ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_socket_connect=yes
9567 else
9568 ac_cv_lib_socket_connect=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9575 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9576 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9577 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9582 # Guillermo Gomez says -lposix is necessary on A/UX.
9583 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9584 if test "x$ac_cv_func_remove" = xyes; then :
9588 if test $ac_cv_func_remove = no; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9590 $as_echo_n "checking for remove in -lposix... " >&6; }
9591 if ${ac_cv_lib_posix_remove+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_lib_save_LIBS=$LIBS
9595 LIBS="-lposix $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char remove ();
9607 main ()
9609 return remove ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 ac_cv_lib_posix_remove=yes
9616 else
9617 ac_cv_lib_posix_remove=no
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9624 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9625 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9632 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9633 if test "x$ac_cv_func_shmat" = xyes; then :
9637 if test $ac_cv_func_shmat = no; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9639 $as_echo_n "checking for shmat in -lipc... " >&6; }
9640 if ${ac_cv_lib_ipc_shmat+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lipc $LIBS"
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char shmat ();
9656 main ()
9658 return shmat ();
9660 return 0;
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_lib_ipc_shmat=yes
9665 else
9666 ac_cv_lib_ipc_shmat=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_lib_save_LIBS
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9673 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9674 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9681 # Check for libraries that X11R6 Xt/Xaw programs need.
9682 ac_save_LDFLAGS=$LDFLAGS
9683 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9685 # check for ICE first), but we must link in the order -lSM -lICE or
9686 # we get undefined symbols. So assume we have SM if we have ICE.
9687 # These have to be linked with before -lX11, unlike the other
9688 # libraries we check for below, so use a different variable.
9689 # John Interrante, Karl Berry
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9691 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9692 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_check_lib_save_LIBS=$LIBS
9696 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 #endif
9706 char IceConnectionNumber ();
9708 main ()
9710 return IceConnectionNumber ();
9712 return 0;
9714 _ACEOF
9715 if ac_fn_c_try_link "$LINENO"; then :
9716 ac_cv_lib_ICE_IceConnectionNumber=yes
9717 else
9718 ac_cv_lib_ICE_IceConnectionNumber=no
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9725 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9726 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9727 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9730 LDFLAGS=$ac_save_LDFLAGS
9735 if test "$have_x" = "yes"
9736 then
9737 ac_save_CPPFLAGS="$CPPFLAGS"
9738 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9741 $as_echo_n "checking for -lX11... " >&6; }
9742 if ${ac_cv_lib_soname_X11+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char XCreateWindow ();
9758 main ()
9760 return XCreateWindow ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 case "$LIBEXT" in
9767 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9768 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'` ;;
9769 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9770 if ${ac_cv_lib_soname_X11:+false} :; then :
9771 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9772 fi ;;
9773 esac
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_soname_save_LIBS
9779 if ${ac_cv_lib_soname_X11:+false} :; then :
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9781 $as_echo "not found" >&6; }
9783 else
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9785 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9787 cat >>confdefs.h <<_ACEOF
9788 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9789 _ACEOF
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9794 $as_echo_n "checking for -lXext... " >&6; }
9795 if ${ac_cv_lib_soname_Xext+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XextCreateExtension ();
9811 main ()
9813 return XextCreateExtension ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xext:+false} :; then :
9824 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xext:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9836 else
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9838 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9840 cat >>confdefs.h <<_ACEOF
9841 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9842 _ACEOF
9844 X_LIBS="$X_LIBS -lXext"
9846 X_LIBS="$X_LIBS -lX11"
9848 for ac_header in X11/Xlib.h \
9849 X11/XKBlib.h \
9850 X11/Xutil.h \
9851 X11/Xcursor/Xcursor.h \
9852 X11/extensions/shape.h \
9853 X11/extensions/XInput.h \
9854 X11/extensions/XInput2.h \
9855 X11/extensions/XShm.h \
9856 X11/extensions/Xcomposite.h \
9857 X11/extensions/Xinerama.h \
9858 X11/extensions/Xrandr.h \
9859 X11/extensions/Xrender.h \
9860 X11/extensions/xf86vmode.h \
9861 X11/extensions/xf86vmproto.h
9862 do :
9863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9865 # include <X11/Xlib.h>
9866 #endif
9867 #ifdef HAVE_X11_XUTIL_H
9868 # include <X11/Xutil.h>
9869 #endif
9871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9872 cat >>confdefs.h <<_ACEOF
9873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9874 _ACEOF
9878 done
9881 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9882 then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9884 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9885 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_check_lib_save_LIBS=$LIBS
9889 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XkbQueryExtension ();
9901 main ()
9903 return XkbQueryExtension ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_lib_X11_XkbQueryExtension=yes
9910 else
9911 ac_cv_lib_X11_XkbQueryExtension=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 LIBS=$ac_check_lib_save_LIBS
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9918 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9919 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9921 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9927 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9928 then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9930 $as_echo_n "checking for -lXcursor... " >&6; }
9931 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char XcursorImageLoadCursor ();
9947 main ()
9949 return XcursorImageLoadCursor ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9960 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9974 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9978 _ACEOF
9983 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9984 case "x$with_xcursor" in
9985 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9986 xno) ;;
9987 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9988 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9989 esac
9993 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9994 then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9996 $as_echo_n "checking for -lXi... " >&6; }
9997 if ${ac_cv_lib_soname_Xi+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XOpenDevice ();
10013 main ()
10015 return XOpenDevice ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_Xi:+false} :; then :
10026 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_Xi:+false} :; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 $as_echo "not found" >&6; }
10038 else
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10040 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10042 cat >>confdefs.h <<_ACEOF
10043 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10044 _ACEOF
10049 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10050 case "x$with_xinput" in
10051 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10054 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10055 esac
10059 if test "x$ac_cv_lib_soname_Xi" != x
10060 then
10061 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10062 case "x$with_xinput2" in
10063 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10066 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10067 esac
10072 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10073 then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10075 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10076 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_check_lib_save_LIBS=$LIBS
10080 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 char XShmQueryExtension ();
10092 main ()
10094 return XShmQueryExtension ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_lib_Xext_XShmQueryExtension=yes
10101 else
10102 ac_cv_lib_Xext_XShmQueryExtension=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 LIBS=$ac_check_lib_save_LIBS
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10109 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10110 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10112 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10117 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10118 case "x$with_xshm" in
10119 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10120 xno) ;;
10121 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10122 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10123 esac
10127 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10128 then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10130 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10131 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_lib_save_LIBS=$LIBS
10135 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char XShapeQueryExtension ();
10147 main ()
10149 return XShapeQueryExtension ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_lib_Xext_XShapeQueryExtension=yes
10156 else
10157 ac_cv_lib_Xext_XShapeQueryExtension=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_lib_save_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10164 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10165 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10167 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10172 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10173 case "x$with_xshape" in
10174 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10175 xno) ;;
10176 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10177 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10178 esac
10182 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10183 then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10185 $as_echo_n "checking for -lXxf86vm... " >&6; }
10186 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 #ifdef __cplusplus
10198 extern "C"
10199 #endif
10200 char XF86VidModeQueryExtension ();
10202 main ()
10204 return XF86VidModeQueryExtension ();
10206 return 0;
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 case "$LIBEXT" in
10211 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10215 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10225 $as_echo "not found" >&6; }
10227 else
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10229 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10231 cat >>confdefs.h <<_ACEOF
10232 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10233 _ACEOF
10238 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10239 case "x$with_xxf86vm" in
10240 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10241 xno) ;;
10242 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10243 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10244 esac
10248 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10249 then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10251 $as_echo_n "checking for -lXrender... " >&6; }
10252 if ${ac_cv_lib_soname_Xrender+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderQueryExtension ();
10268 main ()
10270 return XRenderQueryExtension ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 case "$LIBEXT" in
10277 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10281 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 fi ;;
10283 esac
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10295 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10299 _ACEOF
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10302 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRenderSetPictureTransform ();
10319 main ()
10321 return XRenderSetPictureTransform ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10328 else
10329 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10339 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10344 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10345 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356 #ifdef __cplusplus
10357 extern "C"
10358 #endif
10359 char XRenderCreateLinearGradient ();
10361 main ()
10363 return XRenderCreateLinearGradient ();
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10370 else
10371 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10378 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10379 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10381 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10388 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10389 case "x$with_xrender" in
10390 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10391 xno) ;;
10392 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10393 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10394 esac
10398 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10399 then
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 #include <X11/Xlib.h>
10403 #include <X11/extensions/Xrandr.h>
10405 main ()
10407 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_compile "$LINENO"; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10414 $as_echo_n "checking for -lXrandr... " >&6; }
10415 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10416 $as_echo_n "(cached) " >&6
10417 else
10418 ac_check_soname_save_LIBS=$LIBS
10419 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 char XRRQueryExtension ();
10431 main ()
10433 return XRRQueryExtension ();
10435 return 0;
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 case "$LIBEXT" in
10440 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10444 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10445 fi ;;
10446 esac
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10456 else
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10458 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10462 _ACEOF
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 #include <X11/Xlib.h>
10467 #include <X11/extensions/Xrandr.h>
10469 main ()
10471 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_compile "$LINENO"; then :
10478 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10486 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10487 case "x$with_xrandr" in
10488 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10491 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10492 esac
10496 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10497 then
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 #include <X11/Xlib.h>
10501 #include <X11/extensions/Xinerama.h>
10503 main ()
10505 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_compile "$LINENO"; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10512 $as_echo_n "checking for -lXinerama... " >&6; }
10513 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XineramaQueryScreens ();
10529 main ()
10531 return XineramaQueryScreens ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10542 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10556 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10560 _ACEOF
10565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10568 case "x$with_xinerama" in
10569 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10572 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10573 esac
10577 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10580 $as_echo_n "checking for -lXcomposite... " >&6; }
10581 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_check_soname_save_LIBS=$LIBS
10585 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char XCompositeRedirectWindow ();
10597 main ()
10599 return XCompositeRedirectWindow ();
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 case "$LIBEXT" in
10606 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10607 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'` ;;
10608 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10609 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10610 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10611 fi ;;
10612 esac
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_soname_save_LIBS
10618 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10620 $as_echo "not found" >&6; }
10622 else
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10624 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10626 cat >>confdefs.h <<_ACEOF
10627 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10628 _ACEOF
10633 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10634 case "x$with_xcomposite" in
10635 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10636 xno) ;;
10637 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10638 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10639 esac
10643 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10644 #include <X11/Xlib.h>
10645 #endif
10647 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_XICCALLBACK_CALLBACK 1
10651 _ACEOF
10655 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10656 #include <X11/Xlib.h>
10657 #endif
10659 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10661 cat >>confdefs.h <<_ACEOF
10662 #define HAVE_XEVENT_XCOOKIE 1
10663 _ACEOF
10670 opengl_msg=""
10671 if test "x$with_opengl" != "xno"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char glXCreateContext ();
10691 main ()
10693 return glXCreateContext ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 case "$LIBEXT" in
10700 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 fi ;;
10706 esac
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10716 $as_echo_n "checking for -lGL... " >&6; }
10717 if ${ac_cv_lib_soname_GL+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 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"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char glXCreateContext ();
10733 main ()
10735 return glXCreateContext ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 case "$LIBEXT" in
10742 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10743 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'` ;;
10744 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10745 if ${ac_cv_lib_soname_GL:+false} :; then :
10746 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10747 fi ;;
10748 esac
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LIBS=$ac_check_soname_save_LIBS
10754 if ${ac_cv_lib_soname_GL:+false} :; then :
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10756 $as_echo "not found" >&6; }
10757 if test -f /usr/X11R6/lib/libGL.a
10758 then
10759 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10760 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10761 else
10762 opengl_msg="No OpenGL library found on this system."
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10770 _ACEOF
10772 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"
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10776 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10780 _ACEOF
10782 OPENGL_LIBS="-lGL"
10784 if test "x$with_glu" != "xno"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10787 $as_echo_n "checking for -lGLU... " >&6; }
10788 if ${ac_cv_lib_soname_GLU+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_soname_save_LIBS=$LIBS
10792 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char gluLookAt ();
10804 main ()
10806 return gluLookAt ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 case "$LIBEXT" in
10813 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10815 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_GLU:+false} :; then :
10817 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10818 fi ;;
10819 esac
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LIBS=$ac_check_soname_save_LIBS
10825 if ${ac_cv_lib_soname_GLU:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10831 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10833 cat >>confdefs.h <<_ACEOF
10834 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10835 _ACEOF
10839 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10840 case "x$with_glu" in
10841 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10842 xno) ;;
10843 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10844 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10845 esac
10850 if test "x$with_osmesa" != "xno"
10851 then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10853 $as_echo_n "checking for -lOSMesa... " >&6; }
10854 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_soname_save_LIBS=$LIBS
10858 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char glAccum ();
10870 main ()
10872 return glAccum ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 case "$LIBEXT" in
10879 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10880 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'` ;;
10881 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10882 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10883 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10884 fi ;;
10885 esac
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_soname_save_LIBS
10891 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10895 else
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10897 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10899 cat >>confdefs.h <<_ACEOF
10900 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10901 _ACEOF
10905 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10906 case "x$with_osmesa" in
10907 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10908 xno) ;;
10909 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10910 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10911 esac
10916 if test -n "$opengl_msg"; then :
10917 case "x$with_opengl" in
10918 x) as_fn_append wine_warnings "|$opengl_msg
10919 OpenGL and Direct3D won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "$opengl_msg
10922 OpenGL and Direct3D won't be supported.
10923 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10924 esac
10928 CPPFLAGS="$ac_save_CPPFLAGS"
10929 else
10930 X_CFLAGS=""
10931 X_LIBS=""
10933 if test "x$X_LIBS" = "x"; then :
10934 case "x$with_x" in
10935 xno) ;;
10936 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10937 without X support, which probably isn't what you want. You will need
10938 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10939 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10940 esac
10941 enable_winex11_drv=${enable_winex11_drv:-no}
10944 if test "$ac_cv_header_CL_cl_h" = "yes"
10945 then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10947 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10948 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lOpenCL $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char clGetPlatformInfo ();
10964 main ()
10966 return clGetPlatformInfo ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10973 else
10974 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10981 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10982 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10983 OPENCL_LIBS="-lOpenCL"
10988 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10989 case "x$with_opencl" in
10990 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10991 xno) ;;
10992 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10993 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10994 esac
10995 enable_opencl=${enable_opencl:-no}
10998 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10999 then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11001 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11002 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lpcap $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char pcap_create ();
11018 main ()
11020 return pcap_create ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_pcap_pcap_create=yes
11027 else
11028 ac_cv_lib_pcap_pcap_create=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11035 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11036 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11037 PCAP_LIBS="-lpcap"
11042 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11043 case "x$with_pcap" in
11044 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11045 xno) ;;
11046 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11047 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11048 esac
11049 enable_wpcap=${enable_wpcap:-no}
11053 if test "x$with_xml" != "xno"
11054 then
11055 if ${XML2_CFLAGS:+false} :; then :
11056 if ${PKG_CONFIG+:} false; then :
11057 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11060 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11061 if ${XML2_LIBS:+false} :; then :
11062 if ${PKG_CONFIG+:} false; then :
11063 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11066 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11067 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11068 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11069 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11070 ac_save_CPPFLAGS=$CPPFLAGS
11071 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11072 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11073 do :
11074 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11075 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11077 cat >>confdefs.h <<_ACEOF
11078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11079 _ACEOF
11083 done
11085 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"
11086 then
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11088 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11089 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11090 $as_echo_n "(cached) " >&6
11091 else
11092 ac_check_lib_save_LIBS=$LIBS
11093 LIBS="-lxml2 $XML2_LIBS $LIBS"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11097 /* Override any GCC internal prototype to avoid an error.
11098 Use char because int might match the return type of a GCC
11099 builtin and then its argument prototype would still apply. */
11100 #ifdef __cplusplus
11101 extern "C"
11102 #endif
11103 char xmlParseMemory ();
11105 main ()
11107 return xmlParseMemory ();
11109 return 0;
11111 _ACEOF
11112 if ac_fn_c_try_link "$LINENO"; then :
11113 ac_cv_lib_xml2_xmlParseMemory=yes
11114 else
11115 ac_cv_lib_xml2_xmlParseMemory=no
11117 rm -f core conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11122 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11123 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11125 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11127 else
11128 XML2_LIBS=""
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11132 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11133 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-lxml2 $XML2_LIBS $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char xmlReadMemory ();
11149 main ()
11151 return xmlReadMemory ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_xml2_xmlReadMemory=yes
11158 else
11159 ac_cv_lib_xml2_xmlReadMemory=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11166 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11167 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11169 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11174 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11175 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11176 $as_echo_n "(cached) " >&6
11177 else
11178 ac_check_lib_save_LIBS=$LIBS
11179 LIBS="-lxml2 $XML2_LIBS $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char xmlNewDocPI ();
11191 main ()
11193 return xmlNewDocPI ();
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 ac_cv_lib_xml2_xmlNewDocPI=yes
11200 else
11201 ac_cv_lib_xml2_xmlNewDocPI=no
11203 rm -f core conftest.err conftest.$ac_objext \
11204 conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11208 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11209 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11211 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11216 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11217 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lxml2 $XML2_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char xmlSchemaSetParserStructuredErrors ();
11233 main ()
11235 return xmlSchemaSetParserStructuredErrors ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11242 else
11243 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11250 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11251 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11253 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11258 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11259 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lxml2 $XML2_LIBS $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char xmlSchemaSetValidStructuredErrors ();
11275 main ()
11277 return xmlSchemaSetValidStructuredErrors ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11284 else
11285 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11292 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11293 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11295 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11300 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11301 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lxml2 $XML2_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char xmlFirstElementChild ();
11317 main ()
11319 return xmlFirstElementChild ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_xml2_xmlFirstElementChild=yes
11326 else
11327 ac_cv_lib_xml2_xmlFirstElementChild=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11334 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11335 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11337 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11341 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11343 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11345 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11349 else
11350 XML2_CFLAGS=""
11351 XML2_LIBS=""
11353 CPPFLAGS=$ac_save_CPPFLAGS
11354 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11355 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11358 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11359 case "x$with_xml" in
11360 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11361 xno) ;;
11362 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11363 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11364 esac
11368 if test "x$with_xslt" != "xno"
11369 then
11370 if ${XSLT_CFLAGS:+false} :; then :
11371 if ${PKG_CONFIG+:} false; then :
11372 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11375 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11376 if ${XSLT_LIBS:+false} :; then :
11377 if ${PKG_CONFIG+:} false; then :
11378 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11381 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11382 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11383 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11384 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11385 ac_save_CPPFLAGS=$CPPFLAGS
11386 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11387 for ac_header in libxslt/pattern.h libxslt/transform.h
11388 do :
11389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11390 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11391 # include <libxslt/pattern.h>
11392 #endif
11394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11395 cat >>confdefs.h <<_ACEOF
11396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11397 _ACEOF
11401 done
11403 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11404 then
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11406 $as_echo_n "checking for -lxslt... " >&6; }
11407 if ${ac_cv_lib_soname_xslt+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_soname_save_LIBS=$LIBS
11411 LIBS="-lxslt $XSLT_LIBS $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char xsltCompilePattern ();
11423 main ()
11425 return xsltCompilePattern ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 case "$LIBEXT" in
11432 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11433 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'` ;;
11434 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11435 if ${ac_cv_lib_soname_xslt:+false} :; then :
11436 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11437 fi ;;
11438 esac
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_xslt:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11448 else
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11450 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11452 cat >>confdefs.h <<_ACEOF
11453 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11454 _ACEOF
11458 else
11459 XSLT_CFLAGS=""
11461 CPPFLAGS=$ac_save_CPPFLAGS
11462 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11463 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11466 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11467 case "x$with_xslt" in
11468 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11469 xno) ;;
11470 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11471 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11472 esac
11476 if test "x$with_dbus" != "xno"
11477 then
11478 if ${DBUS_CFLAGS:+false} :; then :
11479 if ${PKG_CONFIG+:} false; then :
11480 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11484 if ${DBUS_LIBS:+false} :; then :
11485 if ${PKG_CONFIG+:} false; then :
11486 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11491 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11492 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11493 ac_save_CPPFLAGS=$CPPFLAGS
11494 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11495 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11496 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11498 $as_echo_n "checking for -ldbus-1... " >&6; }
11499 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_soname_save_LIBS=$LIBS
11503 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char dbus_connection_close ();
11515 main ()
11517 return dbus_connection_close ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 case "$LIBEXT" in
11524 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 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'` ;;
11526 *) 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'`
11527 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11528 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11529 fi ;;
11530 esac
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_soname_save_LIBS
11536 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11538 $as_echo "not found" >&6; }
11539 DBUS_CFLAGS=""
11540 else
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11542 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11544 cat >>confdefs.h <<_ACEOF
11545 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11546 _ACEOF
11550 else
11551 DBUS_CFLAGS=""
11555 CPPFLAGS=$ac_save_CPPFLAGS
11556 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11557 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11560 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11561 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11562 case "x$with_dbus" in
11563 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11564 xno) ;;
11565 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11566 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11567 esac
11571 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11572 then
11573 if ${HAL_CFLAGS:+false} :; then :
11574 if ${PKG_CONFIG+:} false; then :
11575 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11579 if ${HAL_LIBS:+false} :; then :
11580 if ${PKG_CONFIG+:} false; then :
11581 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11585 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11586 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11587 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11588 ac_save_CPPFLAGS=$CPPFLAGS
11589 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11590 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11591 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11593 $as_echo_n "checking for -lhal... " >&6; }
11594 if ${ac_cv_lib_soname_hal+:} false; then :
11595 $as_echo_n "(cached) " >&6
11596 else
11597 ac_check_soname_save_LIBS=$LIBS
11598 LIBS="-lhal $HAL_LIBS $LIBS"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11605 #ifdef __cplusplus
11606 extern "C"
11607 #endif
11608 char libhal_ctx_new ();
11610 main ()
11612 return libhal_ctx_new ();
11614 return 0;
11616 _ACEOF
11617 if ac_fn_c_try_link "$LINENO"; then :
11618 case "$LIBEXT" in
11619 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11620 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'` ;;
11621 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11622 if ${ac_cv_lib_soname_hal:+false} :; then :
11623 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11624 fi ;;
11625 esac
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_soname_save_LIBS
11631 if ${ac_cv_lib_soname_hal:+false} :; then :
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11633 $as_echo "not found" >&6; }
11634 HAL_CFLAGS=""
11635 else
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11637 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11639 cat >>confdefs.h <<_ACEOF
11640 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11641 _ACEOF
11645 else
11646 HAL_CFLAGS=""
11650 CPPFLAGS=$ac_save_CPPFLAGS
11651 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11652 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11654 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11655 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11656 case "x$with_hal" in
11657 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11658 xno) ;;
11659 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11660 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11661 esac
11666 if test "x$with_gnutls" != "xno"
11667 then
11668 if ${GNUTLS_CFLAGS:+false} :; then :
11669 if ${PKG_CONFIG+:} false; then :
11670 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11674 if ${GNUTLS_LIBS:+false} :; then :
11675 if ${PKG_CONFIG+:} false; then :
11676 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11681 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11682 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11683 ac_save_CPPFLAGS=$CPPFLAGS
11684 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11685 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11686 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11689 #include <gnutls/gnutls.h>
11690 #include <gnutls/crypto.h>
11692 main ()
11694 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_compile "$LINENO"; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11701 $as_echo_n "checking for -lgnutls... " >&6; }
11702 if ${ac_cv_lib_soname_gnutls+:} false; then :
11703 $as_echo_n "(cached) " >&6
11704 else
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 char gnutls_global_init ();
11718 main ()
11720 return gnutls_global_init ();
11722 return 0;
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"; then :
11726 case "$LIBEXT" in
11727 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) 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'`
11730 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11731 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'`
11732 fi ;;
11733 esac
11735 rm -f core conftest.err conftest.$ac_objext \
11736 conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_soname_save_LIBS
11739 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11741 $as_echo "not found" >&6; }
11742 GNUTLS_CFLAGS=""
11743 else
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11745 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11747 cat >>confdefs.h <<_ACEOF
11748 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11749 _ACEOF
11753 ac_wine_check_funcs_save_LIBS="$LIBS"
11754 LIBS="$LIBS $GNUTLS_LIBS"
11755 for ac_func in gnutls_hash
11756 do :
11757 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11758 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11759 cat >>confdefs.h <<_ACEOF
11760 #define HAVE_GNUTLS_HASH 1
11761 _ACEOF
11763 else
11764 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11766 done
11768 LIBS="$ac_wine_check_funcs_save_LIBS"
11770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11771 else
11772 GNUTLS_CFLAGS=""
11776 CPPFLAGS=$ac_save_CPPFLAGS
11777 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11778 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11781 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11782 case "x$with_gnutls" in
11783 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11784 xno) ;;
11785 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11786 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11787 esac
11791 CURSES_LIBS=""
11792 if test "$ac_cv_header_ncurses_h" = "yes"
11793 then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11795 $as_echo_n "checking for -lncurses... " >&6; }
11796 if ${ac_cv_lib_soname_ncurses+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lncurses $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char waddch ();
11812 main ()
11814 return waddch ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 case "$LIBEXT" in
11821 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) 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'`
11824 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11825 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11826 fi ;;
11827 esac
11829 rm -f core conftest.err conftest.$ac_objext \
11830 conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11837 else
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11839 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11843 _ACEOF
11845 CURSES_LIBS="-lncurses"
11847 elif test "$ac_cv_header_curses_h" = "yes"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11850 $as_echo_n "checking for -lcurses... " >&6; }
11851 if ${ac_cv_lib_soname_curses+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_soname_save_LIBS=$LIBS
11855 LIBS="-lcurses $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char waddch ();
11867 main ()
11869 return waddch ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 case "$LIBEXT" in
11876 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_curses:+false} :; then :
11880 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 fi ;;
11882 esac
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_soname_save_LIBS
11888 if ${ac_cv_lib_soname_curses:+false} :; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11890 $as_echo "not found" >&6; }
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11894 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11896 cat >>confdefs.h <<_ACEOF
11897 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11898 _ACEOF
11900 CURSES_LIBS="-lcurses"
11903 ac_save_LIBS="$LIBS"
11904 LIBS="$LIBS $CURSES_LIBS"
11905 for ac_func in mousemask
11906 do :
11907 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11908 if test "x$ac_cv_func_mousemask" = xyes; then :
11909 cat >>confdefs.h <<_ACEOF
11910 #define HAVE_MOUSEMASK 1
11911 _ACEOF
11914 done
11916 LIBS="$ac_save_LIBS"
11917 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11918 case "x$with_curses" in
11919 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11920 xno) ;;
11921 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11922 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11923 esac
11927 if test "x$with_sane" != "xno"
11928 then
11929 if ${SANE_CFLAGS:+false} :; then :
11930 if ${PKG_CONFIG+:} false; then :
11931 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11934 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11935 if ${SANE_LIBS:+false} :; then :
11936 if ${PKG_CONFIG+:} false; then :
11937 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11940 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11942 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11943 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11944 ac_save_CPPFLAGS=$CPPFLAGS
11945 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11946 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11947 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11949 $as_echo_n "checking for -lsane... " >&6; }
11950 if ${ac_cv_lib_soname_sane+:} false; then :
11951 $as_echo_n "(cached) " >&6
11952 else
11953 ac_check_soname_save_LIBS=$LIBS
11954 LIBS="-lsane $SANE_LIBS $LIBS"
11955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 /* Override any GCC internal prototype to avoid an error.
11959 Use char because int might match the return type of a GCC
11960 builtin and then its argument prototype would still apply. */
11961 #ifdef __cplusplus
11962 extern "C"
11963 #endif
11964 char sane_init ();
11966 main ()
11968 return sane_init ();
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_link "$LINENO"; then :
11974 case "$LIBEXT" in
11975 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11976 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'` ;;
11977 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11978 if ${ac_cv_lib_soname_sane:+false} :; then :
11979 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11980 fi ;;
11981 esac
11983 rm -f core conftest.err conftest.$ac_objext \
11984 conftest$ac_exeext conftest.$ac_ext
11985 LIBS=$ac_check_soname_save_LIBS
11987 if ${ac_cv_lib_soname_sane:+false} :; then :
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11989 $as_echo "not found" >&6; }
11990 SANE_CFLAGS=""
11991 else
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11993 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11995 cat >>confdefs.h <<_ACEOF
11996 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11997 _ACEOF
12001 else
12002 SANE_CFLAGS=""
12006 CPPFLAGS=$ac_save_CPPFLAGS
12007 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12008 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12011 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12012 case "x$with_sane" in
12013 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12014 xno) ;;
12015 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12016 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12017 esac
12021 if test "x$with_v4l" != "xno"
12022 then
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12024 $as_echo_n "checking for -lv4l1... " >&6; }
12025 if ${ac_cv_lib_soname_v4l1+:} false; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 ac_check_soname_save_LIBS=$LIBS
12029 LIBS="-lv4l1 $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12036 #ifdef __cplusplus
12037 extern "C"
12038 #endif
12039 char v4l1_open ();
12041 main ()
12043 return v4l1_open ();
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_link "$LINENO"; then :
12049 case "$LIBEXT" in
12050 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12051 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'` ;;
12052 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12053 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12054 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12055 fi ;;
12056 esac
12058 rm -f core conftest.err conftest.$ac_objext \
12059 conftest$ac_exeext conftest.$ac_ext
12060 LIBS=$ac_check_soname_save_LIBS
12062 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12064 $as_echo "not found" >&6; }
12066 else
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12068 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12070 cat >>confdefs.h <<_ACEOF
12071 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12072 _ACEOF
12077 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12078 case "x$with_v4l" in
12079 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12080 xno) ;;
12081 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12082 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12083 esac
12087 if test "x$with_gphoto" != "xno"
12088 then
12089 if ${GPHOTO2_CFLAGS:+false} :; then :
12090 if ${PKG_CONFIG+:} false; then :
12091 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12094 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12095 if ${GPHOTO2_LIBS:+false} :; then :
12096 if ${PKG_CONFIG+:} false; then :
12097 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12100 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12101 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12102 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12104 ac_save_CPPFLAGS=$CPPFLAGS
12105 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12106 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12107 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12109 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12110 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char gp_camera_new ();
12126 main ()
12128 return gp_camera_new ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_gphoto2_gp_camera_new=yes
12135 else
12136 ac_cv_lib_gphoto2_gp_camera_new=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12143 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12144 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12146 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12148 else
12149 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12152 else
12153 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12157 CPPFLAGS=$ac_save_CPPFLAGS
12158 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12159 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12161 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12166 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12167 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12168 if ${PKG_CONFIG+:} false; then :
12169 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12172 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12173 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12174 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12178 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12179 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12181 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12182 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 #ifdef __cplusplus
12194 extern "C"
12195 #endif
12196 char gp_port_info_list_new ();
12198 main ()
12200 return gp_port_info_list_new ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"; then :
12206 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12207 else
12208 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12210 rm -f core conftest.err conftest.$ac_objext \
12211 conftest$ac_exeext conftest.$ac_ext
12212 LIBS=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12215 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12216 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12218 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12220 else
12221 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12224 else
12225 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12229 CPPFLAGS=$ac_save_CPPFLAGS
12230 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12231 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12234 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12235 case "x$with_gphoto" in
12236 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12237 xno) ;;
12238 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12239 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12240 esac
12243 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12244 case "x$with_gphoto" in
12245 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12246 xno) ;;
12247 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12248 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12249 esac
12254 if test "$ac_cv_header_resolv_h" = "yes"
12255 then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12257 $as_echo_n "checking for resolver library... " >&6; }
12258 if ${ac_cv_have_resolv+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_save_LIBS="$LIBS"
12262 for lib in '' -lresolv
12264 LIBS="$lib $ac_save_LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 #ifdef HAVE_NETINET_IN_H
12268 #include <netinet/in.h>
12269 #endif
12270 #include <resolv.h>
12272 main ()
12274 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 ac_cv_have_resolv=${lib:-"none required"}
12281 else
12282 ac_cv_have_resolv="not found"
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 test "x$ac_cv_have_resolv" = "xnot found" || break
12287 done
12288 LIBS="$ac_save_LIBS"
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12291 $as_echo "$ac_cv_have_resolv" >&6; }
12293 case "$ac_cv_have_resolv" in
12294 "not found") ;;
12295 "none required")
12297 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12300 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12302 RESOLV_LIBS=$ac_cv_have_resolv
12304 esac
12307 if test "x$with_cms" != "xno"
12308 then
12309 if ${LCMS2_CFLAGS:+false} :; then :
12310 if ${PKG_CONFIG+:} false; then :
12311 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12315 if ${LCMS2_LIBS:+false} :; then :
12316 if ${PKG_CONFIG+:} false; then :
12317 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12321 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12322 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12323 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12324 ac_save_CPPFLAGS=$CPPFLAGS
12325 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12326 for ac_header in lcms2.h
12327 do :
12328 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12329 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12330 cat >>confdefs.h <<_ACEOF
12331 #define HAVE_LCMS2_H 1
12332 _ACEOF
12336 done
12338 if test "$ac_cv_header_lcms2_h" = "yes"
12339 then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12341 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12342 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_check_lib_save_LIBS=$LIBS
12346 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 #ifdef __cplusplus
12354 extern "C"
12355 #endif
12356 char cmsOpenProfileFromFile ();
12358 main ()
12360 return cmsOpenProfileFromFile ();
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_link "$LINENO"; then :
12366 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12367 else
12368 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12370 rm -f core conftest.err conftest.$ac_objext \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_lib_save_LIBS
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12375 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12376 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12378 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12380 else
12381 LCMS2_LIBS=""
12384 else
12385 LCMS2_CFLAGS=""
12386 LCMS2_LIBS=""
12388 CPPFLAGS=$ac_save_CPPFLAGS
12389 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12390 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12393 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12394 case "x$with_cms" in
12395 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12396 xno) ;;
12397 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12398 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12399 esac
12403 if test "x$with_freetype" != "xno"
12404 then
12405 if ${FREETYPE_CFLAGS:+false} :; then :
12406 if ${PKG_CONFIG+:} false; then :
12407 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12410 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12411 if ${FREETYPE_LIBS:+false} :; then :
12412 if ${PKG_CONFIG+:} false; then :
12413 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12416 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12417 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12418 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12420 ac_save_CPPFLAGS=$CPPFLAGS
12421 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12422 for ac_header in ft2build.h
12423 do :
12424 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12425 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12426 cat >>confdefs.h <<_ACEOF
12427 #define HAVE_FT2BUILD_H 1
12428 _ACEOF
12432 done
12434 if test "$ac_cv_header_ft2build_h" = "yes"
12435 then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12437 $as_echo_n "checking for -lfreetype... " >&6; }
12438 if ${ac_cv_lib_soname_freetype+:} false; then :
12439 $as_echo_n "(cached) " >&6
12440 else
12441 ac_check_soname_save_LIBS=$LIBS
12442 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 char FT_Init_FreeType ();
12454 main ()
12456 return FT_Init_FreeType ();
12458 return 0;
12460 _ACEOF
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 case "$LIBEXT" in
12463 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12464 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'` ;;
12465 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12466 if ${ac_cv_lib_soname_freetype:+false} :; then :
12467 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12468 fi ;;
12469 esac
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_soname_save_LIBS
12475 if ${ac_cv_lib_soname_freetype:+false} :; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12477 $as_echo "not found" >&6; }
12478 FREETYPE_LIBS=""
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12481 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12483 cat >>confdefs.h <<_ACEOF
12484 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12485 _ACEOF
12488 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12490 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12491 #include FT_MODULE_H
12493 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12495 cat >>confdefs.h <<_ACEOF
12496 #define HAVE_FT_TRUETYPEENGINETYPE 1
12497 _ACEOF
12503 else
12504 FREETYPE_CFLAGS=""
12505 FREETYPE_LIBS=""
12507 CPPFLAGS=$ac_save_CPPFLAGS
12508 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12509 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12512 if test "x$ac_cv_lib_soname_freetype" = x; then :
12513 case "x$with_freetype" in
12514 xno) ;;
12515 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12516 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12517 esac
12518 enable_fonts=${enable_fonts:-no}
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12522 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12523 if ${ac_cv_c_ppdev+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12528 #ifdef HAVE_SYS_IOCTL_H
12529 # include <sys/ioctl.h>
12530 #endif
12531 #include <linux/ppdev.h>
12533 main ()
12535 ioctl (1,PPCLAIM,0)
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_compile "$LINENO"; then :
12541 ac_cv_c_ppdev="yes"
12542 else
12543 ac_cv_c_ppdev="no"
12545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12548 $as_echo "$ac_cv_c_ppdev" >&6; }
12549 if test "$ac_cv_c_ppdev" = "yes"
12550 then
12552 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12556 ac_wine_check_funcs_save_LIBS="$LIBS"
12557 LIBS="$LIBS $PTHREAD_LIBS"
12558 for ac_func in \
12559 pthread_attr_get_np \
12560 pthread_getattr_np \
12561 pthread_getthreadid_np \
12562 pthread_get_stackaddr_np \
12563 pthread_get_stacksize_np
12564 do :
12565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12567 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12570 _ACEOF
12573 done
12575 LIBS="$ac_wine_check_funcs_save_LIBS"
12577 if test "$ac_cv_header_zlib_h" = "yes"
12578 then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12580 $as_echo_n "checking for inflate in -lz... " >&6; }
12581 if ${ac_cv_lib_z_inflate+:} false; then :
12582 $as_echo_n "(cached) " >&6
12583 else
12584 ac_check_lib_save_LIBS=$LIBS
12585 LIBS="-lz $LIBS"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 /* Override any GCC internal prototype to avoid an error.
12590 Use char because int might match the return type of a GCC
12591 builtin and then its argument prototype would still apply. */
12592 #ifdef __cplusplus
12593 extern "C"
12594 #endif
12595 char inflate ();
12597 main ()
12599 return inflate ();
12601 return 0;
12603 _ACEOF
12604 if ac_fn_c_try_link "$LINENO"; then :
12605 ac_cv_lib_z_inflate=yes
12606 else
12607 ac_cv_lib_z_inflate=no
12609 rm -f core conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12611 LIBS=$ac_check_lib_save_LIBS
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12614 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12615 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12617 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12619 Z_LIBS="-lz"
12624 if test "x$Z_LIBS" = "x"; then :
12625 case "x$with_zlib" in
12626 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12627 xno) ;;
12628 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12629 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12630 esac
12634 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12635 then
12636 if test "$ac_cv_header_gettext_po_h" = "yes"
12637 then
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12639 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12640 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12641 $as_echo_n "(cached) " >&6
12642 else
12643 ac_check_lib_save_LIBS=$LIBS
12644 LIBS="-lgettextpo $LIBS"
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12648 /* Override any GCC internal prototype to avoid an error.
12649 Use char because int might match the return type of a GCC
12650 builtin and then its argument prototype would still apply. */
12651 #ifdef __cplusplus
12652 extern "C"
12653 #endif
12654 char po_message_msgctxt ();
12656 main ()
12658 return po_message_msgctxt ();
12660 return 0;
12662 _ACEOF
12663 if ac_fn_c_try_link "$LINENO"; then :
12664 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12665 else
12666 ac_cv_lib_gettextpo_po_message_msgctxt=no
12668 rm -f core conftest.err conftest.$ac_objext \
12669 conftest$ac_exeext conftest.$ac_ext
12670 LIBS=$ac_check_lib_save_LIBS
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12673 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12674 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12676 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12678 GETTEXTPO_LIBS="-lgettextpo"
12683 if test "x$GETTEXTPO_LIBS" = "x"; then :
12684 case "x$with_gettextpo" in
12685 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12686 xno) ;;
12687 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12688 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12689 esac
12692 if test "$srcdir" != .; then :
12693 case "x$with_gettextpo" in
12694 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12695 xno) ;;
12696 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12697 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12698 esac
12703 if test "x$with_pulse" != "xno";
12704 then
12705 if ${PULSE_CFLAGS:+false} :; then :
12706 if ${PKG_CONFIG+:} false; then :
12707 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12711 if ${PULSE_LIBS:+false} :; then :
12712 if ${PKG_CONFIG+:} false; then :
12713 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12718 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12719 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12720 ac_save_CPPFLAGS=$CPPFLAGS
12721 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12722 for ac_header in pulse/pulseaudio.h
12723 do :
12724 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12725 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12726 cat >>confdefs.h <<_ACEOF
12727 #define HAVE_PULSE_PULSEAUDIO_H 1
12728 _ACEOF
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12730 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12731 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 ac_check_lib_save_LIBS=$LIBS
12735 LIBS="-lpulse $PULSE_LIBS $LIBS"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char pa_stream_is_corked ();
12747 main ()
12749 return pa_stream_is_corked ();
12751 return 0;
12753 _ACEOF
12754 if ac_fn_c_try_link "$LINENO"; then :
12755 ac_cv_lib_pulse_pa_stream_is_corked=yes
12756 else
12757 ac_cv_lib_pulse_pa_stream_is_corked=no
12759 rm -f core conftest.err conftest.$ac_objext \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12764 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12765 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12767 else
12768 PULSE_LIBS=""
12771 else
12772 PULSE_LIBS=""
12775 done
12777 CPPFLAGS=$ac_save_CPPFLAGS
12778 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12779 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12782 if test -z "$PULSE_LIBS"; then :
12783 case "x$with_pulse" in
12784 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12785 xno) ;;
12786 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12787 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12788 esac
12789 enable_winepulse_drv=${enable_winepulse_drv:-no}
12792 if test "x$with_gstreamer" != "xno"
12793 then
12794 if ${GSTREAMER_CFLAGS:+false} :; then :
12795 if ${PKG_CONFIG+:} false; then :
12796 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12800 if ${GSTREAMER_LIBS:+false} :; then :
12801 if ${PKG_CONFIG+:} false; then :
12802 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12807 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12808 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12809 ac_save_CPPFLAGS=$CPPFLAGS
12810 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12811 ac_gst_incl=""
12812 for i in $GSTREAMER_CFLAGS
12814 case "$i" in
12815 -I*) ac_gst_incl="$ac_gst_incl $i";;
12816 esac
12817 done
12818 GSTREAMER_CFLAGS=$ac_gst_incl
12819 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12820 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12821 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12823 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12826 #include <gst/gst.h>
12828 main ()
12830 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_compile "$LINENO"; then :
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12837 $as_echo "yes" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12839 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12840 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char gst_pad_new ();
12856 main ()
12858 return gst_pad_new ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12865 else
12866 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12873 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12874 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12878 else
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12881 ac_glib2_broken=yes
12882 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 CPPFLAGS=$ac_save_CPPFLAGS
12889 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12890 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12893 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 :
12894 case "x$with_gstreamer" in
12895 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12896 xno) ;;
12897 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12898 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12899 esac
12902 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12904 ALSA_LIBS=""
12906 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12907 then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12909 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12910 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12911 $as_echo_n "(cached) " >&6
12912 else
12913 ac_check_lib_save_LIBS=$LIBS
12914 LIBS="-lasound $LIBS"
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12921 #ifdef __cplusplus
12922 extern "C"
12923 #endif
12924 char snd_pcm_hw_params_get_access_mask ();
12926 main ()
12928 return snd_pcm_hw_params_get_access_mask ();
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_link "$LINENO"; then :
12934 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12935 else
12936 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12938 rm -f core conftest.err conftest.$ac_objext \
12939 conftest$ac_exeext conftest.$ac_ext
12940 LIBS=$ac_check_lib_save_LIBS
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12943 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12944 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12947 #ifdef HAVE_ALSA_ASOUNDLIB_H
12948 #include <alsa/asoundlib.h>
12949 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12950 #include <sys/asoundlib.h>
12951 #endif
12953 main ()
12955 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_compile "$LINENO"; then :
12961 ALSA_LIBS="-lasound"
12963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12967 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12969 if test "x$with_oss" != xno
12970 then
12971 ac_save_CPPFLAGS="$CPPFLAGS"
12972 if test -f /etc/oss.conf
12973 then
12974 . /etc/oss.conf
12976 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12977 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12978 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12979 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12980 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12982 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12984 cat >>confdefs.h <<_ACEOF
12985 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12986 _ACEOF
12988 OSS4_CFLAGS="$ac_oss_incl"
12995 CPPFLAGS="$ac_save_CPPFLAGS"
12997 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12998 case "x$with_oss" in
12999 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13000 xno) ;;
13001 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13002 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13003 esac
13004 enable_wineoss_drv=${enable_wineoss_drv:-no}
13007 if test "x$with_udev" != "xno"
13008 then
13009 if ${UDEV_CFLAGS:+false} :; then :
13010 if ${PKG_CONFIG+:} false; then :
13011 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13015 if ${UDEV_LIBS:+false} :; then :
13016 if ${PKG_CONFIG+:} false; then :
13017 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13021 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13022 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13023 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13024 ac_save_CPPFLAGS=$CPPFLAGS
13025 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13026 for ac_header in libudev.h
13027 do :
13028 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13029 if test "x$ac_cv_header_libudev_h" = xyes; then :
13030 cat >>confdefs.h <<_ACEOF
13031 #define HAVE_LIBUDEV_H 1
13032 _ACEOF
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13034 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13035 if ${ac_cv_lib_udev_udev_new+:} false; then :
13036 $as_echo_n "(cached) " >&6
13037 else
13038 ac_check_lib_save_LIBS=$LIBS
13039 LIBS="-ludev $UDEV_LIBS $LIBS"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char udev_new ();
13051 main ()
13053 return udev_new ();
13055 return 0;
13057 _ACEOF
13058 if ac_fn_c_try_link "$LINENO"; then :
13059 ac_cv_lib_udev_udev_new=yes
13060 else
13061 ac_cv_lib_udev_udev_new=no
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 LIBS=$ac_check_lib_save_LIBS
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13068 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13069 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13071 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13073 else
13074 UDEV_LIBS=""
13077 else
13078 UDEV_LIBS=""
13081 done
13083 CPPFLAGS=$ac_save_CPPFLAGS
13084 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13085 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13088 if test "x$UDEV_LIBS" = "x"; then :
13089 case "x$with_udev" in
13090 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13091 xno) ;;
13092 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13093 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13094 esac
13098 if test "x$with_capi" != "xno"
13099 then
13100 if ${CAPI20_CFLAGS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13106 if ${CAPI20_LIBS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13113 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13115 ac_save_CPPFLAGS=$CPPFLAGS
13116 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13117 for ac_header in capi20.h linux/capi.h
13118 do :
13119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13120 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13122 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13123 cat >>confdefs.h <<_ACEOF
13124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13125 _ACEOF
13129 done
13131 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13132 then
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13134 $as_echo_n "checking for -lcapi20... " >&6; }
13135 if ${ac_cv_lib_soname_capi20+:} false; then :
13136 $as_echo_n "(cached) " >&6
13137 else
13138 ac_check_soname_save_LIBS=$LIBS
13139 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 #ifdef __cplusplus
13147 extern "C"
13148 #endif
13149 char capi20_register ();
13151 main ()
13153 return capi20_register ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 case "$LIBEXT" in
13160 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13161 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'` ;;
13162 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13163 if ${ac_cv_lib_soname_capi20:+false} :; then :
13164 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13165 fi ;;
13166 esac
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_soname_save_LIBS
13172 if ${ac_cv_lib_soname_capi20:+false} :; then :
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13174 $as_echo "not found" >&6; }
13176 else
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13178 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13180 cat >>confdefs.h <<_ACEOF
13181 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13182 _ACEOF
13187 CPPFLAGS=$ac_save_CPPFLAGS
13188 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13189 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13192 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13193 case "x$with_capi" in
13194 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13195 xno) ;;
13196 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13197 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13198 esac
13202 CUPS_CFLAGS=""
13204 if test "x$with_cups" != "xno"
13205 then
13206 ac_save_CPPFLAGS="$CPPFLAGS"
13207 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13208 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13209 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13210 for ac_header in cups/cups.h
13211 do :
13212 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13214 cat >>confdefs.h <<_ACEOF
13215 #define HAVE_CUPS_CUPS_H 1
13216 _ACEOF
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13218 $as_echo_n "checking for -lcups... " >&6; }
13219 if ${ac_cv_lib_soname_cups+:} false; then :
13220 $as_echo_n "(cached) " >&6
13221 else
13222 ac_check_soname_save_LIBS=$LIBS
13223 LIBS="-lcups $ac_cups_libs $LIBS"
13224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13227 /* Override any GCC internal prototype to avoid an error.
13228 Use char because int might match the return type of a GCC
13229 builtin and then its argument prototype would still apply. */
13230 #ifdef __cplusplus
13231 extern "C"
13232 #endif
13233 char cupsGetDefault ();
13235 main ()
13237 return cupsGetDefault ();
13239 return 0;
13241 _ACEOF
13242 if ac_fn_c_try_link "$LINENO"; then :
13243 case "$LIBEXT" in
13244 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13245 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'` ;;
13246 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13247 if ${ac_cv_lib_soname_cups:+false} :; then :
13248 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13249 fi ;;
13250 esac
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_soname_save_LIBS
13256 if ${ac_cv_lib_soname_cups:+false} :; then :
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13258 $as_echo "not found" >&6; }
13260 else
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13262 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13264 cat >>confdefs.h <<_ACEOF
13265 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13266 _ACEOF
13268 CUPS_CFLAGS="$ac_cups_cflags"
13270 for ac_header in cups/ppd.h
13271 do :
13272 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13273 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13274 cat >>confdefs.h <<_ACEOF
13275 #define HAVE_CUPS_PPD_H 1
13276 _ACEOF
13280 done
13284 done
13286 CPPFLAGS="$ac_save_CPPFLAGS"
13288 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13289 case "x$with_cups" in
13290 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13291 xno) ;;
13292 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13293 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13294 esac
13298 if test "x$with_fontconfig" != "xno"
13299 then
13300 if ${FONTCONFIG_CFLAGS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13305 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13306 if ${FONTCONFIG_LIBS:+false} :; then :
13307 if ${PKG_CONFIG+:} false; then :
13308 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13311 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13313 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13315 ac_save_CPPFLAGS=$CPPFLAGS
13316 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13317 for ac_header in fontconfig/fontconfig.h
13318 do :
13319 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13320 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13321 cat >>confdefs.h <<_ACEOF
13322 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13323 _ACEOF
13327 done
13329 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13330 then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13332 $as_echo_n "checking for -lfontconfig... " >&6; }
13333 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_soname_save_LIBS=$LIBS
13337 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char FcInit ();
13349 main ()
13351 return FcInit ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 case "$LIBEXT" in
13358 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13361 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13362 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13363 fi ;;
13364 esac
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_soname_save_LIBS
13370 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13372 $as_echo "not found" >&6; }
13373 FONTCONFIG_CFLAGS=""
13374 else
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13376 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13378 cat >>confdefs.h <<_ACEOF
13379 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13380 _ACEOF
13384 else
13385 FONTCONFIG_CFLAGS=""
13387 CPPFLAGS=$ac_save_CPPFLAGS
13388 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13389 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13392 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13393 case "x$with_fontconfig" in
13394 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13395 xno) ;;
13396 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13397 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13398 esac
13402 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13403 then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13405 $as_echo_n "checking for -lgsm... " >&6; }
13406 if ${ac_cv_lib_soname_gsm+:} false; then :
13407 $as_echo_n "(cached) " >&6
13408 else
13409 ac_check_soname_save_LIBS=$LIBS
13410 LIBS="-lgsm $LIBS"
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13417 #ifdef __cplusplus
13418 extern "C"
13419 #endif
13420 char gsm_create ();
13422 main ()
13424 return gsm_create ();
13426 return 0;
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 case "$LIBEXT" in
13431 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13432 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'` ;;
13433 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13434 if ${ac_cv_lib_soname_gsm:+false} :; then :
13435 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13436 fi ;;
13437 esac
13439 rm -f core conftest.err conftest.$ac_objext \
13440 conftest$ac_exeext conftest.$ac_ext
13441 LIBS=$ac_check_soname_save_LIBS
13443 if ${ac_cv_lib_soname_gsm:+false} :; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13445 $as_echo "not found" >&6; }
13447 else
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13449 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13451 cat >>confdefs.h <<_ACEOF
13452 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13453 _ACEOF
13458 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13459 case "x$with_gsm" in
13460 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13461 xno) ;;
13462 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13463 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13464 esac
13468 if test "x$with_jpeg" != "xno"
13469 then
13470 if ${JPEG_CFLAGS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13476 if ${JPEG_LIBS:+false} :; then :
13477 if ${PKG_CONFIG+:} false; then :
13478 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13483 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13484 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13485 ac_save_CPPFLAGS=$CPPFLAGS
13486 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13487 for ac_header in jpeglib.h
13488 do :
13489 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13490 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13491 cat >>confdefs.h <<_ACEOF
13492 #define HAVE_JPEGLIB_H 1
13493 _ACEOF
13497 done
13499 if test "$ac_cv_header_jpeglib_h" = "yes"
13500 then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13502 $as_echo_n "checking for -ljpeg... " >&6; }
13503 if ${ac_cv_lib_soname_jpeg+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_check_soname_save_LIBS=$LIBS
13507 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13514 #ifdef __cplusplus
13515 extern "C"
13516 #endif
13517 char jpeg_start_decompress ();
13519 main ()
13521 return jpeg_start_decompress ();
13523 return 0;
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 case "$LIBEXT" in
13528 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13529 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'` ;;
13530 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13531 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13532 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13533 fi ;;
13534 esac
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_soname_save_LIBS
13540 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13542 $as_echo "not found" >&6; }
13543 JPEG_CFLAGS=""
13544 else
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13546 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13548 cat >>confdefs.h <<_ACEOF
13549 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13550 _ACEOF
13554 else
13555 JPEG_CFLAGS=""
13557 CPPFLAGS=$ac_save_CPPFLAGS
13558 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13559 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13562 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13563 case "x$with_jpeg" in
13564 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13565 xno) ;;
13566 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13567 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13568 esac
13572 if test "x$with_png" != "xno"
13573 then
13574 if ${PNG_CFLAGS:+false} :; then :
13575 if ${PKG_CONFIG+:} false; then :
13576 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13579 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13580 if ${PNG_LIBS:+false} :; then :
13581 if ${PKG_CONFIG+:} false; then :
13582 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13585 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13587 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13588 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13589 ac_save_CPPFLAGS=$CPPFLAGS
13590 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13591 for ac_header in png.h
13592 do :
13593 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13594 if test "x$ac_cv_header_png_h" = xyes; then :
13595 cat >>confdefs.h <<_ACEOF
13596 #define HAVE_PNG_H 1
13597 _ACEOF
13601 done
13603 if test "$ac_cv_header_png_h" = "yes"
13604 then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13606 $as_echo_n "checking for -lpng... " >&6; }
13607 if ${ac_cv_lib_soname_png+:} false; then :
13608 $as_echo_n "(cached) " >&6
13609 else
13610 ac_check_soname_save_LIBS=$LIBS
13611 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13615 /* Override any GCC internal prototype to avoid an error.
13616 Use char because int might match the return type of a GCC
13617 builtin and then its argument prototype would still apply. */
13618 #ifdef __cplusplus
13619 extern "C"
13620 #endif
13621 char png_create_read_struct ();
13623 main ()
13625 return png_create_read_struct ();
13627 return 0;
13629 _ACEOF
13630 if ac_fn_c_try_link "$LINENO"; then :
13631 case "$LIBEXT" in
13632 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13633 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'` ;;
13634 *) 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'`
13635 if ${ac_cv_lib_soname_png:+false} :; then :
13636 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13637 fi ;;
13638 esac
13640 rm -f core conftest.err conftest.$ac_objext \
13641 conftest$ac_exeext conftest.$ac_ext
13642 LIBS=$ac_check_soname_save_LIBS
13644 if ${ac_cv_lib_soname_png:+false} :; then :
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13646 $as_echo "not found" >&6; }
13647 PNG_CFLAGS=""
13648 else
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13650 $as_echo "$ac_cv_lib_soname_png" >&6; }
13652 cat >>confdefs.h <<_ACEOF
13653 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13654 _ACEOF
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13658 #include <png.h>
13660 main ()
13662 typeof(png_set_expand_gray_1_2_4_to_8) *p
13664 return 0;
13666 _ACEOF
13667 if ac_fn_c_try_compile "$LINENO"; then :
13669 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13674 else
13675 PNG_CFLAGS=""
13677 CPPFLAGS=$ac_save_CPPFLAGS
13678 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13679 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13682 if test "x$ac_cv_lib_soname_png" = "x"; then :
13683 case "x$with_png" in
13684 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13685 xno) ;;
13686 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13687 This is an error since --with-png was requested." "$LINENO" 5 ;;
13688 esac
13692 if test "x$with_tiff" != "xno"
13693 then
13694 if ${TIFF_CFLAGS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13700 if ${TIFF_LIBS:+false} :; then :
13701 if ${PKG_CONFIG+:} false; then :
13702 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13707 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13708 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13709 ac_save_CPPFLAGS=$CPPFLAGS
13710 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13711 for ac_header in tiffio.h
13712 do :
13713 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13714 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13715 cat >>confdefs.h <<_ACEOF
13716 #define HAVE_TIFFIO_H 1
13717 _ACEOF
13721 done
13723 if test "$ac_cv_header_tiffio_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13726 $as_echo_n "checking for -ltiff... " >&6; }
13727 if ${ac_cv_lib_soname_tiff+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_soname_save_LIBS=$LIBS
13731 LIBS="-ltiff $TIFF_LIBS $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char TIFFClientOpen ();
13743 main ()
13745 return TIFFClientOpen ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 case "$LIBEXT" in
13752 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13753 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'` ;;
13754 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13755 if ${ac_cv_lib_soname_tiff:+false} :; then :
13756 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13757 fi ;;
13758 esac
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_soname_save_LIBS
13764 if ${ac_cv_lib_soname_tiff:+false} :; then :
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13766 $as_echo "not found" >&6; }
13768 else
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13770 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13772 cat >>confdefs.h <<_ACEOF
13773 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13774 _ACEOF
13779 CPPFLAGS=$ac_save_CPPFLAGS
13780 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13781 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13784 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13785 case "x$with_tiff" in
13786 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13787 xno) ;;
13788 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13789 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13790 esac
13794 if test "x$with_mpg123" != "xno"
13795 then
13796 if ${MPG123_CFLAGS:+false} :; then :
13797 if ${PKG_CONFIG+:} false; then :
13798 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13802 if ${MPG123_LIBS:+false} :; then :
13803 if ${PKG_CONFIG+:} false; then :
13804 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13808 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13809 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13810 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13811 ac_save_CPPFLAGS=$CPPFLAGS
13812 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13813 for ac_header in mpg123.h
13814 do :
13815 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13816 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_MPG123_H 1
13819 _ACEOF
13823 done
13825 if test "$ac_cv_header_mpg123_h" = "yes"
13826 then
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13828 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13829 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 ac_check_lib_save_LIBS=$LIBS
13833 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13840 #ifdef __cplusplus
13841 extern "C"
13842 #endif
13843 char mpg123_feed ();
13845 main ()
13847 return mpg123_feed ();
13849 return 0;
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_cv_lib_mpg123_mpg123_feed=yes
13854 else
13855 ac_cv_lib_mpg123_mpg123_feed=no
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_lib_save_LIBS
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13862 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13863 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13865 else
13866 MPG123_LIBS=""
13869 else
13870 MPG123_CFLAGS=""
13871 MPG123_LIBS=""
13873 CPPFLAGS=$ac_save_CPPFLAGS
13874 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13875 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13878 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13879 case "x$with_mpg123" in
13880 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13881 xno) ;;
13882 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13883 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13884 esac
13885 enable_winemp3_acm=${enable_winemp3_acm:-no}
13888 if test "$ac_cv_header_AL_al_h" = "yes"
13889 then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13891 $as_echo_n "checking for -lopenal... " >&6; }
13892 if ${ac_cv_lib_soname_openal+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_soname_save_LIBS=$LIBS
13896 LIBS="-lopenal $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char alGetSource3i ();
13908 main ()
13910 return alGetSource3i ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 case "$LIBEXT" in
13917 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13918 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'` ;;
13919 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13920 if ${ac_cv_lib_soname_openal:+false} :; then :
13921 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13922 fi ;;
13923 esac
13925 rm -f core conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_soname_save_LIBS
13929 if ${ac_cv_lib_soname_openal:+false} :; then :
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13931 $as_echo "not found" >&6; }
13933 else
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13935 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13937 cat >>confdefs.h <<_ACEOF
13938 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13939 _ACEOF
13941 OPENAL_LIBS="-lopenal"
13943 ac_cv_lib_openal=yes
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_OPENAL 1
13947 _ACEOF
13951 if test "x$ac_cv_lib_openal" != xyes; then :
13952 case "x$with_openal" in
13953 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13954 xno) ;;
13955 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13956 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13957 esac
13958 enable_openal32=${enable_openal32:-no}
13961 if test "x$ac_cv_lib_openal" = xyes
13962 then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13964 $as_echo_n "checking for openal-soft... " >&6; }
13965 if ${ac_cv_have_openalsoft+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 #include <AL/al.h>
13971 #include <AL/alc.h>
13972 #include <AL/alext.h>
13973 LPALCRENDERSAMPLESSOFT x;
13975 main ()
13979 return 0;
13981 _ACEOF
13982 if ac_fn_c_try_compile "$LINENO"; then :
13983 ac_cv_have_openalsoft=yes
13984 else
13985 ac_cv_have_openalsoft=no
13987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13990 $as_echo "$ac_cv_have_openalsoft" >&6; }
13992 if test "x$ac_cv_have_openalsoft" != xyes
13993 then
13994 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13995 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13996 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13997 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13998 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13999 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14000 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14001 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14002 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14003 enable_xapofx1_1=${enable_xapofx1_1:-no}
14004 enable_xapofx1_2=${enable_xapofx1_2:-no}
14005 enable_xapofx1_3=${enable_xapofx1_3:-no}
14006 enable_xapofx1_4=${enable_xapofx1_4:-no}
14007 enable_xapofx1_5=${enable_xapofx1_5:-no}
14008 enable_xaudio2_0=${enable_xaudio2_0:-no}
14009 enable_xaudio2_1=${enable_xaudio2_1:-no}
14010 enable_xaudio2_2=${enable_xaudio2_2:-no}
14011 enable_xaudio2_3=${enable_xaudio2_3:-no}
14012 enable_xaudio2_4=${enable_xaudio2_4:-no}
14013 enable_xaudio2_5=${enable_xaudio2_5:-no}
14014 enable_xaudio2_6=${enable_xaudio2_6:-no}
14015 enable_xaudio2_7=${enable_xaudio2_7:-no}
14016 enable_xaudio2_8=${enable_xaudio2_8:-no}
14017 enable_xaudio2_9=${enable_xaudio2_9:-no}
14020 if test "$ac_cv_header_kstat_h" = "yes"
14021 then
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14023 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14024 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_check_lib_save_LIBS=$LIBS
14028 LIBS="-lkstat $LIBS"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14032 /* Override any GCC internal prototype to avoid an error.
14033 Use char because int might match the return type of a GCC
14034 builtin and then its argument prototype would still apply. */
14035 #ifdef __cplusplus
14036 extern "C"
14037 #endif
14038 char kstat_open ();
14040 main ()
14042 return kstat_open ();
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 ac_cv_lib_kstat_kstat_open=yes
14049 else
14050 ac_cv_lib_kstat_kstat_open=no
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14054 LIBS=$ac_check_lib_save_LIBS
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14057 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14058 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14060 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14062 KSTAT_LIBS="-lkstat"
14068 if test "$ac_cv_header_libprocstat_h" = "yes"
14069 then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14071 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14072 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lprocstat $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char procstat_open_sysctl ();
14088 main ()
14090 return procstat_open_sysctl ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_lib_procstat_procstat_open_sysctl=yes
14097 else
14098 ac_cv_lib_procstat_procstat_open_sysctl=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_lib_save_LIBS
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14105 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14106 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14108 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14110 PROCSTAT_LIBS="-lprocstat"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14117 $as_echo_n "checking for -lodbc... " >&6; }
14118 if ${ac_cv_lib_soname_odbc+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_soname_save_LIBS=$LIBS
14122 LIBS="-lodbc $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char SQLConnect ();
14134 main ()
14136 return SQLConnect ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 case "$LIBEXT" in
14143 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14144 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'` ;;
14145 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14146 if ${ac_cv_lib_soname_odbc:+false} :; then :
14147 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14148 fi ;;
14149 esac
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_soname_save_LIBS
14155 if ${ac_cv_lib_soname_odbc:+false} :; then :
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14157 $as_echo "not found" >&6; }
14158 cat >>confdefs.h <<_ACEOF
14159 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14160 _ACEOF
14162 else
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14164 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14166 cat >>confdefs.h <<_ACEOF
14167 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14168 _ACEOF
14173 if test "x$with_netapi" != "xno"
14174 then
14175 if ${NETAPI_CFLAGS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14181 if ${NETAPI_LIBS:+false} :; then :
14182 if ${PKG_CONFIG+:} false; then :
14183 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14188 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14189 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14190 ac_save_CPPFLAGS=$CPPFLAGS
14191 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14193 $as_echo_n "checking for -lnetapi... " >&6; }
14194 if ${ac_cv_lib_soname_netapi+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 ac_check_soname_save_LIBS=$LIBS
14198 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14202 /* Override any GCC internal prototype to avoid an error.
14203 Use char because int might match the return type of a GCC
14204 builtin and then its argument prototype would still apply. */
14205 #ifdef __cplusplus
14206 extern "C"
14207 #endif
14208 char libnetapi_init ();
14210 main ()
14212 return libnetapi_init ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 case "$LIBEXT" in
14219 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14220 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'` ;;
14221 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14222 if ${ac_cv_lib_soname_netapi:+false} :; then :
14223 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14224 fi ;;
14225 esac
14227 rm -f core conftest.err conftest.$ac_objext \
14228 conftest$ac_exeext conftest.$ac_ext
14229 LIBS=$ac_check_soname_save_LIBS
14231 if ${ac_cv_lib_soname_netapi:+false} :; then :
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14233 $as_echo "not found" >&6; }
14234 cat >>confdefs.h <<_ACEOF
14235 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14236 _ACEOF
14238 else
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14240 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14242 cat >>confdefs.h <<_ACEOF
14243 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14244 _ACEOF
14248 CPPFLAGS=$ac_save_CPPFLAGS
14249 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14250 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14254 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14255 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14256 then
14257 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14261 EXTRACFLAGS=""
14263 if test "x${GCC}" = "xyes"
14264 then
14265 EXTRACFLAGS="-Wall -pipe"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14268 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14269 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 if test "$cross_compiling" = yes; then :
14273 ac_cv_c_gcc_strength_bug="no"
14274 else
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 int L[4] = {0,1,2,3};
14279 main ()
14281 static int Array[3];
14282 unsigned int B = 3;
14283 int i;
14284 for(i=0; i<B; i++) Array[i] = i - 3;
14285 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14286 L[i] = 4;
14287 return (Array[1] != -2 || L[2] != 3)
14289 return 0;
14291 _ACEOF
14292 if ac_fn_c_try_run "$LINENO"; then :
14293 ac_cv_c_gcc_strength_bug="no"
14294 else
14295 ac_cv_c_gcc_strength_bug="yes"
14297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14298 conftest.$ac_objext conftest.beam conftest.$ac_ext
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14303 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14304 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14305 then
14306 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14310 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14311 if ${ac_cv_cflags__fno_builtin+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 ac_wine_try_cflags_saved=$CFLAGS
14315 CFLAGS="$CFLAGS -fno-builtin"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int main(int argc, char **argv) { return 0; }
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_cflags__fno_builtin=yes
14322 else
14323 ac_cv_cflags__fno_builtin=no
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 CFLAGS=$ac_wine_try_cflags_saved
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14330 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14331 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14332 BUILTINFLAG="-fno-builtin"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14336 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14337 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_wine_try_cflags_saved=$CFLAGS
14341 CFLAGS="$CFLAGS -fno-strict-aliasing"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_cflags__fno_strict_aliasing=yes
14348 else
14349 ac_cv_cflags__fno_strict_aliasing=no
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14353 CFLAGS=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14356 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14357 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14358 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14361 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14362 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_wine_try_cflags_saved=$CFLAGS
14366 CFLAGS="$CFLAGS -fexcess-precision=standard"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 int main(int argc, char **argv) { return 0; }
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 ac_cv_cflags__fexcess_precision_standard=yes
14373 else
14374 ac_cv_cflags__fexcess_precision_standard=no
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 CFLAGS=$ac_wine_try_cflags_saved
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14381 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14382 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14383 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14386 saved_CFLAGS=$CFLAGS
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14388 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14389 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_wine_try_cflags_saved=$CFLAGS
14393 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 int main(int argc, char **argv) { return 0; }
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"; then :
14399 ac_cv_cflags__Werror_unknown_warning_option=yes
14400 else
14401 ac_cv_cflags__Werror_unknown_warning_option=no
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 CFLAGS=$ac_wine_try_cflags_saved
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14408 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14409 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14410 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14413 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14414 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_wine_try_cflags_saved=$CFLAGS
14418 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 int main(int argc, char **argv) { return 0; }
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_cflags__Wdeclaration_after_statement=yes
14425 else
14426 ac_cv_cflags__Wdeclaration_after_statement=no
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14430 CFLAGS=$ac_wine_try_cflags_saved
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14433 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14434 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14435 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14438 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14439 if ${ac_cv_cflags__Wempty_body+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_wine_try_cflags_saved=$CFLAGS
14443 CFLAGS="$CFLAGS -Wempty-body"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 int main(int argc, char **argv) { return 0; }
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_cflags__Wempty_body=yes
14450 else
14451 ac_cv_cflags__Wempty_body=no
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 CFLAGS=$ac_wine_try_cflags_saved
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14458 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14459 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14460 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14463 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14464 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_wine_try_cflags_saved=$CFLAGS
14468 CFLAGS="$CFLAGS -Wignored-qualifiers"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14471 int main(int argc, char **argv) { return 0; }
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_cflags__Wignored_qualifiers=yes
14475 else
14476 ac_cv_cflags__Wignored_qualifiers=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 CFLAGS=$ac_wine_try_cflags_saved
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14483 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14484 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14485 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14488 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14489 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14490 $as_echo_n "(cached) " >&6
14491 else
14492 ac_wine_try_cflags_saved=$CFLAGS
14493 CFLAGS="$CFLAGS -Wshift-overflow=2"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14496 int main(int argc, char **argv) { return 0; }
14497 _ACEOF
14498 if ac_fn_c_try_link "$LINENO"; then :
14499 ac_cv_cflags__Wshift_overflow_2=yes
14500 else
14501 ac_cv_cflags__Wshift_overflow_2=no
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14505 CFLAGS=$ac_wine_try_cflags_saved
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14508 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14509 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14510 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14513 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14514 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14515 $as_echo_n "(cached) " >&6
14516 else
14517 ac_wine_try_cflags_saved=$CFLAGS
14518 CFLAGS="$CFLAGS -Wstrict-prototypes"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 int main(int argc, char **argv) { return 0; }
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"; then :
14524 ac_cv_cflags__Wstrict_prototypes=yes
14525 else
14526 ac_cv_cflags__Wstrict_prototypes=no
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 CFLAGS=$ac_wine_try_cflags_saved
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14533 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14534 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14535 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14538 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14539 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_wine_try_cflags_saved=$CFLAGS
14543 CFLAGS="$CFLAGS -Wtype-limits"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 int main(int argc, char **argv) { return 0; }
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 ac_cv_cflags__Wtype_limits=yes
14550 else
14551 ac_cv_cflags__Wtype_limits=no
14553 rm -f core conftest.err conftest.$ac_objext \
14554 conftest$ac_exeext conftest.$ac_ext
14555 CFLAGS=$ac_wine_try_cflags_saved
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14558 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14559 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14560 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14563 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14564 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_wine_try_cflags_saved=$CFLAGS
14568 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14571 int main(int argc, char **argv) { return 0; }
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_cflags__Wunused_but_set_parameter=yes
14575 else
14576 ac_cv_cflags__Wunused_but_set_parameter=no
14578 rm -f core conftest.err conftest.$ac_objext \
14579 conftest$ac_exeext conftest.$ac_ext
14580 CFLAGS=$ac_wine_try_cflags_saved
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14583 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14584 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14585 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14588 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14589 if ${ac_cv_cflags__Wvla+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 ac_wine_try_cflags_saved=$CFLAGS
14593 CFLAGS="$CFLAGS -Wvla"
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14596 int main(int argc, char **argv) { return 0; }
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_cflags__Wvla=yes
14600 else
14601 ac_cv_cflags__Wvla=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 CFLAGS=$ac_wine_try_cflags_saved
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14608 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14609 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14610 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14613 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14614 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 ac_wine_try_cflags_saved=$CFLAGS
14618 CFLAGS="$CFLAGS -Wwrite-strings"
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 int main(int argc, char **argv) { return 0; }
14622 _ACEOF
14623 if ac_fn_c_try_link "$LINENO"; then :
14624 ac_cv_cflags__Wwrite_strings=yes
14625 else
14626 ac_cv_cflags__Wwrite_strings=no
14628 rm -f core conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14630 CFLAGS=$ac_wine_try_cflags_saved
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14633 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14634 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14635 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14639 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14640 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 ac_wine_try_cflags_saved=$CFLAGS
14644 CFLAGS="$CFLAGS -Wpointer-arith"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 int main(int argc, char **argv) { return 0; }
14648 _ACEOF
14649 if ac_fn_c_try_link "$LINENO"; then :
14650 ac_cv_cflags__Wpointer_arith=yes
14651 else
14652 ac_cv_cflags__Wpointer_arith=no
14654 rm -f core conftest.err conftest.$ac_objext \
14655 conftest$ac_exeext conftest.$ac_ext
14656 CFLAGS=$ac_wine_try_cflags_saved
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14659 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14660 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14661 saved_string_h_CFLAGS=$CFLAGS
14662 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14664 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14665 if ${ac_cv_c_string_h_warnings+:} false; then :
14666 $as_echo_n "(cached) " >&6
14667 else
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 #include <string.h>
14672 main ()
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_compile "$LINENO"; then :
14680 ac_cv_c_string_h_warnings=no
14681 else
14682 ac_cv_c_string_h_warnings=yes
14684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14687 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14688 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14689 CFLAGS=$saved_string_h_CFLAGS
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14693 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14694 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -Wlogical-op"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__Wlogical_op=yes
14705 else
14706 ac_cv_cflags__Wlogical_op=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14713 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14714 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14715 saved_string_h_CFLAGS=$CFLAGS
14716 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14718 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14719 if ${ac_cv_c_logicalop_noisy+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #include <string.h>
14725 char*f(const char *h,char n) {return strchr(h,n);}
14727 main ()
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_compile "$LINENO"; then :
14735 ac_cv_c_logicalop_noisy=no
14736 else
14737 ac_cv_c_logicalop_noisy=yes
14739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14742 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14743 CFLAGS=$saved_string_h_CFLAGS
14744 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14747 CFLAGS=$saved_CFLAGS
14749 for ac_flag in $CFLAGS; do
14750 case $ac_flag in
14751 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14752 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14753 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_wine_try_cflags_saved=$CFLAGS
14757 CFLAGS="$CFLAGS -gdwarf-2"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 int main(int argc, char **argv) { return 0; }
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_cflags__gdwarf_2=yes
14764 else
14765 ac_cv_cflags__gdwarf_2=no
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14769 CFLAGS=$ac_wine_try_cflags_saved
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14772 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14773 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14774 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14777 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14778 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 ac_wine_try_cflags_saved=$CFLAGS
14782 CFLAGS="$CFLAGS -gstrict-dwarf"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_cflags__gstrict_dwarf=yes
14789 else
14790 ac_cv_cflags__gstrict_dwarf=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 CFLAGS=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14797 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14798 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14799 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14800 fi ;;
14801 esac
14802 done
14804 case $host_cpu in
14805 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14806 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14807 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_wine_try_cflags_saved=$CFLAGS
14811 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_cflags__fno_omit_frame_pointer=yes
14818 else
14819 ac_cv_cflags__fno_omit_frame_pointer=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 CFLAGS=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14826 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14827 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14828 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14829 fi ;;
14830 esac
14832 case $host in
14833 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14834 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14835 if ${ac_cv_cflags__Wno_format+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wno-format"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wno_format=yes
14846 else
14847 ac_cv_cflags__Wno_format=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14854 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14855 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14857 fi ;;
14858 esac
14860 if test "x$enable_maintainer_mode" = "xyes"
14861 then
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14863 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14864 if ${ac_cv_cflags__Werror+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_wine_try_cflags_saved=$CFLAGS
14868 CFLAGS="$CFLAGS -Werror"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 int main(int argc, char **argv) { return 0; }
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 ac_cv_cflags__Werror=yes
14875 else
14876 ac_cv_cflags__Werror=no
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext conftest.$ac_ext
14880 CFLAGS=$ac_wine_try_cflags_saved
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14883 $as_echo "$ac_cv_cflags__Werror" >&6; }
14884 if test "x$ac_cv_cflags__Werror" = xyes; then :
14885 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14889 saved_CFLAGS="$CFLAGS"
14890 CFLAGS="$CFLAGS -Werror"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14892 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14893 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14900 main ()
14904 return 0;
14906 _ACEOF
14907 if ac_fn_c_try_compile "$LINENO"; then :
14908 ac_cv_have_ms_hook_prologue="yes"
14909 else
14910 ac_cv_have_ms_hook_prologue="no"
14912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14915 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14916 CFLAGS="$saved_CFLAGS"
14917 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14918 then
14920 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14922 else
14923 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14930 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14931 if ${ac_cv_c_fortify_enabled+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 #include <string.h>
14938 main ()
14940 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14941 #error Fortify enabled
14942 #endif
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_compile "$LINENO"; then :
14948 ac_cv_c_fortify_enabled=no
14949 else
14950 ac_cv_c_fortify_enabled=yes
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14955 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14956 if test "$ac_cv_c_fortify_enabled" = yes
14957 then
14958 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14963 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14964 if ${ac_cv_c_extern_prefix+:} false; then :
14965 $as_echo_n "(cached) " >&6
14966 else
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 extern int ac_test;
14971 main ()
14973 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 ac_cv_c_extern_prefix="yes"
14980 else
14981 ac_cv_c_extern_prefix="no"
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext conftest.$ac_ext
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14987 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14989 case $host_cpu in
14990 *i[3456789]86*)
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14992 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14993 if ${ac_cv_c_stdcall_suffix+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 #ifndef _MSC_VER
14999 #define __stdcall __attribute__((__stdcall__))
15000 #endif
15001 int __stdcall ac_test(int i) { return i; }
15003 main ()
15005 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 ac_cv_c_stdcall_suffix="yes"
15012 else
15013 ac_cv_c_stdcall_suffix="no"
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15019 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15020 *) ac_cv_c_stdcall_suffix="no" ;;
15021 esac
15024 if test "$ac_cv_c_extern_prefix" = "yes"
15025 then
15026 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15028 asm_name_prefix="_"
15029 else
15030 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15032 asm_name_prefix=""
15036 if test "$ac_cv_c_stdcall_suffix" = "yes"
15037 then
15038 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15040 else
15041 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15047 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15048 if ${ac_cv_asm_func_def+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15055 main ()
15057 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\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=".def"
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,@function\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 @function"
15078 else
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15083 main ()
15085 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_asm_func_def=".type 2"
15092 else
15093 ac_cv_asm_func_def="unknown"
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15105 $as_echo "$ac_cv_asm_func_def" >&6; }
15108 case "$ac_cv_asm_func_def" in
15109 ".def")
15110 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15112 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15113 ".type @function")
15114 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15116 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15117 ".type 2")
15118 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15120 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15122 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15124 asm_func_header="" ;;
15125 esac
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15128 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15129 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 asm(".text\n\t.long 0");
15136 main ()
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_compile "$LINENO"; then :
15144 ac_cv_c_asm_outside_funcs="yes"
15145 else
15146 ac_cv_c_asm_outside_funcs="no"
15148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15151 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15154 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15155 if ${ac_cv_c_dot_previous+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15162 main ()
15164 asm(".text\nac_test:\t.long 0\n\t.previous");
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_link "$LINENO"; then :
15170 ac_cv_c_dot_previous="yes"
15171 else
15172 ac_cv_c_dot_previous="no"
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15178 $as_echo "$ac_cv_c_dot_previous" >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15181 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15182 if ${ac_cv_c_cfi_support+:} false; then :
15183 $as_echo_n "(cached) " >&6
15184 else
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15189 main ()
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_compile "$LINENO"; then :
15197 ac_cv_c_cfi_support="yes"
15198 else
15199 ac_cv_c_cfi_support="no"
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15204 $as_echo "$ac_cv_c_cfi_support" >&6; }
15206 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15207 asm_func_trailer=""
15208 if test "$ac_cv_c_dot_previous" = "yes"
15209 then
15210 asm_func_trailer="\\n\\t.previous"
15212 if test "$ac_cv_c_cfi_support" = "yes"
15213 then
15214 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15215 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15217 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15219 UNWINDFLAGS=-fasynchronous-unwind-tables
15221 else
15222 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15224 if test "x$enable_win64" = "xyes"
15225 then
15226 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15230 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15233 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15234 then
15235 cat >>confdefs.h <<_ACEOF
15236 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15237 _ACEOF
15239 else
15240 cat >>confdefs.h <<_ACEOF
15241 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15242 _ACEOF
15246 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15249 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15253 case $build_os in
15254 cygwin*|mingw32*) TOOLSEXT=".exe"
15256 esac
15258 case $host_os in
15259 linux-android*) ;;
15260 linux*)
15261 case $host_cpu in
15262 *i[3456789]86*|x86_64*)
15263 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15264 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15266 esac
15268 esac
15271 ac_save_CFLAGS="$CFLAGS"
15272 CFLAGS="$CFLAGS $BUILTINFLAG"
15273 for ac_func in \
15274 __res_get_state \
15275 __res_getservers \
15276 _finite \
15277 _isnan \
15278 _pclose \
15279 _popen \
15280 _snprintf \
15281 _spawnvp \
15282 _strdup \
15283 _stricmp \
15284 _strnicmp \
15285 _strtoi64 \
15286 _strtoui64 \
15287 _vsnprintf \
15288 asctime_r \
15289 chsize \
15290 dlopen \
15291 epoll_create \
15292 ffs \
15293 finitef \
15294 fnmatch \
15295 fork \
15296 fpclass \
15297 fstatfs \
15298 fstatvfs \
15299 ftruncate \
15300 futimens \
15301 futimes \
15302 futimesat \
15303 getattrlist \
15304 getopt_long_only \
15305 getpwuid \
15306 gettimeofday \
15307 getuid \
15308 if_nameindex \
15309 isnanf \
15310 kqueue \
15311 lstat \
15312 memmove \
15313 mmap \
15314 pclose \
15315 pipe2 \
15316 poll \
15317 popen \
15318 port_create \
15319 prctl \
15320 pread \
15321 proc_pidinfo \
15322 pwrite \
15323 readdir \
15324 readlink \
15325 sched_yield \
15326 select \
15327 setproctitle \
15328 setprogname \
15329 setrlimit \
15330 settimeofday \
15331 sigaltstack \
15332 sigprocmask \
15333 snprintf \
15334 statfs \
15335 statvfs \
15336 strcasecmp \
15337 strdup \
15338 strerror \
15339 strncasecmp \
15340 strtold \
15341 strtoll \
15342 strtoull \
15343 symlink \
15344 sysinfo \
15345 tcdrain \
15346 thr_kill2 \
15347 timegm \
15348 usleep \
15349 vsnprintf
15351 do :
15352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15354 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15355 cat >>confdefs.h <<_ACEOF
15356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15357 _ACEOF
15360 done
15362 CFLAGS="$ac_save_CFLAGS"
15364 if test "$ac_cv_func_dlopen" = no
15365 then
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15367 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15368 if ${ac_cv_lib_dl_dlopen+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 ac_check_lib_save_LIBS=$LIBS
15372 LIBS="-ldl $LIBS"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 #ifdef __cplusplus
15380 extern "C"
15381 #endif
15382 char dlopen ();
15384 main ()
15386 return dlopen ();
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_link "$LINENO"; then :
15392 ac_cv_lib_dl_dlopen=yes
15393 else
15394 ac_cv_lib_dl_dlopen=no
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15398 LIBS=$ac_check_lib_save_LIBS
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15402 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15403 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15404 DL_LIBS="-ldl"
15409 ac_wine_check_funcs_save_LIBS="$LIBS"
15410 LIBS="$LIBS $DL_LIBS"
15411 for ac_func in dladdr
15412 do :
15413 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15414 if test "x$ac_cv_func_dladdr" = xyes; then :
15415 cat >>confdefs.h <<_ACEOF
15416 #define HAVE_DLADDR 1
15417 _ACEOF
15420 done
15422 LIBS="$ac_wine_check_funcs_save_LIBS"
15424 if test "$ac_cv_func_poll" = no
15425 then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15427 $as_echo_n "checking for poll in -lpoll... " >&6; }
15428 if ${ac_cv_lib_poll_poll+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_lib_save_LIBS=$LIBS
15432 LIBS="-lpoll $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char poll ();
15444 main ()
15446 return poll ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 ac_cv_lib_poll_poll=yes
15453 else
15454 ac_cv_lib_poll_poll=no
15456 rm -f core conftest.err conftest.$ac_objext \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_check_lib_save_LIBS
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15461 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15462 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15463 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15464 POLL_LIBS="-lpoll"
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15471 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15472 if ${ac_cv_search_gethostbyname+:} false; then :
15473 $as_echo_n "(cached) " >&6
15474 else
15475 ac_func_search_save_LIBS=$LIBS
15476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15479 /* Override any GCC internal prototype to avoid an error.
15480 Use char because int might match the return type of a GCC
15481 builtin and then its argument prototype would still apply. */
15482 #ifdef __cplusplus
15483 extern "C"
15484 #endif
15485 char gethostbyname ();
15487 main ()
15489 return gethostbyname ();
15491 return 0;
15493 _ACEOF
15494 for ac_lib in '' nsl; do
15495 if test -z "$ac_lib"; then
15496 ac_res="none required"
15497 else
15498 ac_res=-l$ac_lib
15499 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 ac_cv_search_gethostbyname=$ac_res
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext
15506 if ${ac_cv_search_gethostbyname+:} false; then :
15507 break
15509 done
15510 if ${ac_cv_search_gethostbyname+:} false; then :
15512 else
15513 ac_cv_search_gethostbyname=no
15515 rm conftest.$ac_ext
15516 LIBS=$ac_func_search_save_LIBS
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15519 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15520 ac_res=$ac_cv_search_gethostbyname
15521 if test "$ac_res" != no; then :
15522 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15528 $as_echo_n "checking for library containing connect... " >&6; }
15529 if ${ac_cv_search_connect+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 ac_func_search_save_LIBS=$LIBS
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15539 #ifdef __cplusplus
15540 extern "C"
15541 #endif
15542 char connect ();
15544 main ()
15546 return connect ();
15548 return 0;
15550 _ACEOF
15551 for ac_lib in '' socket; do
15552 if test -z "$ac_lib"; then
15553 ac_res="none required"
15554 else
15555 ac_res=-l$ac_lib
15556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15558 if ac_fn_c_try_link "$LINENO"; then :
15559 ac_cv_search_connect=$ac_res
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext
15563 if ${ac_cv_search_connect+:} false; then :
15564 break
15566 done
15567 if ${ac_cv_search_connect+:} false; then :
15569 else
15570 ac_cv_search_connect=no
15572 rm conftest.$ac_ext
15573 LIBS=$ac_func_search_save_LIBS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15576 $as_echo "$ac_cv_search_connect" >&6; }
15577 ac_res=$ac_cv_search_connect
15578 if test "$ac_res" != no; then :
15579 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15585 $as_echo_n "checking for library containing inet_aton... " >&6; }
15586 if ${ac_cv_search_inet_aton+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_func_search_save_LIBS=$LIBS
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char inet_aton ();
15601 main ()
15603 return inet_aton ();
15605 return 0;
15607 _ACEOF
15608 for ac_lib in '' resolv; do
15609 if test -z "$ac_lib"; then
15610 ac_res="none required"
15611 else
15612 ac_res=-l$ac_lib
15613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 ac_cv_search_inet_aton=$ac_res
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext
15620 if ${ac_cv_search_inet_aton+:} false; then :
15621 break
15623 done
15624 if ${ac_cv_search_inet_aton+:} false; then :
15626 else
15627 ac_cv_search_inet_aton=no
15629 rm conftest.$ac_ext
15630 LIBS=$ac_func_search_save_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15633 $as_echo "$ac_cv_search_inet_aton" >&6; }
15634 ac_res=$ac_cv_search_inet_aton
15635 if test "$ac_res" != no; then :
15636 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15641 for ac_func in \
15642 getaddrinfo \
15643 getnameinfo \
15644 getnetbyname \
15645 getprotobyname \
15646 getprotobynumber \
15647 getservbyport \
15648 inet_addr \
15649 inet_network \
15650 inet_ntop \
15651 inet_pton \
15652 sendmsg \
15653 socketpair \
15655 do :
15656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15659 cat >>confdefs.h <<_ACEOF
15660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15661 _ACEOF
15664 done
15667 ac_save_LIBS=$LIBS
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15669 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15670 if ${ac_cv_search_clock_gettime+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 ac_func_search_save_LIBS=$LIBS
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char clock_gettime ();
15685 main ()
15687 return clock_gettime ();
15689 return 0;
15691 _ACEOF
15692 for ac_lib in '' rt; do
15693 if test -z "$ac_lib"; then
15694 ac_res="none required"
15695 else
15696 ac_res=-l$ac_lib
15697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 ac_cv_search_clock_gettime=$ac_res
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext
15704 if ${ac_cv_search_clock_gettime+:} false; then :
15705 break
15707 done
15708 if ${ac_cv_search_clock_gettime+:} false; then :
15710 else
15711 ac_cv_search_clock_gettime=no
15713 rm conftest.$ac_ext
15714 LIBS=$ac_func_search_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15717 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15718 ac_res=$ac_cv_search_clock_gettime
15719 if test "$ac_res" != no; then :
15720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15722 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15724 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15728 LIBS=$ac_save_LIBS
15730 LDAP_LIBS=""
15732 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15733 then
15734 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15736 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15738 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15739 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15740 $as_echo_n "(cached) " >&6
15741 else
15742 ac_check_lib_save_LIBS=$LIBS
15743 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15747 /* Override any GCC internal prototype to avoid an error.
15748 Use char because int might match the return type of a GCC
15749 builtin and then its argument prototype would still apply. */
15750 #ifdef __cplusplus
15751 extern "C"
15752 #endif
15753 char ldap_initialize ();
15755 main ()
15757 return ldap_initialize ();
15759 return 0;
15761 _ACEOF
15762 if ac_fn_c_try_link "$LINENO"; then :
15763 ac_cv_lib_ldap_r_ldap_initialize=yes
15764 else
15765 ac_cv_lib_ldap_r_ldap_initialize=no
15767 rm -f core conftest.err conftest.$ac_objext \
15768 conftest$ac_exeext conftest.$ac_ext
15769 LIBS=$ac_check_lib_save_LIBS
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15772 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15773 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15775 $as_echo_n "checking for ber_init in -llber... " >&6; }
15776 if ${ac_cv_lib_lber_ber_init+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_check_lib_save_LIBS=$LIBS
15780 LIBS="-llber $PTHREAD_LIBS $LIBS"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 #ifdef __cplusplus
15788 extern "C"
15789 #endif
15790 char ber_init ();
15792 main ()
15794 return ber_init ();
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"; then :
15800 ac_cv_lib_lber_ber_init=yes
15801 else
15802 ac_cv_lib_lber_ber_init=no
15804 rm -f core conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15806 LIBS=$ac_check_lib_save_LIBS
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15809 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15810 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15812 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15814 LDAP_LIBS="-lldap_r -llber"
15821 ac_wine_check_funcs_save_LIBS="$LIBS"
15822 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15823 for ac_func in \
15824 ldap_count_references \
15825 ldap_first_reference \
15826 ldap_next_reference \
15827 ldap_parse_reference \
15828 ldap_parse_sort_control \
15829 ldap_parse_sortresponse_control \
15830 ldap_parse_vlv_control \
15831 ldap_parse_vlvresponse_control
15832 do :
15833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15835 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15838 _ACEOF
15841 done
15843 LIBS="$ac_wine_check_funcs_save_LIBS"
15845 if test "x$LDAP_LIBS" = "x"; then :
15846 case "x$with_ldap" in
15847 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15848 xno) ;;
15849 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15850 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15851 esac
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15856 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15857 if ${wine_cv_one_arg_mkdir+:} false; then :
15858 $as_echo_n "(cached) " >&6
15859 else
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862 #include <sys/stat.h>
15864 main ()
15866 mkdir("foo");
15868 return 0;
15870 _ACEOF
15871 if ac_fn_c_try_compile "$LINENO"; then :
15872 wine_cv_one_arg_mkdir=yes
15873 else
15874 wine_cv_one_arg_mkdir=no
15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15879 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15880 if test "$wine_cv_one_arg_mkdir" = "yes"
15881 then
15883 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15888 $as_echo_n "checking for sched_setaffinity... " >&6; }
15889 if ${wine_cv_have_sched_setaffinity+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE
15895 #include <sched.h>
15897 main ()
15899 sched_setaffinity(0, 0, 0);
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_link "$LINENO"; then :
15905 wine_cv_have_sched_setaffinity=yes
15906 else
15907 wine_cv_have_sched_setaffinity=no
15909 rm -f core conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15913 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15914 if test "$wine_cv_have_sched_setaffinity" = "yes"
15915 then
15917 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15922 $as_echo_n "checking for fallocate... " >&6; }
15923 if ${wine_cv_have_fallocate+:} false; then :
15924 $as_echo_n "(cached) " >&6
15925 else
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 #define _GNU_SOURCE
15929 #include <fcntl.h>
15931 main ()
15933 fallocate(-1, 0, 0, 0);
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_link "$LINENO"; then :
15939 wine_cv_have_fallocate=yes
15940 else
15941 wine_cv_have_fallocate=no
15943 rm -f core conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15947 $as_echo "$wine_cv_have_fallocate" >&6; }
15948 if test "$wine_cv_have_fallocate" = "yes"
15949 then
15951 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15957 $as_echo_n "checking for inline... " >&6; }
15958 if ${ac_cv_c_inline+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 ac_cv_c_inline=no
15962 for ac_kw in inline __inline__ __inline; do
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15965 #ifndef __cplusplus
15966 typedef int foo_t;
15967 static $ac_kw foo_t static_foo () {return 0; }
15968 $ac_kw foo_t foo () {return 0; }
15969 #endif
15971 _ACEOF
15972 if ac_fn_c_try_compile "$LINENO"; then :
15973 ac_cv_c_inline=$ac_kw
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 test "$ac_cv_c_inline" != no && break
15977 done
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15981 $as_echo "$ac_cv_c_inline" >&6; }
15983 case $ac_cv_c_inline in
15984 inline | yes) ;;
15986 case $ac_cv_c_inline in
15987 no) ac_val=;;
15988 *) ac_val=$ac_cv_c_inline;;
15989 esac
15990 cat >>confdefs.h <<_ACEOF
15991 #ifndef __cplusplus
15992 #define inline $ac_val
15993 #endif
15994 _ACEOF
15996 esac
15998 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15999 if test "x$ac_cv_type_mode_t" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_MODE_T 1
16003 _ACEOF
16007 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16008 if test "x$ac_cv_type_off_t" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_OFF_T 1
16012 _ACEOF
16016 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16017 if test "x$ac_cv_type_pid_t" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_PID_T 1
16021 _ACEOF
16025 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16026 if test "x$ac_cv_type_size_t" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_SIZE_T 1
16030 _ACEOF
16034 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16035 if test "x$ac_cv_type_ssize_t" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_SSIZE_T 1
16039 _ACEOF
16043 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16044 if test "x$ac_cv_type_long_long" = xyes; then :
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_LONG_LONG 1
16048 _ACEOF
16052 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16053 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_FSBLKCNT_T 1
16057 _ACEOF
16061 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16062 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_FSFILCNT_T 1
16066 _ACEOF
16071 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16072 #include <signal.h>
16074 if test "x$ac_cv_type_sigset_t" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_SIGSET_T 1
16078 _ACEOF
16083 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16085 if test "x$ac_cv_type_request_sense" = xyes; then :
16087 cat >>confdefs.h <<_ACEOF
16088 #define HAVE_REQUEST_SENSE 1
16089 _ACEOF
16095 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16096 #ifdef HAVE_SYS_SOCKET_H
16097 #include <sys/socket.h>
16098 #endif
16099 #ifdef HAVE_SYS_SOCKETVAR_H
16100 #include <sys/socketvar.h>
16101 #endif
16102 #ifdef HAVE_NET_ROUTE_H
16103 #include <net/route.h>
16104 #endif
16105 #ifdef HAVE_NETINET_IN_H
16106 #include <netinet/in.h>
16107 #endif
16108 #ifdef HAVE_NETINET_IN_SYSTM_H
16109 #include <netinet/in_systm.h>
16110 #endif
16111 #ifdef HAVE_NETINET_IP_H
16112 #include <netinet/ip.h>
16113 #endif
16114 #ifdef HAVE_NETINET_IN_PCB_H
16115 #include <netinet/in_pcb.h>
16116 #endif
16118 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_XINPGEN 1
16122 _ACEOF
16128 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16129 #include <link.h>
16130 #endif
16131 #ifdef HAVE_SYS_LINK_H
16132 #include <sys/link.h>
16133 #endif
16135 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_R_DEBUG 1
16139 _ACEOF
16143 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16144 #include <link.h>
16145 #endif
16146 #ifdef HAVE_SYS_LINK_H
16147 #include <sys/link.h>
16148 #endif
16150 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_LINK_MAP 1
16154 _ACEOF
16160 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16161 #include <linux/input.h>
16162 #endif
16164 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16166 cat >>confdefs.h <<_ACEOF
16167 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16168 _ACEOF
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16175 $as_echo_n "checking for sigaddset... " >&6; }
16176 if ${wine_cv_have_sigaddset+:} false; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16181 #include <signal.h>
16183 main ()
16185 sigset_t set; sigaddset(&set,SIGTERM);
16187 return 0;
16189 _ACEOF
16190 if ac_fn_c_try_link "$LINENO"; then :
16191 wine_cv_have_sigaddset=yes
16192 else
16193 wine_cv_have_sigaddset=no
16195 rm -f core conftest.err conftest.$ac_objext \
16196 conftest$ac_exeext conftest.$ac_ext
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16199 $as_echo "$wine_cv_have_sigaddset" >&6; }
16200 if test "$wine_cv_have_sigaddset" = "yes"
16201 then
16203 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16209 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16210 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16211 $as_echo_n "(cached) " >&6
16212 else
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 #include <netdb.h>
16217 main ()
16220 char *name=0;
16221 struct hostent he;
16222 struct hostent *result;
16223 char *buf=0;
16224 int bufsize=0;
16225 int errnr;
16226 char *addr=0;
16227 int addrlen=0;
16228 int addrtype=0;
16229 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16230 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"; then :
16237 wine_cv_linux_gethostbyname_r_6=yes
16238 else
16239 wine_cv_linux_gethostbyname_r_6=no
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16247 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16248 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16249 then
16251 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16255 if test "$ac_cv_header_linux_joystick_h" = "yes"
16256 then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16258 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16259 if ${wine_cv_linux_joystick_22_api+:} false; then :
16260 $as_echo_n "(cached) " >&6
16261 else
16262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16265 #include <sys/ioctl.h>
16266 #include <sys/types.h>
16267 #include <linux/joystick.h>
16269 struct js_event blub;
16270 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16271 #error "no 2.2 header"
16272 #endif
16275 main ()
16277 /*empty*/
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_compile "$LINENO"; then :
16283 wine_cv_linux_joystick_22_api=yes
16284 else
16285 wine_cv_linux_joystick_22_api=no
16287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16291 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16292 if test "$wine_cv_linux_joystick_22_api" = "yes"
16293 then
16295 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16301 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16302 #ifdef HAVE_SYS_PARAM_H
16303 # include <sys/param.h>
16304 #endif
16305 #ifdef HAVE_SYS_MOUNT_H
16306 # include <sys/mount.h>
16307 #endif
16308 #ifdef HAVE_SYS_VFS_H
16309 # include <sys/vfs.h>
16310 #endif
16311 #ifdef HAVE_SYS_STATFS_H
16312 # include <sys/statfs.h>
16313 #endif
16315 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_STATFS_F_BFREE 1
16319 _ACEOF
16323 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16324 #ifdef HAVE_SYS_PARAM_H
16325 # include <sys/param.h>
16326 #endif
16327 #ifdef HAVE_SYS_MOUNT_H
16328 # include <sys/mount.h>
16329 #endif
16330 #ifdef HAVE_SYS_VFS_H
16331 # include <sys/vfs.h>
16332 #endif
16333 #ifdef HAVE_SYS_STATFS_H
16334 # include <sys/statfs.h>
16335 #endif
16337 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16341 _ACEOF
16345 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16346 #ifdef HAVE_SYS_PARAM_H
16347 # include <sys/param.h>
16348 #endif
16349 #ifdef HAVE_SYS_MOUNT_H
16350 # include <sys/mount.h>
16351 #endif
16352 #ifdef HAVE_SYS_VFS_H
16353 # include <sys/vfs.h>
16354 #endif
16355 #ifdef HAVE_SYS_STATFS_H
16356 # include <sys/statfs.h>
16357 #endif
16359 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16368 #ifdef HAVE_SYS_PARAM_H
16369 # include <sys/param.h>
16370 #endif
16371 #ifdef HAVE_SYS_MOUNT_H
16372 # include <sys/mount.h>
16373 #endif
16374 #ifdef HAVE_SYS_VFS_H
16375 # include <sys/vfs.h>
16376 #endif
16377 #ifdef HAVE_SYS_STATFS_H
16378 # include <sys/statfs.h>
16379 #endif
16381 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_STATFS_F_FFREE 1
16385 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16390 #ifdef HAVE_SYS_PARAM_H
16391 # include <sys/param.h>
16392 #endif
16393 #ifdef HAVE_SYS_MOUNT_H
16394 # include <sys/mount.h>
16395 #endif
16396 #ifdef HAVE_SYS_VFS_H
16397 # include <sys/vfs.h>
16398 #endif
16399 #ifdef HAVE_SYS_STATFS_H
16400 # include <sys/statfs.h>
16401 #endif
16403 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16407 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16412 #ifdef HAVE_SYS_PARAM_H
16413 # include <sys/param.h>
16414 #endif
16415 #ifdef HAVE_SYS_MOUNT_H
16416 # include <sys/mount.h>
16417 #endif
16418 #ifdef HAVE_SYS_VFS_H
16419 # include <sys/vfs.h>
16420 #endif
16421 #ifdef HAVE_SYS_STATFS_H
16422 # include <sys/statfs.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16429 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16436 #include <sys/statvfs.h>
16437 #endif
16439 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16443 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16450 #include <dirent.h>
16451 #endif
16453 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16464 #ifdef HAVE_SYS_SOCKET_H
16465 # include <sys/socket.h>
16466 #endif
16467 #ifdef HAVE_SYS_UN_H
16468 # include <sys/un.h>
16469 #endif
16471 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16475 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16480 #ifdef HAVE_SYS_SOCKET_H
16481 # include <sys/socket.h>
16482 #endif
16483 #ifdef HAVE_SYS_UN_H
16484 # include <sys/un.h>
16485 #endif
16487 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16496 #ifdef HAVE_SYS_SOCKET_H
16497 # include <sys/socket.h>
16498 #endif
16499 #ifdef HAVE_SYS_UN_H
16500 # include <sys/un.h>
16501 #endif
16503 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16507 _ACEOF
16513 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16514 #ifdef HAVE_SCSI_SG_H
16515 #include <scsi/sg.h>
16516 #endif
16518 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_SCSIREQ_T_CMD 1
16522 _ACEOF
16526 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>
16527 #ifdef HAVE_SCSI_SG_H
16528 #include <scsi/sg.h>
16529 #endif
16531 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16535 _ACEOF
16541 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16543 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_SIGINFO_T_SI_FD 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16554 #ifdef HAVE_SYS_MTIO_H
16555 #include <sys/mtio.h>
16556 #endif
16558 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16562 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16567 #ifdef HAVE_SYS_MTIO_H
16568 #include <sys/mtio.h>
16569 #endif
16571 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16575 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16580 #ifdef HAVE_SYS_MTIO_H
16581 #include <sys/mtio.h>
16582 #endif
16584 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16588 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16595 #include <getopt.h>
16596 #endif
16598 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_OPTION_NAME 1
16602 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16609 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16613 _ACEOF
16617 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16618 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_STRUCT_STAT_ST_MTIM 1
16622 _ACEOF
16626 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16627 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16631 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16636 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_STAT_ST_CTIM 1
16640 _ACEOF
16644 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16645 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16649 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16654 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_STAT_ST_ATIM 1
16658 _ACEOF
16662 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16663 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16667 _ACEOF
16671 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16672 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16676 _ACEOF
16680 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16681 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16683 cat >>confdefs.h <<_ACEOF
16684 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16685 _ACEOF
16689 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16690 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16694 _ACEOF
16698 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16699 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16701 cat >>confdefs.h <<_ACEOF
16702 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16703 _ACEOF
16707 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16708 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16712 _ACEOF
16718 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
16719 #include <sys/types.h>
16720 #endif
16721 #ifdef HAVE_NETINET_IN_H
16722 #include <netinet/in.h>
16723 #endif
16725 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16729 _ACEOF
16735 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16736 #include <sys/types.h>
16737 #endif
16738 #ifdef HAVE_NETINET_IN_H
16739 #include <netinet/in.h>
16740 #endif
16741 #ifdef HAVE_RESOLV_H
16742 #include <resolv.h>
16743 #endif
16745 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_STRUCT___RES_STATE 1
16749 _ACEOF
16755 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
16756 #include <resolv.h>
16757 #endif
16759 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16763 _ACEOF
16769 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16770 #include <sys/types.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IN_H
16773 # include <netinet/in.h>
16774 #endif
16775 #ifdef HAVE_ARPA_NAMESER_H
16776 # include <arpa/nameser.h>
16777 #endif
16779 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16781 cat >>confdefs.h <<_ACEOF
16782 #define HAVE_NS_MSG__MSG_PTR 1
16783 _ACEOF
16789 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16790 #include <sys/types.h>
16791 #endif
16792 #ifdef HAVE_NETINET_IN_H
16793 #include <netinet/in.h>
16794 #endif
16795 #ifdef HAVE_NETINET_IP_H
16796 #include <netinet/ip.h>
16797 #endif
16798 #ifdef HAVE_NETINET_IP_ICMP_H
16799 #include <netinet/ip_icmp.h>
16800 #endif
16801 #ifdef HAVE_NETINET_ICMP_VAR_H
16802 #include <netinet/icmp_var.h>
16803 #endif
16805 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16807 cat >>confdefs.h <<_ACEOF
16808 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16809 _ACEOF
16815 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16816 #include <sys/types.h>
16817 #endif
16818 #ifdef HAVE_ALIAS_H
16819 #include <alias.h>
16820 #endif
16821 #ifdef HAVE_SYS_SOCKET_H
16822 #include <sys/socket.h>
16823 #endif
16824 #ifdef HAVE_SYS_SOCKETVAR_H
16825 #include <sys/socketvar.h>
16826 #endif
16827 #ifdef HAVE_SYS_TIMEOUT_H
16828 #include <sys/timeout.h>
16829 #endif
16830 #ifdef HAVE_NETINET_IN_H
16831 #include <netinet/in.h>
16832 #endif
16833 #ifdef HAVE_NETINET_IN_SYSTM_H
16834 #include <netinet/in_systm.h>
16835 #endif
16836 #ifdef HAVE_NETINET_IP_H
16837 #include <netinet/ip.h>
16838 #endif
16839 #ifdef HAVE_NETINET_IP_VAR_H
16840 #include <netinet/ip_var.h>
16841 #endif
16842 #ifdef HAVE_NETINET_IP_ICMP_H
16843 #include <netinet/ip_icmp.h>
16844 #endif
16845 #ifdef HAVE_NETINET_ICMP_VAR_H
16846 #include <netinet/icmp_var.h>
16847 #endif
16849 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16853 _ACEOF
16859 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16860 #include <sys/types.h>
16861 #endif
16862 #ifdef HAVE_SYS_SOCKETVAR_H
16863 #include <sys/socketvar.h>
16864 #endif
16865 #ifdef HAVE_NETINET_IN_H
16866 #include <netinet/in.h>
16867 #endif
16868 #ifdef HAVE_NETINET_IP_VAR_H
16869 #include <netinet/ip_var.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16876 _ACEOF
16882 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
16883 #include <netinet/ip_var.h>
16884 #endif
16886 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16890 _ACEOF
16896 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16897 #include <sys/types.h>
16898 #endif
16899 #ifdef HAVE_SYS_SOCKETVAR_H
16900 #include <sys/socketvar.h>
16901 #endif
16902 #ifdef HAVE_NETINET_IN_H
16903 #include <netinet/in.h>
16904 #endif
16905 #ifdef HAVE_NETINET_TCP_H
16906 #include <netinet/tcp.h>
16907 #endif
16908 #ifdef HAVE_NETINET_TCP_VAR_H
16909 #include <netinet/tcp_var.h>
16910 #endif
16912 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16916 _ACEOF
16922 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
16923 #include <netinet/tcp_var.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16930 _ACEOF
16936 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16937 #include <sys/types.h>
16938 #endif
16939 #ifdef HAVE_NETINET_IN_H
16940 #include <netinet/in.h>
16941 #endif
16942 #ifdef HAVE_NETINET_IP_VAR_H
16943 #include <netinet/ip_var.h>
16944 #endif
16945 #ifdef HAVE_NETINET_UDP_H
16946 #include <netinet/udp.h>
16947 #endif
16948 #ifdef HAVE_NETINET_UDP_VAR_H
16949 #include <netinet/udp_var.h>
16950 #endif
16952 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16956 _ACEOF
16962 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16963 #include <sys/types.h>
16964 #endif
16965 #ifdef HAVE_NET_IF_H
16966 # include <net/if.h>
16967 #endif
16969 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16973 _ACEOF
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16980 $as_echo_n "checking for timezone variable... " >&6; }
16981 if ${ac_cv_have_timezone+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <time.h>
16988 main ()
16990 timezone = 1
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_link "$LINENO"; then :
16996 ac_cv_have_timezone="yes"
16997 else
16998 ac_cv_have_timezone="no"
17000 rm -f core conftest.err conftest.$ac_objext \
17001 conftest$ac_exeext conftest.$ac_ext
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17004 $as_echo "$ac_cv_have_timezone" >&6; }
17005 if test "$ac_cv_have_timezone" = "yes"
17006 then
17008 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17012 $as_echo_n "checking for daylight variable... " >&6; }
17013 if ${ac_cv_have_daylight+:} false; then :
17014 $as_echo_n "(cached) " >&6
17015 else
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17018 #include <time.h>
17020 main ()
17022 daylight = 1
17024 return 0;
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_have_daylight="yes"
17029 else
17030 ac_cv_have_daylight="no"
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17036 $as_echo "$ac_cv_have_daylight" >&6; }
17037 if test "$ac_cv_have_daylight" = "yes"
17038 then
17040 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17044 ac_save_LIBS="$LIBS"
17045 LIBS="$LIBS -lm"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17047 $as_echo_n "checking for isfinite... " >&6; }
17048 if ${ac_cv_have_isfinite+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #define _GNU_SOURCE
17054 #include <math.h>
17056 main ()
17058 float f = 0.0; return isfinite(f)
17060 return 0;
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_have_isfinite="yes"
17065 else
17066 ac_cv_have_isfinite="no"
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17072 $as_echo "$ac_cv_have_isfinite" >&6; }
17073 if test "$ac_cv_have_isfinite" = "yes"
17074 then
17076 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17081 $as_echo_n "checking for isinf... " >&6; }
17082 if ${ac_cv_have_isinf+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <math.h>
17089 main ()
17091 float f = 0.0; return isinf(f)
17093 return 0;
17095 _ACEOF
17096 if ac_fn_c_try_link "$LINENO"; then :
17097 ac_cv_have_isinf="yes"
17098 else
17099 ac_cv_have_isinf="no"
17101 rm -f core conftest.err conftest.$ac_objext \
17102 conftest$ac_exeext conftest.$ac_ext
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17105 $as_echo "$ac_cv_have_isinf" >&6; }
17106 if test "$ac_cv_have_isinf" = "yes"
17107 then
17109 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17114 $as_echo_n "checking for isnan... " >&6; }
17115 if ${ac_cv_have_isnan+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #include <math.h>
17122 main ()
17124 float f = 0.0; return isnan(f)
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"; then :
17130 ac_cv_have_isnan="yes"
17131 else
17132 ac_cv_have_isnan="no"
17134 rm -f core conftest.err conftest.$ac_objext \
17135 conftest$ac_exeext conftest.$ac_ext
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17138 $as_echo "$ac_cv_have_isnan" >&6; }
17139 if test "$ac_cv_have_isnan" = "yes"
17140 then
17142 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17146 for ac_func in \
17147 asinh \
17148 asinhf \
17149 cbrt \
17150 cbrtf \
17151 erf \
17152 erff \
17153 exp2 \
17154 exp2f \
17155 lgamma \
17156 lgammaf \
17157 llrint \
17158 llrintf \
17159 llround \
17160 llroundf \
17161 log2 \
17162 log2f \
17163 lrint \
17164 lrintf \
17165 lround \
17166 lroundf \
17167 nearbyint \
17168 nearbyintf \
17169 powl \
17170 remainder \
17171 remainderf \
17172 rint \
17173 rintf \
17174 round \
17175 roundf \
17176 trunc \
17177 truncf
17179 do :
17180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17185 _ACEOF
17188 done
17190 LIBS="$ac_save_LIBS"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17193 $as_echo_n "checking for __builtin_clz... " >&6; }
17194 if ${ac_cv_have___builtin_clz+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17201 main ()
17203 return __builtin_clz(1)
17205 return 0;
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_have___builtin_clz="yes"
17210 else
17211 ac_cv_have___builtin_clz="no"
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17217 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17218 if test "$ac_cv_have___builtin_clz" = "yes"
17219 then
17221 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17226 $as_echo_n "checking for __builtin_popcount... " >&6; }
17227 if ${ac_cv_have___builtin_popcount+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17234 main ()
17236 return __builtin_popcount(1)
17238 return 0;
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_have___builtin_popcount="yes"
17243 else
17244 ac_cv_have___builtin_popcount="no"
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17250 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17251 if test "$ac_cv_have___builtin_popcount" = "yes"
17252 then
17254 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17259 case $host_cpu in
17260 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17261 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17262 if ${ac_cv_cpp_def___i386__+:} false; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 #ifndef __i386__
17269 #endif
17270 _ACEOF
17271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17272 $EGREP "yes" >/dev/null 2>&1; then :
17273 ac_cv_cpp_def___i386__=yes
17274 else
17275 ac_cv_cpp_def___i386__=no
17277 rm -f conftest*
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17281 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17282 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17283 CFLAGS="$CFLAGS -D__i386__"
17284 LINTFLAGS="$LINTFLAGS -D__i386__"
17285 fi ;;
17286 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17287 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17288 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17289 $as_echo_n "(cached) " >&6
17290 else
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17293 #ifndef __x86_64__
17295 #endif
17296 _ACEOF
17297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17298 $EGREP "yes" >/dev/null 2>&1; then :
17299 ac_cv_cpp_def___x86_64__=yes
17300 else
17301 ac_cv_cpp_def___x86_64__=no
17303 rm -f conftest*
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17307 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17308 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17309 CFLAGS="$CFLAGS -D__x86_64__"
17310 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17311 fi ;;
17312 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17313 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17314 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #ifndef __sparc64__
17321 #endif
17322 _ACEOF
17323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17324 $EGREP "yes" >/dev/null 2>&1; then :
17325 ac_cv_cpp_def___sparc64__=yes
17326 else
17327 ac_cv_cpp_def___sparc64__=no
17329 rm -f conftest*
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17333 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17334 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17335 CFLAGS="$CFLAGS -D__sparc64__"
17336 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17337 fi ;;
17338 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17339 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17340 if ${ac_cv_cpp_def___sparc__+:} false; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17345 #ifndef __sparc__
17347 #endif
17348 _ACEOF
17349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17350 $EGREP "yes" >/dev/null 2>&1; then :
17351 ac_cv_cpp_def___sparc__=yes
17352 else
17353 ac_cv_cpp_def___sparc__=no
17355 rm -f conftest*
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17359 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17360 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17361 CFLAGS="$CFLAGS -D__sparc__"
17362 LINTFLAGS="$LINTFLAGS -D__sparc__"
17363 fi ;;
17364 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17365 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17366 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #ifndef __powerpc64__
17373 #endif
17374 _ACEOF
17375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17376 $EGREP "yes" >/dev/null 2>&1; then :
17377 ac_cv_cpp_def___powerpc64__=yes
17378 else
17379 ac_cv_cpp_def___powerpc64__=no
17381 rm -f conftest*
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17385 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17386 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17387 CFLAGS="$CFLAGS -D__powerpc64__"
17388 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17389 fi ;;
17390 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17391 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17392 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #ifndef __powerpc__
17399 #endif
17400 _ACEOF
17401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17402 $EGREP "yes" >/dev/null 2>&1; then :
17403 ac_cv_cpp_def___powerpc__=yes
17404 else
17405 ac_cv_cpp_def___powerpc__=no
17407 rm -f conftest*
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17411 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17412 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17413 CFLAGS="$CFLAGS -D__powerpc__"
17414 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17415 fi ;;
17416 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17417 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17418 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 #ifndef __aarch64__
17425 #endif
17426 _ACEOF
17427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17428 $EGREP "yes" >/dev/null 2>&1; then :
17429 ac_cv_cpp_def___aarch64__=yes
17430 else
17431 ac_cv_cpp_def___aarch64__=no
17433 rm -f conftest*
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17437 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17438 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17439 CFLAGS="$CFLAGS -D__aarch64__"
17440 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17441 fi ;;
17442 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17443 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17444 if ${ac_cv_cpp_def___arm__+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #ifndef __arm__
17451 #endif
17452 _ACEOF
17453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17454 $EGREP "yes" >/dev/null 2>&1; then :
17455 ac_cv_cpp_def___arm__=yes
17456 else
17457 ac_cv_cpp_def___arm__=no
17459 rm -f conftest*
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17463 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17464 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17465 CFLAGS="$CFLAGS -D__arm__"
17466 LINTFLAGS="$LINTFLAGS -D__arm__"
17467 fi ;;
17468 esac
17470 case $host_vendor in
17471 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17472 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17473 if ${ac_cv_cpp_def___sun__+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #ifndef __sun__
17480 #endif
17481 _ACEOF
17482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17483 $EGREP "yes" >/dev/null 2>&1; then :
17484 ac_cv_cpp_def___sun__=yes
17485 else
17486 ac_cv_cpp_def___sun__=no
17488 rm -f conftest*
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17492 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17493 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17494 CFLAGS="$CFLAGS -D__sun__"
17495 LINTFLAGS="$LINTFLAGS -D__sun__"
17496 fi ;;
17497 esac
17503 ac_config_commands="$ac_config_commands include/stamp-h"
17505 $as_echo_n "creating Makefile rules..." >&6
17507 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17508 SOCKET_LIBS = $SOCKET_LIBS
17509 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17510 IOKIT_LIBS = $IOKIT_LIBS
17511 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17512 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17513 CORESERVICES_LIBS = $CORESERVICES_LIBS
17514 APPKIT_LIBS = $APPKIT_LIBS
17515 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17516 SECURITY_LIBS = $SECURITY_LIBS
17517 COREAUDIO_LIBS = $COREAUDIO_LIBS
17518 OPENAL_LIBS = $OPENAL_LIBS
17519 OPENCL_LIBS = $OPENCL_LIBS
17520 QUICKTIME_LIBS = $QUICKTIME_LIBS
17521 CARBON_LIBS = $CARBON_LIBS
17522 PTHREAD_LIBS = $PTHREAD_LIBS
17523 X_CFLAGS = $X_CFLAGS
17524 X_PRE_LIBS = $X_PRE_LIBS
17525 X_LIBS = $X_LIBS
17526 X_EXTRA_LIBS = $X_EXTRA_LIBS
17527 PCAP_LIBS = $PCAP_LIBS
17528 XML2_CFLAGS = $XML2_CFLAGS
17529 XML2_LIBS = $XML2_LIBS
17530 XSLT_CFLAGS = $XSLT_CFLAGS
17531 XSLT_LIBS = $XSLT_LIBS
17532 DBUS_CFLAGS = $DBUS_CFLAGS
17533 DBUS_LIBS = $DBUS_LIBS
17534 HAL_CFLAGS = $HAL_CFLAGS
17535 HAL_LIBS = $HAL_LIBS
17536 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17537 GNUTLS_LIBS = $GNUTLS_LIBS
17538 SANE_CFLAGS = $SANE_CFLAGS
17539 SANE_LIBS = $SANE_LIBS
17540 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17541 GPHOTO2_LIBS = $GPHOTO2_LIBS
17542 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17543 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17544 RESOLV_LIBS = $RESOLV_LIBS
17545 LCMS2_CFLAGS = $LCMS2_CFLAGS
17546 LCMS2_LIBS = $LCMS2_LIBS
17547 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17548 FREETYPE_LIBS = $FREETYPE_LIBS
17549 Z_LIBS = $Z_LIBS
17550 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17551 PULSE_CFLAGS = $PULSE_CFLAGS
17552 PULSE_LIBS = $PULSE_LIBS
17553 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17554 GSTREAMER_LIBS = $GSTREAMER_LIBS
17555 ALSA_LIBS = $ALSA_LIBS
17556 OSS4_CFLAGS = $OSS4_CFLAGS
17557 UDEV_CFLAGS = $UDEV_CFLAGS
17558 UDEV_LIBS = $UDEV_LIBS
17559 CAPI20_CFLAGS = $CAPI20_CFLAGS
17560 CAPI20_LIBS = $CAPI20_LIBS
17561 CUPS_CFLAGS = $CUPS_CFLAGS
17562 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17563 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17564 JPEG_CFLAGS = $JPEG_CFLAGS
17565 JPEG_LIBS = $JPEG_LIBS
17566 PNG_CFLAGS = $PNG_CFLAGS
17567 PNG_LIBS = $PNG_LIBS
17568 TIFF_CFLAGS = $TIFF_CFLAGS
17569 TIFF_LIBS = $TIFF_LIBS
17570 MPG123_CFLAGS = $MPG123_CFLAGS
17571 MPG123_LIBS = $MPG123_LIBS
17572 KSTAT_LIBS = $KSTAT_LIBS
17573 PROCSTAT_LIBS = $PROCSTAT_LIBS
17574 NETAPI_CFLAGS = $NETAPI_CFLAGS
17575 NETAPI_LIBS = $NETAPI_LIBS
17576 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17577 DL_LIBS = $DL_LIBS
17578 POLL_LIBS = $POLL_LIBS
17579 RT_LIBS = $RT_LIBS
17580 LDAP_LIBS = $LDAP_LIBS
17585 wine_fn_append_rule "
17586 # Rules automatically generated by configure
17588 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17590 .INIT: Makefile
17591 .MAKEFILEDEPS:
17592 all: Makefile
17593 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17594 @./config.status Make.tmp Makefile
17595 depend: \$(MAKEDEP) dummy
17596 \$(MAKEDEP)"
17598 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17599 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17601 if test "x$enable_fonts" != xno; then
17602 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17603 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17604 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17605 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17606 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17607 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17609 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17610 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17611 ac_config_links="$ac_config_links wine:tools/winewrapper"
17612 wine_fn_config_symlink wine
17613 if test "x$enable_win64" != xno; then
17614 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17615 wine_fn_config_symlink wine64
17618 wine_fn_config_dll acledit enable_acledit
17619 wine_fn_config_dll aclui enable_aclui implib
17620 wine_fn_config_dll activeds enable_activeds implib
17621 wine_fn_config_dll actxprxy enable_actxprxy clean
17622 wine_fn_config_lib adsiid
17623 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17624 wine_fn_config_test dlls/advapi32/tests advapi32_test
17625 wine_fn_config_dll advpack enable_advpack implib
17626 wine_fn_config_test dlls/advpack/tests advpack_test
17627 wine_fn_config_dll amstream enable_amstream clean
17628 wine_fn_config_test dlls/amstream/tests amstream_test
17629 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17630 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17633 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17641 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17643 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17645 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17650 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17652 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17654 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17655 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17656 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17657 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17660 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17663 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17665 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17667 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17669 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17670 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17674 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17677 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17678 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17680 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17684 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17685 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17688 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17692 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17694 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17696 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17697 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17704 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17707 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17712 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17716 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17718 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17719 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17721 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17733 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17734 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17735 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17736 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17737 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17738 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17741 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17742 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17743 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17744 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17745 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17746 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17747 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17748 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17749 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17750 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17751 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17752 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17753 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17754 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17755 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17756 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17757 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17758 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17759 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17760 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17761 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17762 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17763 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17764 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17765 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17766 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17767 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17768 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17769 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17770 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17771 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17772 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17773 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17774 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17775 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17776 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17777 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17778 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17779 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17780 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17781 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17782 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17783 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17784 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17785 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17786 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17787 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17788 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17789 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17790 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17791 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17792 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17793 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17794 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17795 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17796 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17797 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17798 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17799 wine_fn_config_dll apphelp enable_apphelp
17800 wine_fn_config_test dlls/apphelp/tests apphelp_test
17801 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17802 wine_fn_config_dll atl enable_atl clean,implib
17803 wine_fn_config_test dlls/atl/tests atl_test
17804 wine_fn_config_dll atl100 enable_atl100 clean,implib
17805 wine_fn_config_test dlls/atl100/tests atl100_test
17806 wine_fn_config_dll atl110 enable_atl110 clean
17807 wine_fn_config_dll atl80 enable_atl80 clean,implib
17808 wine_fn_config_test dlls/atl80/tests atl80_test
17809 wine_fn_config_dll atl90 enable_atl90 clean
17810 wine_fn_config_dll authz enable_authz
17811 wine_fn_config_dll avicap32 enable_avicap32 implib
17812 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17813 wine_fn_config_test dlls/avifil32/tests avifil32_test
17814 wine_fn_config_dll avifile.dll16 enable_win16
17815 wine_fn_config_dll avrt enable_avrt implib
17816 wine_fn_config_dll bcrypt enable_bcrypt implib
17817 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17818 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17819 wine_fn_config_dll browseui enable_browseui clean
17820 wine_fn_config_test dlls/browseui/tests browseui_test
17821 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17822 wine_fn_config_dll cabinet enable_cabinet implib
17823 wine_fn_config_test dlls/cabinet/tests cabinet_test
17824 wine_fn_config_dll capi2032 enable_capi2032 implib
17825 wine_fn_config_dll cards enable_cards implib
17826 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17827 wine_fn_config_dll clusapi enable_clusapi implib
17828 wine_fn_config_dll combase enable_combase
17829 wine_fn_config_test dlls/combase/tests combase_test
17830 wine_fn_config_dll comcat enable_comcat
17831 wine_fn_config_test dlls/comcat/tests comcat_test
17832 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17833 wine_fn_config_test dlls/comctl32/tests comctl32_test
17834 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17835 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17836 wine_fn_config_dll comm.drv16 enable_win16
17837 wine_fn_config_dll commdlg.dll16 enable_win16
17838 wine_fn_config_dll compobj.dll16 enable_win16
17839 wine_fn_config_dll compstui enable_compstui implib
17840 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17841 wine_fn_config_dll concrt140 enable_concrt140
17842 wine_fn_config_dll connect enable_connect
17843 wine_fn_config_dll credui enable_credui clean,implib
17844 wine_fn_config_test dlls/credui/tests credui_test
17845 wine_fn_config_dll crtdll enable_crtdll
17846 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17847 wine_fn_config_test dlls/crypt32/tests crypt32_test
17848 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17849 wine_fn_config_dll cryptdll enable_cryptdll implib
17850 wine_fn_config_dll cryptext enable_cryptext
17851 wine_fn_config_dll cryptnet enable_cryptnet implib
17852 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17853 wine_fn_config_dll cryptui enable_cryptui clean,implib
17854 wine_fn_config_test dlls/cryptui/tests cryptui_test
17855 wine_fn_config_dll ctapi32 enable_ctapi32
17856 wine_fn_config_dll ctl3d.dll16 enable_win16
17857 wine_fn_config_dll ctl3d32 enable_ctl3d32
17858 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17859 wine_fn_config_dll d2d1 enable_d2d1 implib
17860 wine_fn_config_test dlls/d2d1/tests d2d1_test
17861 wine_fn_config_dll d3d10 enable_d3d10 implib
17862 wine_fn_config_test dlls/d3d10/tests d3d10_test
17863 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17864 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17865 wine_fn_config_dll d3d10core enable_d3d10core implib
17866 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17867 wine_fn_config_dll d3d11 enable_d3d11 implib
17868 wine_fn_config_test dlls/d3d11/tests d3d11_test
17869 wine_fn_config_dll d3d8 enable_d3d8 implib
17870 wine_fn_config_test dlls/d3d8/tests d3d8_test
17871 wine_fn_config_dll d3d9 enable_d3d9 implib
17872 wine_fn_config_test dlls/d3d9/tests d3d9_test
17873 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17874 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17875 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17876 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17877 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17878 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17879 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17880 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17881 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17882 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17883 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17884 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17885 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17886 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17887 wine_fn_config_dll d3dim enable_d3dim
17888 wine_fn_config_dll d3drm enable_d3drm implib
17889 wine_fn_config_test dlls/d3drm/tests d3drm_test
17890 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17891 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17892 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17893 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17894 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17895 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17896 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17897 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17898 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17899 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17900 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17901 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17902 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17903 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17904 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17905 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17906 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17907 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17908 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17909 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17910 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17911 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17912 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17913 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17914 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17915 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17916 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17917 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17918 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17919 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17920 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17921 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17922 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17923 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17924 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17925 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17926 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17927 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17928 wine_fn_config_dll davclnt enable_davclnt
17929 wine_fn_config_dll dbgeng enable_dbgeng implib
17930 wine_fn_config_dll dbghelp enable_dbghelp implib
17931 wine_fn_config_dll dciman32 enable_dciman32 implib
17932 wine_fn_config_dll ddeml.dll16 enable_win16
17933 wine_fn_config_dll ddraw enable_ddraw clean,implib
17934 wine_fn_config_test dlls/ddraw/tests ddraw_test
17935 wine_fn_config_dll ddrawex enable_ddrawex clean
17936 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17937 wine_fn_config_dll devenum enable_devenum clean
17938 wine_fn_config_test dlls/devenum/tests devenum_test
17939 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17940 wine_fn_config_dll difxapi enable_difxapi
17941 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17942 wine_fn_config_test dlls/dinput/tests dinput_test
17943 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17944 wine_fn_config_test dlls/dinput8/tests dinput8_test
17945 wine_fn_config_dll dispdib.dll16 enable_win16
17946 wine_fn_config_dll dispex enable_dispex clean
17947 wine_fn_config_test dlls/dispex/tests dispex_test
17948 wine_fn_config_dll display.drv16 enable_win16
17949 wine_fn_config_dll dmband enable_dmband clean
17950 wine_fn_config_test dlls/dmband/tests dmband_test
17951 wine_fn_config_dll dmcompos enable_dmcompos clean
17952 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17953 wine_fn_config_dll dmime enable_dmime clean
17954 wine_fn_config_test dlls/dmime/tests dmime_test
17955 wine_fn_config_dll dmloader enable_dmloader clean
17956 wine_fn_config_test dlls/dmloader/tests dmloader_test
17957 wine_fn_config_dll dmscript enable_dmscript clean
17958 wine_fn_config_test dlls/dmscript/tests dmscript_test
17959 wine_fn_config_dll dmstyle enable_dmstyle clean
17960 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17961 wine_fn_config_dll dmsynth enable_dmsynth clean
17962 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17963 wine_fn_config_dll dmusic enable_dmusic clean
17964 wine_fn_config_test dlls/dmusic/tests dmusic_test
17965 wine_fn_config_dll dmusic32 enable_dmusic32
17966 wine_fn_config_dll dnsapi enable_dnsapi implib
17967 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17968 wine_fn_config_dll dplay enable_dplay
17969 wine_fn_config_dll dplayx enable_dplayx clean,implib
17970 wine_fn_config_test dlls/dplayx/tests dplayx_test
17971 wine_fn_config_dll dpnaddr enable_dpnaddr
17972 wine_fn_config_dll dpnet enable_dpnet clean,implib
17973 wine_fn_config_test dlls/dpnet/tests dpnet_test
17974 wine_fn_config_dll dpnhpast enable_dpnhpast
17975 wine_fn_config_dll dpnlobby enable_dpnlobby
17976 wine_fn_config_dll dpvoice enable_dpvoice clean
17977 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17978 wine_fn_config_dll dpwsockx enable_dpwsockx
17979 wine_fn_config_dll drmclien enable_drmclien
17980 wine_fn_config_dll dsound enable_dsound clean,implib
17981 wine_fn_config_test dlls/dsound/tests dsound_test
17982 wine_fn_config_dll dssenh enable_dssenh
17983 wine_fn_config_test dlls/dssenh/tests dssenh_test
17984 wine_fn_config_dll dswave enable_dswave clean
17985 wine_fn_config_test dlls/dswave/tests dswave_test
17986 wine_fn_config_dll dwmapi enable_dwmapi implib
17987 wine_fn_config_dll dwrite enable_dwrite implib
17988 wine_fn_config_test dlls/dwrite/tests dwrite_test
17989 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17990 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17991 wine_fn_config_lib dxerr8
17992 wine_fn_config_lib dxerr9
17993 wine_fn_config_dll dxgi enable_dxgi implib
17994 wine_fn_config_test dlls/dxgi/tests dxgi_test
17995 wine_fn_config_lib dxguid
17996 wine_fn_config_dll dxva2 enable_dxva2
17997 wine_fn_config_dll esent enable_esent
17998 wine_fn_config_dll evr enable_evr
17999 wine_fn_config_dll explorerframe enable_explorerframe clean
18000 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18001 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18002 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18003 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18004 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18005 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18006 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18007 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18008 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18009 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18010 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18011 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18012 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18013 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18014 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18015 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
18016 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18017 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18018 wine_fn_config_dll faultrep enable_faultrep implib
18019 wine_fn_config_test dlls/faultrep/tests faultrep_test
18020 wine_fn_config_dll fltlib enable_fltlib
18021 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18022 wine_fn_config_dll fntcache enable_fntcache
18023 wine_fn_config_dll fontsub enable_fontsub
18024 wine_fn_config_dll fusion enable_fusion
18025 wine_fn_config_test dlls/fusion/tests fusion_test
18026 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18027 wine_fn_config_dll gameux enable_gameux clean
18028 wine_fn_config_test dlls/gameux/tests gameux_test
18029 wine_fn_config_dll gdi.exe16 enable_win16
18030 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18031 wine_fn_config_test dlls/gdi32/tests gdi32_test
18032 wine_fn_config_dll gdiplus enable_gdiplus implib
18033 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18034 wine_fn_config_dll glu32 enable_glu32 implib
18035 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18036 wine_fn_config_dll gpkcsp enable_gpkcsp
18037 wine_fn_config_dll hal enable_hal
18038 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18039 wine_fn_config_dll hid enable_hid implib
18040 wine_fn_config_test dlls/hid/tests hid_test
18041 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18042 wine_fn_config_dll hlink enable_hlink clean,implib
18043 wine_fn_config_test dlls/hlink/tests hlink_test
18044 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18045 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18046 wine_fn_config_dll httpapi enable_httpapi
18047 wine_fn_config_dll iccvid enable_iccvid clean
18048 wine_fn_config_dll icmp enable_icmp
18049 wine_fn_config_dll ieframe enable_ieframe clean,implib
18050 wine_fn_config_test dlls/ieframe/tests ieframe_test
18051 wine_fn_config_dll ifsmgr.vxd enable_win16
18052 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18053 wine_fn_config_dll imagehlp enable_imagehlp implib
18054 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18055 wine_fn_config_dll imm.dll16 enable_win16
18056 wine_fn_config_dll imm32 enable_imm32 implib
18057 wine_fn_config_test dlls/imm32/tests imm32_test
18058 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18059 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18060 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18061 wine_fn_config_dll inetmib1 enable_inetmib1
18062 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18063 wine_fn_config_dll infosoft enable_infosoft clean
18064 wine_fn_config_test dlls/infosoft/tests infosoft_test
18065 wine_fn_config_dll initpki enable_initpki
18066 wine_fn_config_dll inkobj enable_inkobj
18067 wine_fn_config_dll inseng enable_inseng clean
18068 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18069 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18070 wine_fn_config_dll iprop enable_iprop
18071 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18072 wine_fn_config_dll itircl enable_itircl
18073 wine_fn_config_dll itss enable_itss clean
18074 wine_fn_config_test dlls/itss/tests itss_test
18075 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18076 wine_fn_config_dll jscript enable_jscript clean
18077 wine_fn_config_test dlls/jscript/tests jscript_test
18078 wine_fn_config_dll jsproxy enable_jsproxy implib
18079 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18080 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18081 wine_fn_config_test dlls/kernel32/tests kernel32_test
18082 wine_fn_config_dll kernelbase enable_kernelbase
18083 wine_fn_config_dll keyboard.drv16 enable_win16
18084 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18085 wine_fn_config_dll ksuser enable_ksuser
18086 wine_fn_config_dll ktmw32 enable_ktmw32
18087 wine_fn_config_dll loadperf enable_loadperf implib
18088 wine_fn_config_dll localspl enable_localspl clean
18089 wine_fn_config_test dlls/localspl/tests localspl_test
18090 wine_fn_config_dll localui enable_localui clean
18091 wine_fn_config_test dlls/localui/tests localui_test
18092 wine_fn_config_dll lz32 enable_lz32 implib
18093 wine_fn_config_test dlls/lz32/tests lz32_test
18094 wine_fn_config_dll lzexpand.dll16 enable_win16
18095 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18096 wine_fn_config_test dlls/mapi32/tests mapi32_test
18097 wine_fn_config_dll mapistub enable_mapistub
18098 wine_fn_config_dll mciavi32 enable_mciavi32
18099 wine_fn_config_dll mcicda enable_mcicda
18100 wine_fn_config_dll mciqtz32 enable_mciqtz32
18101 wine_fn_config_dll mciseq enable_mciseq
18102 wine_fn_config_dll mciwave enable_mciwave
18103 wine_fn_config_dll mf enable_mf
18104 wine_fn_config_dll mf3216 enable_mf3216
18105 wine_fn_config_dll mfplat enable_mfplat
18106 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18107 wine_fn_config_dll mgmtapi enable_mgmtapi
18108 wine_fn_config_dll midimap enable_midimap
18109 wine_fn_config_dll mlang enable_mlang clean,implib
18110 wine_fn_config_test dlls/mlang/tests mlang_test
18111 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18112 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18113 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18114 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18115 wine_fn_config_dll mmdevldr.vxd enable_win16
18116 wine_fn_config_dll mmsystem.dll16 enable_win16
18117 wine_fn_config_dll monodebg.vxd enable_win16
18118 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18119 wine_fn_config_dll mouse.drv16 enable_win16
18120 wine_fn_config_dll mpr enable_mpr clean,implib
18121 wine_fn_config_test dlls/mpr/tests mpr_test
18122 wine_fn_config_dll mprapi enable_mprapi implib
18123 wine_fn_config_dll msacm.dll16 enable_win16
18124 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18125 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18126 wine_fn_config_test dlls/msacm32/tests msacm32_test
18127 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18128 wine_fn_config_dll msasn1 enable_msasn1 implib
18129 wine_fn_config_dll mscat32 enable_mscat32
18130 wine_fn_config_dll mscms enable_mscms implib
18131 wine_fn_config_test dlls/mscms/tests mscms_test
18132 wine_fn_config_dll mscoree enable_mscoree clean
18133 wine_fn_config_test dlls/mscoree/tests mscoree_test
18134 wine_fn_config_dll msctf enable_msctf clean
18135 wine_fn_config_test dlls/msctf/tests msctf_test
18136 wine_fn_config_dll msctfp enable_msctfp clean
18137 wine_fn_config_dll msdaps enable_msdaps clean
18138 wine_fn_config_dll msdelta enable_msdelta
18139 wine_fn_config_dll msdmo enable_msdmo implib
18140 wine_fn_config_test dlls/msdmo/tests msdmo_test
18141 wine_fn_config_dll msdrm enable_msdrm
18142 wine_fn_config_dll msftedit enable_msftedit
18143 wine_fn_config_dll msg711.acm enable_msg711_acm
18144 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18145 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18146 wine_fn_config_dll mshtml enable_mshtml clean,implib
18147 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18148 wine_fn_config_dll msi enable_msi clean,implib
18149 wine_fn_config_test dlls/msi/tests msi_test
18150 wine_fn_config_dll msident enable_msident clean
18151 wine_fn_config_dll msimg32 enable_msimg32 implib
18152 wine_fn_config_dll msimsg enable_msimsg
18153 wine_fn_config_dll msimtf enable_msimtf clean
18154 wine_fn_config_dll msisip enable_msisip
18155 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18156 wine_fn_config_dll msls31 enable_msls31
18157 wine_fn_config_dll msnet32 enable_msnet32
18158 wine_fn_config_dll mspatcha enable_mspatcha implib
18159 wine_fn_config_dll msports enable_msports
18160 wine_fn_config_dll msrle32 enable_msrle32 clean
18161 wine_fn_config_test dlls/msrle32/tests msrle32_test
18162 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18163 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18164 wine_fn_config_dll mssign32 enable_mssign32
18165 wine_fn_config_dll mssip32 enable_mssip32
18166 wine_fn_config_dll mstask enable_mstask clean
18167 wine_fn_config_test dlls/mstask/tests mstask_test
18168 wine_fn_config_dll msvcirt enable_msvcirt
18169 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18170 wine_fn_config_dll msvcm80 enable_msvcm80
18171 wine_fn_config_dll msvcm90 enable_msvcm90
18172 wine_fn_config_dll msvcp100 enable_msvcp100
18173 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18174 wine_fn_config_dll msvcp110 enable_msvcp110
18175 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18176 wine_fn_config_dll msvcp120 enable_msvcp120
18177 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18178 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18179 wine_fn_config_dll msvcp140 enable_msvcp140
18180 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18181 wine_fn_config_dll msvcp60 enable_msvcp60
18182 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18183 wine_fn_config_dll msvcp70 enable_msvcp70
18184 wine_fn_config_dll msvcp71 enable_msvcp71
18185 wine_fn_config_dll msvcp80 enable_msvcp80
18186 wine_fn_config_dll msvcp90 enable_msvcp90
18187 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18188 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18189 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18190 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18191 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18192 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18193 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18194 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18195 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18196 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18197 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18198 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18199 wine_fn_config_dll msvcrt enable_msvcrt implib
18200 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18201 wine_fn_config_dll msvcrt20 enable_msvcrt20
18202 wine_fn_config_dll msvcrt40 enable_msvcrt40
18203 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18204 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18205 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18206 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18207 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18208 wine_fn_config_dll msvideo.dll16 enable_win16
18209 wine_fn_config_dll mswsock enable_mswsock implib
18210 wine_fn_config_dll msxml enable_msxml clean
18211 wine_fn_config_dll msxml2 enable_msxml2 clean
18212 wine_fn_config_dll msxml3 enable_msxml3 clean
18213 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18214 wine_fn_config_dll msxml4 enable_msxml4 clean
18215 wine_fn_config_dll msxml6 enable_msxml6 clean
18216 wine_fn_config_dll ncrypt enable_ncrypt
18217 wine_fn_config_dll nddeapi enable_nddeapi implib
18218 wine_fn_config_dll ndis.sys enable_ndis_sys
18219 wine_fn_config_dll netapi32 enable_netapi32 implib
18220 wine_fn_config_test dlls/netapi32/tests netapi32_test
18221 wine_fn_config_dll netcfgx enable_netcfgx clean
18222 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18223 wine_fn_config_dll netprofm enable_netprofm clean
18224 wine_fn_config_test dlls/netprofm/tests netprofm_test
18225 wine_fn_config_dll newdev enable_newdev implib
18226 wine_fn_config_dll normaliz enable_normaliz implib
18227 wine_fn_config_dll npmshtml enable_npmshtml
18228 wine_fn_config_dll npptools enable_npptools
18229 wine_fn_config_dll ntdll enable_ntdll implib
18230 wine_fn_config_test dlls/ntdll/tests ntdll_test
18231 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18232 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18233 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18234 wine_fn_config_dll ntprint enable_ntprint
18235 wine_fn_config_test dlls/ntprint/tests ntprint_test
18236 wine_fn_config_dll objsel enable_objsel clean
18237 wine_fn_config_dll odbc32 enable_odbc32 implib
18238 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18239 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18240 wine_fn_config_dll odbccu32 enable_odbccu32
18241 wine_fn_config_dll ole2.dll16 enable_win16
18242 wine_fn_config_dll ole2conv.dll16 enable_win16
18243 wine_fn_config_dll ole2disp.dll16 enable_win16
18244 wine_fn_config_dll ole2nls.dll16 enable_win16
18245 wine_fn_config_dll ole2prox.dll16 enable_win16
18246 wine_fn_config_dll ole2thk.dll16 enable_win16
18247 wine_fn_config_dll ole32 enable_ole32 clean,implib
18248 wine_fn_config_test dlls/ole32/tests ole32_test
18249 wine_fn_config_dll oleacc enable_oleacc clean,implib
18250 wine_fn_config_test dlls/oleacc/tests oleacc_test
18251 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18252 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18253 wine_fn_config_dll olecli.dll16 enable_win16
18254 wine_fn_config_dll olecli32 enable_olecli32 implib
18255 wine_fn_config_dll oledb32 enable_oledb32 clean
18256 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18257 wine_fn_config_dll oledlg enable_oledlg clean,implib
18258 wine_fn_config_test dlls/oledlg/tests oledlg_test
18259 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18260 wine_fn_config_dll olesvr.dll16 enable_win16
18261 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18262 wine_fn_config_dll olethk32 enable_olethk32
18263 wine_fn_config_dll openal32 enable_openal32
18264 wine_fn_config_dll opencl enable_opencl
18265 wine_fn_config_dll opengl32 enable_opengl32 implib
18266 wine_fn_config_test dlls/opengl32/tests opengl32_test
18267 wine_fn_config_dll packager enable_packager clean
18268 wine_fn_config_test dlls/packager/tests packager_test
18269 wine_fn_config_dll pdh enable_pdh implib
18270 wine_fn_config_test dlls/pdh/tests pdh_test
18271 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18272 wine_fn_config_dll pidgen enable_pidgen
18273 wine_fn_config_dll powrprof enable_powrprof implib
18274 wine_fn_config_dll printui enable_printui
18275 wine_fn_config_dll prntvpt enable_prntvpt
18276 wine_fn_config_dll propsys enable_propsys clean,implib
18277 wine_fn_config_test dlls/propsys/tests propsys_test
18278 wine_fn_config_dll psapi enable_psapi implib
18279 wine_fn_config_test dlls/psapi/tests psapi_test
18280 wine_fn_config_dll pstorec enable_pstorec clean
18281 wine_fn_config_test dlls/pstorec/tests pstorec_test
18282 wine_fn_config_dll qcap enable_qcap
18283 wine_fn_config_test dlls/qcap/tests qcap_test
18284 wine_fn_config_dll qedit enable_qedit clean
18285 wine_fn_config_test dlls/qedit/tests qedit_test
18286 wine_fn_config_dll qmgr enable_qmgr clean
18287 wine_fn_config_test dlls/qmgr/tests qmgr_test
18288 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18289 wine_fn_config_dll quartz enable_quartz clean,implib
18290 wine_fn_config_test dlls/quartz/tests quartz_test clean
18291 wine_fn_config_dll query enable_query
18292 wine_fn_config_dll rasapi16.dll16 enable_win16
18293 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18294 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18295 wine_fn_config_dll rasdlg enable_rasdlg implib
18296 wine_fn_config_dll regapi enable_regapi
18297 wine_fn_config_dll resutils enable_resutils implib
18298 wine_fn_config_dll riched20 enable_riched20 clean,implib
18299 wine_fn_config_test dlls/riched20/tests riched20_test
18300 wine_fn_config_dll riched32 enable_riched32
18301 wine_fn_config_test dlls/riched32/tests riched32_test
18302 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18303 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18304 wine_fn_config_dll rsabase enable_rsabase
18305 wine_fn_config_dll rsaenh enable_rsaenh implib
18306 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18307 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18308 wine_fn_config_dll rtutils enable_rtutils implib
18309 wine_fn_config_dll samlib enable_samlib
18310 wine_fn_config_dll sane.ds enable_sane_ds clean
18311 wine_fn_config_dll scarddlg enable_scarddlg
18312 wine_fn_config_dll sccbase enable_sccbase
18313 wine_fn_config_dll schannel enable_schannel
18314 wine_fn_config_test dlls/schannel/tests schannel_test
18315 wine_fn_config_dll schedsvc enable_schedsvc clean
18316 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18317 wine_fn_config_dll scrobj enable_scrobj clean
18318 wine_fn_config_dll scrrun enable_scrrun clean
18319 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18320 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18321 wine_fn_config_dll secur32 enable_secur32 implib
18322 wine_fn_config_test dlls/secur32/tests secur32_test
18323 wine_fn_config_dll security enable_security
18324 wine_fn_config_dll sensapi enable_sensapi implib
18325 wine_fn_config_dll serialui enable_serialui clean
18326 wine_fn_config_test dlls/serialui/tests serialui_test
18327 wine_fn_config_dll setupapi enable_setupapi clean,implib
18328 wine_fn_config_test dlls/setupapi/tests setupapi_test
18329 wine_fn_config_dll setupx.dll16 enable_win16
18330 wine_fn_config_dll sfc enable_sfc implib
18331 wine_fn_config_dll sfc_os enable_sfc_os implib
18332 wine_fn_config_dll shdoclc enable_shdoclc clean
18333 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18334 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18335 wine_fn_config_dll shell.dll16 enable_win16
18336 wine_fn_config_dll shell32 enable_shell32 clean,implib
18337 wine_fn_config_test dlls/shell32/tests shell32_test
18338 wine_fn_config_dll shfolder enable_shfolder implib
18339 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18340 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18341 wine_fn_config_dll slbcsp enable_slbcsp
18342 wine_fn_config_dll slc enable_slc implib
18343 wine_fn_config_test dlls/slc/tests slc_test
18344 wine_fn_config_dll snmpapi enable_snmpapi implib
18345 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18346 wine_fn_config_dll softpub enable_softpub
18347 wine_fn_config_dll sound.drv16 enable_win16
18348 wine_fn_config_dll spoolss enable_spoolss implib
18349 wine_fn_config_test dlls/spoolss/tests spoolss_test
18350 wine_fn_config_dll sspicli enable_sspicli
18351 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18352 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18353 wine_fn_config_dll sti enable_sti clean,implib
18354 wine_fn_config_test dlls/sti/tests sti_test
18355 wine_fn_config_dll storage.dll16 enable_win16
18356 wine_fn_config_dll stress.dll16 enable_win16
18357 wine_fn_config_lib strmbase
18358 wine_fn_config_lib strmiids
18359 wine_fn_config_dll svrapi enable_svrapi
18360 wine_fn_config_dll sxs enable_sxs implib
18361 wine_fn_config_test dlls/sxs/tests sxs_test
18362 wine_fn_config_dll system.drv16 enable_win16
18363 wine_fn_config_dll t2embed enable_t2embed implib
18364 wine_fn_config_test dlls/t2embed/tests t2embed_test
18365 wine_fn_config_dll tapi32 enable_tapi32 implib
18366 wine_fn_config_dll taskschd enable_taskschd clean
18367 wine_fn_config_test dlls/taskschd/tests taskschd_test
18368 wine_fn_config_dll tdi.sys enable_tdi_sys
18369 wine_fn_config_dll toolhelp.dll16 enable_win16
18370 wine_fn_config_dll traffic enable_traffic
18371 wine_fn_config_dll twain.dll16 enable_win16
18372 wine_fn_config_dll twain_32 enable_twain_32
18373 wine_fn_config_test dlls/twain_32/tests twain_32_test
18374 wine_fn_config_dll typelib.dll16 enable_win16
18375 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18376 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18377 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18378 wine_fn_config_dll unicows enable_unicows implib
18379 wine_fn_config_dll updspapi enable_updspapi
18380 wine_fn_config_dll url enable_url implib
18381 wine_fn_config_dll urlmon enable_urlmon clean,implib
18382 wine_fn_config_test dlls/urlmon/tests urlmon_test
18383 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18384 wine_fn_config_dll user.exe16 enable_win16
18385 wine_fn_config_dll user32 enable_user32 clean,implib
18386 wine_fn_config_test dlls/user32/tests user32_test
18387 wine_fn_config_dll userenv enable_userenv implib
18388 wine_fn_config_test dlls/userenv/tests userenv_test
18389 wine_fn_config_dll usp10 enable_usp10 implib
18390 wine_fn_config_test dlls/usp10/tests usp10_test
18391 wine_fn_config_lib uuid
18392 wine_fn_config_dll uxtheme enable_uxtheme implib
18393 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18394 wine_fn_config_dll vbscript enable_vbscript clean
18395 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18396 wine_fn_config_dll vcomp enable_vcomp
18397 wine_fn_config_test dlls/vcomp/tests vcomp_test
18398 wine_fn_config_dll vcomp100 enable_vcomp100
18399 wine_fn_config_dll vcomp110 enable_vcomp110
18400 wine_fn_config_dll vcomp120 enable_vcomp120
18401 wine_fn_config_dll vcomp140 enable_vcomp140
18402 wine_fn_config_dll vcomp90 enable_vcomp90
18403 wine_fn_config_dll vcruntime140 enable_vcruntime140
18404 wine_fn_config_dll vdhcp.vxd enable_win16
18405 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18406 wine_fn_config_dll ver.dll16 enable_win16
18407 wine_fn_config_dll version enable_version implib
18408 wine_fn_config_test dlls/version/tests version_test
18409 wine_fn_config_dll virtdisk enable_virtdisk
18410 wine_fn_config_dll vmm.vxd enable_win16
18411 wine_fn_config_dll vnbt.vxd enable_win16
18412 wine_fn_config_dll vnetbios.vxd enable_win16
18413 wine_fn_config_dll vssapi enable_vssapi
18414 wine_fn_config_dll vtdapi.vxd enable_win16
18415 wine_fn_config_dll vwin32.vxd enable_win16
18416 wine_fn_config_dll w32skrnl enable_win16
18417 wine_fn_config_dll w32sys.dll16 enable_win16
18418 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18419 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18420 wine_fn_config_dll wbemprox enable_wbemprox clean
18421 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18422 wine_fn_config_dll webservices enable_webservices implib
18423 wine_fn_config_test dlls/webservices/tests webservices_test
18424 wine_fn_config_dll wer enable_wer implib
18425 wine_fn_config_test dlls/wer/tests wer_test
18426 wine_fn_config_dll wevtapi enable_wevtapi
18427 wine_fn_config_dll wiaservc enable_wiaservc clean
18428 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18429 wine_fn_config_dll wimgapi enable_wimgapi
18430 wine_fn_config_dll win32s16.dll16 enable_win16
18431 wine_fn_config_dll win87em.dll16 enable_win16
18432 wine_fn_config_dll winaspi.dll16 enable_win16
18433 wine_fn_config_dll windebug.dll16 enable_win16
18434 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18435 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18436 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18437 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18438 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18439 wine_fn_config_dll winebus.sys enable_winebus_sys
18440 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18441 wine_fn_config_lib winecrt0
18442 wine_fn_config_dll wined3d enable_wined3d implib
18443 wine_fn_config_dll winegstreamer enable_winegstreamer
18444 wine_fn_config_dll winehid.sys enable_winehid_sys
18445 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18446 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18447 wine_fn_config_dll winemapi enable_winemapi
18448 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18449 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18450 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18451 wine_fn_config_dll wineps16.drv16 enable_win16
18452 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18453 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18454 wine_fn_config_dll winex11.drv enable_winex11_drv
18455 wine_fn_config_dll wing.dll16 enable_win16
18456 wine_fn_config_dll wing32 enable_wing32
18457 wine_fn_config_dll winhttp enable_winhttp clean,implib
18458 wine_fn_config_test dlls/winhttp/tests winhttp_test
18459 wine_fn_config_dll wininet enable_wininet clean,implib
18460 wine_fn_config_test dlls/wininet/tests wininet_test
18461 wine_fn_config_dll winmm enable_winmm clean,implib
18462 wine_fn_config_test dlls/winmm/tests winmm_test
18463 wine_fn_config_dll winnls.dll16 enable_win16
18464 wine_fn_config_dll winnls32 enable_winnls32 implib
18465 wine_fn_config_dll winscard enable_winscard implib
18466 wine_fn_config_dll winsock.dll16 enable_win16
18467 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18468 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18469 wine_fn_config_dll winsta enable_winsta
18470 wine_fn_config_dll wintab.dll16 enable_win16
18471 wine_fn_config_dll wintab32 enable_wintab32 implib
18472 wine_fn_config_test dlls/wintab32/tests wintab32_test
18473 wine_fn_config_dll wintrust enable_wintrust implib
18474 wine_fn_config_test dlls/wintrust/tests wintrust_test
18475 wine_fn_config_dll winusb enable_winusb
18476 wine_fn_config_dll wlanapi enable_wlanapi implib
18477 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18478 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18479 wine_fn_config_test dlls/wldap32/tests wldap32_test
18480 wine_fn_config_dll wmasf enable_wmasf
18481 wine_fn_config_dll wmi enable_wmi
18482 wine_fn_config_dll wmiutils enable_wmiutils clean
18483 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18484 wine_fn_config_dll wmp enable_wmp clean
18485 wine_fn_config_test dlls/wmp/tests wmp_test
18486 wine_fn_config_dll wmvcore enable_wmvcore
18487 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18488 wine_fn_config_dll wow32 enable_win16 implib
18489 wine_fn_config_dll wpc enable_wpc clean
18490 wine_fn_config_test dlls/wpc/tests wpc_test
18491 wine_fn_config_dll wpcap enable_wpcap
18492 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18493 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18494 wine_fn_config_dll wsdapi enable_wsdapi implib
18495 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18496 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18497 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18498 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18499 wine_fn_config_dll wsock32 enable_wsock32 implib
18500 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18501 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18502 wine_fn_config_dll wuapi enable_wuapi clean
18503 wine_fn_config_dll wuaueng enable_wuaueng
18504 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18505 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18506 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18507 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18508 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18509 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18510 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18511 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18512 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18513 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18514 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18515 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18516 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18517 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18518 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18519 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18520 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18521 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18522 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18523 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18524 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18525 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18526 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18527 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18528 wine_fn_config_dll xinput1_1 enable_xinput1_1
18529 wine_fn_config_dll xinput1_2 enable_xinput1_2
18530 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18531 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18532 wine_fn_config_dll xinput1_4 enable_xinput1_4
18533 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18534 wine_fn_config_dll xmllite enable_xmllite implib
18535 wine_fn_config_test dlls/xmllite/tests xmllite_test
18536 wine_fn_config_dll xolehlp enable_xolehlp
18537 wine_fn_config_dll xpsprint enable_xpsprint
18538 wine_fn_config_dll xpssvcs enable_xpssvcs
18539 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18540 wine_fn_config_makefile include enable_include clean,install-dev
18541 wine_fn_config_makefile libs/port enable_libs_port
18542 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18543 wine_fn_config_makefile libs/wpp enable_libs_wpp
18544 wine_fn_config_makefile loader enable_loader clean,install-lib
18545 wine_fn_config_makefile po enable_po clean
18546 wine_fn_config_program arp enable_arp install
18547 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18548 wine_fn_config_program attrib enable_attrib clean,install
18549 wine_fn_config_program cabarc enable_cabarc install
18550 wine_fn_config_program cacls enable_cacls install
18551 wine_fn_config_program clock enable_clock clean,install
18552 wine_fn_config_program cmd enable_cmd clean,install
18553 wine_fn_config_test programs/cmd/tests cmd.exe_test
18554 wine_fn_config_program conhost enable_conhost install
18555 wine_fn_config_program control enable_control install
18556 wine_fn_config_program cscript enable_cscript clean,install
18557 wine_fn_config_program dpnsvr enable_dpnsvr install
18558 wine_fn_config_program dxdiag enable_dxdiag clean,install
18559 wine_fn_config_program eject enable_eject install
18560 wine_fn_config_program expand enable_expand install
18561 wine_fn_config_program explorer enable_explorer clean,install
18562 wine_fn_config_program extrac32 enable_extrac32 install
18563 wine_fn_config_program findstr enable_findstr install
18564 wine_fn_config_program fsutil enable_fsutil install
18565 wine_fn_config_program hh enable_hh install
18566 wine_fn_config_program hostname enable_hostname clean,install
18567 wine_fn_config_program icacls enable_icacls install
18568 wine_fn_config_program icinfo enable_icinfo install
18569 wine_fn_config_program iexplore enable_iexplore install
18570 wine_fn_config_program ipconfig enable_ipconfig clean,install
18571 wine_fn_config_program lodctr enable_lodctr install
18572 wine_fn_config_program mofcomp enable_mofcomp install
18573 wine_fn_config_program mshta enable_mshta install
18574 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18575 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18576 wine_fn_config_program net enable_net clean,install
18577 wine_fn_config_program netsh enable_netsh install
18578 wine_fn_config_program netstat enable_netstat clean,install
18579 wine_fn_config_program ngen enable_ngen install
18580 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18581 wine_fn_config_program oleview enable_oleview clean,install
18582 wine_fn_config_program ping enable_ping install
18583 wine_fn_config_program plugplay enable_plugplay install
18584 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18585 wine_fn_config_program progman enable_progman clean,install
18586 wine_fn_config_program reg enable_reg clean,install
18587 wine_fn_config_test programs/reg/tests reg.exe_test
18588 wine_fn_config_program regasm enable_regasm install
18589 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18590 wine_fn_config_test programs/regedit/tests regedit.exe_test
18591 wine_fn_config_program regsvcs enable_regsvcs install
18592 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18593 wine_fn_config_program rpcss enable_rpcss clean,install
18594 wine_fn_config_program rundll.exe16 enable_win16 install
18595 wine_fn_config_program rundll32 enable_rundll32 install
18596 wine_fn_config_program sc enable_sc install
18597 wine_fn_config_program schtasks enable_schtasks install
18598 wine_fn_config_program sdbinst enable_sdbinst install
18599 wine_fn_config_program secedit enable_secedit install
18600 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18601 wine_fn_config_program services enable_services clean,install
18602 wine_fn_config_test programs/services/tests services.exe_test
18603 wine_fn_config_program shutdown enable_shutdown install
18604 wine_fn_config_program spoolsv enable_spoolsv install
18605 wine_fn_config_program start enable_start clean,install
18606 wine_fn_config_program subst enable_subst install
18607 wine_fn_config_program svchost enable_svchost install
18608 wine_fn_config_program systeminfo enable_systeminfo install
18609 wine_fn_config_program taskkill enable_taskkill clean,install
18610 wine_fn_config_program tasklist enable_tasklist install
18611 wine_fn_config_program taskmgr enable_taskmgr clean,install
18612 wine_fn_config_program termsv enable_termsv install
18613 wine_fn_config_program uninstaller enable_uninstaller clean,install
18614 wine_fn_config_program unlodctr enable_unlodctr install
18615 wine_fn_config_program view enable_view clean,install
18616 wine_fn_config_program wevtutil enable_wevtutil install
18617 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18618 wine_fn_config_program winebrowser enable_winebrowser install
18619 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18620 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18621 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18622 wine_fn_config_program winedevice enable_winedevice install
18623 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18624 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18625 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18626 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18627 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18628 wine_fn_config_program winetest enable_winetest clean
18629 wine_fn_config_program winevdm enable_win16 install
18630 wine_fn_config_program winhelp.exe16 enable_win16 install
18631 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18632 wine_fn_config_program winoldap.mod16 enable_win16 install
18633 wine_fn_config_program winver enable_winver install
18634 wine_fn_config_program wmic enable_wmic clean,install
18635 wine_fn_config_program wmplayer enable_wmplayer install
18636 wine_fn_config_program wordpad enable_wordpad clean,install
18637 wine_fn_config_program write enable_write clean,install
18638 wine_fn_config_program wscript enable_wscript clean,install
18639 wine_fn_config_test programs/wscript/tests wscript.exe_test
18640 wine_fn_config_program wusa enable_wusa install
18641 wine_fn_config_program xcopy enable_xcopy clean,install
18642 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18643 wine_fn_config_makefile server enable_server clean,install-lib
18644 wine_fn_config_tool tools clean
18645 wine_fn_config_tool tools/sfnt2fon clean
18646 wine_fn_config_tool tools/widl clean,install-dev
18647 wine_fn_config_tool tools/winebuild clean,install-dev
18648 wine_fn_config_tool tools/winedump clean,install-dev
18649 wine_fn_config_tool tools/winegcc clean,install-dev
18650 wine_fn_config_tool tools/winemaker clean,install-dev
18651 wine_fn_config_tool tools/wmc clean,install-dev
18652 wine_fn_config_tool tools/wrc clean,install-dev
18655 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18656 wine_fn_append_file CONFIGURE_TARGETS "tags"
18657 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18658 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18659 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18660 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18661 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18662 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18664 if test "x$enable_tools" != xno
18665 then
18666 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18667 ac_config_commands="$ac_config_commands tools/makedep"
18671 ac_config_commands="$ac_config_commands Makefile"
18674 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18678 if test "x$enable_maintainer_mode" = xyes
18679 then
18680 wine_fn_append_rule "configure: configure.ac aclocal.m4
18681 autoconf --warnings=all
18682 include/config.h.in: include/stamp-h.in
18683 include/stamp-h.in: configure.ac aclocal.m4
18684 autoheader --warnings=all
18685 @echo timestamp > \$@"
18688 if test "x$enable_tools" != xno
18689 then
18690 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18691 @./config.status tools/makedep
18692 Makefile: tools/makedep$ac_exeext"
18693 else
18694 wine_fn_append_rule "\$(MAKEDEP):
18695 @echo \"You need to run make in $TOOLSDIR first\" && false"
18698 if test -n "$with_wine64"
18699 then
18700 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18701 fonts server:
18702 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18703 $with_wine64/loader/wine:
18704 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18705 $with_wine64/loader/wine-preloader:
18706 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18707 clean::
18708 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18709 else
18710 WINELOADER_INSTALL="wine.inf"
18712 wine_fn_append_rule "install install-lib::
18713 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18714 uninstall::
18715 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18716 case $host_os in
18717 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18718 *) wine_fn_append_rule "install install-lib::
18719 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18720 uninstall::
18721 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18722 esac
18725 $as_echo " done" >&6
18726 cat >confcache <<\_ACEOF
18727 # This file is a shell script that caches the results of configure
18728 # tests run on this system so they can be shared between configure
18729 # scripts and configure runs, see configure's option --config-cache.
18730 # It is not useful on other systems. If it contains results you don't
18731 # want to keep, you may remove or edit it.
18733 # config.status only pays attention to the cache file if you give it
18734 # the --recheck option to rerun configure.
18736 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18737 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18738 # following values.
18740 _ACEOF
18742 # The following way of writing the cache mishandles newlines in values,
18743 # but we know of no workaround that is simple, portable, and efficient.
18744 # So, we kill variables containing newlines.
18745 # Ultrix sh set writes to stderr and can't be redirected directly,
18746 # and sets the high bit in the cache file unless we assign to the vars.
18748 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18749 eval ac_val=\$$ac_var
18750 case $ac_val in #(
18751 *${as_nl}*)
18752 case $ac_var in #(
18753 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18754 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18755 esac
18756 case $ac_var in #(
18757 _ | IFS | as_nl) ;; #(
18758 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18759 *) { eval $ac_var=; unset $ac_var;} ;;
18760 esac ;;
18761 esac
18762 done
18764 (set) 2>&1 |
18765 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18766 *${as_nl}ac_space=\ *)
18767 # `set' does not quote correctly, so add quotes: double-quote
18768 # substitution turns \\\\ into \\, and sed turns \\ into \.
18769 sed -n \
18770 "s/'/'\\\\''/g;
18771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18772 ;; #(
18774 # `set' quotes correctly as required by POSIX, so do not add quotes.
18775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18777 esac |
18778 sort
18780 sed '
18781 /^ac_cv_env_/b end
18782 t clear
18783 :clear
18784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18785 t end
18786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18787 :end' >>confcache
18788 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18789 if test -w "$cache_file"; then
18790 if test "x$cache_file" != "x/dev/null"; then
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18792 $as_echo "$as_me: updating cache $cache_file" >&6;}
18793 if test ! -f "$cache_file" || test -h "$cache_file"; then
18794 cat confcache >"$cache_file"
18795 else
18796 case $cache_file in #(
18797 */* | ?:*)
18798 mv -f confcache "$cache_file"$$ &&
18799 mv -f "$cache_file"$$ "$cache_file" ;; #(
18801 mv -f confcache "$cache_file" ;;
18802 esac
18805 else
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18807 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18810 rm -f confcache
18812 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18813 # Let make expand exec_prefix.
18814 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18816 DEFS=-DHAVE_CONFIG_H
18818 ac_libobjs=
18819 ac_ltlibobjs=
18821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18822 # 1. Remove the extension, and $U if already installed.
18823 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18824 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18826 # will be set to the directory where LIBOBJS objects are built.
18827 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18828 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18829 done
18830 LIBOBJS=$ac_libobjs
18832 LTLIBOBJS=$ac_ltlibobjs
18836 : "${CONFIG_STATUS=./config.status}"
18837 ac_write_fail=0
18838 ac_clean_files_save=$ac_clean_files
18839 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18841 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18842 as_write_fail=0
18843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18844 #! $SHELL
18845 # Generated by $as_me.
18846 # Run this file to recreate the current configuration.
18847 # Compiler output produced by configure, useful for debugging
18848 # configure, is in config.log if it exists.
18850 debug=false
18851 ac_cs_recheck=false
18852 ac_cs_silent=false
18854 SHELL=\${CONFIG_SHELL-$SHELL}
18855 export SHELL
18856 _ASEOF
18857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18858 ## -------------------- ##
18859 ## M4sh Initialization. ##
18860 ## -------------------- ##
18862 # Be more Bourne compatible
18863 DUALCASE=1; export DUALCASE # for MKS sh
18864 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18865 emulate sh
18866 NULLCMD=:
18867 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18868 # is contrary to our usage. Disable this feature.
18869 alias -g '${1+"$@"}'='"$@"'
18870 setopt NO_GLOB_SUBST
18871 else
18872 case `(set -o) 2>/dev/null` in #(
18873 *posix*) :
18874 set -o posix ;; #(
18875 *) :
18877 esac
18881 as_nl='
18883 export as_nl
18884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18885 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18888 # Prefer a ksh shell builtin over an external printf program on Solaris,
18889 # but without wasting forks for bash or zsh.
18890 if test -z "$BASH_VERSION$ZSH_VERSION" \
18891 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18892 as_echo='print -r --'
18893 as_echo_n='print -rn --'
18894 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18895 as_echo='printf %s\n'
18896 as_echo_n='printf %s'
18897 else
18898 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18899 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18900 as_echo_n='/usr/ucb/echo -n'
18901 else
18902 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18903 as_echo_n_body='eval
18904 arg=$1;
18905 case $arg in #(
18906 *"$as_nl"*)
18907 expr "X$arg" : "X\\(.*\\)$as_nl";
18908 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18909 esac;
18910 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18912 export as_echo_n_body
18913 as_echo_n='sh -c $as_echo_n_body as_echo'
18915 export as_echo_body
18916 as_echo='sh -c $as_echo_body as_echo'
18919 # The user is always right.
18920 if test "${PATH_SEPARATOR+set}" != set; then
18921 PATH_SEPARATOR=:
18922 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18923 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18924 PATH_SEPARATOR=';'
18929 # IFS
18930 # We need space, tab and new line, in precisely that order. Quoting is
18931 # there to prevent editors from complaining about space-tab.
18932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18933 # splitting by setting IFS to empty value.)
18934 IFS=" "" $as_nl"
18936 # Find who we are. Look in the path if we contain no directory separator.
18937 as_myself=
18938 case $0 in #((
18939 *[\\/]* ) as_myself=$0 ;;
18940 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18941 for as_dir in $PATH
18943 IFS=$as_save_IFS
18944 test -z "$as_dir" && as_dir=.
18945 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18946 done
18947 IFS=$as_save_IFS
18950 esac
18951 # We did not find ourselves, most probably we were run as `sh COMMAND'
18952 # in which case we are not to be found in the path.
18953 if test "x$as_myself" = x; then
18954 as_myself=$0
18956 if test ! -f "$as_myself"; then
18957 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18958 exit 1
18961 # Unset variables that we do not need and which cause bugs (e.g. in
18962 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18963 # suppresses any "Segmentation fault" message there. '((' could
18964 # trigger a bug in pdksh 5.2.14.
18965 for as_var in BASH_ENV ENV MAIL MAILPATH
18966 do eval test x\${$as_var+set} = xset \
18967 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18968 done
18969 PS1='$ '
18970 PS2='> '
18971 PS4='+ '
18973 # NLS nuisances.
18974 LC_ALL=C
18975 export LC_ALL
18976 LANGUAGE=C
18977 export LANGUAGE
18979 # CDPATH.
18980 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18983 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18984 # ----------------------------------------
18985 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18986 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18987 # script with STATUS, using 1 if that was 0.
18988 as_fn_error ()
18990 as_status=$1; test $as_status -eq 0 && as_status=1
18991 if test "$4"; then
18992 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18993 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18995 $as_echo "$as_me: error: $2" >&2
18996 as_fn_exit $as_status
18997 } # as_fn_error
19000 # as_fn_set_status STATUS
19001 # -----------------------
19002 # Set $? to STATUS, without forking.
19003 as_fn_set_status ()
19005 return $1
19006 } # as_fn_set_status
19008 # as_fn_exit STATUS
19009 # -----------------
19010 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19011 as_fn_exit ()
19013 set +e
19014 as_fn_set_status $1
19015 exit $1
19016 } # as_fn_exit
19018 # as_fn_unset VAR
19019 # ---------------
19020 # Portably unset VAR.
19021 as_fn_unset ()
19023 { eval $1=; unset $1;}
19025 as_unset=as_fn_unset
19026 # as_fn_append VAR VALUE
19027 # ----------------------
19028 # Append the text in VALUE to the end of the definition contained in VAR. Take
19029 # advantage of any shell optimizations that allow amortized linear growth over
19030 # repeated appends, instead of the typical quadratic growth present in naive
19031 # implementations.
19032 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19033 eval 'as_fn_append ()
19035 eval $1+=\$2
19037 else
19038 as_fn_append ()
19040 eval $1=\$$1\$2
19042 fi # as_fn_append
19044 # as_fn_arith ARG...
19045 # ------------------
19046 # Perform arithmetic evaluation on the ARGs, and store the result in the
19047 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19048 # must be portable across $(()) and expr.
19049 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19050 eval 'as_fn_arith ()
19052 as_val=$(( $* ))
19054 else
19055 as_fn_arith ()
19057 as_val=`expr "$@" || test $? -eq 1`
19059 fi # as_fn_arith
19062 if expr a : '\(a\)' >/dev/null 2>&1 &&
19063 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19064 as_expr=expr
19065 else
19066 as_expr=false
19069 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19070 as_basename=basename
19071 else
19072 as_basename=false
19075 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19076 as_dirname=dirname
19077 else
19078 as_dirname=false
19081 as_me=`$as_basename -- "$0" ||
19082 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19083 X"$0" : 'X\(//\)$' \| \
19084 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19085 $as_echo X/"$0" |
19086 sed '/^.*\/\([^/][^/]*\)\/*$/{
19087 s//\1/
19090 /^X\/\(\/\/\)$/{
19091 s//\1/
19094 /^X\/\(\/\).*/{
19095 s//\1/
19098 s/.*/./; q'`
19100 # Avoid depending upon Character Ranges.
19101 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19102 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19103 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19104 as_cr_digits='0123456789'
19105 as_cr_alnum=$as_cr_Letters$as_cr_digits
19107 ECHO_C= ECHO_N= ECHO_T=
19108 case `echo -n x` in #(((((
19109 -n*)
19110 case `echo 'xy\c'` in
19111 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19112 xy) ECHO_C='\c';;
19113 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19114 ECHO_T=' ';;
19115 esac;;
19117 ECHO_N='-n';;
19118 esac
19120 rm -f conf$$ conf$$.exe conf$$.file
19121 if test -d conf$$.dir; then
19122 rm -f conf$$.dir/conf$$.file
19123 else
19124 rm -f conf$$.dir
19125 mkdir conf$$.dir 2>/dev/null
19127 if (echo >conf$$.file) 2>/dev/null; then
19128 if ln -s conf$$.file conf$$ 2>/dev/null; then
19129 as_ln_s='ln -s'
19130 # ... but there are two gotchas:
19131 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19132 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19133 # In both cases, we have to default to `cp -pR'.
19134 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19135 as_ln_s='cp -pR'
19136 elif ln conf$$.file conf$$ 2>/dev/null; then
19137 as_ln_s=ln
19138 else
19139 as_ln_s='cp -pR'
19141 else
19142 as_ln_s='cp -pR'
19144 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19145 rmdir conf$$.dir 2>/dev/null
19148 # as_fn_mkdir_p
19149 # -------------
19150 # Create "$as_dir" as a directory, including parents if necessary.
19151 as_fn_mkdir_p ()
19154 case $as_dir in #(
19155 -*) as_dir=./$as_dir;;
19156 esac
19157 test -d "$as_dir" || eval $as_mkdir_p || {
19158 as_dirs=
19159 while :; do
19160 case $as_dir in #(
19161 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19162 *) as_qdir=$as_dir;;
19163 esac
19164 as_dirs="'$as_qdir' $as_dirs"
19165 as_dir=`$as_dirname -- "$as_dir" ||
19166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19167 X"$as_dir" : 'X\(//\)[^/]' \| \
19168 X"$as_dir" : 'X\(//\)$' \| \
19169 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19170 $as_echo X"$as_dir" |
19171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19172 s//\1/
19175 /^X\(\/\/\)[^/].*/{
19176 s//\1/
19179 /^X\(\/\/\)$/{
19180 s//\1/
19183 /^X\(\/\).*/{
19184 s//\1/
19187 s/.*/./; q'`
19188 test -d "$as_dir" && break
19189 done
19190 test -z "$as_dirs" || eval "mkdir $as_dirs"
19191 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19194 } # as_fn_mkdir_p
19195 if mkdir -p . 2>/dev/null; then
19196 as_mkdir_p='mkdir -p "$as_dir"'
19197 else
19198 test -d ./-p && rmdir ./-p
19199 as_mkdir_p=false
19203 # as_fn_executable_p FILE
19204 # -----------------------
19205 # Test if FILE is an executable regular file.
19206 as_fn_executable_p ()
19208 test -f "$1" && test -x "$1"
19209 } # as_fn_executable_p
19210 as_test_x='test -x'
19211 as_executable_p=as_fn_executable_p
19213 # Sed expression to map a string onto a valid CPP name.
19214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19216 # Sed expression to map a string onto a valid variable name.
19217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19220 exec 6>&1
19221 ## ----------------------------------- ##
19222 ## Main body of $CONFIG_STATUS script. ##
19223 ## ----------------------------------- ##
19224 _ASEOF
19225 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19228 # Save the log message, to keep $0 and so on meaningful, and to
19229 # report actual input values of CONFIG_FILES etc. instead of their
19230 # values after options handling.
19231 ac_log="
19232 This file was extended by Wine $as_me 2.5, which was
19233 generated by GNU Autoconf 2.69. Invocation command line was
19235 CONFIG_FILES = $CONFIG_FILES
19236 CONFIG_HEADERS = $CONFIG_HEADERS
19237 CONFIG_LINKS = $CONFIG_LINKS
19238 CONFIG_COMMANDS = $CONFIG_COMMANDS
19239 $ $0 $@
19241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19244 _ACEOF
19246 case $ac_config_files in *"
19247 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19248 esac
19250 case $ac_config_headers in *"
19251 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19252 esac
19255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19256 # Files that config.status was made for.
19257 config_files="$ac_config_files"
19258 config_headers="$ac_config_headers"
19259 config_links="$ac_config_links"
19260 config_commands="$ac_config_commands"
19262 _ACEOF
19264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19265 ac_cs_usage="\
19266 \`$as_me' instantiates files and other configuration actions
19267 from templates according to the current configuration. Unless the files
19268 and actions are specified as TAGs, all are instantiated by default.
19270 Usage: $0 [OPTION]... [TAG]...
19272 -h, --help print this help, then exit
19273 -V, --version print version number and configuration settings, then exit
19274 --config print configuration, then exit
19275 -q, --quiet, --silent
19276 do not print progress messages
19277 -d, --debug don't remove temporary files
19278 --recheck update $as_me by reconfiguring in the same conditions
19279 --file=FILE[:TEMPLATE]
19280 instantiate the configuration file FILE
19281 --header=FILE[:TEMPLATE]
19282 instantiate the configuration header FILE
19284 Configuration files:
19285 $config_files
19287 Configuration headers:
19288 $config_headers
19290 Configuration links:
19291 $config_links
19293 Configuration commands:
19294 $config_commands
19296 Report bugs to <wine-devel@winehq.org>.
19297 Wine home page: <http://www.winehq.org>."
19299 _ACEOF
19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19301 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19302 ac_cs_version="\\
19303 Wine config.status 2.5
19304 configured by $0, generated by GNU Autoconf 2.69,
19305 with options \\"\$ac_cs_config\\"
19307 Copyright (C) 2012 Free Software Foundation, Inc.
19308 This config.status script is free software; the Free Software Foundation
19309 gives unlimited permission to copy, distribute and modify it."
19311 ac_pwd='$ac_pwd'
19312 srcdir='$srcdir'
19313 test -n "\$AWK" || AWK=awk
19314 _ACEOF
19316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19317 # The default lists apply if the user does not specify any file.
19318 ac_need_defaults=:
19319 while test $# != 0
19321 case $1 in
19322 --*=?*)
19323 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19324 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19325 ac_shift=:
19327 --*=)
19328 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19329 ac_optarg=
19330 ac_shift=:
19333 ac_option=$1
19334 ac_optarg=$2
19335 ac_shift=shift
19337 esac
19339 case $ac_option in
19340 # Handling of the options.
19341 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19342 ac_cs_recheck=: ;;
19343 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19344 $as_echo "$ac_cs_version"; exit ;;
19345 --config | --confi | --conf | --con | --co | --c )
19346 $as_echo "$ac_cs_config"; exit ;;
19347 --debug | --debu | --deb | --de | --d | -d )
19348 debug=: ;;
19349 --file | --fil | --fi | --f )
19350 $ac_shift
19351 case $ac_optarg in
19352 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19353 '') as_fn_error $? "missing file argument" ;;
19354 esac
19355 as_fn_append CONFIG_FILES " '$ac_optarg'"
19356 ac_need_defaults=false;;
19357 --header | --heade | --head | --hea )
19358 $ac_shift
19359 case $ac_optarg in
19360 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19361 esac
19362 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19363 ac_need_defaults=false;;
19364 --he | --h)
19365 # Conflict between --help and --header
19366 as_fn_error $? "ambiguous option: \`$1'
19367 Try \`$0 --help' for more information.";;
19368 --help | --hel | -h )
19369 $as_echo "$ac_cs_usage"; exit ;;
19370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19371 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19372 ac_cs_silent=: ;;
19374 # This is an error.
19375 -*) as_fn_error $? "unrecognized option: \`$1'
19376 Try \`$0 --help' for more information." ;;
19378 *) as_fn_append ac_config_targets " $1"
19379 ac_need_defaults=false ;;
19381 esac
19382 shift
19383 done
19385 ac_configure_extra_args=
19387 if $ac_cs_silent; then
19388 exec 6>/dev/null
19389 ac_configure_extra_args="$ac_configure_extra_args --silent"
19392 _ACEOF
19393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19394 if \$ac_cs_recheck; then
19395 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19396 shift
19397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19398 CONFIG_SHELL='$SHELL'
19399 export CONFIG_SHELL
19400 exec "\$@"
19403 _ACEOF
19404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19405 exec 5>>config.log
19407 echo
19408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19409 ## Running $as_me. ##
19410 _ASBOX
19411 $as_echo "$ac_log"
19412 } >&5
19414 _ACEOF
19415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19417 # INIT-COMMANDS
19419 wine_fn_output_makedep ()
19421 as_dir=tools; as_fn_mkdir_p
19422 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19424 wine_fn_output_makefile ()
19426 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19427 `cat $wine_rules_file`
19428 _WINE_EOF
19429 as_fn_error $? "could not create Makefile" "$LINENO" 5
19432 _ACEOF
19434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19436 # Handling of arguments.
19437 for ac_config_target in $ac_config_targets
19439 case $ac_config_target in
19440 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19441 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19442 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19443 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19444 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19445 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19446 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19447 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19448 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19449 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19450 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19451 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19452 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19454 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19455 esac
19456 done
19459 # If the user did not use the arguments to specify the items to instantiate,
19460 # then the envvar interface is used. Set only those that are not.
19461 # We use the long form for the default assignment because of an extremely
19462 # bizarre bug on SunOS 4.1.3.
19463 if $ac_need_defaults; then
19464 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19465 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19466 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19467 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19470 # Have a temporary directory for convenience. Make it in the build tree
19471 # simply because there is no reason against having it here, and in addition,
19472 # creating and moving files from /tmp can sometimes cause problems.
19473 # Hook for its removal unless debugging.
19474 # Note that there is a small window in which the directory will not be cleaned:
19475 # after its creation but before its name has been assigned to `$tmp'.
19476 $debug ||
19478 tmp= ac_tmp=
19479 trap 'exit_status=$?
19480 : "${ac_tmp:=$tmp}"
19481 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19483 trap 'as_fn_exit 1' 1 2 13 15
19485 # Create a (secure) tmp directory for tmp files.
19488 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19489 test -d "$tmp"
19490 } ||
19492 tmp=./conf$$-$RANDOM
19493 (umask 077 && mkdir "$tmp")
19494 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19495 ac_tmp=$tmp
19497 # Set up the scripts for CONFIG_FILES section.
19498 # No need to generate them if there are no CONFIG_FILES.
19499 # This happens for instance with `./config.status config.h'.
19500 if test -n "$CONFIG_FILES"; then
19503 ac_cr=`echo X | tr X '\015'`
19504 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19505 # But we know of no other shell where ac_cr would be empty at this
19506 # point, so we can use a bashism as a fallback.
19507 if test "x$ac_cr" = x; then
19508 eval ac_cr=\$\'\\r\'
19510 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19511 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19512 ac_cs_awk_cr='\\r'
19513 else
19514 ac_cs_awk_cr=$ac_cr
19517 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19518 _ACEOF
19522 echo "cat >conf$$subs.awk <<_ACEOF" &&
19523 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19524 echo "_ACEOF"
19525 } >conf$$subs.sh ||
19526 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19527 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19528 ac_delim='%!_!# '
19529 for ac_last_try in false false false false false :; do
19530 . ./conf$$subs.sh ||
19531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19533 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19534 if test $ac_delim_n = $ac_delim_num; then
19535 break
19536 elif $ac_last_try; then
19537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19538 else
19539 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19541 done
19542 rm -f conf$$subs.sh
19544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19545 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19546 _ACEOF
19547 sed -n '
19549 s/^/S["/; s/!.*/"]=/
19552 s/^[^!]*!//
19553 :repl
19554 t repl
19555 s/'"$ac_delim"'$//
19556 t delim
19559 s/\(.\{148\}\)..*/\1/
19560 t more1
19561 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19564 b repl
19565 :more1
19566 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19569 s/.\{148\}//
19570 t nl
19571 :delim
19573 s/\(.\{148\}\)..*/\1/
19574 t more2
19575 s/["\\]/\\&/g; s/^/"/; s/$/"/
19578 :more2
19579 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19582 s/.\{148\}//
19583 t delim
19584 ' <conf$$subs.awk | sed '
19585 /^[^""]/{
19587 s/\n//
19589 ' >>$CONFIG_STATUS || ac_write_fail=1
19590 rm -f conf$$subs.awk
19591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19592 _ACAWK
19593 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19594 for (key in S) S_is_set[key] = 1
19595 FS = "\a"
19599 line = $ 0
19600 nfields = split(line, field, "@")
19601 substed = 0
19602 len = length(field[1])
19603 for (i = 2; i < nfields; i++) {
19604 key = field[i]
19605 keylen = length(key)
19606 if (S_is_set[key]) {
19607 value = S[key]
19608 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19609 len += length(value) + length(field[++i])
19610 substed = 1
19611 } else
19612 len += 1 + keylen
19615 print line
19618 _ACAWK
19619 _ACEOF
19620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19621 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19622 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19623 else
19625 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19626 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19627 _ACEOF
19629 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19630 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19631 # trailing colons and then remove the whole line if VPATH becomes empty
19632 # (actually we leave an empty line to preserve line numbers).
19633 if test "x$srcdir" = x.; then
19634 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19636 s///
19637 s/^/:/
19638 s/[ ]*$/:/
19639 s/:\$(srcdir):/:/g
19640 s/:\${srcdir}:/:/g
19641 s/:@srcdir@:/:/g
19642 s/^:*//
19643 s/:*$//
19645 s/\(=[ ]*\).*/\1/
19647 s/\n//
19648 s/^[^=]*=[ ]*$//
19652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19653 fi # test -n "$CONFIG_FILES"
19655 # Set up the scripts for CONFIG_HEADERS section.
19656 # No need to generate them if there are no CONFIG_HEADERS.
19657 # This happens for instance with `./config.status Makefile'.
19658 if test -n "$CONFIG_HEADERS"; then
19659 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19660 BEGIN {
19661 _ACEOF
19663 # Transform confdefs.h into an awk script `defines.awk', embedded as
19664 # here-document in config.status, that substitutes the proper values into
19665 # config.h.in to produce config.h.
19667 # Create a delimiter string that does not exist in confdefs.h, to ease
19668 # handling of long lines.
19669 ac_delim='%!_!# '
19670 for ac_last_try in false false :; do
19671 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19672 if test -z "$ac_tt"; then
19673 break
19674 elif $ac_last_try; then
19675 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19676 else
19677 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19679 done
19681 # For the awk script, D is an array of macro values keyed by name,
19682 # likewise P contains macro parameters if any. Preserve backslash
19683 # newline sequences.
19685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19686 sed -n '
19687 s/.\{148\}/&'"$ac_delim"'/g
19688 t rset
19689 :rset
19690 s/^[ ]*#[ ]*define[ ][ ]*/ /
19691 t def
19693 :def
19694 s/\\$//
19695 t bsnl
19696 s/["\\]/\\&/g
19697 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19698 D["\1"]=" \3"/p
19699 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19701 :bsnl
19702 s/["\\]/\\&/g
19703 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19704 D["\1"]=" \3\\\\\\n"\\/p
19705 t cont
19706 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19707 t cont
19709 :cont
19711 s/.\{148\}/&'"$ac_delim"'/g
19712 t clear
19713 :clear
19714 s/\\$//
19715 t bsnlc
19716 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19718 :bsnlc
19719 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19720 b cont
19721 ' <confdefs.h | sed '
19722 s/'"$ac_delim"'/"\\\
19723 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19726 for (key in D) D_is_set[key] = 1
19727 FS = "\a"
19729 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19730 line = \$ 0
19731 split(line, arg, " ")
19732 if (arg[1] == "#") {
19733 defundef = arg[2]
19734 mac1 = arg[3]
19735 } else {
19736 defundef = substr(arg[1], 2)
19737 mac1 = arg[2]
19739 split(mac1, mac2, "(") #)
19740 macro = mac2[1]
19741 prefix = substr(line, 1, index(line, defundef) - 1)
19742 if (D_is_set[macro]) {
19743 # Preserve the white space surrounding the "#".
19744 print prefix "define", macro P[macro] D[macro]
19745 next
19746 } else {
19747 # Replace #undef with comments. This is necessary, for example,
19748 # in the case of _POSIX_SOURCE, which is predefined and required
19749 # on some systems where configure will not decide to define it.
19750 if (defundef == "undef") {
19751 print "/*", prefix defundef, macro, "*/"
19752 next
19756 { print }
19757 _ACAWK
19758 _ACEOF
19759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19760 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19761 fi # test -n "$CONFIG_HEADERS"
19764 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19765 shift
19766 for ac_tag
19768 case $ac_tag in
19769 :[FHLC]) ac_mode=$ac_tag; continue;;
19770 esac
19771 case $ac_mode$ac_tag in
19772 :[FHL]*:*);;
19773 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19774 :[FH]-) ac_tag=-:-;;
19775 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19776 esac
19777 ac_save_IFS=$IFS
19778 IFS=:
19779 set x $ac_tag
19780 IFS=$ac_save_IFS
19781 shift
19782 ac_file=$1
19783 shift
19785 case $ac_mode in
19786 :L) ac_source=$1;;
19787 :[FH])
19788 ac_file_inputs=
19789 for ac_f
19791 case $ac_f in
19792 -) ac_f="$ac_tmp/stdin";;
19793 *) # Look for the file first in the build tree, then in the source tree
19794 # (if the path is not absolute). The absolute path cannot be DOS-style,
19795 # because $ac_f cannot contain `:'.
19796 test -f "$ac_f" ||
19797 case $ac_f in
19798 [\\/$]*) false;;
19799 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19800 esac ||
19801 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19802 esac
19803 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19804 as_fn_append ac_file_inputs " '$ac_f'"
19805 done
19807 # Let's still pretend it is `configure' which instantiates (i.e., don't
19808 # use $as_me), people would be surprised to read:
19809 # /* config.h. Generated by config.status. */
19810 configure_input='Generated from '`
19811 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19812 `' by configure.'
19813 if test x"$ac_file" != x-; then
19814 configure_input="$ac_file. $configure_input"
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19816 $as_echo "$as_me: creating $ac_file" >&6;}
19818 # Neutralize special characters interpreted by sed in replacement strings.
19819 case $configure_input in #(
19820 *\&* | *\|* | *\\* )
19821 ac_sed_conf_input=`$as_echo "$configure_input" |
19822 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19823 *) ac_sed_conf_input=$configure_input;;
19824 esac
19826 case $ac_tag in
19827 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19829 esac
19831 esac
19833 ac_dir=`$as_dirname -- "$ac_file" ||
19834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19835 X"$ac_file" : 'X\(//\)[^/]' \| \
19836 X"$ac_file" : 'X\(//\)$' \| \
19837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19838 $as_echo X"$ac_file" |
19839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19840 s//\1/
19843 /^X\(\/\/\)[^/].*/{
19844 s//\1/
19847 /^X\(\/\/\)$/{
19848 s//\1/
19851 /^X\(\/\).*/{
19852 s//\1/
19855 s/.*/./; q'`
19856 as_dir="$ac_dir"; as_fn_mkdir_p
19857 ac_builddir=.
19859 case "$ac_dir" in
19860 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19862 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19863 # A ".." for each directory in $ac_dir_suffix.
19864 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19865 case $ac_top_builddir_sub in
19866 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19867 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19868 esac ;;
19869 esac
19870 ac_abs_top_builddir=$ac_pwd
19871 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19872 # for backward compatibility:
19873 ac_top_builddir=$ac_top_build_prefix
19875 case $srcdir in
19876 .) # We are building in place.
19877 ac_srcdir=.
19878 ac_top_srcdir=$ac_top_builddir_sub
19879 ac_abs_top_srcdir=$ac_pwd ;;
19880 [\\/]* | ?:[\\/]* ) # Absolute name.
19881 ac_srcdir=$srcdir$ac_dir_suffix;
19882 ac_top_srcdir=$srcdir
19883 ac_abs_top_srcdir=$srcdir ;;
19884 *) # Relative name.
19885 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19886 ac_top_srcdir=$ac_top_build_prefix$srcdir
19887 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19888 esac
19889 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19892 case $ac_mode in
19895 # CONFIG_FILE
19898 _ACEOF
19900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19901 # If the template does not know about datarootdir, expand it.
19902 # FIXME: This hack should be removed a few years after 2.60.
19903 ac_datarootdir_hack=; ac_datarootdir_seen=
19904 ac_sed_dataroot='
19905 /datarootdir/ {
19909 /@datadir@/p
19910 /@docdir@/p
19911 /@infodir@/p
19912 /@localedir@/p
19913 /@mandir@/p'
19914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19915 *datarootdir*) ac_datarootdir_seen=yes;;
19916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19919 _ACEOF
19920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19921 ac_datarootdir_hack='
19922 s&@datadir@&$datadir&g
19923 s&@docdir@&$docdir&g
19924 s&@infodir@&$infodir&g
19925 s&@localedir@&$localedir&g
19926 s&@mandir@&$mandir&g
19927 s&\\\${datarootdir}&$datarootdir&g' ;;
19928 esac
19929 _ACEOF
19931 # Neutralize VPATH when `$srcdir' = `.'.
19932 # Shell code in configure.ac might set extrasub.
19933 # FIXME: do we really want to maintain this feature?
19934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19935 ac_sed_extra="$ac_vpsub
19936 $extrasub
19937 _ACEOF
19938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19941 s|@configure_input@|$ac_sed_conf_input|;t t
19942 s&@top_builddir@&$ac_top_builddir_sub&;t t
19943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19944 s&@srcdir@&$ac_srcdir&;t t
19945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19946 s&@top_srcdir@&$ac_top_srcdir&;t t
19947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19948 s&@builddir@&$ac_builddir&;t t
19949 s&@abs_builddir@&$ac_abs_builddir&;t t
19950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19951 $ac_datarootdir_hack
19953 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19954 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19956 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19957 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19958 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19959 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19961 which seems to be undefined. Please make sure it is defined" >&5
19962 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19963 which seems to be undefined. Please make sure it is defined" >&2;}
19965 rm -f "$ac_tmp/stdin"
19966 case $ac_file in
19967 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19968 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19969 esac \
19970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19974 # CONFIG_HEADER
19976 if test x"$ac_file" != x-; then
19978 $as_echo "/* $configure_input */" \
19979 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19980 } >"$ac_tmp/config.h" \
19981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19982 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19984 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19985 else
19986 rm -f "$ac_file"
19987 mv "$ac_tmp/config.h" "$ac_file" \
19988 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19990 else
19991 $as_echo "/* $configure_input */" \
19992 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19993 || as_fn_error $? "could not create -" "$LINENO" 5
19998 # CONFIG_LINK
20001 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20003 else
20004 # Prefer the file from the source tree if names are identical.
20005 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20006 ac_source=$srcdir/$ac_source
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20010 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20012 if test ! -r "$ac_source"; then
20013 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20015 rm -f "$ac_file"
20017 # Try a relative symlink, then a hard link, then a copy.
20018 case $ac_source in
20019 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20020 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20021 esac
20022 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20023 ln "$ac_source" "$ac_file" 2>/dev/null ||
20024 cp -p "$ac_source" "$ac_file" ||
20025 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20028 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20029 $as_echo "$as_me: executing $ac_file commands" >&6;}
20031 esac
20034 case $ac_file$ac_mode in
20035 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20036 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20037 "Makefile":C) wine_fn_output_makefile Makefile ;;
20039 esac
20040 done # for ac_tag
20043 as_fn_exit 0
20044 _ACEOF
20045 ac_clean_files=$ac_clean_files_save
20047 test $ac_write_fail = 0 ||
20048 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20051 # configure is writing to config.log, and then calls config.status.
20052 # config.status does its own redirection, appending to config.log.
20053 # Unfortunately, on DOS this fails, as config.log is still kept open
20054 # by configure, so config.status won't be able to write to it; its
20055 # output is simply discarded. So we exec the FD to /dev/null,
20056 # effectively closing config.log, so it can be properly (re)opened and
20057 # appended to by config.status. When coming back to configure, we
20058 # need to make the FD available again.
20059 if test "$no_create" != yes; then
20060 ac_cs_success=:
20061 ac_config_status_args=
20062 test "$silent" = yes &&
20063 ac_config_status_args="$ac_config_status_args --quiet"
20064 exec 5>/dev/null
20065 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20066 exec 5>>config.log
20067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20068 # would make configure fail if this is the last instruction.
20069 $ac_cs_success || as_fn_exit 1
20071 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20073 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20077 if test "$no_create" = "yes"
20078 then
20079 exit 0
20082 ac_save_IFS="$IFS"
20083 if test "x$wine_notices" != x; then
20084 echo >&6
20085 IFS="|"
20086 for msg in $wine_notices; do
20087 IFS="$ac_save_IFS"
20088 if ${msg:+false} :; then :
20090 else
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20092 $as_echo "$as_me: $msg" >&6;}
20094 done
20096 IFS="|"
20097 for msg in $wine_warnings; do
20098 IFS="$ac_save_IFS"
20099 if ${msg:+false} :; then :
20101 else
20102 echo >&2
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20104 $as_echo "$as_me: WARNING: $msg" >&2;}
20106 done
20107 IFS="$ac_save_IFS"
20109 $as_echo "
20110 $as_me: Finished. Do '${ac_make}' to compile Wine.
20111 " >&6