user32: Limit the menu height to that of the work area.
[wine.git] / configure
blobc4de73b065487f94f9642ff730a821a47e859ec9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.4'
584 PACKAGE_STRING='Wine 2.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_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_wshom_ocx
1500 enable_wsnmp32
1501 enable_wsock32
1502 enable_wtsapi32
1503 enable_wuapi
1504 enable_wuaueng
1505 enable_x3daudio1_0
1506 enable_x3daudio1_1
1507 enable_x3daudio1_2
1508 enable_x3daudio1_3
1509 enable_x3daudio1_4
1510 enable_x3daudio1_5
1511 enable_x3daudio1_6
1512 enable_x3daudio1_7
1513 enable_xapofx1_1
1514 enable_xapofx1_2
1515 enable_xapofx1_3
1516 enable_xapofx1_4
1517 enable_xapofx1_5
1518 enable_xaudio2_0
1519 enable_xaudio2_1
1520 enable_xaudio2_2
1521 enable_xaudio2_3
1522 enable_xaudio2_4
1523 enable_xaudio2_5
1524 enable_xaudio2_6
1525 enable_xaudio2_7
1526 enable_xaudio2_8
1527 enable_xaudio2_9
1528 enable_xinput1_1
1529 enable_xinput1_2
1530 enable_xinput1_3
1531 enable_xinput1_4
1532 enable_xinput9_1_0
1533 enable_xmllite
1534 enable_xolehlp
1535 enable_xpsprint
1536 enable_xpssvcs
1537 enable_fonts
1538 enable_include
1539 enable_libs_port
1540 enable_libs_wine
1541 enable_libs_wpp
1542 enable_loader
1543 enable_po
1544 enable_arp
1545 enable_aspnet_regiis
1546 enable_attrib
1547 enable_cabarc
1548 enable_cacls
1549 enable_clock
1550 enable_cmd
1551 enable_conhost
1552 enable_control
1553 enable_cscript
1554 enable_dpnsvr
1555 enable_dxdiag
1556 enable_eject
1557 enable_expand
1558 enable_explorer
1559 enable_extrac32
1560 enable_findstr
1561 enable_fsutil
1562 enable_hh
1563 enable_hostname
1564 enable_icacls
1565 enable_icinfo
1566 enable_iexplore
1567 enable_ipconfig
1568 enable_lodctr
1569 enable_mofcomp
1570 enable_mshta
1571 enable_msiexec
1572 enable_msinfo32
1573 enable_net
1574 enable_netsh
1575 enable_netstat
1576 enable_ngen
1577 enable_notepad
1578 enable_oleview
1579 enable_ping
1580 enable_plugplay
1581 enable_presentationfontcache
1582 enable_progman
1583 enable_reg
1584 enable_regasm
1585 enable_regedit
1586 enable_regsvcs
1587 enable_regsvr32
1588 enable_rpcss
1589 enable_rundll32
1590 enable_sc
1591 enable_schtasks
1592 enable_sdbinst
1593 enable_secedit
1594 enable_servicemodelreg
1595 enable_services
1596 enable_shutdown
1597 enable_spoolsv
1598 enable_start
1599 enable_subst
1600 enable_svchost
1601 enable_systeminfo
1602 enable_taskkill
1603 enable_tasklist
1604 enable_taskmgr
1605 enable_termsv
1606 enable_uninstaller
1607 enable_unlodctr
1608 enable_view
1609 enable_wevtutil
1610 enable_wineboot
1611 enable_winebrowser
1612 enable_winecfg
1613 enable_wineconsole
1614 enable_winedbg
1615 enable_winedevice
1616 enable_winefile
1617 enable_winemenubuilder
1618 enable_winemine
1619 enable_winemsibuilder
1620 enable_winepath
1621 enable_winetest
1622 enable_winhlp32
1623 enable_winver
1624 enable_wmic
1625 enable_wmplayer
1626 enable_wordpad
1627 enable_write
1628 enable_wscript
1629 enable_wusa
1630 enable_xcopy
1631 enable_server
1632 enable_tools
1634 ac_precious_vars='build_alias
1635 host_alias
1636 target_alias
1638 CFLAGS
1639 LDFLAGS
1640 LIBS
1641 CPPFLAGS
1643 CXXFLAGS
1646 XMKMF
1647 XML2_CFLAGS
1648 XML2_LIBS
1649 XSLT_CFLAGS
1650 XSLT_LIBS
1651 DBUS_CFLAGS
1652 DBUS_LIBS
1653 HAL_CFLAGS
1654 HAL_LIBS
1655 GNUTLS_CFLAGS
1656 GNUTLS_LIBS
1657 SANE_CFLAGS
1658 SANE_LIBS
1659 GPHOTO2_CFLAGS
1660 GPHOTO2_LIBS
1661 GPHOTO2_PORT_CFLAGS
1662 GPHOTO2_PORT_LIBS
1663 LCMS2_CFLAGS
1664 LCMS2_LIBS
1665 FREETYPE_CFLAGS
1666 FREETYPE_LIBS
1667 PULSE_CFLAGS
1668 PULSE_LIBS
1669 GSTREAMER_CFLAGS
1670 GSTREAMER_LIBS
1671 UDEV_CFLAGS
1672 UDEV_LIBS
1673 CAPI20_CFLAGS
1674 CAPI20_LIBS
1675 FONTCONFIG_CFLAGS
1676 FONTCONFIG_LIBS
1677 JPEG_CFLAGS
1678 JPEG_LIBS
1679 PNG_CFLAGS
1680 PNG_LIBS
1681 TIFF_CFLAGS
1682 TIFF_LIBS
1683 MPG123_CFLAGS
1684 MPG123_LIBS
1685 NETAPI_CFLAGS
1686 NETAPI_LIBS'
1689 # Initialize some variables set by options.
1690 ac_init_help=
1691 ac_init_version=false
1692 ac_unrecognized_opts=
1693 ac_unrecognized_sep=
1694 # The variables have the same names as the options, with
1695 # dashes changed to underlines.
1696 cache_file=/dev/null
1697 exec_prefix=NONE
1698 no_create=
1699 no_recursion=
1700 prefix=NONE
1701 program_prefix=NONE
1702 program_suffix=NONE
1703 program_transform_name=s,x,x,
1704 silent=
1705 site=
1706 srcdir=
1707 verbose=
1708 x_includes=NONE
1709 x_libraries=NONE
1711 # Installation directory options.
1712 # These are left unexpanded so users can "make install exec_prefix=/foo"
1713 # and all the variables that are supposed to be based on exec_prefix
1714 # by default will actually change.
1715 # Use braces instead of parens because sh, perl, etc. also accept them.
1716 # (The list follows the same order as the GNU Coding Standards.)
1717 bindir='${exec_prefix}/bin'
1718 sbindir='${exec_prefix}/sbin'
1719 libexecdir='${exec_prefix}/libexec'
1720 datarootdir='${prefix}/share'
1721 datadir='${datarootdir}'
1722 sysconfdir='${prefix}/etc'
1723 sharedstatedir='${prefix}/com'
1724 localstatedir='${prefix}/var'
1725 runstatedir='${localstatedir}/run'
1726 includedir='${prefix}/include'
1727 oldincludedir='/usr/include'
1728 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1729 infodir='${datarootdir}/info'
1730 htmldir='${docdir}'
1731 dvidir='${docdir}'
1732 pdfdir='${docdir}'
1733 psdir='${docdir}'
1734 libdir='${exec_prefix}/lib'
1735 localedir='${datarootdir}/locale'
1736 mandir='${datarootdir}/man'
1738 ac_prev=
1739 ac_dashdash=
1740 for ac_option
1742 # If the previous option needs an argument, assign it.
1743 if test -n "$ac_prev"; then
1744 eval $ac_prev=\$ac_option
1745 ac_prev=
1746 continue
1749 case $ac_option in
1750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1751 *=) ac_optarg= ;;
1752 *) ac_optarg=yes ;;
1753 esac
1755 # Accept the important Cygnus configure options, so we can diagnose typos.
1757 case $ac_dashdash$ac_option in
1759 ac_dashdash=yes ;;
1761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1762 ac_prev=bindir ;;
1763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1764 bindir=$ac_optarg ;;
1766 -build | --build | --buil | --bui | --bu)
1767 ac_prev=build_alias ;;
1768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1769 build_alias=$ac_optarg ;;
1771 -cache-file | --cache-file | --cache-fil | --cache-fi \
1772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1773 ac_prev=cache_file ;;
1774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1776 cache_file=$ac_optarg ;;
1778 --config-cache | -C)
1779 cache_file=config.cache ;;
1781 -datadir | --datadir | --datadi | --datad)
1782 ac_prev=datadir ;;
1783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1784 datadir=$ac_optarg ;;
1786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1787 | --dataroo | --dataro | --datar)
1788 ac_prev=datarootdir ;;
1789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1791 datarootdir=$ac_optarg ;;
1793 -disable-* | --disable-*)
1794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1795 # Reject names that are not valid shell variable names.
1796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1797 as_fn_error $? "invalid feature name: $ac_useropt"
1798 ac_useropt_orig=$ac_useropt
1799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1800 case $ac_user_opts in
1802 "enable_$ac_useropt"
1803 "*) ;;
1804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1805 ac_unrecognized_sep=', ';;
1806 esac
1807 eval enable_$ac_useropt=no ;;
1809 -docdir | --docdir | --docdi | --doc | --do)
1810 ac_prev=docdir ;;
1811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1812 docdir=$ac_optarg ;;
1814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1815 ac_prev=dvidir ;;
1816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1817 dvidir=$ac_optarg ;;
1819 -enable-* | --enable-*)
1820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1821 # Reject names that are not valid shell variable names.
1822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1823 as_fn_error $? "invalid feature name: $ac_useropt"
1824 ac_useropt_orig=$ac_useropt
1825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1826 case $ac_user_opts in
1828 "enable_$ac_useropt"
1829 "*) ;;
1830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1831 ac_unrecognized_sep=', ';;
1832 esac
1833 eval enable_$ac_useropt=\$ac_optarg ;;
1835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1837 | --exec | --exe | --ex)
1838 ac_prev=exec_prefix ;;
1839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1841 | --exec=* | --exe=* | --ex=*)
1842 exec_prefix=$ac_optarg ;;
1844 -gas | --gas | --ga | --g)
1845 # Obsolete; use --with-gas.
1846 with_gas=yes ;;
1848 -help | --help | --hel | --he | -h)
1849 ac_init_help=long ;;
1850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1851 ac_init_help=recursive ;;
1852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1853 ac_init_help=short ;;
1855 -host | --host | --hos | --ho)
1856 ac_prev=host_alias ;;
1857 -host=* | --host=* | --hos=* | --ho=*)
1858 host_alias=$ac_optarg ;;
1860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1861 ac_prev=htmldir ;;
1862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1863 | --ht=*)
1864 htmldir=$ac_optarg ;;
1866 -includedir | --includedir | --includedi | --included | --include \
1867 | --includ | --inclu | --incl | --inc)
1868 ac_prev=includedir ;;
1869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1870 | --includ=* | --inclu=* | --incl=* | --inc=*)
1871 includedir=$ac_optarg ;;
1873 -infodir | --infodir | --infodi | --infod | --info | --inf)
1874 ac_prev=infodir ;;
1875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1876 infodir=$ac_optarg ;;
1878 -libdir | --libdir | --libdi | --libd)
1879 ac_prev=libdir ;;
1880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1881 libdir=$ac_optarg ;;
1883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1884 | --libexe | --libex | --libe)
1885 ac_prev=libexecdir ;;
1886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1887 | --libexe=* | --libex=* | --libe=*)
1888 libexecdir=$ac_optarg ;;
1890 -localedir | --localedir | --localedi | --localed | --locale)
1891 ac_prev=localedir ;;
1892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1893 localedir=$ac_optarg ;;
1895 -localstatedir | --localstatedir | --localstatedi | --localstated \
1896 | --localstate | --localstat | --localsta | --localst | --locals)
1897 ac_prev=localstatedir ;;
1898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1900 localstatedir=$ac_optarg ;;
1902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1903 ac_prev=mandir ;;
1904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1905 mandir=$ac_optarg ;;
1907 -nfp | --nfp | --nf)
1908 # Obsolete; use --without-fp.
1909 with_fp=no ;;
1911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1912 | --no-cr | --no-c | -n)
1913 no_create=yes ;;
1915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1917 no_recursion=yes ;;
1919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1921 | --oldin | --oldi | --old | --ol | --o)
1922 ac_prev=oldincludedir ;;
1923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1926 oldincludedir=$ac_optarg ;;
1928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1929 ac_prev=prefix ;;
1930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1931 prefix=$ac_optarg ;;
1933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1934 | --program-pre | --program-pr | --program-p)
1935 ac_prev=program_prefix ;;
1936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1938 program_prefix=$ac_optarg ;;
1940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1941 | --program-suf | --program-su | --program-s)
1942 ac_prev=program_suffix ;;
1943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1945 program_suffix=$ac_optarg ;;
1947 -program-transform-name | --program-transform-name \
1948 | --program-transform-nam | --program-transform-na \
1949 | --program-transform-n | --program-transform- \
1950 | --program-transform | --program-transfor \
1951 | --program-transfo | --program-transf \
1952 | --program-trans | --program-tran \
1953 | --progr-tra | --program-tr | --program-t)
1954 ac_prev=program_transform_name ;;
1955 -program-transform-name=* | --program-transform-name=* \
1956 | --program-transform-nam=* | --program-transform-na=* \
1957 | --program-transform-n=* | --program-transform-=* \
1958 | --program-transform=* | --program-transfor=* \
1959 | --program-transfo=* | --program-transf=* \
1960 | --program-trans=* | --program-tran=* \
1961 | --progr-tra=* | --program-tr=* | --program-t=*)
1962 program_transform_name=$ac_optarg ;;
1964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1965 ac_prev=pdfdir ;;
1966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1967 pdfdir=$ac_optarg ;;
1969 -psdir | --psdir | --psdi | --psd | --ps)
1970 ac_prev=psdir ;;
1971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1972 psdir=$ac_optarg ;;
1974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1975 | -silent | --silent | --silen | --sile | --sil)
1976 silent=yes ;;
1978 -runstatedir | --runstatedir | --runstatedi | --runstated \
1979 | --runstate | --runstat | --runsta | --runst | --runs \
1980 | --run | --ru | --r)
1981 ac_prev=runstatedir ;;
1982 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1983 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1984 | --run=* | --ru=* | --r=*)
1985 runstatedir=$ac_optarg ;;
1987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1988 ac_prev=sbindir ;;
1989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1990 | --sbi=* | --sb=*)
1991 sbindir=$ac_optarg ;;
1993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1995 | --sharedst | --shareds | --shared | --share | --shar \
1996 | --sha | --sh)
1997 ac_prev=sharedstatedir ;;
1998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2001 | --sha=* | --sh=*)
2002 sharedstatedir=$ac_optarg ;;
2004 -site | --site | --sit)
2005 ac_prev=site ;;
2006 -site=* | --site=* | --sit=*)
2007 site=$ac_optarg ;;
2009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2010 ac_prev=srcdir ;;
2011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2012 srcdir=$ac_optarg ;;
2014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2015 | --syscon | --sysco | --sysc | --sys | --sy)
2016 ac_prev=sysconfdir ;;
2017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2019 sysconfdir=$ac_optarg ;;
2021 -target | --target | --targe | --targ | --tar | --ta | --t)
2022 ac_prev=target_alias ;;
2023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2024 target_alias=$ac_optarg ;;
2026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2027 verbose=yes ;;
2029 -version | --version | --versio | --versi | --vers | -V)
2030 ac_init_version=: ;;
2032 -with-* | --with-*)
2033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2034 # Reject names that are not valid shell variable names.
2035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2036 as_fn_error $? "invalid package name: $ac_useropt"
2037 ac_useropt_orig=$ac_useropt
2038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2039 case $ac_user_opts in
2041 "with_$ac_useropt"
2042 "*) ;;
2043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2044 ac_unrecognized_sep=', ';;
2045 esac
2046 eval with_$ac_useropt=\$ac_optarg ;;
2048 -without-* | --without-*)
2049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2050 # Reject names that are not valid shell variable names.
2051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2052 as_fn_error $? "invalid package name: $ac_useropt"
2053 ac_useropt_orig=$ac_useropt
2054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2055 case $ac_user_opts in
2057 "with_$ac_useropt"
2058 "*) ;;
2059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2060 ac_unrecognized_sep=', ';;
2061 esac
2062 eval with_$ac_useropt=no ;;
2064 --x)
2065 # Obsolete; use --with-x.
2066 with_x=yes ;;
2068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2069 | --x-incl | --x-inc | --x-in | --x-i)
2070 ac_prev=x_includes ;;
2071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2073 x_includes=$ac_optarg ;;
2075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2077 ac_prev=x_libraries ;;
2078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2080 x_libraries=$ac_optarg ;;
2082 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2083 Try \`$0 --help' for more information"
2086 *=*)
2087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2088 # Reject names that are not valid shell variable names.
2089 case $ac_envvar in #(
2090 '' | [0-9]* | *[!_$as_cr_alnum]* )
2091 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2092 esac
2093 eval $ac_envvar=\$ac_optarg
2094 export $ac_envvar ;;
2097 # FIXME: should be removed in autoconf 3.0.
2098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2104 esac
2105 done
2107 if test -n "$ac_prev"; then
2108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2109 as_fn_error $? "missing argument to $ac_option"
2112 if test -n "$ac_unrecognized_opts"; then
2113 case $enable_option_checking in
2114 no) ;;
2115 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2117 esac
2120 # Check all directory arguments for consistency.
2121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2122 datadir sysconfdir sharedstatedir localstatedir includedir \
2123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2124 libdir localedir mandir runstatedir
2126 eval ac_val=\$$ac_var
2127 # Remove trailing slashes.
2128 case $ac_val in
2129 */ )
2130 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2131 eval $ac_var=\$ac_val;;
2132 esac
2133 # Be sure to have absolute directory names.
2134 case $ac_val in
2135 [\\/$]* | ?:[\\/]* ) continue;;
2136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2137 esac
2138 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2139 done
2141 # There might be people who depend on the old broken behavior: `$host'
2142 # used to hold the argument of --host etc.
2143 # FIXME: To remove some day.
2144 build=$build_alias
2145 host=$host_alias
2146 target=$target_alias
2148 # FIXME: To remove some day.
2149 if test "x$host_alias" != x; then
2150 if test "x$build_alias" = x; then
2151 cross_compiling=maybe
2152 elif test "x$build_alias" != "x$host_alias"; then
2153 cross_compiling=yes
2157 ac_tool_prefix=
2158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2160 test "$silent" = yes && exec 6>/dev/null
2163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2164 ac_ls_di=`ls -di .` &&
2165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2166 as_fn_error $? "working directory cannot be determined"
2167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2168 as_fn_error $? "pwd does not report name of working directory"
2171 # Find the source files, if location was not specified.
2172 if test -z "$srcdir"; then
2173 ac_srcdir_defaulted=yes
2174 # Try the directory containing this script, then the parent directory.
2175 ac_confdir=`$as_dirname -- "$as_myself" ||
2176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2177 X"$as_myself" : 'X\(//\)[^/]' \| \
2178 X"$as_myself" : 'X\(//\)$' \| \
2179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2180 $as_echo X"$as_myself" |
2181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2182 s//\1/
2185 /^X\(\/\/\)[^/].*/{
2186 s//\1/
2189 /^X\(\/\/\)$/{
2190 s//\1/
2193 /^X\(\/\).*/{
2194 s//\1/
2197 s/.*/./; q'`
2198 srcdir=$ac_confdir
2199 if test ! -r "$srcdir/$ac_unique_file"; then
2200 srcdir=..
2202 else
2203 ac_srcdir_defaulted=no
2205 if test ! -r "$srcdir/$ac_unique_file"; then
2206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2207 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2209 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2210 ac_abs_confdir=`(
2211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2212 pwd)`
2213 # When building in place, set srcdir=.
2214 if test "$ac_abs_confdir" = "$ac_pwd"; then
2215 srcdir=.
2217 # Remove unnecessary trailing slashes from srcdir.
2218 # Double slashes in file names in object file debugging info
2219 # mess up M-x gdb in Emacs.
2220 case $srcdir in
2221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2222 esac
2223 for ac_var in $ac_precious_vars; do
2224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2225 eval ac_env_${ac_var}_value=\$${ac_var}
2226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2228 done
2231 # Report the --help message.
2233 if test "$ac_init_help" = "long"; then
2234 # Omit some internal or obsolete options to make the list less imposing.
2235 # This message is too long to be a string in the A/UX 3.1 sh.
2236 cat <<_ACEOF
2237 \`configure' configures Wine 2.4 to adapt to many kinds of systems.
2239 Usage: $0 [OPTION]... [VAR=VALUE]...
2241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2242 VAR=VALUE. See below for descriptions of some of the useful variables.
2244 Defaults for the options are specified in brackets.
2246 Configuration:
2247 -h, --help display this help and exit
2248 --help=short display options specific to this package
2249 --help=recursive display the short help of all the included packages
2250 -V, --version display version information and exit
2251 -q, --quiet, --silent do not print \`checking ...' messages
2252 --cache-file=FILE cache test results in FILE [disabled]
2253 -C, --config-cache alias for \`--cache-file=config.cache'
2254 -n, --no-create do not create output files
2255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2257 Installation directories:
2258 --prefix=PREFIX install architecture-independent files in PREFIX
2259 [$ac_default_prefix]
2260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2261 [PREFIX]
2263 By default, \`make install' will install all the files in
2264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2266 for instance \`--prefix=\$HOME'.
2268 For better control, use the options below.
2270 Fine tuning of the installation directories:
2271 --bindir=DIR user executables [EPREFIX/bin]
2272 --sbindir=DIR system admin executables [EPREFIX/sbin]
2273 --libexecdir=DIR program executables [EPREFIX/libexec]
2274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2277 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2278 --libdir=DIR object code libraries [EPREFIX/lib]
2279 --includedir=DIR C header files [PREFIX/include]
2280 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2283 --infodir=DIR info documentation [DATAROOTDIR/info]
2284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2285 --mandir=DIR man documentation [DATAROOTDIR/man]
2286 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2287 --htmldir=DIR html documentation [DOCDIR]
2288 --dvidir=DIR dvi documentation [DOCDIR]
2289 --pdfdir=DIR pdf documentation [DOCDIR]
2290 --psdir=DIR ps documentation [DOCDIR]
2291 _ACEOF
2293 cat <<\_ACEOF
2295 X features:
2296 --x-includes=DIR X include files are in DIR
2297 --x-libraries=DIR X library files are in DIR
2299 System types:
2300 --build=BUILD configure for building on BUILD [guessed]
2301 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2302 _ACEOF
2305 if test -n "$ac_init_help"; then
2306 case $ac_init_help in
2307 short | recursive ) echo "Configuration of Wine 2.4:";;
2308 esac
2309 cat <<\_ACEOF
2311 Optional Features:
2312 --disable-option-checking ignore unrecognized --enable/--with options
2313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2315 --disable-win16 do not include Win16 support
2316 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2317 binaries)
2318 --disable-tests do not build the regression tests
2319 --enable-maintainer-mode
2320 enable maintainer-specific build rules
2321 --disable-largefile omit support for large files
2323 Optional Packages:
2324 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2325 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2326 --without-alsa do not use the Alsa sound support
2327 --without-capi do not use CAPI (ISDN support)
2328 --without-cms do not use CMS (color management support)
2329 --without-coreaudio do not use the CoreAudio sound support
2330 --without-cups do not use CUPS
2331 --without-curses do not use (n)curses
2332 --without-dbus do not use DBus (dynamic device support)
2333 --without-fontconfig do not use fontconfig
2334 --without-freetype do not use the FreeType library
2335 --without-gettext do not use gettext
2336 --with-gettextpo use the GetTextPO library to rebuild po files
2337 --without-gphoto do not use gphoto (Digital Camera support)
2338 --without-glu do not use the GLU library
2339 --without-gnutls do not use GnuTLS (schannel support)
2340 --without-gsm do not use libgsm (GSM 06.10 codec support)
2341 --without-gstreamer do not use GStreamer (codecs support)
2342 --without-hal do not use HAL (dynamic device support)
2343 --without-jpeg do not use JPEG
2344 --without-ldap do not use LDAP
2345 --without-mpg123 do not use the mpg123 library
2346 --without-netapi do not use the Samba NetAPI library
2347 --without-openal do not use OpenAL
2348 --without-opencl do not use OpenCL
2349 --without-opengl do not use OpenGL
2350 --without-osmesa do not use the OSMesa library
2351 --without-oss do not use the OSS sound support
2352 --without-pcap do not use the Packet Capture library
2353 --without-png do not use PNG
2354 --without-pthread do not use the pthread library
2355 --without-pulse do not use PulseAudio sound support
2356 --without-sane do not use SANE (scanner support)
2357 --without-tiff do not use TIFF
2358 --without-udev do not use udev (plug and play support)
2359 --without-v4l do not use v4l1 (v4l support)
2360 --without-xcomposite do not use the Xcomposite extension
2361 --without-xcursor do not use the Xcursor extension
2362 --without-xinerama do not use Xinerama (multi-monitor support)
2363 --without-xinput do not use the Xinput extension
2364 --without-xinput2 do not use the Xinput 2 extension
2365 --without-xml do not use XML
2366 --without-xrandr do not use Xrandr (resolution changes)
2367 --without-xrender do not use the Xrender extension
2368 --without-xshape do not use the Xshape extension
2369 --without-xshm do not use XShm (shared memory extension)
2370 --without-xslt do not use XSLT
2371 --without-xxf86vm do not use XFree video mode extension
2372 --without-zlib do not use Zlib (data compression)
2373 --with-wine-tools=DIR use Wine tools from directory DIR
2374 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2375 --with-x use the X Window System
2377 Some influential environment variables:
2378 CC C compiler command
2379 CFLAGS C compiler flags
2380 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2381 nonstandard directory <lib dir>
2382 LIBS libraries to pass to the linker, e.g. -l<library>
2383 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2384 you have headers in a nonstandard directory <include dir>
2385 CXX C++ compiler command
2386 CXXFLAGS C++ compiler flags
2387 CPP C preprocessor
2388 XMKMF Path to xmkmf, Makefile generator for X Window System
2389 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2390 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2391 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2392 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2393 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2394 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2395 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2396 HAL_LIBS Linker flags for hal, overriding pkg-config
2397 GNUTLS_CFLAGS
2398 C compiler flags for gnutls, overriding pkg-config
2399 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2400 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2401 SANE_LIBS Linker flags for libsane, overriding pkg-config
2402 GPHOTO2_CFLAGS
2403 C compiler flags for libgphoto2, overriding pkg-config
2404 GPHOTO2_LIBS
2405 Linker flags for libgphoto2, overriding pkg-config
2406 GPHOTO2_PORT_CFLAGS
2407 C compiler flags for libgphoto2_port, overriding pkg-config
2408 GPHOTO2_PORT_LIBS
2409 Linker flags for libgphoto2_port, overriding pkg-config
2410 LCMS2_CFLAGS
2411 C compiler flags for lcms2, overriding pkg-config
2412 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2413 FREETYPE_CFLAGS
2414 C compiler flags for freetype2, overriding pkg-config
2415 FREETYPE_LIBS
2416 Linker flags for freetype2, overriding pkg-config
2417 PULSE_CFLAGS
2418 C compiler flags for libpulse, overriding pkg-config
2419 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2420 GSTREAMER_CFLAGS
2421 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2422 gstreamer-audio-1.0, overriding pkg-config
2423 GSTREAMER_LIBS
2424 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2425 gstreamer-audio-1.0, overriding pkg-config
2426 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2427 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2428 CAPI20_CFLAGS
2429 C compiler flags for capi20, overriding pkg-config
2430 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2431 FONTCONFIG_CFLAGS
2432 C compiler flags for fontconfig, overriding pkg-config
2433 FONTCONFIG_LIBS
2434 Linker flags for fontconfig, overriding pkg-config
2435 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2436 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2437 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2438 PNG_LIBS Linker flags for libpng, overriding pkg-config
2439 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2440 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2441 MPG123_CFLAGS
2442 C compiler flags for libmpg123, overriding pkg-config
2443 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2444 NETAPI_CFLAGS
2445 C compiler flags for netapi, overriding pkg-config
2446 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2448 Use these variables to override the choices made by `configure' or to help
2449 it to find libraries and programs with nonstandard names/locations.
2451 Report bugs to <wine-devel@winehq.org>.
2452 Wine home page: <http://www.winehq.org>.
2453 _ACEOF
2454 ac_status=$?
2457 if test "$ac_init_help" = "recursive"; then
2458 # If there are subdirs, report their specific --help.
2459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2460 test -d "$ac_dir" ||
2461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2462 continue
2463 ac_builddir=.
2465 case "$ac_dir" in
2466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2469 # A ".." for each directory in $ac_dir_suffix.
2470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2471 case $ac_top_builddir_sub in
2472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2474 esac ;;
2475 esac
2476 ac_abs_top_builddir=$ac_pwd
2477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2478 # for backward compatibility:
2479 ac_top_builddir=$ac_top_build_prefix
2481 case $srcdir in
2482 .) # We are building in place.
2483 ac_srcdir=.
2484 ac_top_srcdir=$ac_top_builddir_sub
2485 ac_abs_top_srcdir=$ac_pwd ;;
2486 [\\/]* | ?:[\\/]* ) # Absolute name.
2487 ac_srcdir=$srcdir$ac_dir_suffix;
2488 ac_top_srcdir=$srcdir
2489 ac_abs_top_srcdir=$srcdir ;;
2490 *) # Relative name.
2491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2492 ac_top_srcdir=$ac_top_build_prefix$srcdir
2493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2494 esac
2495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2497 cd "$ac_dir" || { ac_status=$?; continue; }
2498 # Check for guested configure.
2499 if test -f "$ac_srcdir/configure.gnu"; then
2500 echo &&
2501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2502 elif test -f "$ac_srcdir/configure"; then
2503 echo &&
2504 $SHELL "$ac_srcdir/configure" --help=recursive
2505 else
2506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2507 fi || ac_status=$?
2508 cd "$ac_pwd" || { ac_status=$?; break; }
2509 done
2512 test -n "$ac_init_help" && exit $ac_status
2513 if $ac_init_version; then
2514 cat <<\_ACEOF
2515 Wine configure 2.4
2516 generated by GNU Autoconf 2.69
2518 Copyright (C) 2012 Free Software Foundation, Inc.
2519 This configure script is free software; the Free Software Foundation
2520 gives unlimited permission to copy, distribute and modify it.
2521 _ACEOF
2522 exit
2525 ## ------------------------ ##
2526 ## Autoconf initialization. ##
2527 ## ------------------------ ##
2529 # ac_fn_c_try_compile LINENO
2530 # --------------------------
2531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2532 ac_fn_c_try_compile ()
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 rm -f conftest.$ac_objext
2536 if { { ac_try="$ac_compile"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543 (eval "$ac_compile") 2>conftest.err
2544 ac_status=$?
2545 if test -s conftest.err; then
2546 grep -v '^ *+' conftest.err >conftest.er1
2547 cat conftest.er1 >&5
2548 mv -f conftest.er1 conftest.err
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; } && {
2552 test -z "$ac_c_werror_flag" ||
2553 test ! -s conftest.err
2554 } && test -s conftest.$ac_objext; then :
2555 ac_retval=0
2556 else
2557 $as_echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 ac_retval=1
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2563 as_fn_set_status $ac_retval
2565 } # ac_fn_c_try_compile
2567 # ac_fn_cxx_try_compile LINENO
2568 # ----------------------------
2569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2570 ac_fn_cxx_try_compile ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 rm -f conftest.$ac_objext
2574 if { { ac_try="$ac_compile"
2575 case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2578 esac
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_compile") 2>conftest.err
2582 ac_status=$?
2583 if test -s conftest.err; then
2584 grep -v '^ *+' conftest.err >conftest.er1
2585 cat conftest.er1 >&5
2586 mv -f conftest.er1 conftest.err
2588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2589 test $ac_status = 0; } && {
2590 test -z "$ac_cxx_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then :
2593 ac_retval=0
2594 else
2595 $as_echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 ac_retval=1
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2601 as_fn_set_status $ac_retval
2603 } # ac_fn_cxx_try_compile
2605 # ac_fn_c_try_link LINENO
2606 # -----------------------
2607 # Try to link conftest.$ac_ext, and return whether this succeeded.
2608 ac_fn_c_try_link ()
2610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2611 rm -f conftest.$ac_objext conftest$ac_exeext
2612 if { { ac_try="$ac_link"
2613 case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2616 esac
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_link") 2>conftest.err
2620 ac_status=$?
2621 if test -s conftest.err; then
2622 grep -v '^ *+' conftest.err >conftest.er1
2623 cat conftest.er1 >&5
2624 mv -f conftest.er1 conftest.err
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; } && {
2628 test -z "$ac_c_werror_flag" ||
2629 test ! -s conftest.err
2630 } && test -s conftest$ac_exeext && {
2631 test "$cross_compiling" = yes ||
2632 test -x conftest$ac_exeext
2633 }; then :
2634 ac_retval=0
2635 else
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_retval=1
2641 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2642 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2643 # interfere with the next link command; also delete a directory that is
2644 # left behind by Apple's compiler. We do this before executing the actions.
2645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status $ac_retval
2649 } # ac_fn_c_try_link
2651 # ac_fn_c_try_cpp LINENO
2652 # ----------------------
2653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2654 ac_fn_c_try_cpp ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 if { { ac_try="$ac_cpp conftest.$ac_ext"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663 $as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2665 ac_status=$?
2666 if test -s conftest.err; then
2667 grep -v '^ *+' conftest.err >conftest.er1
2668 cat conftest.er1 >&5
2669 mv -f conftest.er1 conftest.err
2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2672 test $ac_status = 0; } > conftest.i && {
2673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2674 test ! -s conftest.err
2675 }; then :
2676 ac_retval=0
2677 else
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 ac_retval=1
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 as_fn_set_status $ac_retval
2686 } # ac_fn_c_try_cpp
2688 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2689 # -------------------------------------------------------
2690 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2691 # the include files in INCLUDES and setting the cache variable VAR
2692 # accordingly.
2693 ac_fn_c_check_header_mongrel ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 if eval \${$3+:} false; then :
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2698 $as_echo_n "checking for $2... " >&6; }
2699 if eval \${$3+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 eval ac_res=\$$3
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2705 else
2706 # Is the header compilable?
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2708 $as_echo_n "checking $2 usability... " >&6; }
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2712 #include <$2>
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 ac_header_compiler=yes
2716 else
2717 ac_header_compiler=no
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2721 $as_echo "$ac_header_compiler" >&6; }
2723 # Is the header present?
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2725 $as_echo_n "checking $2 presence... " >&6; }
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728 #include <$2>
2729 _ACEOF
2730 if ac_fn_c_try_cpp "$LINENO"; then :
2731 ac_header_preproc=yes
2732 else
2733 ac_header_preproc=no
2735 rm -f conftest.err conftest.i conftest.$ac_ext
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2737 $as_echo "$ac_header_preproc" >&6; }
2739 # So? What about this header?
2740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2741 yes:no: )
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2743 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2747 no:yes:* )
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2749 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2751 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2753 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2755 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2758 ( $as_echo "## ------------------------------------ ##
2759 ## Report this to wine-devel@winehq.org ##
2760 ## ------------------------------------ ##"
2761 ) | sed "s/^/$as_me: WARNING: /" >&2
2763 esac
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2765 $as_echo_n "checking for $2... " >&6; }
2766 if eval \${$3+:} false; then :
2767 $as_echo_n "(cached) " >&6
2768 else
2769 eval "$3=\$ac_header_compiler"
2771 eval ac_res=\$$3
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2773 $as_echo "$ac_res" >&6; }
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 } # ac_fn_c_check_header_mongrel
2779 # ac_fn_c_try_run LINENO
2780 # ----------------------
2781 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2782 # that executables *can* be run.
2783 ac_fn_c_try_run ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 if { { ac_try="$ac_link"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_link") 2>&5
2794 ac_status=$?
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2797 { { case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_try") 2>&5
2804 ac_status=$?
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; }; }; then :
2807 ac_retval=0
2808 else
2809 $as_echo "$as_me: program exited with status $ac_status" >&5
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 ac_retval=$ac_status
2815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 as_fn_set_status $ac_retval
2819 } # ac_fn_c_try_run
2821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2822 # -------------------------------------------------------
2823 # Tests whether HEADER exists and can be compiled using the include files in
2824 # INCLUDES, setting the cache variable VAR accordingly.
2825 ac_fn_c_check_header_compile ()
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2829 $as_echo_n "checking for $2... " >&6; }
2830 if eval \${$3+:} false; then :
2831 $as_echo_n "(cached) " >&6
2832 else
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2836 #include <$2>
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 eval "$3=yes"
2840 else
2841 eval "$3=no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 eval ac_res=\$$3
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2847 $as_echo "$ac_res" >&6; }
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 } # ac_fn_c_check_header_compile
2852 # ac_fn_c_check_func LINENO FUNC VAR
2853 # ----------------------------------
2854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2855 ac_fn_c_check_func ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2859 $as_echo_n "checking for $2... " >&6; }
2860 if eval \${$3+:} false; then :
2861 $as_echo_n "(cached) " >&6
2862 else
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2867 #define $2 innocuous_$2
2869 /* System header to define __stub macros and hopefully few prototypes,
2870 which can conflict with char $2 (); below.
2871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2872 <limits.h> exists even on freestanding compilers. */
2874 #ifdef __STDC__
2875 # include <limits.h>
2876 #else
2877 # include <assert.h>
2878 #endif
2880 #undef $2
2882 /* Override any GCC internal prototype to avoid an error.
2883 Use char because int might match the return type of a GCC
2884 builtin and then its argument prototype would still apply. */
2885 #ifdef __cplusplus
2886 extern "C"
2887 #endif
2888 char $2 ();
2889 /* The GNU C library defines this for functions which it implements
2890 to always fail with ENOSYS. Some functions are actually named
2891 something starting with __ and the normal name is an alias. */
2892 #if defined __stub_$2 || defined __stub___$2
2893 choke me
2894 #endif
2897 main ()
2899 return $2 ();
2901 return 0;
2903 _ACEOF
2904 if ac_fn_c_try_link "$LINENO"; then :
2905 eval "$3=yes"
2906 else
2907 eval "$3=no"
2909 rm -f core conftest.err conftest.$ac_objext \
2910 conftest$ac_exeext conftest.$ac_ext
2912 eval ac_res=\$$3
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2914 $as_echo "$ac_res" >&6; }
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 } # ac_fn_c_check_func
2919 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2920 # ----------------------------------------------------
2921 # Tries to find if the field MEMBER exists in type AGGR, after including
2922 # INCLUDES, setting cache variable VAR accordingly.
2923 ac_fn_c_check_member ()
2925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2927 $as_echo_n "checking for $2.$3... " >&6; }
2928 if eval \${$4+:} false; then :
2929 $as_echo_n "(cached) " >&6
2930 else
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2937 static $2 ac_aggr;
2938 if (ac_aggr.$3)
2939 return 0;
2941 return 0;
2943 _ACEOF
2944 if ac_fn_c_try_compile "$LINENO"; then :
2945 eval "$4=yes"
2946 else
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 main ()
2953 static $2 ac_aggr;
2954 if (sizeof ac_aggr.$3)
2955 return 0;
2957 return 0;
2959 _ACEOF
2960 if ac_fn_c_try_compile "$LINENO"; then :
2961 eval "$4=yes"
2962 else
2963 eval "$4=no"
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 eval ac_res=\$$4
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 $as_echo "$ac_res" >&6; }
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 } # ac_fn_c_check_member
2976 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2977 # -------------------------------------------
2978 # Tests whether TYPE exists after having included INCLUDES, setting cache
2979 # variable VAR accordingly.
2980 ac_fn_c_check_type ()
2982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2984 $as_echo_n "checking for $2... " >&6; }
2985 if eval \${$3+:} false; then :
2986 $as_echo_n "(cached) " >&6
2987 else
2988 eval "$3=no"
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2993 main ()
2995 if (sizeof ($2))
2996 return 0;
2998 return 0;
3000 _ACEOF
3001 if ac_fn_c_try_compile "$LINENO"; then :
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main ()
3008 if (sizeof (($2)))
3009 return 0;
3011 return 0;
3013 _ACEOF
3014 if ac_fn_c_try_compile "$LINENO"; then :
3016 else
3017 eval "$3=yes"
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_type
3029 cat >config.log <<_ACEOF
3030 This file contains any messages produced by compilers while
3031 running configure, to aid debugging if configure makes a mistake.
3033 It was created by Wine $as_me 2.4, which was
3034 generated by GNU Autoconf 2.69. Invocation command line was
3036 $ $0 $@
3038 _ACEOF
3039 exec 5>>config.log
3041 cat <<_ASUNAME
3042 ## --------- ##
3043 ## Platform. ##
3044 ## --------- ##
3046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3063 _ASUNAME
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3068 IFS=$as_save_IFS
3069 test -z "$as_dir" && as_dir=.
3070 $as_echo "PATH: $as_dir"
3071 done
3072 IFS=$as_save_IFS
3074 } >&5
3076 cat >&5 <<_ACEOF
3079 ## ----------- ##
3080 ## Core tests. ##
3081 ## ----------- ##
3083 _ACEOF
3086 # Keep a trace of the command line.
3087 # Strip out --no-create and --no-recursion so they do not pile up.
3088 # Strip out --silent because we don't want to record it for future runs.
3089 # Also quote any args containing shell meta-characters.
3090 # Make two passes to allow for proper duplicate-argument suppression.
3091 ac_configure_args=
3092 ac_configure_args0=
3093 ac_configure_args1=
3094 ac_must_keep_next=false
3095 for ac_pass in 1 2
3097 for ac_arg
3099 case $ac_arg in
3100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3102 | -silent | --silent | --silen | --sile | --sil)
3103 continue ;;
3104 *\'*)
3105 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3106 esac
3107 case $ac_pass in
3108 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3110 as_fn_append ac_configure_args1 " '$ac_arg'"
3111 if test $ac_must_keep_next = true; then
3112 ac_must_keep_next=false # Got value, back to normal.
3113 else
3114 case $ac_arg in
3115 *=* | --config-cache | -C | -disable-* | --disable-* \
3116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3118 | -with-* | --with-* | -without-* | --without-* | --x)
3119 case "$ac_configure_args0 " in
3120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3121 esac
3123 -* ) ac_must_keep_next=true ;;
3124 esac
3126 as_fn_append ac_configure_args " '$ac_arg'"
3128 esac
3129 done
3130 done
3131 { ac_configure_args0=; unset ac_configure_args0;}
3132 { ac_configure_args1=; unset ac_configure_args1;}
3134 # When interrupted or exit'd, cleanup temporary files, and complete
3135 # config.log. We remove comments because anyway the quotes in there
3136 # would cause problems or look ugly.
3137 # WARNING: Use '\'' to represent an apostrophe within the trap.
3138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3139 trap 'exit_status=$?
3140 # Save into config.log some information that might help in debugging.
3142 echo
3144 $as_echo "## ---------------- ##
3145 ## Cache variables. ##
3146 ## ---------------- ##"
3147 echo
3148 # The following way of writing the cache mishandles newlines in values,
3150 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3151 eval ac_val=\$$ac_var
3152 case $ac_val in #(
3153 *${as_nl}*)
3154 case $ac_var in #(
3155 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3157 esac
3158 case $ac_var in #(
3159 _ | IFS | as_nl) ;; #(
3160 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3161 *) { eval $ac_var=; unset $ac_var;} ;;
3162 esac ;;
3163 esac
3164 done
3165 (set) 2>&1 |
3166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3167 *${as_nl}ac_space=\ *)
3168 sed -n \
3169 "s/'\''/'\''\\\\'\'''\''/g;
3170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3171 ;; #(
3173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3175 esac |
3176 sort
3178 echo
3180 $as_echo "## ----------------- ##
3181 ## Output variables. ##
3182 ## ----------------- ##"
3183 echo
3184 for ac_var in $ac_subst_vars
3186 eval ac_val=\$$ac_var
3187 case $ac_val in
3188 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3189 esac
3190 $as_echo "$ac_var='\''$ac_val'\''"
3191 done | sort
3192 echo
3194 if test -n "$ac_subst_files"; then
3195 $as_echo "## ------------------- ##
3196 ## File substitutions. ##
3197 ## ------------------- ##"
3198 echo
3199 for ac_var in $ac_subst_files
3201 eval ac_val=\$$ac_var
3202 case $ac_val in
3203 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3204 esac
3205 $as_echo "$ac_var='\''$ac_val'\''"
3206 done | sort
3207 echo
3210 if test -s confdefs.h; then
3211 $as_echo "## ----------- ##
3212 ## confdefs.h. ##
3213 ## ----------- ##"
3214 echo
3215 cat confdefs.h
3216 echo
3218 test "$ac_signal" != 0 &&
3219 $as_echo "$as_me: caught signal $ac_signal"
3220 $as_echo "$as_me: exit $exit_status"
3221 } >&5
3222 rm -f core *.core core.conftest.* &&
3223 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3224 exit $exit_status
3226 for ac_signal in 1 2 13 15; do
3227 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3228 done
3229 ac_signal=0
3231 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3232 rm -f -r conftest* confdefs.h
3234 $as_echo "/* confdefs.h */" > confdefs.h
3236 # Predefined preprocessor variables.
3238 cat >>confdefs.h <<_ACEOF
3239 #define PACKAGE_NAME "$PACKAGE_NAME"
3240 _ACEOF
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3244 _ACEOF
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3248 _ACEOF
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_STRING "$PACKAGE_STRING"
3252 _ACEOF
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3256 _ACEOF
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_URL "$PACKAGE_URL"
3260 _ACEOF
3263 # Let the site file select an alternate cache file if it wants to.
3264 # Prefer an explicitly selected file to automatically selected ones.
3265 ac_site_file1=NONE
3266 ac_site_file2=NONE
3267 if test -n "$CONFIG_SITE"; then
3268 # We do not want a PATH search for config.site.
3269 case $CONFIG_SITE in #((
3270 -*) ac_site_file1=./$CONFIG_SITE;;
3271 */*) ac_site_file1=$CONFIG_SITE;;
3272 *) ac_site_file1=./$CONFIG_SITE;;
3273 esac
3274 elif test "x$prefix" != xNONE; then
3275 ac_site_file1=$prefix/share/config.site
3276 ac_site_file2=$prefix/etc/config.site
3277 else
3278 ac_site_file1=$ac_default_prefix/share/config.site
3279 ac_site_file2=$ac_default_prefix/etc/config.site
3281 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3283 test "x$ac_site_file" = xNONE && continue
3284 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3286 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3287 sed 's/^/| /' "$ac_site_file" >&5
3288 . "$ac_site_file" \
3289 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $? "failed to load site script $ac_site_file
3292 See \`config.log' for more details" "$LINENO" 5; }
3294 done
3296 if test -r "$cache_file"; then
3297 # Some versions of bash will fail to source /dev/null (special files
3298 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3299 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3301 $as_echo "$as_me: loading cache $cache_file" >&6;}
3302 case $cache_file in
3303 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3304 *) . "./$cache_file";;
3305 esac
3307 else
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3309 $as_echo "$as_me: creating cache $cache_file" >&6;}
3310 >$cache_file
3313 # Check that the precious variables saved in the cache have kept the same
3314 # value.
3315 ac_cache_corrupted=false
3316 for ac_var in $ac_precious_vars; do
3317 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3318 eval ac_new_set=\$ac_env_${ac_var}_set
3319 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3320 eval ac_new_val=\$ac_env_${ac_var}_value
3321 case $ac_old_set,$ac_new_set in
3322 set,)
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3324 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3325 ac_cache_corrupted=: ;;
3326 ,set)
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3328 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3329 ac_cache_corrupted=: ;;
3330 ,);;
3332 if test "x$ac_old_val" != "x$ac_new_val"; then
3333 # differences in whitespace do not lead to failure.
3334 ac_old_val_w=`echo x $ac_old_val`
3335 ac_new_val_w=`echo x $ac_new_val`
3336 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3338 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3339 ac_cache_corrupted=:
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3342 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3343 eval $ac_var=\$ac_old_val
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3346 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3348 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3349 fi;;
3350 esac
3351 # Pass precious variables to config.status.
3352 if test "$ac_new_set" = set; then
3353 case $ac_new_val in
3354 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3355 *) ac_arg=$ac_var=$ac_new_val ;;
3356 esac
3357 case " $ac_configure_args " in
3358 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3359 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3360 esac
3362 done
3363 if $ac_cache_corrupted; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3367 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3368 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3370 ## -------------------- ##
3371 ## Main body of script. ##
3372 ## -------------------- ##
3374 ac_ext=c
3375 ac_cpp='$CPP $CPPFLAGS'
3376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 ac_config_headers="$ac_config_headers include/config.h"
3384 ac_aux_dir=
3385 for ac_dir in tools "$srcdir"/tools; do
3386 if test -f "$ac_dir/install-sh"; then
3387 ac_aux_dir=$ac_dir
3388 ac_install_sh="$ac_aux_dir/install-sh -c"
3389 break
3390 elif test -f "$ac_dir/install.sh"; then
3391 ac_aux_dir=$ac_dir
3392 ac_install_sh="$ac_aux_dir/install.sh -c"
3393 break
3394 elif test -f "$ac_dir/shtool"; then
3395 ac_aux_dir=$ac_dir
3396 ac_install_sh="$ac_aux_dir/shtool install -c"
3397 break
3399 done
3400 if test -z "$ac_aux_dir"; then
3401 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3404 # These three variables are undocumented and unsupported,
3405 # and are intended to be withdrawn in a future Autoconf release.
3406 # They can cause serious problems if a builder's source tree is in a directory
3407 # whose full name contains unusual characters.
3408 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3409 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3410 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3414 libwine_version="1.0"
3418 # Check whether --enable-win16 was given.
3419 if test "${enable_win16+set}" = set; then :
3420 enableval=$enable_win16;
3423 # Check whether --enable-win64 was given.
3424 if test "${enable_win64+set}" = set; then :
3425 enableval=$enable_win64;
3428 # Check whether --enable-tests was given.
3429 if test "${enable_tests+set}" = set; then :
3430 enableval=$enable_tests;
3433 # Check whether --enable-maintainer-mode was given.
3434 if test "${enable_maintainer_mode+set}" = set; then :
3435 enableval=$enable_maintainer_mode;
3440 # Check whether --with-alsa was given.
3441 if test "${with_alsa+set}" = set; then :
3442 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3446 # Check whether --with-capi was given.
3447 if test "${with_capi+set}" = set; then :
3448 withval=$with_capi;
3452 # Check whether --with-cms was given.
3453 if test "${with_cms+set}" = set; then :
3454 withval=$with_cms;
3458 # Check whether --with-coreaudio was given.
3459 if test "${with_coreaudio+set}" = set; then :
3460 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3464 # Check whether --with-cups was given.
3465 if test "${with_cups+set}" = set; then :
3466 withval=$with_cups;
3470 # Check whether --with-curses was given.
3471 if test "${with_curses+set}" = set; then :
3472 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3476 # Check whether --with-dbus was given.
3477 if test "${with_dbus+set}" = set; then :
3478 withval=$with_dbus;
3482 # Check whether --with-fontconfig was given.
3483 if test "${with_fontconfig+set}" = set; then :
3484 withval=$with_fontconfig;
3488 # Check whether --with-freetype was given.
3489 if test "${with_freetype+set}" = set; then :
3490 withval=$with_freetype;
3494 # Check whether --with-gettext was given.
3495 if test "${with_gettext+set}" = set; then :
3496 withval=$with_gettext;
3500 # Check whether --with-gettextpo was given.
3501 if test "${with_gettextpo+set}" = set; then :
3502 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3506 # Check whether --with-gphoto was given.
3507 if test "${with_gphoto+set}" = set; then :
3508 withval=$with_gphoto;
3512 # Check whether --with-glu was given.
3513 if test "${with_glu+set}" = set; then :
3514 withval=$with_glu;
3518 # Check whether --with-gnutls was given.
3519 if test "${with_gnutls+set}" = set; then :
3520 withval=$with_gnutls;
3524 # Check whether --with-gsm was given.
3525 if test "${with_gsm+set}" = set; then :
3526 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3530 # Check whether --with-gstreamer was given.
3531 if test "${with_gstreamer+set}" = set; then :
3532 withval=$with_gstreamer;
3536 # Check whether --with-hal was given.
3537 if test "${with_hal+set}" = set; then :
3538 withval=$with_hal;
3542 # Check whether --with-jpeg was given.
3543 if test "${with_jpeg+set}" = set; then :
3544 withval=$with_jpeg;
3548 # Check whether --with-ldap was given.
3549 if test "${with_ldap+set}" = set; then :
3550 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3554 # Check whether --with-mpg123 was given.
3555 if test "${with_mpg123+set}" = set; then :
3556 withval=$with_mpg123;
3560 # Check whether --with-netapi was given.
3561 if test "${with_netapi+set}" = set; then :
3562 withval=$with_netapi;
3566 # Check whether --with-openal was given.
3567 if test "${with_openal+set}" = set; then :
3568 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3572 # Check whether --with-opencl was given.
3573 if test "${with_opencl+set}" = set; then :
3574 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3578 # Check whether --with-opengl was given.
3579 if test "${with_opengl+set}" = set; then :
3580 withval=$with_opengl;
3584 # Check whether --with-osmesa was given.
3585 if test "${with_osmesa+set}" = set; then :
3586 withval=$with_osmesa;
3590 # Check whether --with-oss was given.
3591 if test "${with_oss+set}" = set; then :
3592 withval=$with_oss;
3596 # Check whether --with-pcap was given.
3597 if test "${with_pcap+set}" = set; then :
3598 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3602 # Check whether --with-png was given.
3603 if test "${with_png+set}" = set; then :
3604 withval=$with_png;
3608 # Check whether --with-pthread was given.
3609 if test "${with_pthread+set}" = set; then :
3610 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3614 # Check whether --with-pulse was given.
3615 if test "${with_pulse+set}" = set; then :
3616 withval=$with_pulse;
3620 # Check whether --with-sane was given.
3621 if test "${with_sane+set}" = set; then :
3622 withval=$with_sane;
3626 # Check whether --with-tiff was given.
3627 if test "${with_tiff+set}" = set; then :
3628 withval=$with_tiff;
3632 # Check whether --with-udev was given.
3633 if test "${with_udev+set}" = set; then :
3634 withval=$with_udev;
3638 # Check whether --with-v4l was given.
3639 if test "${with_v4l+set}" = set; then :
3640 withval=$with_v4l;
3644 # Check whether --with-xcomposite was given.
3645 if test "${with_xcomposite+set}" = set; then :
3646 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3650 # Check whether --with-xcursor was given.
3651 if test "${with_xcursor+set}" = set; then :
3652 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3656 # Check whether --with-xinerama was given.
3657 if test "${with_xinerama+set}" = set; then :
3658 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3662 # Check whether --with-xinput was given.
3663 if test "${with_xinput+set}" = set; then :
3664 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3668 # Check whether --with-xinput2 was given.
3669 if test "${with_xinput2+set}" = set; then :
3670 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3674 # Check whether --with-xml was given.
3675 if test "${with_xml+set}" = set; then :
3676 withval=$with_xml;
3680 # Check whether --with-xrandr was given.
3681 if test "${with_xrandr+set}" = set; then :
3682 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3686 # Check whether --with-xrender was given.
3687 if test "${with_xrender+set}" = set; then :
3688 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3692 # Check whether --with-xshape was given.
3693 if test "${with_xshape+set}" = set; then :
3694 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3698 # Check whether --with-xshm was given.
3699 if test "${with_xshm+set}" = set; then :
3700 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3704 # Check whether --with-xslt was given.
3705 if test "${with_xslt+set}" = set; then :
3706 withval=$with_xslt;
3710 # Check whether --with-xxf86vm was given.
3711 if test "${with_xxf86vm+set}" = set; then :
3712 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
3716 # Check whether --with-zlib was given.
3717 if test "${with_zlib+set}" = set; then :
3718 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3723 # Check whether --with-wine-tools was given.
3724 if test "${with_wine_tools+set}" = set; then :
3725 withval=$with_wine_tools;
3729 # Check whether --with-wine64 was given.
3730 if test "${with_wine64+set}" = set; then :
3731 withval=$with_wine64;
3735 # Make sure we can run config.sub.
3736 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3737 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3740 $as_echo_n "checking build system type... " >&6; }
3741 if ${ac_cv_build+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 ac_build_alias=$build_alias
3745 test "x$ac_build_alias" = x &&
3746 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3747 test "x$ac_build_alias" = x &&
3748 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3749 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3750 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3754 $as_echo "$ac_cv_build" >&6; }
3755 case $ac_cv_build in
3756 *-*-*) ;;
3757 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3758 esac
3759 build=$ac_cv_build
3760 ac_save_IFS=$IFS; IFS='-'
3761 set x $ac_cv_build
3762 shift
3763 build_cpu=$1
3764 build_vendor=$2
3765 shift; shift
3766 # Remember, the first character of IFS is used to create $*,
3767 # except with old shells:
3768 build_os=$*
3769 IFS=$ac_save_IFS
3770 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3774 $as_echo_n "checking host system type... " >&6; }
3775 if ${ac_cv_host+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if test "x$host_alias" = x; then
3779 ac_cv_host=$ac_cv_build
3780 else
3781 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3782 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3787 $as_echo "$ac_cv_host" >&6; }
3788 case $ac_cv_host in
3789 *-*-*) ;;
3790 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3791 esac
3792 host=$ac_cv_host
3793 ac_save_IFS=$IFS; IFS='-'
3794 set x $ac_cv_host
3795 shift
3796 host_cpu=$1
3797 host_vendor=$2
3798 shift; shift
3799 # Remember, the first character of IFS is used to create $*,
3800 # except with old shells:
3801 host_os=$*
3802 IFS=$ac_save_IFS
3803 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3807 case "$srcdir" in
3808 .) ;;
3809 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3810 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3811 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3812 fi ;;
3813 esac
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3817 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3818 set x ${MAKE-make}
3819 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3820 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3821 $as_echo_n "(cached) " >&6
3822 else
3823 cat >conftest.make <<\_ACEOF
3824 SHELL = /bin/sh
3825 all:
3826 @echo '@@@%%%=$(MAKE)=@@@%%%'
3827 _ACEOF
3828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3830 *@@@%%%=?*=@@@%%%*)
3831 eval ac_cv_prog_make_${ac_make}_set=yes;;
3833 eval ac_cv_prog_make_${ac_make}_set=no;;
3834 esac
3835 rm -f conftest.make
3837 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3839 $as_echo "yes" >&6; }
3840 SET_MAKE=
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 SET_MAKE="MAKE=${MAKE-make}"
3847 ac_ext=c
3848 ac_cpp='$CPP $CPPFLAGS'
3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3852 if test -n "$ac_tool_prefix"; then
3853 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3854 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_prog_CC+:} false; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 if test -n "$CC"; then
3861 ac_cv_prog_CC="$CC" # Let the user override the test.
3862 else
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3866 IFS=$as_save_IFS
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3880 CC=$ac_cv_prog_CC
3881 if test -n "$CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3883 $as_echo "$CC" >&6; }
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3891 if test -z "$ac_cv_prog_CC"; then
3892 ac_ct_CC=$CC
3893 # Extract the first word of "gcc", so it can be a program name with args.
3894 set dummy gcc; ac_word=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 if test -n "$ac_ct_CC"; then
3901 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3902 else
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH
3906 IFS=$as_save_IFS
3907 test -z "$as_dir" && as_dir=.
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3910 ac_cv_prog_ac_ct_CC="gcc"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 break 2
3914 done
3915 done
3916 IFS=$as_save_IFS
3920 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3921 if test -n "$ac_ct_CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3923 $as_echo "$ac_ct_CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3929 if test "x$ac_ct_CC" = x; then
3930 CC=""
3931 else
3932 case $cross_compiling:$ac_tool_warned in
3933 yes:)
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 ac_tool_warned=yes ;;
3937 esac
3938 CC=$ac_ct_CC
3940 else
3941 CC="$ac_cv_prog_CC"
3944 if test -z "$CC"; then
3945 if test -n "$ac_tool_prefix"; then
3946 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3947 set dummy ${ac_tool_prefix}cc; ac_word=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if ${ac_cv_prog_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3952 else
3953 if test -n "$CC"; then
3954 ac_cv_prog_CC="$CC" # Let the user override the test.
3955 else
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 for as_dir in $PATH
3959 IFS=$as_save_IFS
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_CC="${ac_tool_prefix}cc"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 break 2
3967 done
3968 done
3969 IFS=$as_save_IFS
3973 CC=$ac_cv_prog_CC
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3985 if test -z "$CC"; then
3986 # Extract the first word of "cc", so it can be a program name with args.
3987 set dummy cc; ac_word=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if ${ac_cv_prog_CC+:} false; then :
3991 $as_echo_n "(cached) " >&6
3992 else
3993 if test -n "$CC"; then
3994 ac_cv_prog_CC="$CC" # Let the user override the test.
3995 else
3996 ac_prog_rejected=no
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4005 ac_prog_rejected=yes
4006 continue
4008 ac_cv_prog_CC="cc"
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 break 2
4012 done
4013 done
4014 IFS=$as_save_IFS
4016 if test $ac_prog_rejected = yes; then
4017 # We found a bogon in the path, so make sure we never use it.
4018 set dummy $ac_cv_prog_CC
4019 shift
4020 if test $# != 0; then
4021 # We chose a different compiler from the bogus one.
4022 # However, it has the same basename, so the bogon will be chosen
4023 # first if we set CC to just the basename; use the full file name.
4024 shift
4025 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4030 CC=$ac_cv_prog_CC
4031 if test -n "$CC"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4033 $as_echo "$CC" >&6; }
4034 else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4041 if test -z "$CC"; then
4042 if test -n "$ac_tool_prefix"; then
4043 for ac_prog in cl.exe
4045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_CC+:} false; then :
4050 $as_echo_n "(cached) " >&6
4051 else
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC="$CC" # Let the user override the test.
4054 else
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 break 2
4066 done
4067 done
4068 IFS=$as_save_IFS
4072 CC=$ac_cv_prog_CC
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4076 else
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4082 test -n "$CC" && break
4083 done
4085 if test -z "$CC"; then
4086 ac_ct_CC=$CC
4087 for ac_prog in cl.exe
4089 # Extract the first word of "$ac_prog", so it can be a program name with args.
4090 set dummy $ac_prog; ac_word=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 if test -n "$ac_ct_CC"; then
4097 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4098 else
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4100 for as_dir in $PATH
4102 IFS=$as_save_IFS
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_ac_ct_CC="$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 break 2
4110 done
4111 done
4112 IFS=$as_save_IFS
4116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4117 if test -n "$ac_ct_CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4119 $as_echo "$ac_ct_CC" >&6; }
4120 else
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$ac_ct_CC" && break
4127 done
4129 if test "x$ac_ct_CC" = x; then
4130 CC=""
4131 else
4132 case $cross_compiling:$ac_tool_warned in
4133 yes:)
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4136 ac_tool_warned=yes ;;
4137 esac
4138 CC=$ac_ct_CC
4145 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4147 as_fn_error $? "no acceptable C compiler found in \$PATH
4148 See \`config.log' for more details" "$LINENO" 5; }
4150 # Provide some information about the compiler.
4151 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4152 set X $ac_compile
4153 ac_compiler=$2
4154 for ac_option in --version -v -V -qversion; do
4155 { { ac_try="$ac_compiler $ac_option >&5"
4156 case "(($ac_try" in
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4159 esac
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4163 ac_status=$?
4164 if test -s conftest.err; then
4165 sed '10a\
4166 ... rest of stderr output deleted ...
4167 10q' conftest.err >conftest.er1
4168 cat conftest.er1 >&5
4170 rm -f conftest.er1 conftest.err
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }
4173 done
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 ac_clean_files_save=$ac_clean_files
4187 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4188 # Try to create an executable without -o first, disregard a.out.
4189 # It will help us diagnose broken compilers, and finding out an intuition
4190 # of exeext.
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4192 $as_echo_n "checking whether the C compiler works... " >&6; }
4193 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4195 # The possible output files:
4196 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4198 ac_rmfiles=
4199 for ac_file in $ac_files
4201 case $ac_file in
4202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4203 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4204 esac
4205 done
4206 rm -f $ac_rmfiles
4208 if { { ac_try="$ac_link_default"
4209 case "(($ac_try" in
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4212 esac
4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4214 $as_echo "$ac_try_echo"; } >&5
4215 (eval "$ac_link_default") 2>&5
4216 ac_status=$?
4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218 test $ac_status = 0; }; then :
4219 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4220 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4221 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4222 # so that the user can short-circuit this test for compilers unknown to
4223 # Autoconf.
4224 for ac_file in $ac_files ''
4226 test -f "$ac_file" || continue
4227 case $ac_file in
4228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4230 [ab].out )
4231 # We found the default executable, but exeext='' is most
4232 # certainly right.
4233 break;;
4234 *.* )
4235 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4236 then :; else
4237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4239 # We set ac_cv_exeext here because the later test for it is not
4240 # safe: cross compilers may not add the suffix if given an `-o'
4241 # argument, so we may need to know it at that point already.
4242 # Even if this section looks crufty: it has the advantage of
4243 # actually working.
4244 break;;
4246 break;;
4247 esac
4248 done
4249 test "$ac_cv_exeext" = no && ac_cv_exeext=
4251 else
4252 ac_file=''
4254 if test -z "$ac_file"; then :
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error 77 "C compiler cannot create executables
4263 See \`config.log' for more details" "$LINENO" 5; }
4264 else
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4266 $as_echo "yes" >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4269 $as_echo_n "checking for C compiler default output file name... " >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4271 $as_echo "$ac_file" >&6; }
4272 ac_exeext=$ac_cv_exeext
4274 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4275 ac_clean_files=$ac_clean_files_save
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4277 $as_echo_n "checking for suffix of executables... " >&6; }
4278 if { { ac_try="$ac_link"
4279 case "(($ac_try" in
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4282 esac
4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4284 $as_echo "$ac_try_echo"; } >&5
4285 (eval "$ac_link") 2>&5
4286 ac_status=$?
4287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4288 test $ac_status = 0; }; then :
4289 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4290 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4291 # work properly (i.e., refer to `conftest.exe'), while it won't with
4292 # `rm'.
4293 for ac_file in conftest.exe conftest conftest.*; do
4294 test -f "$ac_file" || continue
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4298 break;;
4299 * ) break;;
4300 esac
4301 done
4302 else
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4306 See \`config.log' for more details" "$LINENO" 5; }
4308 rm -f conftest conftest$ac_cv_exeext
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4310 $as_echo "$ac_cv_exeext" >&6; }
4312 rm -f conftest.$ac_ext
4313 EXEEXT=$ac_cv_exeext
4314 ac_exeext=$EXEEXT
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4317 #include <stdio.h>
4319 main ()
4321 FILE *f = fopen ("conftest.out", "w");
4322 return ferror (f) || fclose (f) != 0;
4325 return 0;
4327 _ACEOF
4328 ac_clean_files="$ac_clean_files conftest.out"
4329 # Check that the compiler produces executables we can run. If not, either
4330 # the compiler is broken, or we cross compile.
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4332 $as_echo_n "checking whether we are cross compiling... " >&6; }
4333 if test "$cross_compiling" != yes; then
4334 { { ac_try="$ac_link"
4335 case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338 esac
4339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4340 $as_echo "$ac_try_echo"; } >&5
4341 (eval "$ac_link") 2>&5
4342 ac_status=$?
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }
4345 if { ac_try='./conftest$ac_cv_exeext'
4346 { { case "(($ac_try" in
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4349 esac
4350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4351 $as_echo "$ac_try_echo"; } >&5
4352 (eval "$ac_try") 2>&5
4353 ac_status=$?
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; }; }; then
4356 cross_compiling=no
4357 else
4358 if test "$cross_compiling" = maybe; then
4359 cross_compiling=yes
4360 else
4361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4363 as_fn_error $? "cannot run C compiled programs.
4364 If you meant to cross compile, use \`--host'.
4365 See \`config.log' for more details" "$LINENO" 5; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4370 $as_echo "$cross_compiling" >&6; }
4372 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4373 ac_clean_files=$ac_clean_files_save
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4375 $as_echo_n "checking for suffix of object files... " >&6; }
4376 if ${ac_cv_objext+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4383 main ()
4387 return 0;
4389 _ACEOF
4390 rm -f conftest.o conftest.obj
4391 if { { ac_try="$ac_compile"
4392 case "(($ac_try" in
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4395 esac
4396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4397 $as_echo "$ac_try_echo"; } >&5
4398 (eval "$ac_compile") 2>&5
4399 ac_status=$?
4400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4401 test $ac_status = 0; }; then :
4402 for ac_file in conftest.o conftest.obj conftest.*; do
4403 test -f "$ac_file" || continue;
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4406 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4407 break;;
4408 esac
4409 done
4410 else
4411 $as_echo "$as_me: failed program was:" >&5
4412 sed 's/^/| /' conftest.$ac_ext >&5
4414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4416 as_fn_error $? "cannot compute suffix of object files: cannot compile
4417 See \`config.log' for more details" "$LINENO" 5; }
4419 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4422 $as_echo "$ac_cv_objext" >&6; }
4423 OBJEXT=$ac_cv_objext
4424 ac_objext=$OBJEXT
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4426 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4427 if ${ac_cv_c_compiler_gnu+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 main ()
4436 #ifndef __GNUC__
4437 choke me
4438 #endif
4441 return 0;
4443 _ACEOF
4444 if ac_fn_c_try_compile "$LINENO"; then :
4445 ac_compiler_gnu=yes
4446 else
4447 ac_compiler_gnu=no
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4454 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4455 if test $ac_compiler_gnu = yes; then
4456 GCC=yes
4457 else
4458 GCC=
4460 ac_test_CFLAGS=${CFLAGS+set}
4461 ac_save_CFLAGS=$CFLAGS
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4463 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4464 if ${ac_cv_prog_cc_g+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 ac_save_c_werror_flag=$ac_c_werror_flag
4468 ac_c_werror_flag=yes
4469 ac_cv_prog_cc_g=no
4470 CFLAGS="-g"
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4475 main ()
4479 return 0;
4481 _ACEOF
4482 if ac_fn_c_try_compile "$LINENO"; then :
4483 ac_cv_prog_cc_g=yes
4484 else
4485 CFLAGS=""
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4494 return 0;
4496 _ACEOF
4497 if ac_fn_c_try_compile "$LINENO"; then :
4499 else
4500 ac_c_werror_flag=$ac_save_c_werror_flag
4501 CFLAGS="-g"
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 if ac_fn_c_try_compile "$LINENO"; then :
4514 ac_cv_prog_cc_g=yes
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 ac_c_werror_flag=$ac_save_c_werror_flag
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4524 $as_echo "$ac_cv_prog_cc_g" >&6; }
4525 if test "$ac_test_CFLAGS" = set; then
4526 CFLAGS=$ac_save_CFLAGS
4527 elif test $ac_cv_prog_cc_g = yes; then
4528 if test "$GCC" = yes; then
4529 CFLAGS="-g -O2"
4530 else
4531 CFLAGS="-g"
4533 else
4534 if test "$GCC" = yes; then
4535 CFLAGS="-O2"
4536 else
4537 CFLAGS=
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4541 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4542 if ${ac_cv_prog_cc_c89+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 ac_cv_prog_cc_c89=no
4546 ac_save_CC=$CC
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549 #include <stdarg.h>
4550 #include <stdio.h>
4551 struct stat;
4552 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4553 struct buf { int x; };
4554 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4555 static char *e (p, i)
4556 char **p;
4557 int i;
4559 return p[i];
4561 static char *f (char * (*g) (char **, int), char **p, ...)
4563 char *s;
4564 va_list v;
4565 va_start (v,p);
4566 s = g (p, va_arg (v,int));
4567 va_end (v);
4568 return s;
4571 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4572 function prototypes and stuff, but not '\xHH' hex character constants.
4573 These don't provoke an error unfortunately, instead are silently treated
4574 as 'x'. The following induces an error, until -std is added to get
4575 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4576 array size at least. It's necessary to write '\x00'==0 to get something
4577 that's true only with -std. */
4578 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4580 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4581 inside strings and character constants. */
4582 #define FOO(x) 'x'
4583 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4585 int test (int i, double x);
4586 struct s1 {int (*f) (int a);};
4587 struct s2 {int (*f) (double a);};
4588 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4589 int argc;
4590 char **argv;
4592 main ()
4594 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4596 return 0;
4598 _ACEOF
4599 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4600 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4602 CC="$ac_save_CC $ac_arg"
4603 if ac_fn_c_try_compile "$LINENO"; then :
4604 ac_cv_prog_cc_c89=$ac_arg
4606 rm -f core conftest.err conftest.$ac_objext
4607 test "x$ac_cv_prog_cc_c89" != "xno" && break
4608 done
4609 rm -f conftest.$ac_ext
4610 CC=$ac_save_CC
4613 # AC_CACHE_VAL
4614 case "x$ac_cv_prog_cc_c89" in
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4617 $as_echo "none needed" >&6; } ;;
4618 xno)
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4620 $as_echo "unsupported" >&6; } ;;
4622 CC="$CC $ac_cv_prog_cc_c89"
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4624 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4625 esac
4626 if test "x$ac_cv_prog_cc_c89" != xno; then :
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4636 ac_ext=cpp
4637 ac_cpp='$CXXCPP $CPPFLAGS'
4638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4641 if test -z "$CXX"; then
4642 if test -n "$CCC"; then
4643 CXX=$CCC
4644 else
4645 if test -n "$ac_tool_prefix"; then
4646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_CXX+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 if test -n "$CXX"; then
4656 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4657 else
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH
4661 IFS=$as_save_IFS
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 break 2
4669 done
4670 done
4671 IFS=$as_save_IFS
4675 CXX=$ac_cv_prog_CXX
4676 if test -n "$CXX"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4678 $as_echo "$CXX" >&6; }
4679 else
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$CXX" && break
4686 done
4688 if test -z "$CXX"; then
4689 ac_ct_CXX=$CXX
4690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4692 # Extract the first word of "$ac_prog", so it can be a program name with args.
4693 set dummy $ac_prog; ac_word=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 if test -n "$ac_ct_CXX"; then
4700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4701 else
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705 IFS=$as_save_IFS
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CXX="$ac_prog"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 break 2
4713 done
4714 done
4715 IFS=$as_save_IFS
4719 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4720 if test -n "$ac_ct_CXX"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4722 $as_echo "$ac_ct_CXX" >&6; }
4723 else
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4729 test -n "$ac_ct_CXX" && break
4730 done
4732 if test "x$ac_ct_CXX" = x; then
4733 CXX="g++"
4734 else
4735 case $cross_compiling:$ac_tool_warned in
4736 yes:)
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4740 esac
4741 CXX=$ac_ct_CXX
4747 # Provide some information about the compiler.
4748 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4749 set X $ac_compile
4750 ac_compiler=$2
4751 for ac_option in --version -v -V -qversion; do
4752 { { ac_try="$ac_compiler $ac_option >&5"
4753 case "(($ac_try" in
4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755 *) ac_try_echo=$ac_try;;
4756 esac
4757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758 $as_echo "$ac_try_echo"; } >&5
4759 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4760 ac_status=$?
4761 if test -s conftest.err; then
4762 sed '10a\
4763 ... rest of stderr output deleted ...
4764 10q' conftest.err >conftest.er1
4765 cat conftest.er1 >&5
4767 rm -f conftest.er1 conftest.err
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }
4770 done
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4773 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4774 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4781 main ()
4783 #ifndef __GNUC__
4784 choke me
4785 #endif
4788 return 0;
4790 _ACEOF
4791 if ac_fn_cxx_try_compile "$LINENO"; then :
4792 ac_compiler_gnu=yes
4793 else
4794 ac_compiler_gnu=no
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4801 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4802 if test $ac_compiler_gnu = yes; then
4803 GXX=yes
4804 else
4805 GXX=
4807 ac_test_CXXFLAGS=${CXXFLAGS+set}
4808 ac_save_CXXFLAGS=$CXXFLAGS
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4810 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4811 if ${ac_cv_prog_cxx_g+:} false; then :
4812 $as_echo_n "(cached) " >&6
4813 else
4814 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4815 ac_cxx_werror_flag=yes
4816 ac_cv_prog_cxx_g=no
4817 CXXFLAGS="-g"
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4822 main ()
4826 return 0;
4828 _ACEOF
4829 if ac_fn_cxx_try_compile "$LINENO"; then :
4830 ac_cv_prog_cxx_g=yes
4831 else
4832 CXXFLAGS=""
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4837 main ()
4841 return 0;
4843 _ACEOF
4844 if ac_fn_cxx_try_compile "$LINENO"; then :
4846 else
4847 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4848 CXXFLAGS="-g"
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4853 main ()
4857 return 0;
4859 _ACEOF
4860 if ac_fn_cxx_try_compile "$LINENO"; then :
4861 ac_cv_prog_cxx_g=yes
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4871 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4872 if test "$ac_test_CXXFLAGS" = set; then
4873 CXXFLAGS=$ac_save_CXXFLAGS
4874 elif test $ac_cv_prog_cxx_g = yes; then
4875 if test "$GXX" = yes; then
4876 CXXFLAGS="-g -O2"
4877 else
4878 CXXFLAGS="-g"
4880 else
4881 if test "$GXX" = yes; then
4882 CXXFLAGS="-O2"
4883 else
4884 CXXFLAGS=
4887 ac_ext=c
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4893 if test -n "$ac_tool_prefix"; then
4894 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4895 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_CPPBIN+:} false; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$CPPBIN"; then
4902 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4915 done
4916 done
4917 IFS=$as_save_IFS
4921 CPPBIN=$ac_cv_prog_CPPBIN
4922 if test -n "$CPPBIN"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4924 $as_echo "$CPPBIN" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4932 if test -z "$ac_cv_prog_CPPBIN"; then
4933 ac_ct_CPPBIN=$CPPBIN
4934 # Extract the first word of "cpp", so it can be a program name with args.
4935 set dummy cpp; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 if test -n "$ac_ct_CPPBIN"; then
4942 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_ac_ct_CPPBIN="cpp"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4962 if test -n "$ac_ct_CPPBIN"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4964 $as_echo "$ac_ct_CPPBIN" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4970 if test "x$ac_ct_CPPBIN" = x; then
4971 CPPBIN="cpp"
4972 else
4973 case $cross_compiling:$ac_tool_warned in
4974 yes:)
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned=yes ;;
4978 esac
4979 CPPBIN=$ac_ct_CPPBIN
4981 else
4982 CPPBIN="$ac_cv_prog_CPPBIN"
4986 cat >>confdefs.h <<_ACEOF
4987 #define EXEEXT "$ac_exeext"
4988 _ACEOF
4990 if test -n "$ac_tool_prefix"; then
4991 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4992 set dummy ${ac_tool_prefix}ld; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_LD+:} false; then :
4996 $as_echo_n "(cached) " >&6
4997 else
4998 if test -n "$LD"; then
4999 ac_cv_prog_LD="$LD" # Let the user override the test.
5000 else
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH
5004 IFS=$as_save_IFS
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_LD="${ac_tool_prefix}ld"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 break 2
5012 done
5013 done
5014 IFS=$as_save_IFS
5018 LD=$ac_cv_prog_LD
5019 if test -n "$LD"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5021 $as_echo "$LD" >&6; }
5022 else
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5029 if test -z "$ac_cv_prog_LD"; then
5030 ac_ct_LD=$LD
5031 # Extract the first word of "ld", so it can be a program name with args.
5032 set dummy ld; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5036 $as_echo_n "(cached) " >&6
5037 else
5038 if test -n "$ac_ct_LD"; then
5039 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5040 else
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH
5044 IFS=$as_save_IFS
5045 test -z "$as_dir" && as_dir=.
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_ac_ct_LD="ld"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 break 2
5052 done
5053 done
5054 IFS=$as_save_IFS
5058 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5059 if test -n "$ac_ct_LD"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5061 $as_echo "$ac_ct_LD" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5067 if test "x$ac_ct_LD" = x; then
5068 LD=""
5069 else
5070 case $cross_compiling:$ac_tool_warned in
5071 yes:)
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5075 esac
5076 LD=$ac_ct_LD
5078 else
5079 LD="$ac_cv_prog_LD"
5083 case $host in
5084 *-darwin*)
5085 with_fontconfig=${with_fontconfig:-no}
5087 *-mingw32*|*-cygwin*)
5088 enable_win16=${enable_win16:-no}
5089 CFLAGS="$CFLAGS -D_WIN32"
5091 esac
5093 case $host in
5094 x86_64*|amd64*)
5095 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5096 then
5097 CC="$CC -m32"
5098 CXX="$CXX -m32"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5100 $as_echo_n "checking whether $CC works... " >&6; }
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5106 main ()
5110 return 0;
5112 _ACEOF
5113 if ac_fn_c_try_link "$LINENO"; then :
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5115 $as_echo "yes" >&6; }
5116 else
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5119 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5121 rm -f core conftest.err conftest.$ac_objext \
5122 conftest$ac_exeext conftest.$ac_ext
5123 host_cpu="i386"
5124 notice_platform="32-bit "
5125 TARGETFLAGS="-m32"
5127 enable_win16=${enable_win16:-yes}
5128 else
5129 if test "x${GCC}" = "xyes"
5130 then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5132 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5135 #include <stdarg.h>
5137 main ()
5139 void func(__builtin_ms_va_list *args);
5141 return 0;
5143 _ACEOF
5144 if ac_fn_c_try_compile "$LINENO"; then :
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146 $as_echo "yes" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5154 CC="$CC -m64"
5155 CXX="$CXX -m64"
5156 host_cpu="x86_64"
5157 notice_platform="64-bit "
5158 TARGETFLAGS="-m64"
5162 arm*)
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5164 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 int ac_test(int i) { return i; }
5169 main ()
5171 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5173 return 0;
5175 _ACEOF
5176 if ac_fn_c_try_link "$LINENO"; then :
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5178 $as_echo "yes" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5182 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5184 rm -f core conftest.err conftest.$ac_objext \
5185 conftest$ac_exeext conftest.$ac_ext
5186 CFLAGS="$CFLAGS -marm"
5187 TARGETFLAGS="-marm"
5190 i[3456789]86*)
5191 enable_win16=${enable_win16:-yes}
5193 esac
5195 enable_win16=${enable_win16:-no}
5196 enable_win64=${enable_win64:-no}
5198 enable_winetest=${enable_winetest:-$enable_tests}
5200 if test -n "$with_wine64"
5201 then
5202 if test "x$enable_win64" = "xyes"
5203 then
5204 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5205 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5207 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5208 You should create a separate build directory and run configure from there." "$LINENO" 5
5209 enable_fonts=${enable_fonts:-no}
5210 enable_server=${enable_server:-no}
5211 elif test "x$enable_win64" = "xyes"
5212 then
5213 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5217 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5218 if ${wine_cv_toolsdir+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 wine_cv_toolsdir="$with_wine_tools"
5222 if test -z "$with_wine_tools"; then
5223 if test "$cross_compiling" = "yes"; then
5224 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5225 elif test -n "$with_wine64"; then
5226 wine_cv_toolsdir="$with_wine64"
5229 if test -z "$wine_cv_toolsdir"; then
5230 wine_makedep=tools/makedep
5231 wine_cv_toolsdir="\$(top_builddir)"
5232 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5233 wine_makedep=$wine_cv_toolsdir/tools/makedep
5234 case "$wine_cv_toolsdir" in
5235 /*) ;;
5236 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5237 esac
5238 enable_tools=${enable_tools:-no}
5239 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5240 else
5241 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5245 $as_echo "$wine_cv_toolsdir" >&6; }
5246 TOOLSDIR=$wine_cv_toolsdir
5248 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5249 then
5250 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5254 for ac_prog in flex
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_FLEX+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$FLEX"; then
5264 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_FLEX="$ac_prog"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 FLEX=$ac_cv_prog_FLEX
5284 if test -n "$FLEX"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5286 $as_echo "$FLEX" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5293 test -n "$FLEX" && break
5294 done
5295 test -n "$FLEX" || FLEX="none"
5297 if test "$FLEX" = "none"
5298 then
5299 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5302 $as_echo_n "checking whether flex is recent enough... " >&6; }
5303 cat >conftest.l <<EOF
5304 %top{
5305 #include "prediluvian.h"
5309 if $FLEX -t conftest.l >/dev/null 2>&5
5310 then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5312 $as_echo "yes" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5316 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5319 for ac_prog in bison
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy $ac_prog; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_BISON+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -n "$BISON"; then
5329 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_BISON="$ac_prog"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 break 2
5342 done
5343 done
5344 IFS=$as_save_IFS
5348 BISON=$ac_cv_prog_BISON
5349 if test -n "$BISON"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5351 $as_echo "$BISON" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5358 test -n "$BISON" && break
5359 done
5360 test -n "$BISON" || BISON="none"
5362 if test "$BISON" = "none"
5363 then
5364 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5367 if test -n "$ac_tool_prefix"; then
5368 for ac_prog in ar gar
5370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_AR+:} false; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 if test -n "$AR"; then
5378 ac_cv_prog_AR="$AR" # Let the user override the test.
5379 else
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 break 2
5391 done
5392 done
5393 IFS=$as_save_IFS
5397 AR=$ac_cv_prog_AR
5398 if test -n "$AR"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5400 $as_echo "$AR" >&6; }
5401 else
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5407 test -n "$AR" && break
5408 done
5410 if test -z "$AR"; then
5411 ac_ct_AR=$AR
5412 for ac_prog in ar gar
5414 # Extract the first word of "$ac_prog", so it can be a program name with args.
5415 set dummy $ac_prog; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 if test -n "$ac_ct_AR"; then
5422 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_AR="$ac_prog"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5442 if test -n "$ac_ct_AR"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5444 $as_echo "$ac_ct_AR" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5451 test -n "$ac_ct_AR" && break
5452 done
5454 if test "x$ac_ct_AR" = x; then
5455 AR="ar"
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458 yes:)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5462 esac
5463 AR=$ac_ct_AR
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}strip; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_STRIP+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$STRIP"; then
5476 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 STRIP=$ac_cv_prog_STRIP
5496 if test -n "$STRIP"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5498 $as_echo "$STRIP" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_STRIP"; then
5507 ac_ct_STRIP=$STRIP
5508 # Extract the first word of "strip", so it can be a program name with args.
5509 set dummy strip; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_STRIP"; then
5516 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_STRIP="strip"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5536 if test -n "$ac_ct_STRIP"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5538 $as_echo "$ac_ct_STRIP" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_STRIP" = x; then
5545 STRIP="strip"
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 STRIP=$ac_ct_STRIP
5555 else
5556 STRIP="$ac_cv_prog_STRIP"
5559 ARFLAGS=rc
5561 if test -n "$ac_tool_prefix"; then
5562 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_RANLIB+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$RANLIB"; then
5570 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 RANLIB=$ac_cv_prog_RANLIB
5590 if test -n "$RANLIB"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5592 $as_echo "$RANLIB" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 if test -z "$ac_cv_prog_RANLIB"; then
5601 ac_ct_RANLIB=$RANLIB
5602 # Extract the first word of "ranlib", so it can be a program name with args.
5603 set dummy ranlib; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -n "$ac_ct_RANLIB"; then
5610 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_ac_ct_RANLIB="ranlib"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 break 2
5623 done
5624 done
5625 IFS=$as_save_IFS
5629 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5630 if test -n "$ac_ct_RANLIB"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5632 $as_echo "$ac_ct_RANLIB" >&6; }
5633 else
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5638 if test "x$ac_ct_RANLIB" = x; then
5639 RANLIB=":"
5640 else
5641 case $cross_compiling:$ac_tool_warned in
5642 yes:)
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5645 ac_tool_warned=yes ;;
5646 esac
5647 RANLIB=$ac_ct_RANLIB
5649 else
5650 RANLIB="$ac_cv_prog_RANLIB"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5654 $as_echo_n "checking whether ln -s works... " >&6; }
5655 LN_S=$as_ln_s
5656 if test "$LN_S" = "ln -s"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5658 $as_echo "yes" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5661 $as_echo "no, using $LN_S" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5665 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5666 if ${ac_cv_path_GREP+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 if test -z "$GREP"; then
5670 ac_path_GREP_found=false
5671 # Loop through the user's path and test for each of PROGNAME-LIST
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_prog in grep ggrep; do
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5680 as_fn_executable_p "$ac_path_GREP" || continue
5681 # Check for GNU ac_path_GREP and select it if it is found.
5682 # Check for GNU $ac_path_GREP
5683 case `"$ac_path_GREP" --version 2>&1` in
5684 *GNU*)
5685 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5687 ac_count=0
5688 $as_echo_n 0123456789 >"conftest.in"
5689 while :
5691 cat "conftest.in" "conftest.in" >"conftest.tmp"
5692 mv "conftest.tmp" "conftest.in"
5693 cp "conftest.in" "conftest.nl"
5694 $as_echo 'GREP' >> "conftest.nl"
5695 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5697 as_fn_arith $ac_count + 1 && ac_count=$as_val
5698 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5699 # Best one so far, save it but keep looking for a better one
5700 ac_cv_path_GREP="$ac_path_GREP"
5701 ac_path_GREP_max=$ac_count
5703 # 10*(2^10) chars as input seems more than enough
5704 test $ac_count -gt 10 && break
5705 done
5706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5707 esac
5709 $ac_path_GREP_found && break 3
5710 done
5711 done
5712 done
5713 IFS=$as_save_IFS
5714 if test -z "$ac_cv_path_GREP"; then
5715 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5717 else
5718 ac_cv_path_GREP=$GREP
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5723 $as_echo "$ac_cv_path_GREP" >&6; }
5724 GREP="$ac_cv_path_GREP"
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5728 $as_echo_n "checking for egrep... " >&6; }
5729 if ${ac_cv_path_EGREP+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5733 then ac_cv_path_EGREP="$GREP -E"
5734 else
5735 if test -z "$EGREP"; then
5736 ac_path_EGREP_found=false
5737 # Loop through the user's path and test for each of PROGNAME-LIST
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5741 IFS=$as_save_IFS
5742 test -z "$as_dir" && as_dir=.
5743 for ac_prog in egrep; do
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5746 as_fn_executable_p "$ac_path_EGREP" || continue
5747 # Check for GNU ac_path_EGREP and select it if it is found.
5748 # Check for GNU $ac_path_EGREP
5749 case `"$ac_path_EGREP" --version 2>&1` in
5750 *GNU*)
5751 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5753 ac_count=0
5754 $as_echo_n 0123456789 >"conftest.in"
5755 while :
5757 cat "conftest.in" "conftest.in" >"conftest.tmp"
5758 mv "conftest.tmp" "conftest.in"
5759 cp "conftest.in" "conftest.nl"
5760 $as_echo 'EGREP' >> "conftest.nl"
5761 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5762 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5763 as_fn_arith $ac_count + 1 && ac_count=$as_val
5764 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5765 # Best one so far, save it but keep looking for a better one
5766 ac_cv_path_EGREP="$ac_path_EGREP"
5767 ac_path_EGREP_max=$ac_count
5769 # 10*(2^10) chars as input seems more than enough
5770 test $ac_count -gt 10 && break
5771 done
5772 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5773 esac
5775 $ac_path_EGREP_found && break 3
5776 done
5777 done
5778 done
5779 IFS=$as_save_IFS
5780 if test -z "$ac_cv_path_EGREP"; then
5781 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5783 else
5784 ac_cv_path_EGREP=$EGREP
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5790 $as_echo "$ac_cv_path_EGREP" >&6; }
5791 EGREP="$ac_cv_path_EGREP"
5794 # Extract the first word of "ldconfig", so it can be a program name with args.
5795 set dummy ldconfig; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_path_LDCONFIG+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 case $LDCONFIG in
5802 [\\/]* | ?:[\\/]*)
5803 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in /sbin /usr/sbin $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5821 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5823 esac
5825 LDCONFIG=$ac_cv_path_LDCONFIG
5826 if test -n "$LDCONFIG"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5828 $as_echo "$LDCONFIG" >&6; }
5829 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 for ac_prog in msgfmt
5837 # Extract the first word of "$ac_prog", so it can be a program name with args.
5838 set dummy $ac_prog; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_MSGFMT+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 if test -n "$MSGFMT"; then
5845 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_MSGFMT="$ac_prog"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5860 IFS=$as_save_IFS
5864 MSGFMT=$ac_cv_prog_MSGFMT
5865 if test -n "$MSGFMT"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5867 $as_echo "$MSGFMT" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 test -n "$MSGFMT" && break
5875 done
5876 test -n "$MSGFMT" || MSGFMT="false"
5878 if ${ac_tool_prefix+:} false; then :
5879 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5880 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 if test -n "$PKG_CONFIG"; then
5887 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5888 else
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 break 2
5900 done
5901 done
5902 IFS=$as_save_IFS
5906 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5907 if test -n "$PKG_CONFIG"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5909 $as_echo "$PKG_CONFIG" >&6; }
5910 else
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5917 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5918 if test "x$cross_compiling" = xyes; then :
5920 else
5921 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5922 # Extract the first word of "pkg-config", so it can be a program name with args.
5923 set dummy pkg-config; ac_word=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5927 $as_echo_n "(cached) " >&6
5928 else
5929 if test -n "$PKG_CONFIG"; then
5930 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5931 else
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 for as_dir in $PATH
5935 IFS=$as_save_IFS
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_PKG_CONFIG="pkg-config"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 break 2
5943 done
5944 done
5945 IFS=$as_save_IFS
5949 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5950 if test -n "$PKG_CONFIG"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5952 $as_echo "$PKG_CONFIG" >&6; }
5953 else
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5960 else
5961 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5964 if test "x$enable_maintainer_mode" != "xyes"
5965 then
5966 FONTFORGE=""
5967 RSVG=""
5968 CONVERT=""
5969 ICOTOOL=""
5970 else
5971 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5972 for ac_prog in fontforge
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy $ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_FONTFORGE+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$FONTFORGE"; then
5982 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_FONTFORGE="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 FONTFORGE=$ac_cv_prog_FONTFORGE
6002 if test -n "$FONTFORGE"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6004 $as_echo "$FONTFORGE" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$FONTFORGE" && break
6012 done
6013 test -n "$FONTFORGE" || FONTFORGE="false"
6015 for ac_prog in rsvg-convert rsvg
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_RSVG+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$RSVG"; then
6025 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_RSVG="$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 RSVG=$ac_cv_prog_RSVG
6045 if test -n "$RSVG"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6047 $as_echo "$RSVG" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$RSVG" && break
6055 done
6056 test -n "$RSVG" || RSVG="false"
6058 for ac_prog in convert
6060 # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 set dummy $ac_prog; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_CONVERT+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$CONVERT"; then
6068 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_CONVERT="$ac_prog"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 CONVERT=$ac_cv_prog_CONVERT
6088 if test -n "$CONVERT"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6090 $as_echo "$CONVERT" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6097 test -n "$CONVERT" && break
6098 done
6099 test -n "$CONVERT" || CONVERT="false"
6101 for ac_prog in icotool
6103 # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 set dummy $ac_prog; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ICOTOOL+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$ICOTOOL"; then
6111 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ICOTOOL="$ac_prog"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6130 ICOTOOL=$ac_cv_prog_ICOTOOL
6131 if test -n "$ICOTOOL"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6133 $as_echo "$ICOTOOL" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6140 test -n "$ICOTOOL" && break
6141 done
6142 test -n "$ICOTOOL" || ICOTOOL="false"
6144 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6145 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6147 if test "$CONVERT" = false
6148 then
6149 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6150 else
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6152 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6153 convert_version=`convert --version | head -n1`
6154 if test "x$convert_version" != "x"
6155 then
6156 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6157 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6158 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6159 then
6160 CONVERT=false
6163 if test "$CONVERT" = false
6164 then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6166 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6167 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6170 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6174 if test "$ICOTOOL" = false
6175 then
6176 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6179 $as_echo_n "checking for recent enough icotool... " >&6; }
6180 icotool_version=`icotool --version | head -n1`
6181 if test "x$icotool_version" != "x"
6182 then
6183 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6184 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6185 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6186 then
6187 ICOTOOL=false
6188 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6191 if test "$ICOTOOL" = false
6192 then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6194 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6195 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6198 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6202 with_gettext=yes
6203 with_gettextpo=yes
6204 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6207 test "x$with_gettext" != xno || MSGFMT=false
6208 if test "$MSGFMT" != "false"
6209 then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6211 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6212 cat >conftest.po <<EOF
6213 # comment
6214 msgctxt "ctxt"
6215 msgid "id"
6216 msgstr "str"
6218 if $MSGFMT -o /dev/null conftest.po 2>&5
6219 then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6221 $as_echo "yes" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6225 MSGFMT=false
6228 if test "$MSGFMT" = false; then :
6229 case "x$with_gettext" in
6230 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6231 xno) ;;
6232 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6233 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6234 esac
6235 enable_po=${enable_po:-no}
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6240 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6241 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 ac_check_lib_save_LIBS=$LIBS
6245 LIBS="-li386 $LIBS"
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6249 /* Override any GCC internal prototype to avoid an error.
6250 Use char because int might match the return type of a GCC
6251 builtin and then its argument prototype would still apply. */
6252 #ifdef __cplusplus
6253 extern "C"
6254 #endif
6255 char i386_set_ldt ();
6257 main ()
6259 return i386_set_ldt ();
6261 return 0;
6263 _ACEOF
6264 if ac_fn_c_try_link "$LINENO"; then :
6265 ac_cv_lib_i386_i386_set_ldt=yes
6266 else
6267 ac_cv_lib_i386_i386_set_ldt=no
6269 rm -f core conftest.err conftest.$ac_objext \
6270 conftest$ac_exeext conftest.$ac_ext
6271 LIBS=$ac_check_lib_save_LIBS
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6274 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6275 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6276 cat >>confdefs.h <<_ACEOF
6277 #define HAVE_LIBI386 1
6278 _ACEOF
6280 LIBS="-li386 $LIBS"
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6285 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6286 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 ac_check_lib_save_LIBS=$LIBS
6290 LIBS="-lossaudio $LIBS"
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6294 /* Override any GCC internal prototype to avoid an error.
6295 Use char because int might match the return type of a GCC
6296 builtin and then its argument prototype would still apply. */
6297 #ifdef __cplusplus
6298 extern "C"
6299 #endif
6300 char _oss_ioctl ();
6302 main ()
6304 return _oss_ioctl ();
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_link "$LINENO"; then :
6310 ac_cv_lib_ossaudio__oss_ioctl=yes
6311 else
6312 ac_cv_lib_ossaudio__oss_ioctl=no
6314 rm -f core conftest.err conftest.$ac_objext \
6315 conftest$ac_exeext conftest.$ac_ext
6316 LIBS=$ac_check_lib_save_LIBS
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6319 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6320 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6321 cat >>confdefs.h <<_ACEOF
6322 #define HAVE_LIBOSSAUDIO 1
6323 _ACEOF
6325 LIBS="-lossaudio $LIBS"
6330 OPENGL_LIBS=""
6334 # Check whether --enable-largefile was given.
6335 if test "${enable_largefile+set}" = set; then :
6336 enableval=$enable_largefile;
6339 if test "$enable_largefile" != no; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6342 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6343 if ${ac_cv_sys_largefile_CC+:} false; then :
6344 $as_echo_n "(cached) " >&6
6345 else
6346 ac_cv_sys_largefile_CC=no
6347 if test "$GCC" != yes; then
6348 ac_save_CC=$CC
6349 while :; do
6350 # IRIX 6.2 and later do not support large files by default,
6351 # so use the C compiler's -n32 option if that helps.
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <sys/types.h>
6355 /* Check that off_t can represent 2**63 - 1 correctly.
6356 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6357 since some C++ compilers masquerading as C compilers
6358 incorrectly reject 9223372036854775807. */
6359 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6360 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6361 && LARGE_OFF_T % 2147483647 == 1)
6362 ? 1 : -1];
6364 main ()
6368 return 0;
6370 _ACEOF
6371 if ac_fn_c_try_compile "$LINENO"; then :
6372 break
6374 rm -f core conftest.err conftest.$ac_objext
6375 CC="$CC -n32"
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_largefile_CC=' -n32'; break
6379 rm -f core conftest.err conftest.$ac_objext
6380 break
6381 done
6382 CC=$ac_save_CC
6383 rm -f conftest.$ac_ext
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6387 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6388 if test "$ac_cv_sys_largefile_CC" != no; then
6389 CC=$CC$ac_cv_sys_largefile_CC
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6393 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6394 if ${ac_cv_sys_file_offset_bits+:} false; then :
6395 $as_echo_n "(cached) " >&6
6396 else
6397 while :; do
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6408 ? 1 : -1];
6410 main ()
6414 return 0;
6416 _ACEOF
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 ac_cv_sys_file_offset_bits=no; break
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #define _FILE_OFFSET_BITS 64
6424 #include <sys/types.h>
6425 /* Check that off_t can represent 2**63 - 1 correctly.
6426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6427 since some C++ compilers masquerading as C compilers
6428 incorrectly reject 9223372036854775807. */
6429 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6431 && LARGE_OFF_T % 2147483647 == 1)
6432 ? 1 : -1];
6434 main ()
6438 return 0;
6440 _ACEOF
6441 if ac_fn_c_try_compile "$LINENO"; then :
6442 ac_cv_sys_file_offset_bits=64; break
6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 ac_cv_sys_file_offset_bits=unknown
6446 break
6447 done
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6450 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6451 case $ac_cv_sys_file_offset_bits in #(
6452 no | unknown) ;;
6454 cat >>confdefs.h <<_ACEOF
6455 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6456 _ACEOF
6458 esac
6459 rm -rf conftest*
6460 if test $ac_cv_sys_file_offset_bits = unknown; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6462 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6463 if ${ac_cv_sys_large_files+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 while :; do
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #include <sys/types.h>
6470 /* Check that off_t can represent 2**63 - 1 correctly.
6471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6472 since some C++ compilers masquerading as C compilers
6473 incorrectly reject 9223372036854775807. */
6474 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6476 && LARGE_OFF_T % 2147483647 == 1)
6477 ? 1 : -1];
6479 main ()
6483 return 0;
6485 _ACEOF
6486 if ac_fn_c_try_compile "$LINENO"; then :
6487 ac_cv_sys_large_files=no; break
6489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 #define _LARGE_FILES 1
6493 #include <sys/types.h>
6494 /* Check that off_t can represent 2**63 - 1 correctly.
6495 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6496 since some C++ compilers masquerading as C compilers
6497 incorrectly reject 9223372036854775807. */
6498 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6499 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6500 && LARGE_OFF_T % 2147483647 == 1)
6501 ? 1 : -1];
6503 main ()
6507 return 0;
6509 _ACEOF
6510 if ac_fn_c_try_compile "$LINENO"; then :
6511 ac_cv_sys_large_files=1; break
6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6514 ac_cv_sys_large_files=unknown
6515 break
6516 done
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6519 $as_echo "$ac_cv_sys_large_files" >&6; }
6520 case $ac_cv_sys_large_files in #(
6521 no | unknown) ;;
6523 cat >>confdefs.h <<_ACEOF
6524 #define _LARGE_FILES $ac_cv_sys_large_files
6525 _ACEOF
6527 esac
6528 rm -rf conftest*
6535 ac_ext=c
6536 ac_cpp='$CPP $CPPFLAGS'
6537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6541 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6542 # On Suns, sometimes $CPP names a directory.
6543 if test -n "$CPP" && test -d "$CPP"; then
6544 CPP=
6546 if test -z "$CPP"; then
6547 if ${ac_cv_prog_CPP+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 # Double quotes because CPP needs to be expanded
6551 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6553 ac_preproc_ok=false
6554 for ac_c_preproc_warn_flag in '' yes
6556 # Use a header file that comes with gcc, so configuring glibc
6557 # with a fresh cross-compiler works.
6558 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6559 # <limits.h> exists even on freestanding compilers.
6560 # On the NeXT, cc -E runs the code through the compiler's parser,
6561 # not just through cpp. "Syntax error" is here to catch this case.
6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #ifdef __STDC__
6565 # include <limits.h>
6566 #else
6567 # include <assert.h>
6568 #endif
6569 Syntax error
6570 _ACEOF
6571 if ac_fn_c_try_cpp "$LINENO"; then :
6573 else
6574 # Broken: fails on valid input.
6575 continue
6577 rm -f conftest.err conftest.i conftest.$ac_ext
6579 # OK, works on sane cases. Now check whether nonexistent headers
6580 # can be detected and how.
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6583 #include <ac_nonexistent.h>
6584 _ACEOF
6585 if ac_fn_c_try_cpp "$LINENO"; then :
6586 # Broken: success on invalid input.
6587 continue
6588 else
6589 # Passes both tests.
6590 ac_preproc_ok=:
6591 break
6593 rm -f conftest.err conftest.i conftest.$ac_ext
6595 done
6596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6597 rm -f conftest.i conftest.err conftest.$ac_ext
6598 if $ac_preproc_ok; then :
6599 break
6602 done
6603 ac_cv_prog_CPP=$CPP
6606 CPP=$ac_cv_prog_CPP
6607 else
6608 ac_cv_prog_CPP=$CPP
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6611 $as_echo "$CPP" >&6; }
6612 ac_preproc_ok=false
6613 for ac_c_preproc_warn_flag in '' yes
6615 # Use a header file that comes with gcc, so configuring glibc
6616 # with a fresh cross-compiler works.
6617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6618 # <limits.h> exists even on freestanding compilers.
6619 # On the NeXT, cc -E runs the code through the compiler's parser,
6620 # not just through cpp. "Syntax error" is here to catch this case.
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #ifdef __STDC__
6624 # include <limits.h>
6625 #else
6626 # include <assert.h>
6627 #endif
6628 Syntax error
6629 _ACEOF
6630 if ac_fn_c_try_cpp "$LINENO"; then :
6632 else
6633 # Broken: fails on valid input.
6634 continue
6636 rm -f conftest.err conftest.i conftest.$ac_ext
6638 # OK, works on sane cases. Now check whether nonexistent headers
6639 # can be detected and how.
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #include <ac_nonexistent.h>
6643 _ACEOF
6644 if ac_fn_c_try_cpp "$LINENO"; then :
6645 # Broken: success on invalid input.
6646 continue
6647 else
6648 # Passes both tests.
6649 ac_preproc_ok=:
6650 break
6652 rm -f conftest.err conftest.i conftest.$ac_ext
6654 done
6655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6656 rm -f conftest.i conftest.err conftest.$ac_ext
6657 if $ac_preproc_ok; then :
6659 else
6660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6662 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6663 See \`config.log' for more details" "$LINENO" 5; }
6666 ac_ext=c
6667 ac_cpp='$CPP $CPPFLAGS'
6668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6674 $as_echo_n "checking for ANSI C header files... " >&6; }
6675 if ${ac_cv_header_stdc+:} false; then :
6676 $as_echo_n "(cached) " >&6
6677 else
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 #include <stdlib.h>
6681 #include <stdarg.h>
6682 #include <string.h>
6683 #include <float.h>
6686 main ()
6690 return 0;
6692 _ACEOF
6693 if ac_fn_c_try_compile "$LINENO"; then :
6694 ac_cv_header_stdc=yes
6695 else
6696 ac_cv_header_stdc=no
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 if test $ac_cv_header_stdc = yes; then
6701 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6704 #include <string.h>
6706 _ACEOF
6707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6708 $EGREP "memchr" >/dev/null 2>&1; then :
6710 else
6711 ac_cv_header_stdc=no
6713 rm -f conftest*
6717 if test $ac_cv_header_stdc = yes; then
6718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 #include <stdlib.h>
6723 _ACEOF
6724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6725 $EGREP "free" >/dev/null 2>&1; then :
6727 else
6728 ac_cv_header_stdc=no
6730 rm -f conftest*
6734 if test $ac_cv_header_stdc = yes; then
6735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6736 if test "$cross_compiling" = yes; then :
6738 else
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 #include <ctype.h>
6742 #include <stdlib.h>
6743 #if ((' ' & 0x0FF) == 0x020)
6744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6746 #else
6747 # define ISLOWER(c) \
6748 (('a' <= (c) && (c) <= 'i') \
6749 || ('j' <= (c) && (c) <= 'r') \
6750 || ('s' <= (c) && (c) <= 'z'))
6751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6752 #endif
6754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6756 main ()
6758 int i;
6759 for (i = 0; i < 256; i++)
6760 if (XOR (islower (i), ISLOWER (i))
6761 || toupper (i) != TOUPPER (i))
6762 return 2;
6763 return 0;
6765 _ACEOF
6766 if ac_fn_c_try_run "$LINENO"; then :
6768 else
6769 ac_cv_header_stdc=no
6771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6772 conftest.$ac_objext conftest.beam conftest.$ac_ext
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6778 $as_echo "$ac_cv_header_stdc" >&6; }
6779 if test $ac_cv_header_stdc = yes; then
6781 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6785 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6786 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6787 inttypes.h stdint.h unistd.h
6788 do :
6789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 _ACEOF
6799 done
6802 for ac_header in \
6803 AL/al.h \
6804 ApplicationServices/ApplicationServices.h \
6805 AudioToolbox/AudioConverter.h \
6806 AudioUnit/AudioUnit.h \
6807 AudioUnit/AudioComponent.h \
6808 CL/cl.h \
6809 Carbon/Carbon.h \
6810 CommonCrypto/CommonDigest.h \
6811 CoreAudio/CoreAudio.h \
6812 CoreServices/CoreServices.h \
6813 DiskArbitration/DiskArbitration.h \
6814 IOKit/IOKitLib.h \
6815 IOKit/hid/IOHIDLib.h \
6816 OpenAL/al.h \
6817 OpenCL/opencl.h \
6818 QuickTime/ImageCompression.h \
6819 Security/Security.h \
6820 alias.h \
6821 alsa/asoundlib.h \
6822 arpa/inet.h \
6823 arpa/nameser.h \
6824 asm/types.h \
6825 asm/user.h \
6826 curses.h \
6827 direct.h \
6828 dirent.h \
6829 dlfcn.h \
6830 elf.h \
6831 float.h \
6832 fnmatch.h \
6833 getopt.h \
6834 gettext-po.h \
6835 grp.h \
6836 gsm.h \
6837 gsm/gsm.h \
6838 ieeefp.h \
6839 inet/mib2.h \
6840 io.h \
6841 kstat.h \
6842 lber.h \
6843 ldap.h \
6844 libproc.h \
6845 link.h \
6846 linux/cdrom.h \
6847 linux/compiler.h \
6848 linux/filter.h \
6849 linux/hdreg.h \
6850 linux/hidraw.h \
6851 linux/input.h \
6852 linux/ioctl.h \
6853 linux/joystick.h \
6854 linux/major.h \
6855 linux/param.h \
6856 linux/serial.h \
6857 linux/types.h \
6858 linux/ucdrom.h \
6859 lwp.h \
6860 mach-o/nlist.h \
6861 mach-o/loader.h \
6862 mach/mach.h \
6863 mach/machine.h \
6864 machine/cpu.h \
6865 machine/limits.h \
6866 machine/sysarch.h \
6867 mntent.h \
6868 ncurses.h \
6869 netdb.h \
6870 netinet/in.h \
6871 netinet/in_systm.h \
6872 netinet/tcp.h \
6873 netinet/tcp_fsm.h \
6874 pcap/pcap.h \
6875 poll.h \
6876 port.h \
6877 process.h \
6878 pthread.h \
6879 pwd.h \
6880 sched.h \
6881 scsi/scsi.h \
6882 scsi/scsi_ioctl.h \
6883 scsi/sg.h \
6884 stdbool.h \
6885 stdint.h \
6886 stropts.h \
6887 sys/asoundlib.h \
6888 sys/attr.h \
6889 sys/cdio.h \
6890 sys/elf32.h \
6891 sys/epoll.h \
6892 sys/event.h \
6893 sys/exec_elf.h \
6894 sys/filio.h \
6895 sys/inotify.h \
6896 sys/ioctl.h \
6897 sys/ipc.h \
6898 sys/limits.h \
6899 sys/link.h \
6900 sys/mman.h \
6901 sys/modem.h \
6902 sys/msg.h \
6903 sys/mtio.h \
6904 sys/param.h \
6905 sys/poll.h \
6906 sys/prctl.h \
6907 sys/protosw.h \
6908 sys/ptrace.h \
6909 sys/queue.h \
6910 sys/resource.h \
6911 sys/scsiio.h \
6912 sys/shm.h \
6913 sys/signal.h \
6914 sys/socket.h \
6915 sys/socketvar.h \
6916 sys/sockio.h \
6917 sys/statvfs.h \
6918 sys/strtio.h \
6919 sys/syscall.h \
6920 sys/sysinfo.h \
6921 sys/tihdr.h \
6922 sys/time.h \
6923 sys/timeout.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/user.h \
6927 sys/utsname.h \
6928 sys/vm86.h \
6929 sys/vnode.h \
6930 sys/wait.h \
6931 syscall.h \
6932 termios.h \
6933 unistd.h \
6934 utime.h \
6935 valgrind/memcheck.h \
6936 valgrind/valgrind.h \
6937 zlib.h
6939 do :
6940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6941 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6952 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6953 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6960 main ()
6962 return makedev(0, 0);
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_link "$LINENO"; then :
6968 ac_cv_header_sys_types_h_makedev=yes
6969 else
6970 ac_cv_header_sys_types_h_makedev=no
6972 rm -f core conftest.err conftest.$ac_objext \
6973 conftest$ac_exeext conftest.$ac_ext
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6977 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6979 if test $ac_cv_header_sys_types_h_makedev = no; then
6980 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6981 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6983 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6989 if test $ac_cv_header_sys_mkdev_h = no; then
6990 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6991 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6993 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7002 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7003 if ${ac_cv_header_stat_broken+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <sys/types.h>
7009 #include <sys/stat.h>
7011 #if defined S_ISBLK && defined S_IFDIR
7012 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7013 #endif
7015 #if defined S_ISBLK && defined S_IFCHR
7016 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7017 #endif
7019 #if defined S_ISLNK && defined S_IFREG
7020 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7021 #endif
7023 #if defined S_ISSOCK && defined S_IFREG
7024 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7025 #endif
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_header_stat_broken=no
7030 else
7031 ac_cv_header_stat_broken=yes
7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7036 $as_echo "$ac_cv_header_stat_broken" >&6; }
7037 if test $ac_cv_header_stat_broken = yes; then
7039 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7045 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7046 do :
7047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7048 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7049 #ifdef HAVE_SYS_PARAM_H
7050 # include <sys/param.h>
7051 #endif
7053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7054 cat >>confdefs.h <<_ACEOF
7055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7056 _ACEOF
7060 done
7063 for ac_header in \
7064 netinet/ip.h \
7065 net/if.h \
7066 net/if_arp.h \
7067 net/if_dl.h \
7068 net/if_types.h \
7069 net/route.h \
7070 netinet/if_ether.h \
7071 netinet/if_inarp.h \
7072 netinet/in_pcb.h \
7073 netinet/ip_icmp.h \
7074 netinet/ip_var.h \
7075 netinet/udp.h \
7076 netipx/ipx.h \
7077 sys/un.h \
7079 do :
7080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7081 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7082 #ifdef HAVE_SYS_SOCKET_H
7083 # include <sys/socket.h>
7084 #endif
7085 #ifdef HAVE_SYS_SOCKETVAR_H
7086 # include <sys/socketvar.h>
7087 #endif
7088 #ifdef HAVE_NET_ROUTE_H
7089 # include <net/route.h>
7090 #endif
7091 #ifdef HAVE_NETINET_IN_H
7092 # include <netinet/in.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IN_SYSTM_H
7095 # include <netinet/in_systm.h>
7096 #endif
7097 #ifdef HAVE_NET_IF_H
7098 # include <net/if.h>
7099 #endif
7100 #ifdef HAVE_NETINET_IP_H
7101 # include <netinet/ip.h>
7102 #endif
7104 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107 _ACEOF
7111 done
7114 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7115 do :
7116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7117 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7118 #ifdef HAVE_ALIAS_H
7119 # include <alias.h>
7120 #endif
7121 #ifdef HAVE_SYS_SOCKET_H
7122 # include <sys/socket.h>
7123 #endif
7124 #ifdef HAVE_SYS_SOCKETVAR_H
7125 # include <sys/socketvar.h>
7126 #endif
7127 #ifdef HAVE_SYS_TIMEOUT_H
7128 # include <sys/timeout.h>
7129 #endif
7130 #ifdef HAVE_NETINET_IN_H
7131 # include <netinet/in.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IN_SYSTM_H
7134 # include <netinet/in_systm.h>
7135 #endif
7136 #ifdef HAVE_NETINET_IP_H
7137 # include <netinet/ip.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IP_VAR_H
7140 # include <netinet/ip_var.h>
7141 #endif
7142 #ifdef HAVE_NETINET_IP_ICMP_H
7143 # include <netinet/ip_icmp.h>
7144 #endif
7145 #ifdef HAVE_NETINET_UDP_H
7146 # include <netinet/udp.h>
7147 #endif
7148 #ifdef HAVE_NETINET_TCP_H
7149 # include <netinet/tcp.h>
7150 #endif
7151 #ifdef HAVE_NETINET_TCP_TIMER_H
7152 #include <netinet/tcp_timer.h>
7153 #endif
7155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7158 _ACEOF
7162 done
7165 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7166 do :
7167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7168 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7169 #ifdef HAVE_ASM_TYPES_H
7170 # include <asm/types.h>
7171 #endif
7172 #ifdef HAVE_SYS_SOCKET_H
7173 # include <sys/socket.h>
7174 #endif
7175 #ifdef HAVE_LINUX_TYPES_H
7176 # include <linux/types.h>
7177 #endif
7179 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7180 cat >>confdefs.h <<_ACEOF
7181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7182 _ACEOF
7186 done
7189 for ac_header in mach-o/dyld_images.h
7190 do :
7191 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7192 # include <stdbool.h>
7193 #endif
7194 #ifdef HAVE_STDINT_H
7195 # include <stdint.h>
7196 #endif
7198 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7199 cat >>confdefs.h <<_ACEOF
7200 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7201 _ACEOF
7205 done
7208 for ac_header in resolv.h
7209 do :
7210 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7211 #ifdef HAVE_SYS_SOCKET_H
7212 # include <sys/socket.h>
7213 #endif
7214 #ifdef HAVE_NETINET_IN_H
7215 # include <netinet/in.h>
7216 #endif
7217 #ifdef HAVE_ARPA_NAMESER_H
7218 # include <arpa/nameser.h>
7219 #endif
7221 if test "x$ac_cv_header_resolv_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_RESOLV_H 1
7224 _ACEOF
7228 done
7231 for ac_header in ifaddrs.h
7232 do :
7233 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7235 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7236 cat >>confdefs.h <<_ACEOF
7237 #define HAVE_IFADDRS_H 1
7238 _ACEOF
7242 done
7245 for ac_header in sys/ucontext.h
7246 do :
7247 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7249 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7250 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_SYS_UCONTEXT_H 1
7252 _ACEOF
7256 done
7259 for ac_header in sys/thr.h
7260 do :
7261 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7262 #ifdef HAVE_SYS_UCONTEXT_H
7263 #include <sys/ucontext.h>
7264 #endif
7266 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7267 cat >>confdefs.h <<_ACEOF
7268 #define HAVE_SYS_THR_H 1
7269 _ACEOF
7273 done
7276 for ac_header in pthread_np.h
7277 do :
7278 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7279 #include <pthread.h>
7280 #endif
7282 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_PTHREAD_NP_H 1
7285 _ACEOF
7289 done
7292 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7293 do :
7294 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7295 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7296 #include <sys/time.h>
7297 #endif
7298 #include <sys/types.h>
7299 #ifdef HAVE_ASM_TYPES_H
7300 #include <asm/types.h>
7301 #endif
7303 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7304 cat >>confdefs.h <<_ACEOF
7305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7306 _ACEOF
7310 done
7313 for ac_header in libprocstat.h
7314 do :
7315 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7316 #include <sys/param.h>
7317 #endif
7318 #ifdef HAVE_SYS_QUEUE_H
7319 #include <sys/queue.h>
7320 #endif
7321 #ifdef HAVE_SYS_SOCKET_H
7322 #include <sys/socket.h>
7323 #endif
7325 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7326 cat >>confdefs.h <<_ACEOF
7327 #define HAVE_LIBPROCSTAT_H 1
7328 _ACEOF
7332 done
7336 dlldir="\${libdir}/wine"
7338 DLLFLAGS="-D_REENTRANT"
7340 LDRPATH_INSTALL=""
7342 LDRPATH_LOCAL=""
7344 LDEXECFLAGS=""
7346 LIBEXT="so"
7347 DLLEXT=".so"
7348 IMPLIBEXT="def"
7349 # Extract the first word of "ldd", so it can be a program name with args.
7350 set dummy ldd; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_path_LDD+:} false; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 case $LDD in
7357 [\\/]* | ?:[\\/]*)
7358 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 as_dummy="/sbin:/usr/sbin:$PATH"
7363 for as_dir in $as_dummy
7365 IFS=$as_save_IFS
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371 break 2
7373 done
7374 done
7375 IFS=$as_save_IFS
7377 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7379 esac
7381 LDD=$ac_cv_path_LDD
7382 if test -n "$LDD"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7384 $as_echo "$LDD" >&6; }
7385 else
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7391 if test -n "$ac_tool_prefix"; then
7392 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7393 set dummy ${ac_tool_prefix}otool; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_OTOOL+:} false; then :
7397 $as_echo_n "(cached) " >&6
7398 else
7399 if test -n "$OTOOL"; then
7400 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7401 else
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 for as_dir in $PATH
7405 IFS=$as_save_IFS
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 OTOOL=$ac_cv_prog_OTOOL
7420 if test -n "$OTOOL"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7422 $as_echo "$OTOOL" >&6; }
7423 else
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7430 if test -z "$ac_cv_prog_OTOOL"; then
7431 ac_ct_OTOOL=$OTOOL
7432 # Extract the first word of "otool", so it can be a program name with args.
7433 set dummy otool; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7437 $as_echo_n "(cached) " >&6
7438 else
7439 if test -n "$ac_ct_OTOOL"; then
7440 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7441 else
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $PATH
7445 IFS=$as_save_IFS
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_ac_ct_OTOOL="otool"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 break 2
7453 done
7454 done
7455 IFS=$as_save_IFS
7459 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7460 if test -n "$ac_ct_OTOOL"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7462 $as_echo "$ac_ct_OTOOL" >&6; }
7463 else
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7468 if test "x$ac_ct_OTOOL" = x; then
7469 OTOOL="otool"
7470 else
7471 case $cross_compiling:$ac_tool_warned in
7472 yes:)
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7475 ac_tool_warned=yes ;;
7476 esac
7477 OTOOL=$ac_ct_OTOOL
7479 else
7480 OTOOL="$ac_cv_prog_OTOOL"
7483 if test -n "$ac_tool_prefix"; then
7484 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7485 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if ${ac_cv_prog_READELF+:} false; then :
7489 $as_echo_n "(cached) " >&6
7490 else
7491 if test -n "$READELF"; then
7492 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7493 else
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 for as_dir in $PATH
7497 IFS=$as_save_IFS
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7501 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 break 2
7505 done
7506 done
7507 IFS=$as_save_IFS
7511 READELF=$ac_cv_prog_READELF
7512 if test -n "$READELF"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7514 $as_echo "$READELF" >&6; }
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7522 if test -z "$ac_cv_prog_READELF"; then
7523 ac_ct_READELF=$READELF
7524 # Extract the first word of "readelf", so it can be a program name with args.
7525 set dummy readelf; ac_word=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 if test -n "$ac_ct_READELF"; then
7532 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7533 else
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 for as_dir in $PATH
7537 IFS=$as_save_IFS
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7541 ac_cv_prog_ac_ct_READELF="readelf"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 break 2
7545 done
7546 done
7547 IFS=$as_save_IFS
7551 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7552 if test -n "$ac_ct_READELF"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7554 $as_echo "$ac_ct_READELF" >&6; }
7555 else
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7560 if test "x$ac_ct_READELF" = x; then
7561 READELF="true"
7562 else
7563 case $cross_compiling:$ac_tool_warned in
7564 yes:)
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7567 ac_tool_warned=yes ;;
7568 esac
7569 READELF=$ac_ct_READELF
7571 else
7572 READELF="$ac_cv_prog_READELF"
7575 wine_rules_file=conf$$rules.make
7576 rm -f $wine_rules_file
7577 SUBDIRS=""
7579 DISABLED_SUBDIRS=""
7581 CONFIGURE_TARGETS=""
7583 ALL_TEST_RESOURCES=""
7586 wine_fn_append_file ()
7588 as_fn_append $1 " \\$as_nl $2"
7591 wine_fn_append_rule ()
7593 $as_echo "$1" >>$wine_rules_file
7596 wine_fn_has_flag ()
7598 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7601 wine_fn_all_rules ()
7603 wine_fn_append_file SUBDIRS $ac_dir
7604 wine_fn_append_rule \
7605 "all: $ac_dir
7606 .PHONY: $ac_dir
7607 $ac_dir: dummy
7608 @cd $ac_dir && \$(MAKE)"
7611 wine_fn_install_rules ()
7613 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7615 wine_fn_append_rule \
7616 ".PHONY: $ac_dir/install $ac_dir/uninstall
7617 $ac_dir/install:: $ac_dir
7618 @cd $ac_dir && \$(MAKE) install
7619 $ac_dir/uninstall::
7620 @cd $ac_dir && \$(MAKE) uninstall
7621 install:: $ac_dir/install
7622 __uninstall__: $ac_dir/uninstall"
7624 if wine_fn_has_flag install-lib
7625 then
7626 wine_fn_append_rule \
7627 ".PHONY: $ac_dir/install-lib
7628 $ac_dir/install-lib:: $ac_dir
7629 @cd $ac_dir && \$(MAKE) install-lib
7630 install-lib:: $ac_dir/install-lib"
7633 if wine_fn_has_flag install-dev
7634 then
7635 wine_fn_append_rule \
7636 ".PHONY: $ac_dir/install-dev
7637 $ac_dir/install-dev:: $ac_dir
7638 @cd $ac_dir && \$(MAKE) install-dev
7639 install-dev:: $ac_dir/install-dev"
7643 wine_fn_clean_rules ()
7645 ac_clean=$@
7647 if wine_fn_has_flag clean
7648 then
7649 wine_fn_append_rule \
7650 "$ac_dir/clean: dummy
7651 @cd $ac_dir && \$(MAKE) clean"
7652 else
7653 wine_fn_append_rule \
7654 "$ac_dir/clean: dummy
7655 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7657 wine_fn_append_rule \
7658 "__clean__: $ac_dir/clean
7659 .PHONY: $ac_dir/clean"
7662 wine_fn_disabled_rules ()
7664 ac_clean=$@
7666 wine_fn_append_file SUBDIRS $ac_dir
7667 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7668 wine_fn_append_rule \
7669 "__clean__: $ac_dir/clean
7670 .PHONY: $ac_dir/clean
7671 $ac_dir/clean: dummy
7672 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7675 wine_fn_config_makefile ()
7677 ac_dir=$1
7678 ac_enable=$2
7679 ac_flags=$3
7681 case $ac_dir in
7682 fonts|server) test -z "$with_wine64" || return ;;
7683 esac
7684 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7685 wine_fn_disabled_rules; return
7687 wine_fn_all_rules
7688 wine_fn_install_rules
7689 wine_fn_clean_rules
7692 wine_fn_config_lib ()
7694 ac_name=$1
7695 ac_flags=$2
7696 ac_dir=dlls/$ac_name
7697 ac_deps="include"
7699 if test "x$enable_tools" = xno; then :
7701 else
7702 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7704 wine_fn_all_rules
7705 wine_fn_clean_rules
7707 wine_fn_append_rule \
7708 ".PHONY: $ac_dir/install $ac_dir/uninstall
7709 $ac_dir/install:: $ac_dir
7710 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7711 $ac_dir/uninstall::
7712 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7713 install install-dev:: $ac_dir/install
7714 __uninstall__: $ac_dir/uninstall
7715 __builddeps__: $ac_dir
7716 $ac_dir: $ac_deps"
7719 wine_fn_config_dll ()
7721 ac_name=$1
7722 ac_dir=dlls/$ac_name
7723 ac_enable=$2
7724 ac_flags=$3
7725 ac_implib=${4:-$ac_name}
7726 ac_file=$ac_dir/lib$ac_implib
7727 ac_dll=$ac_name
7728 ac_deps="include"
7729 ac_implibflags=""
7731 if test "x$enable_tools" = xno; then :
7733 else
7734 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7736 case $ac_name in
7737 *.*16) ac_implibflags=" -m16" ;;
7738 *.*) ;;
7739 *) ac_dll=$ac_dll.dll ;;
7740 esac
7742 ac_clean=
7743 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7744 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7746 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7747 if test "$ac_enable" != enable_win16
7748 then
7749 wine_fn_clean_rules $ac_clean
7750 wine_fn_append_file SUBDIRS $ac_dir
7751 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7752 else
7753 wine_fn_disabled_rules $ac_clean
7754 return
7756 else
7757 wine_fn_all_rules
7758 wine_fn_clean_rules $ac_clean
7759 wine_fn_append_rule \
7760 "$ac_dir: __builddeps__
7761 manpages htmlpages sgmlpages xmlpages::
7762 @cd $ac_dir && \$(MAKE) \$@
7763 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7764 install install-lib:: $ac_dir/install-lib
7765 __uninstall__: $ac_dir/uninstall"
7766 if test -n "$DLLEXT"
7767 then
7768 wine_fn_append_rule \
7769 "$ac_dir/install-lib:: $ac_dir
7770 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7771 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7774 else
7775 wine_fn_append_rule \
7776 "$ac_dir/install-lib:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7778 $ac_dir/uninstall::
7779 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7783 if wine_fn_has_flag staticimplib
7784 then
7785 wine_fn_append_rule \
7786 "__builddeps__: $ac_file.a
7787 $ac_file.a $ac_file.cross.a: $ac_deps
7788 $ac_file.a: dummy
7789 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7790 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7791 $ac_dir/install-dev:: $ac_file.a
7792 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7793 $ac_dir/uninstall::
7794 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7795 install install-dev:: $ac_dir/install-dev
7796 __uninstall__: $ac_dir/uninstall"
7798 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7799 then
7800 wine_fn_append_rule \
7801 "__builddeps__: $ac_file.cross.a
7802 $ac_file.cross.a: dummy
7803 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7806 elif wine_fn_has_flag implib
7807 then
7808 wine_fn_append_rule \
7809 "__builddeps__: $ac_file.$IMPLIBEXT
7810 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7811 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7812 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7813 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7814 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7815 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7816 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7817 $ac_dir/uninstall::
7818 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7819 install install-dev:: $ac_dir/install-dev
7820 __uninstall__: $ac_dir/uninstall"
7821 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7822 then
7823 wine_fn_append_rule \
7824 "__builddeps__: $ac_file.cross.a
7825 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7826 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7831 wine_fn_config_program ()
7833 ac_name=$1
7834 ac_dir=programs/$ac_name
7835 ac_enable=$2
7836 ac_flags=$3
7837 ac_program=$ac_name
7839 case $ac_name in
7840 *.*) ;;
7841 *) ac_program=$ac_program.exe ;;
7842 esac
7844 ac_clean=
7845 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7846 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7848 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7849 wine_fn_disabled_rules $ac_clean; return
7852 wine_fn_all_rules
7853 wine_fn_clean_rules $ac_clean
7854 wine_fn_append_rule "$ac_dir: __builddeps__"
7856 wine_fn_has_flag install || return
7857 wine_fn_append_rule \
7858 ".PHONY: $ac_dir/install $ac_dir/uninstall
7859 install install-lib:: $ac_dir/install
7860 __uninstall__: $ac_dir/uninstall"
7862 if test -n "$DLLEXT"
7863 then
7864 wine_fn_append_rule \
7865 "$ac_dir/install:: $ac_dir
7866 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7867 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7868 $ac_dir/uninstall::
7869 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7871 if test -z "$with_wine64" && wine_fn_has_flag installbin
7872 then
7873 wine_fn_append_rule \
7874 "$ac_dir/install:: __tooldeps__
7875 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7876 $ac_dir/uninstall::
7877 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7879 else
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: $ac_dir
7882 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7887 if test -z "$with_wine64" && wine_fn_has_flag manpage
7888 then
7889 wine_fn_append_rule \
7890 "$ac_dir/install:: $ac_dir
7891 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7892 $ac_dir/uninstall::
7893 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7897 wine_fn_config_test ()
7899 ac_dir=$1
7900 ac_name=$2
7901 ac_flags=$3
7903 ac_clean=
7904 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7905 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7907 if test "x$enable_tests" = xno; then :
7908 wine_fn_disabled_rules $ac_clean; return
7911 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7912 wine_fn_all_rules
7913 wine_fn_clean_rules $ac_clean
7915 wine_fn_append_rule \
7916 "$ac_dir: __builddeps__
7917 programs/winetest: $ac_dir
7918 check test: $ac_dir/test
7919 .PHONY: $ac_dir/test
7920 $ac_dir/test: dummy
7921 @cd $ac_dir && \$(MAKE) test
7922 testclean::
7923 \$(RM) $ac_dir/*.ok"
7925 if test -n "$CROSSTARGET"
7926 then
7927 wine_fn_append_rule \
7928 "crosstest: $ac_dir/crosstest
7929 .PHONY: $ac_dir/crosstest
7930 $ac_dir/crosstest: __builddeps__ dummy
7931 @cd $ac_dir && \$(MAKE) crosstest"
7935 wine_fn_config_tool ()
7937 ac_dir=$1
7938 ac_flags=$2
7939 if test "x$enable_tools" = xno; then :
7940 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7943 wine_fn_all_rules
7944 wine_fn_install_rules
7945 wine_fn_clean_rules
7947 wine_fn_append_rule "__tooldeps__: $ac_dir"
7948 wine_fn_append_rule "$ac_dir: libs/port"
7949 case $ac_dir in
7950 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7951 esac
7954 wine_fn_config_symlink ()
7956 ac_linkdir=
7957 if test "x$1" = "x-d"
7958 then
7959 ac_linkdir=$2
7960 shift; shift
7962 ac_links=$@
7963 wine_fn_append_rule \
7964 "$ac_links:
7965 @./config.status \$@"
7966 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7967 test -n "$ac_linkdir" || return
7968 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7971 wine_binary="wine"
7972 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7973 WINELOADER_PROGRAMS="$wine_binary"
7975 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7977 case $host_os in
7978 cygwin*|mingw32*)
7979 if test -n "$ac_tool_prefix"; then
7980 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7981 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7983 $as_echo_n "checking for $ac_word... " >&6; }
7984 if ${ac_cv_prog_DLLTOOL+:} false; then :
7985 $as_echo_n "(cached) " >&6
7986 else
7987 if test -n "$DLLTOOL"; then
7988 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7989 else
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 for as_dir in $PATH
7993 IFS=$as_save_IFS
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 break 2
8001 done
8002 done
8003 IFS=$as_save_IFS
8007 DLLTOOL=$ac_cv_prog_DLLTOOL
8008 if test -n "$DLLTOOL"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8010 $as_echo "$DLLTOOL" >&6; }
8011 else
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8013 $as_echo "no" >&6; }
8018 if test -z "$ac_cv_prog_DLLTOOL"; then
8019 ac_ct_DLLTOOL=$DLLTOOL
8020 # Extract the first word of "dlltool", so it can be a program name with args.
8021 set dummy dlltool; ac_word=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023 $as_echo_n "checking for $ac_word... " >&6; }
8024 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 if test -n "$ac_ct_DLLTOOL"; then
8028 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8033 IFS=$as_save_IFS
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 break 2
8041 done
8042 done
8043 IFS=$as_save_IFS
8047 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8048 if test -n "$ac_ct_DLLTOOL"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8050 $as_echo "$ac_ct_DLLTOOL" >&6; }
8051 else
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8056 if test "x$ac_ct_DLLTOOL" = x; then
8057 DLLTOOL="false"
8058 else
8059 case $cross_compiling:$ac_tool_warned in
8060 yes:)
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8063 ac_tool_warned=yes ;;
8064 esac
8065 DLLTOOL=$ac_ct_DLLTOOL
8067 else
8068 DLLTOOL="$ac_cv_prog_DLLTOOL"
8071 LIBEXT="dll"
8072 DLLEXT=""
8073 IMPLIBEXT="a"
8074 enable_iphlpapi=${enable_iphlpapi:-no}
8075 enable_kernel32=${enable_kernel32:-no}
8076 enable_msvcrt=${enable_msvcrt:-no}
8077 enable_ntdll=${enable_ntdll:-no}
8078 enable_ws2_32=${enable_ws2_32:-no}
8079 enable_loader=${enable_loader:-no}
8080 enable_server=${enable_server:-no}
8081 with_x=${with_x:-no}
8082 with_pthread=${with_pthread:-no}
8084 crtlibs=""
8085 case $host_os in
8086 mingw32*)
8087 crtlibs="-lmsvcrt"
8088 SOCKET_LIBS="-lws2_32"
8090 esac
8092 LIBWINE_SHAREDLIB="libwine.dll"
8094 LIBWINE_IMPORTLIB="libwine.a"
8096 LIBWINE_INSTALL_LIB="libwine.dll"
8098 LIBWINE_INSTALL_DEV="libwine.a"
8100 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8102 LIBWINE_DEPENDS="wine.def"
8106 darwin*|macosx*)
8107 for ac_header in libunwind.h
8108 do :
8109 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_LIBUNWIND_H 1
8113 _ACEOF
8117 done
8119 LIBEXT="dylib"
8120 DLLFLAGS="$DLLFLAGS -fPIC"
8121 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8122 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8123 COREFOUNDATION_LIBS="-framework CoreFoundation"
8125 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8127 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8129 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8131 CORESERVICES_LIBS="-framework CoreServices"
8133 APPKIT_LIBS="-framework AppKit"
8135 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8137 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8138 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 ac_wine_try_cflags_saved=$CFLAGS
8142 CFLAGS="$CFLAGS -Wl,-no_pie"
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8145 int main(int argc, char **argv) { return 0; }
8146 _ACEOF
8147 if ac_fn_c_try_link "$LINENO"; then :
8148 ac_cv_cflags__Wl__no_pie=yes
8149 else
8150 ac_cv_cflags__Wl__no_pie=no
8152 rm -f core conftest.err conftest.$ac_objext \
8153 conftest$ac_exeext conftest.$ac_ext
8154 CFLAGS=$ac_wine_try_cflags_saved
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8157 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8158 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8159 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8161 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8162 then
8163 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8166 if test "$ac_cv_header_Security_Security_h" = "yes"
8167 then
8168 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8170 ac_save_LIBS="$LIBS"
8171 LIBS="$LIBS $SECURITY_LIBS"
8172 for ac_func in SSLCopyPeerCertificates
8173 do :
8174 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8175 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8176 cat >>confdefs.h <<_ACEOF
8177 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8178 _ACEOF
8181 done
8183 LIBS="$ac_save_LIBS"
8184 with_gnutls=${with_gnutls:-no}
8186 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8187 then
8188 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8189 then
8190 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8192 else
8193 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8196 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8197 ac_save_LIBS="$LIBS"
8198 LIBS="$LIBS $COREAUDIO_LIBS"
8199 for ac_func in AUGraphAddNode
8200 do :
8201 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8202 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8203 cat >>confdefs.h <<_ACEOF
8204 #define HAVE_AUGRAPHADDNODE 1
8205 _ACEOF
8208 done
8210 LIBS="$ac_save_LIBS"
8212 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8213 then
8214 OPENAL_LIBS="-framework OpenAL"
8217 cat >>confdefs.h <<_ACEOF
8218 #define HAVE_OPENAL 1
8219 _ACEOF
8221 ac_cv_lib_openal=yes
8223 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8224 then
8225 OPENCL_LIBS="-framework OpenCL"
8227 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8229 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8230 then
8231 ac_save_LIBS="$LIBS"
8232 LIBS="$LIBS $IOKIT_LIBS"
8233 for ac_func in IOHIDManagerCreate
8234 do :
8235 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8236 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8237 cat >>confdefs.h <<_ACEOF
8238 #define HAVE_IOHIDMANAGERCREATE 1
8239 _ACEOF
8242 done
8244 LIBS="$ac_save_LIBS"
8246 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8247 then
8248 ac_save_LIBS="$LIBS"
8249 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8251 $as_echo_n "checking for the QuickTime framework... " >&6; }
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 #include <QuickTime/ImageCompression.h>
8256 main ()
8258 CodecManagerVersion(NULL);
8260 return 0;
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8265 $as_echo "yes" >&6; }
8266 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8268 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8272 ac_cv_header_QuickTime_ImageCompression_h=no
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 LIBS="$ac_save_LIBS"
8278 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8279 then
8280 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8282 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8283 then
8284 CARBON_LIBS="-framework Carbon"
8288 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8289 then
8290 ac_save_LIBS="$LIBS"
8291 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8292 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8293 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8294 enable_winemac_drv=${enable_winemac_drv:-yes}
8297 LIBS="$ac_save_LIBS"
8300 if test "x$enable_win16" = "xyes"
8301 then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8303 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8304 if test "$cross_compiling" = yes; then :
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8306 $as_echo "cross-compiling, assuming yes" >&6; }
8307 else
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 asm(".text\n"
8311 "bad:\tnop;nop\n"
8312 "good:\tnop;nop\n\t"
8313 ".globl _testfunc\n"
8314 "_testfunc:\tcallw good");
8315 extern void testfunc();
8317 main ()
8319 unsigned short *p = (unsigned short *)testfunc;
8320 return p[0] != 0xe866 || p[1] != 0xfffa
8322 return 0;
8324 _ACEOF
8325 if ac_fn_c_try_run "$LINENO"; then :
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8327 $as_echo "yes" >&6; }
8328 else
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8330 $as_echo "no" >&6; }
8331 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
8333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8334 conftest.$ac_objext conftest.beam conftest.$ac_ext
8339 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8341 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8343 LIBWINE_INSTALL_DEV="libwine.dylib"
8345 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8347 WINELOADER_DEPENDS="wine_info.plist"
8351 linux-android*)
8352 DLLFLAGS="$DLLFLAGS -fPIC"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8354 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8355 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 ac_wine_try_cflags_saved=$CFLAGS
8359 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8362 int main(int argc, char **argv) { return 0; }
8363 _ACEOF
8364 if ac_fn_c_try_link "$LINENO"; then :
8365 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8366 else
8367 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8369 rm -f core conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 CFLAGS=$ac_wine_try_cflags_saved
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8374 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8375 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8376 LDEXECFLAGS="-Wl,--export-dynamic"
8378 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8380 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8381 if eval \${$as_ac_var+:} false; then :
8382 $as_echo_n "(cached) " >&6
8383 else
8384 ac_wine_try_cflags_saved=$CFLAGS
8385 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8388 int main(int argc, char **argv) { return 0; }
8389 _ACEOF
8390 if ac_fn_c_try_link "$LINENO"; then :
8391 eval "$as_ac_var=yes"
8392 else
8393 eval "$as_ac_var=no"
8395 rm -f core conftest.err conftest.$ac_objext \
8396 conftest$ac_exeext conftest.$ac_ext
8397 CFLAGS=$ac_wine_try_cflags_saved
8399 eval ac_res=\$$as_ac_var
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8401 $as_echo "$ac_res" >&6; }
8402 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8403 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8404 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8405 else
8406 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8408 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8409 if eval \${$as_ac_var+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8416 int main(int argc, char **argv) { return 0; }
8417 _ACEOF
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 eval "$as_ac_var=yes"
8420 else
8421 eval "$as_ac_var=no"
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8425 CFLAGS=$ac_wine_try_cflags_saved
8427 eval ac_res=\$$as_ac_var
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8429 $as_echo "$ac_res" >&6; }
8430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8431 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8432 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8437 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8438 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 int main(int argc, char **argv) { return 0; }
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 ac_cv_cflags__Wl___enable_new_dtags=yes
8449 else
8450 ac_cv_cflags__Wl___enable_new_dtags=no
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8457 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8458 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8459 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8462 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8463 if ${ac_cv_cflags__Wl__pie+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_wine_try_cflags_saved=$CFLAGS
8467 CFLAGS="$CFLAGS -Wl,-pie"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473 ac_cv_cflags__Wl__pie=yes
8474 else
8475 ac_cv_cflags__Wl__pie=no
8477 rm -f core conftest.err conftest.$ac_objext \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8482 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8483 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8484 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8487 LIBWINE_SHAREDLIB="libwine.so"
8489 LIBWINE_INSTALL_LIB="libwine.so"
8491 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8496 DLLFLAGS="$DLLFLAGS -fPIC"
8497 LDEXECFLAGS=""
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8499 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8500 if ${ac_cv_c_dll_gnuelf+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 void myfunc() {}
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_c_dll_gnuelf="yes"
8511 else
8512 ac_cv_c_dll_gnuelf="no"
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8519 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8520 if test "$ac_cv_c_dll_gnuelf" = "yes"
8521 then
8522 LIBWINE_LDFLAGS="-shared"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8525 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8536 else
8537 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8544 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8545 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8546 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8547 else
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8550 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8561 else
8562 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8569 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8570 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8571 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8575 echo '{ global: *; };' >conftest.map
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8577 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8578 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8579 $as_echo_n "(cached) " >&6
8580 else
8581 ac_wine_try_cflags_saved=$CFLAGS
8582 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 int main(int argc, char **argv) { return 0; }
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8589 else
8590 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 CFLAGS=$ac_wine_try_cflags_saved
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8597 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8598 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8599 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8601 rm -f conftest.map
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8604 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8605 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_wine_try_cflags_saved=$CFLAGS
8609 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 int main(int argc, char **argv) { return 0; }
8613 _ACEOF
8614 if ac_fn_c_try_link "$LINENO"; then :
8615 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8616 else
8617 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8619 rm -f core conftest.err conftest.$ac_objext \
8620 conftest$ac_exeext conftest.$ac_ext
8621 CFLAGS=$ac_wine_try_cflags_saved
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8624 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8625 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8626 LDEXECFLAGS="-Wl,--export-dynamic"
8629 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8631 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8632 if eval \${$as_ac_var+:} false; then :
8633 $as_echo_n "(cached) " >&6
8634 else
8635 ac_wine_try_cflags_saved=$CFLAGS
8636 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 int main(int argc, char **argv) { return 0; }
8640 _ACEOF
8641 if ac_fn_c_try_link "$LINENO"; then :
8642 eval "$as_ac_var=yes"
8643 else
8644 eval "$as_ac_var=no"
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 eval ac_res=\$$as_ac_var
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8652 $as_echo "$ac_res" >&6; }
8653 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8654 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8655 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8656 else
8657 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8659 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8660 if eval \${$as_ac_var+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 eval "$as_ac_var=yes"
8671 else
8672 eval "$as_ac_var=no"
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 eval ac_res=\$$as_ac_var
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8680 $as_echo "$ac_res" >&6; }
8681 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8682 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8683 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8688 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8689 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__Wl___enable_new_dtags=yes
8700 else
8701 ac_cv_cflags__Wl___enable_new_dtags=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8708 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8709 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8710 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8713 case $host_cpu in
8714 *i[3456789]86* | x86_64)
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8716 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8717 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 ac_wine_try_cflags_saved=$CFLAGS
8721 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 int main(int argc, char **argv) { return 0; }
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8728 else
8729 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8731 rm -f core conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8736 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8737 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8738 case $host_os in
8739 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8740 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8741 esac
8742 else
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8744 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8745 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 int main(int argc, char **argv) { return 0; }
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8756 else
8757 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8764 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8765 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8766 case $host_os in
8767 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8768 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8769 esac
8771 # Extract the first word of "prelink", so it can be a program name with args.
8772 set dummy prelink; ac_word=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8774 $as_echo_n "checking for $ac_word... " >&6; }
8775 if ${ac_cv_path_PRELINK+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 case $PRELINK in
8779 [\\/]* | ?:[\\/]*)
8780 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in /sbin /usr/sbin $PATH
8786 IFS=$as_save_IFS
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 break 2
8794 done
8795 done
8796 IFS=$as_save_IFS
8798 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8800 esac
8802 PRELINK=$ac_cv_path_PRELINK
8803 if test -n "$PRELINK"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8805 $as_echo "$PRELINK" >&6; }
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8812 if test "x$PRELINK" = xfalse
8813 then
8814 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8818 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8819 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8830 else
8831 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8838 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8839 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8840 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8843 esac
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8847 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8848 if ${ac_cv_c_dll_unixware+:} false; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 ac_wine_try_cflags_saved=$CFLAGS
8852 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8855 void myfunc() {}
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_c_dll_unixware="yes"
8859 else
8860 ac_cv_c_dll_unixware="no"
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 CFLAGS=$ac_wine_try_cflags_saved
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8867 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8868 if test "$ac_cv_c_dll_unixware" = "yes"
8869 then
8870 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8873 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8875 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8877 LIBWINE_INSTALL_DEV="libwine.so"
8879 LIBWINE_DEPENDS="wine.map"
8882 esac
8884 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8885 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8886 enable_winemac_drv=${enable_winemac_drv:-no}
8887 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8889 CROSSTARGET=""
8891 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8892 then
8893 case "$host_cpu" in
8894 arm*)
8895 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8896 i[3456789]86*)
8897 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
8898 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8899 mingw32-gcc" ;;
8900 x86_64)
8901 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
8902 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8904 ac_prefix_list="" ;;
8905 esac
8906 for ac_prog in $ac_prefix_list
8908 # Extract the first word of "$ac_prog", so it can be a program name with args.
8909 set dummy $ac_prog; ac_word=$2
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8911 $as_echo_n "checking for $ac_word... " >&6; }
8912 if ${ac_cv_prog_CROSSCC+:} false; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 if test -n "$CROSSCC"; then
8916 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8917 else
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 for as_dir in $PATH
8921 IFS=$as_save_IFS
8922 test -z "$as_dir" && as_dir=.
8923 for ac_exec_ext in '' $ac_executable_extensions; do
8924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8925 ac_cv_prog_CROSSCC="$ac_prog"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8927 break 2
8929 done
8930 done
8931 IFS=$as_save_IFS
8935 CROSSCC=$ac_cv_prog_CROSSCC
8936 if test -n "$CROSSCC"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8938 $as_echo "$CROSSCC" >&6; }
8939 else
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8945 test -n "$CROSSCC" && break
8946 done
8947 test -n "$CROSSCC" || CROSSCC="false"
8949 if test "$CROSSCC" != "false"
8950 then
8951 ac_save_CC="$CC"
8952 CC="$CROSSCC"
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8954 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8959 main ()
8963 return 0;
8965 _ACEOF
8966 if ac_fn_c_try_compile "$LINENO"; then :
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8968 $as_echo "yes" >&6; }
8969 set x $CROSSCC
8970 shift
8971 while test $# -ge 1
8973 case "$1" in
8974 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8975 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8976 esac
8977 shift
8978 done
8979 else
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8984 CC="$ac_save_CC"
8989 if test "$ac_cv_header_pthread_h" = "yes"
8990 then
8991 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8992 if test "x$ac_cv_func_pthread_create" = xyes; then :
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8996 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8997 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8998 $as_echo_n "(cached) " >&6
8999 else
9000 ac_check_lib_save_LIBS=$LIBS
9001 LIBS="-lpthread $LIBS"
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9008 #ifdef __cplusplus
9009 extern "C"
9010 #endif
9011 char pthread_create ();
9013 main ()
9015 return pthread_create ();
9017 return 0;
9019 _ACEOF
9020 if ac_fn_c_try_link "$LINENO"; then :
9021 ac_cv_lib_pthread_pthread_create=yes
9022 else
9023 ac_cv_lib_pthread_pthread_create=no
9025 rm -f core conftest.err conftest.$ac_objext \
9026 conftest$ac_exeext conftest.$ac_ext
9027 LIBS=$ac_check_lib_save_LIBS
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9030 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9031 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9032 PTHREAD_LIBS="-lpthread"
9039 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9040 case "x$with_pthread" in
9041 xno) ;;
9042 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9043 Wine cannot support threads without libpthread.
9044 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9045 esac
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9051 $as_echo_n "checking for X... " >&6; }
9054 # Check whether --with-x was given.
9055 if test "${with_x+set}" = set; then :
9056 withval=$with_x;
9059 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9060 if test "x$with_x" = xno; then
9061 # The user explicitly disabled X.
9062 have_x=disabled
9063 else
9064 case $x_includes,$x_libraries in #(
9065 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9066 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 # One or both of the vars are not set, and there is no cached value.
9070 ac_x_includes=no ac_x_libraries=no
9071 rm -f -r conftest.dir
9072 if mkdir conftest.dir; then
9073 cd conftest.dir
9074 cat >Imakefile <<'_ACEOF'
9075 incroot:
9076 @echo incroot='${INCROOT}'
9077 usrlibdir:
9078 @echo usrlibdir='${USRLIBDIR}'
9079 libdir:
9080 @echo libdir='${LIBDIR}'
9081 _ACEOF
9082 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9084 for ac_var in incroot usrlibdir libdir; do
9085 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9086 done
9087 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9088 for ac_extension in a so sl dylib la dll; do
9089 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9090 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9091 ac_im_usrlibdir=$ac_im_libdir; break
9093 done
9094 # Screen out bogus values from the imake configuration. They are
9095 # bogus both because they are the default anyway, and because
9096 # using them would break gcc on systems where it needs fixed includes.
9097 case $ac_im_incroot in
9098 /usr/include) ac_x_includes= ;;
9099 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9100 esac
9101 case $ac_im_usrlibdir in
9102 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9103 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9104 esac
9106 cd ..
9107 rm -f -r conftest.dir
9110 # Standard set of common directories for X headers.
9111 # Check X11 before X11Rn because it is often a symlink to the current release.
9112 ac_x_header_dirs='
9113 /usr/X11/include
9114 /usr/X11R7/include
9115 /usr/X11R6/include
9116 /usr/X11R5/include
9117 /usr/X11R4/include
9119 /usr/include/X11
9120 /usr/include/X11R7
9121 /usr/include/X11R6
9122 /usr/include/X11R5
9123 /usr/include/X11R4
9125 /usr/local/X11/include
9126 /usr/local/X11R7/include
9127 /usr/local/X11R6/include
9128 /usr/local/X11R5/include
9129 /usr/local/X11R4/include
9131 /usr/local/include/X11
9132 /usr/local/include/X11R7
9133 /usr/local/include/X11R6
9134 /usr/local/include/X11R5
9135 /usr/local/include/X11R4
9137 /usr/X386/include
9138 /usr/x386/include
9139 /usr/XFree86/include/X11
9141 /usr/include
9142 /usr/local/include
9143 /usr/unsupported/include
9144 /usr/athena/include
9145 /usr/local/x11r5/include
9146 /usr/lpp/Xamples/include
9148 /usr/openwin/include
9149 /usr/openwin/share/include'
9151 if test "$ac_x_includes" = no; then
9152 # Guess where to find include files, by looking for Xlib.h.
9153 # First, try using that file with no special directory specified.
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 #include <X11/Xlib.h>
9157 _ACEOF
9158 if ac_fn_c_try_cpp "$LINENO"; then :
9159 # We can compile using X headers with no special include directory.
9160 ac_x_includes=
9161 else
9162 for ac_dir in $ac_x_header_dirs; do
9163 if test -r "$ac_dir/X11/Xlib.h"; then
9164 ac_x_includes=$ac_dir
9165 break
9167 done
9169 rm -f conftest.err conftest.i conftest.$ac_ext
9170 fi # $ac_x_includes = no
9172 if test "$ac_x_libraries" = no; then
9173 # Check for the libraries.
9174 # See if we find them without any special options.
9175 # Don't add to $LIBS permanently.
9176 ac_save_LIBS=$LIBS
9177 LIBS="-lX11 $LIBS"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180 #include <X11/Xlib.h>
9182 main ()
9184 XrmInitialize ()
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 LIBS=$ac_save_LIBS
9191 # We can link X programs with no special library path.
9192 ac_x_libraries=
9193 else
9194 LIBS=$ac_save_LIBS
9195 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9197 # Don't even attempt the hair of trying to link an X program!
9198 for ac_extension in a so sl dylib la dll; do
9199 if test -r "$ac_dir/libX11.$ac_extension"; then
9200 ac_x_libraries=$ac_dir
9201 break 2
9203 done
9204 done
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 fi # $ac_x_libraries = no
9210 case $ac_x_includes,$ac_x_libraries in #(
9211 no,* | *,no | *\'*)
9212 # Didn't find X, or a directory has "'" in its name.
9213 ac_cv_have_x="have_x=no";; #(
9215 # Record where we found X for the cache.
9216 ac_cv_have_x="have_x=yes\
9217 ac_x_includes='$ac_x_includes'\
9218 ac_x_libraries='$ac_x_libraries'"
9219 esac
9221 ;; #(
9222 *) have_x=yes;;
9223 esac
9224 eval "$ac_cv_have_x"
9225 fi # $with_x != no
9227 if test "$have_x" != yes; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9229 $as_echo "$have_x" >&6; }
9230 no_x=yes
9231 else
9232 # If each of the values was on the command line, it overrides each guess.
9233 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9234 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9235 # Update the cache value to reflect the command line values.
9236 ac_cv_have_x="have_x=yes\
9237 ac_x_includes='$x_includes'\
9238 ac_x_libraries='$x_libraries'"
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9240 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9243 if test "$no_x" = yes; then
9244 # Not all programs may use this symbol, but it does not hurt to define it.
9246 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9248 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9249 else
9250 if test -n "$x_includes"; then
9251 X_CFLAGS="$X_CFLAGS -I$x_includes"
9254 # It would also be nice to do this for all -L options, not just this one.
9255 if test -n "$x_libraries"; then
9256 X_LIBS="$X_LIBS -L$x_libraries"
9257 # For Solaris; some versions of Sun CC require a space after -R and
9258 # others require no space. Words are not sufficient . . . .
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9260 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9261 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9262 ac_xsave_c_werror_flag=$ac_c_werror_flag
9263 ac_c_werror_flag=yes
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9268 main ()
9272 return 0;
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9277 $as_echo "no" >&6; }
9278 X_LIBS="$X_LIBS -R$x_libraries"
9279 else
9280 LIBS="$ac_xsave_LIBS -R $x_libraries"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9285 main ()
9289 return 0;
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9294 $as_echo "yes" >&6; }
9295 X_LIBS="$X_LIBS -R $x_libraries"
9296 else
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9298 $as_echo "neither works" >&6; }
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 ac_c_werror_flag=$ac_xsave_c_werror_flag
9306 LIBS=$ac_xsave_LIBS
9309 # Check for system-dependent libraries X programs must link with.
9310 # Do this before checking for the system-independent R6 libraries
9311 # (-lICE), since we may need -lsocket or whatever for X linking.
9313 if test "$ISC" = yes; then
9314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9315 else
9316 # Martyn Johnson says this is needed for Ultrix, if the X
9317 # libraries were built with DECnet support. And Karl Berry says
9318 # the Alpha needs dnet_stub (dnet does not exist).
9319 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9323 /* Override any GCC internal prototype to avoid an error.
9324 Use char because int might match the return type of a GCC
9325 builtin and then its argument prototype would still apply. */
9326 #ifdef __cplusplus
9327 extern "C"
9328 #endif
9329 char XOpenDisplay ();
9331 main ()
9333 return XOpenDisplay ();
9335 return 0;
9337 _ACEOF
9338 if ac_fn_c_try_link "$LINENO"; then :
9340 else
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9342 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9343 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_check_lib_save_LIBS=$LIBS
9347 LIBS="-ldnet $LIBS"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9354 #ifdef __cplusplus
9355 extern "C"
9356 #endif
9357 char dnet_ntoa ();
9359 main ()
9361 return dnet_ntoa ();
9363 return 0;
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_lib_dnet_dnet_ntoa=yes
9368 else
9369 ac_cv_lib_dnet_dnet_ntoa=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 LIBS=$ac_check_lib_save_LIBS
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9376 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9377 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9378 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9381 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9383 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9384 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9385 $as_echo_n "(cached) " >&6
9386 else
9387 ac_check_lib_save_LIBS=$LIBS
9388 LIBS="-ldnet_stub $LIBS"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9392 /* Override any GCC internal prototype to avoid an error.
9393 Use char because int might match the return type of a GCC
9394 builtin and then its argument prototype would still apply. */
9395 #ifdef __cplusplus
9396 extern "C"
9397 #endif
9398 char dnet_ntoa ();
9400 main ()
9402 return dnet_ntoa ();
9404 return 0;
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9409 else
9410 ac_cv_lib_dnet_stub_dnet_ntoa=no
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 LIBS=$ac_check_lib_save_LIBS
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9417 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9418 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9419 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 LIBS="$ac_xsave_LIBS"
9428 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9429 # to get the SysV transport functions.
9430 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9431 # needs -lnsl.
9432 # The nsl library prevents programs from opening the X display
9433 # on Irix 5.2, according to T.E. Dickey.
9434 # The functions gethostbyname, getservbyname, and inet_addr are
9435 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9436 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9437 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9441 if test $ac_cv_func_gethostbyname = no; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9443 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9444 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-lnsl $LIBS"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char gethostbyname ();
9460 main ()
9462 return gethostbyname ();
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 ac_cv_lib_nsl_gethostbyname=yes
9469 else
9470 ac_cv_lib_nsl_gethostbyname=no
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9477 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9478 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9482 if test $ac_cv_lib_nsl_gethostbyname = no; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9484 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9485 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_check_lib_save_LIBS=$LIBS
9489 LIBS="-lbsd $LIBS"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char gethostbyname ();
9501 main ()
9503 return gethostbyname ();
9505 return 0;
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 ac_cv_lib_bsd_gethostbyname=yes
9510 else
9511 ac_cv_lib_bsd_gethostbyname=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9518 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9519 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9526 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9527 # socket/setsockopt and other routines are undefined under SCO ODT
9528 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9529 # on later versions), says Simon Leinen: it contains gethostby*
9530 # variants that don't use the name server (or something). -lsocket
9531 # must be given before -lnsl if both are needed. We assume that
9532 # if connect needs -lnsl, so does gethostbyname.
9533 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9534 if test "x$ac_cv_func_connect" = xyes; then :
9538 if test $ac_cv_func_connect = no; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9540 $as_echo_n "checking for connect in -lsocket... " >&6; }
9541 if ${ac_cv_lib_socket_connect+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 ac_check_lib_save_LIBS=$LIBS
9545 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9552 #ifdef __cplusplus
9553 extern "C"
9554 #endif
9555 char connect ();
9557 main ()
9559 return connect ();
9561 return 0;
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"; then :
9565 ac_cv_lib_socket_connect=yes
9566 else
9567 ac_cv_lib_socket_connect=no
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 LIBS=$ac_check_lib_save_LIBS
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9574 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9575 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9576 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9581 # Guillermo Gomez says -lposix is necessary on A/UX.
9582 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9583 if test "x$ac_cv_func_remove" = xyes; then :
9587 if test $ac_cv_func_remove = no; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9589 $as_echo_n "checking for remove in -lposix... " >&6; }
9590 if ${ac_cv_lib_posix_remove+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 ac_check_lib_save_LIBS=$LIBS
9594 LIBS="-lposix $LIBS"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char remove ();
9606 main ()
9608 return remove ();
9610 return 0;
9612 _ACEOF
9613 if ac_fn_c_try_link "$LINENO"; then :
9614 ac_cv_lib_posix_remove=yes
9615 else
9616 ac_cv_lib_posix_remove=no
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 LIBS=$ac_check_lib_save_LIBS
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9623 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9624 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9631 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9632 if test "x$ac_cv_func_shmat" = xyes; then :
9636 if test $ac_cv_func_shmat = no; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9638 $as_echo_n "checking for shmat in -lipc... " >&6; }
9639 if ${ac_cv_lib_ipc_shmat+:} false; then :
9640 $as_echo_n "(cached) " >&6
9641 else
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lipc $LIBS"
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9647 /* Override any GCC internal prototype to avoid an error.
9648 Use char because int might match the return type of a GCC
9649 builtin and then its argument prototype would still apply. */
9650 #ifdef __cplusplus
9651 extern "C"
9652 #endif
9653 char shmat ();
9655 main ()
9657 return shmat ();
9659 return 0;
9661 _ACEOF
9662 if ac_fn_c_try_link "$LINENO"; then :
9663 ac_cv_lib_ipc_shmat=yes
9664 else
9665 ac_cv_lib_ipc_shmat=no
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_lib_save_LIBS
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9672 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9673 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9674 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9680 # Check for libraries that X11R6 Xt/Xaw programs need.
9681 ac_save_LDFLAGS=$LDFLAGS
9682 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9683 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9684 # check for ICE first), but we must link in the order -lSM -lICE or
9685 # we get undefined symbols. So assume we have SM if we have ICE.
9686 # These have to be linked with before -lX11, unlike the other
9687 # libraries we check for below, so use a different variable.
9688 # John Interrante, Karl Berry
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9690 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9691 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_check_lib_save_LIBS=$LIBS
9695 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9699 /* Override any GCC internal prototype to avoid an error.
9700 Use char because int might match the return type of a GCC
9701 builtin and then its argument prototype would still apply. */
9702 #ifdef __cplusplus
9703 extern "C"
9704 #endif
9705 char IceConnectionNumber ();
9707 main ()
9709 return IceConnectionNumber ();
9711 return 0;
9713 _ACEOF
9714 if ac_fn_c_try_link "$LINENO"; then :
9715 ac_cv_lib_ICE_IceConnectionNumber=yes
9716 else
9717 ac_cv_lib_ICE_IceConnectionNumber=no
9719 rm -f core conftest.err conftest.$ac_objext \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LIBS=$ac_check_lib_save_LIBS
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9724 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9725 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9726 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9729 LDFLAGS=$ac_save_LDFLAGS
9734 if test "$have_x" = "yes"
9735 then
9736 ac_save_CPPFLAGS="$CPPFLAGS"
9737 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9740 $as_echo_n "checking for -lX11... " >&6; }
9741 if ${ac_cv_lib_soname_X11+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 ac_check_soname_save_LIBS=$LIBS
9745 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9749 /* Override any GCC internal prototype to avoid an error.
9750 Use char because int might match the return type of a GCC
9751 builtin and then its argument prototype would still apply. */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 char XCreateWindow ();
9757 main ()
9759 return XCreateWindow ();
9761 return 0;
9763 _ACEOF
9764 if ac_fn_c_try_link "$LINENO"; then :
9765 case "$LIBEXT" in
9766 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9767 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'` ;;
9768 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9769 if ${ac_cv_lib_soname_X11:+false} :; then :
9770 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9771 fi ;;
9772 esac
9774 rm -f core conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_soname_save_LIBS
9778 if ${ac_cv_lib_soname_X11:+false} :; then :
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9780 $as_echo "not found" >&6; }
9782 else
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9784 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9786 cat >>confdefs.h <<_ACEOF
9787 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9788 _ACEOF
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9793 $as_echo_n "checking for -lXext... " >&6; }
9794 if ${ac_cv_lib_soname_Xext+:} false; then :
9795 $as_echo_n "(cached) " >&6
9796 else
9797 ac_check_soname_save_LIBS=$LIBS
9798 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9802 /* Override any GCC internal prototype to avoid an error.
9803 Use char because int might match the return type of a GCC
9804 builtin and then its argument prototype would still apply. */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 char XextCreateExtension ();
9810 main ()
9812 return XextCreateExtension ();
9814 return 0;
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 case "$LIBEXT" in
9819 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9820 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'` ;;
9821 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9822 if ${ac_cv_lib_soname_Xext:+false} :; then :
9823 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9824 fi ;;
9825 esac
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_soname_save_LIBS
9831 if ${ac_cv_lib_soname_Xext:+false} :; then :
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9833 $as_echo "not found" >&6; }
9835 else
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9837 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9839 cat >>confdefs.h <<_ACEOF
9840 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9841 _ACEOF
9843 X_LIBS="$X_LIBS -lXext"
9845 X_LIBS="$X_LIBS -lX11"
9847 for ac_header in X11/Xlib.h \
9848 X11/XKBlib.h \
9849 X11/Xutil.h \
9850 X11/Xcursor/Xcursor.h \
9851 X11/extensions/shape.h \
9852 X11/extensions/XInput.h \
9853 X11/extensions/XInput2.h \
9854 X11/extensions/XShm.h \
9855 X11/extensions/Xcomposite.h \
9856 X11/extensions/Xinerama.h \
9857 X11/extensions/Xrandr.h \
9858 X11/extensions/Xrender.h \
9859 X11/extensions/xf86vmode.h \
9860 X11/extensions/xf86vmproto.h
9861 do :
9862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9863 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9864 # include <X11/Xlib.h>
9865 #endif
9866 #ifdef HAVE_X11_XUTIL_H
9867 # include <X11/Xutil.h>
9868 #endif
9870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9871 cat >>confdefs.h <<_ACEOF
9872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9873 _ACEOF
9877 done
9880 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9881 then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9883 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9884 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_check_lib_save_LIBS=$LIBS
9888 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9892 /* Override any GCC internal prototype to avoid an error.
9893 Use char because int might match the return type of a GCC
9894 builtin and then its argument prototype would still apply. */
9895 #ifdef __cplusplus
9896 extern "C"
9897 #endif
9898 char XkbQueryExtension ();
9900 main ()
9902 return XkbQueryExtension ();
9904 return 0;
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 ac_cv_lib_X11_XkbQueryExtension=yes
9909 else
9910 ac_cv_lib_X11_XkbQueryExtension=no
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_lib_save_LIBS
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9917 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9918 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9920 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9926 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9927 then
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9929 $as_echo_n "checking for -lXcursor... " >&6; }
9930 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_check_soname_save_LIBS=$LIBS
9934 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9941 #ifdef __cplusplus
9942 extern "C"
9943 #endif
9944 char XcursorImageLoadCursor ();
9946 main ()
9948 return XcursorImageLoadCursor ();
9950 return 0;
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 case "$LIBEXT" in
9955 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9959 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9960 fi ;;
9961 esac
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9971 else
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9973 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9975 cat >>confdefs.h <<_ACEOF
9976 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9977 _ACEOF
9982 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9983 case "x$with_xcursor" in
9984 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9985 xno) ;;
9986 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9987 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9988 esac
9992 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9993 then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9995 $as_echo_n "checking for -lXi... " >&6; }
9996 if ${ac_cv_lib_soname_Xi+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_check_soname_save_LIBS=$LIBS
10000 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 #ifdef __cplusplus
10008 extern "C"
10009 #endif
10010 char XOpenDevice ();
10012 main ()
10014 return XOpenDevice ();
10016 return 0;
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 case "$LIBEXT" in
10021 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10022 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'` ;;
10023 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10024 if ${ac_cv_lib_soname_Xi:+false} :; then :
10025 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10026 fi ;;
10027 esac
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_Xi:+false} :; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 $as_echo "not found" >&6; }
10037 else
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10039 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10041 cat >>confdefs.h <<_ACEOF
10042 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10043 _ACEOF
10048 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10049 case "x$with_xinput" in
10050 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10051 xno) ;;
10052 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10053 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10054 esac
10058 if test "x$ac_cv_lib_soname_Xi" != x
10059 then
10060 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10061 case "x$with_xinput2" in
10062 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10063 xno) ;;
10064 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10065 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10066 esac
10071 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10072 then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10074 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10075 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_check_lib_save_LIBS=$LIBS
10079 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XShmQueryExtension ();
10091 main ()
10093 return XShmQueryExtension ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_lib_Xext_XShmQueryExtension=yes
10100 else
10101 ac_cv_lib_Xext_XShmQueryExtension=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 LIBS=$ac_check_lib_save_LIBS
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10108 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10109 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10111 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10116 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10117 case "x$with_xshm" in
10118 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10119 xno) ;;
10120 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10121 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10122 esac
10126 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10127 then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10129 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10130 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_check_lib_save_LIBS=$LIBS
10134 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10141 #ifdef __cplusplus
10142 extern "C"
10143 #endif
10144 char XShapeQueryExtension ();
10146 main ()
10148 return XShapeQueryExtension ();
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"; then :
10154 ac_cv_lib_Xext_XShapeQueryExtension=yes
10155 else
10156 ac_cv_lib_Xext_XShapeQueryExtension=no
10158 rm -f core conftest.err conftest.$ac_objext \
10159 conftest$ac_exeext conftest.$ac_ext
10160 LIBS=$ac_check_lib_save_LIBS
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10163 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10164 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10166 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10171 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10172 case "x$with_xshape" in
10173 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10174 xno) ;;
10175 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10176 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10177 esac
10181 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10182 then
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10184 $as_echo_n "checking for -lXxf86vm... " >&6; }
10185 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_check_soname_save_LIBS=$LIBS
10189 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 #ifdef __cplusplus
10197 extern "C"
10198 #endif
10199 char XF86VidModeQueryExtension ();
10201 main ()
10203 return XF86VidModeQueryExtension ();
10205 return 0;
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 case "$LIBEXT" in
10210 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10214 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10215 fi ;;
10216 esac
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_soname_save_LIBS
10222 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10224 $as_echo "not found" >&6; }
10226 else
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10228 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10230 cat >>confdefs.h <<_ACEOF
10231 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10232 _ACEOF
10237 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10238 case "x$with_xxf86vm" in
10239 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10240 xno) ;;
10241 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10242 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10243 esac
10247 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10248 then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10250 $as_echo_n "checking for -lXrender... " >&6; }
10251 if ${ac_cv_lib_soname_Xrender+:} false; then :
10252 $as_echo_n "(cached) " >&6
10253 else
10254 ac_check_soname_save_LIBS=$LIBS
10255 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10259 /* Override any GCC internal prototype to avoid an error.
10260 Use char because int might match the return type of a GCC
10261 builtin and then its argument prototype would still apply. */
10262 #ifdef __cplusplus
10263 extern "C"
10264 #endif
10265 char XRenderQueryExtension ();
10267 main ()
10269 return XRenderQueryExtension ();
10271 return 0;
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 case "$LIBEXT" in
10276 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10277 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'` ;;
10278 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10279 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10280 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10281 fi ;;
10282 esac
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_soname_save_LIBS
10288 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10290 $as_echo "not found" >&6; }
10292 else
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10294 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10296 cat >>confdefs.h <<_ACEOF
10297 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10298 _ACEOF
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10301 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10302 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_lib_save_LIBS=$LIBS
10306 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char XRenderSetPictureTransform ();
10318 main ()
10320 return XRenderSetPictureTransform ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10327 else
10328 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_lib_save_LIBS
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10335 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10336 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10338 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10343 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10344 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_check_lib_save_LIBS=$LIBS
10348 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 char XRenderCreateLinearGradient ();
10360 main ()
10362 return XRenderCreateLinearGradient ();
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10369 else
10370 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_lib_save_LIBS
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10377 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10378 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10380 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10387 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10388 case "x$with_xrender" in
10389 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10390 xno) ;;
10391 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10392 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10393 esac
10397 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10398 then
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401 #include <X11/Xlib.h>
10402 #include <X11/extensions/Xrandr.h>
10404 main ()
10406 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10408 return 0;
10410 _ACEOF
10411 if ac_fn_c_try_compile "$LINENO"; then :
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10413 $as_echo_n "checking for -lXrandr... " >&6; }
10414 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_check_soname_save_LIBS=$LIBS
10418 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10422 /* Override any GCC internal prototype to avoid an error.
10423 Use char because int might match the return type of a GCC
10424 builtin and then its argument prototype would still apply. */
10425 #ifdef __cplusplus
10426 extern "C"
10427 #endif
10428 char XRRQueryExtension ();
10430 main ()
10432 return XRRQueryExtension ();
10434 return 0;
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 case "$LIBEXT" in
10439 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10440 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'` ;;
10441 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10442 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10443 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10444 fi ;;
10445 esac
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 LIBS=$ac_check_soname_save_LIBS
10451 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10453 $as_echo "not found" >&6; }
10455 else
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10457 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10459 cat >>confdefs.h <<_ACEOF
10460 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10461 _ACEOF
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10465 #include <X11/Xlib.h>
10466 #include <X11/extensions/Xrandr.h>
10468 main ()
10470 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_compile "$LINENO"; then :
10477 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10485 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10486 case "x$with_xrandr" in
10487 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10488 xno) ;;
10489 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10490 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10491 esac
10495 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10496 then
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 #include <X11/Xlib.h>
10500 #include <X11/extensions/Xinerama.h>
10502 main ()
10504 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10506 return 0;
10508 _ACEOF
10509 if ac_fn_c_try_compile "$LINENO"; then :
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10511 $as_echo_n "checking for -lXinerama... " >&6; }
10512 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_check_soname_save_LIBS=$LIBS
10516 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 #ifdef __cplusplus
10524 extern "C"
10525 #endif
10526 char XineramaQueryScreens ();
10528 main ()
10530 return XineramaQueryScreens ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 case "$LIBEXT" in
10537 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10538 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'` ;;
10539 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10540 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10541 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10542 fi ;;
10543 esac
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_soname_save_LIBS
10549 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10551 $as_echo "not found" >&6; }
10553 else
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10555 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10557 cat >>confdefs.h <<_ACEOF
10558 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10559 _ACEOF
10564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10566 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10567 case "x$with_xinerama" in
10568 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10569 xno) ;;
10570 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10571 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10572 esac
10576 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10577 then
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10579 $as_echo_n "checking for -lXcomposite... " >&6; }
10580 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_check_soname_save_LIBS=$LIBS
10584 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10591 #ifdef __cplusplus
10592 extern "C"
10593 #endif
10594 char XCompositeRedirectWindow ();
10596 main ()
10598 return XCompositeRedirectWindow ();
10600 return 0;
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"; then :
10604 case "$LIBEXT" in
10605 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10606 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'` ;;
10607 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10608 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10609 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10610 fi ;;
10611 esac
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 LIBS=$ac_check_soname_save_LIBS
10617 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10619 $as_echo "not found" >&6; }
10621 else
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10623 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10625 cat >>confdefs.h <<_ACEOF
10626 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10627 _ACEOF
10632 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10633 case "x$with_xcomposite" in
10634 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10635 xno) ;;
10636 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10637 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10638 esac
10642 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10643 #include <X11/Xlib.h>
10644 #endif
10646 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10648 cat >>confdefs.h <<_ACEOF
10649 #define HAVE_XICCALLBACK_CALLBACK 1
10650 _ACEOF
10654 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10655 #include <X11/Xlib.h>
10656 #endif
10658 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10660 cat >>confdefs.h <<_ACEOF
10661 #define HAVE_XEVENT_XCOOKIE 1
10662 _ACEOF
10669 opengl_msg=""
10670 if test "x$with_opengl" != "xno"
10671 then
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10673 $as_echo_n "checking for -lGL... " >&6; }
10674 if ${ac_cv_lib_soname_GL+:} false; then :
10675 $as_echo_n "(cached) " >&6
10676 else
10677 ac_check_soname_save_LIBS=$LIBS
10678 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10685 #ifdef __cplusplus
10686 extern "C"
10687 #endif
10688 char glXCreateContext ();
10690 main ()
10692 return glXCreateContext ();
10694 return 0;
10696 _ACEOF
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 case "$LIBEXT" in
10699 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10700 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'` ;;
10701 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10702 if ${ac_cv_lib_soname_GL:+false} :; then :
10703 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10704 fi ;;
10705 esac
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LIBS=$ac_check_soname_save_LIBS
10711 if ${ac_cv_lib_soname_GL:+false} :; then :
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10713 $as_echo "not found" >&6; }
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10715 $as_echo_n "checking for -lGL... " >&6; }
10716 if ${ac_cv_lib_soname_GL+:} false; then :
10717 $as_echo_n "(cached) " >&6
10718 else
10719 ac_check_soname_save_LIBS=$LIBS
10720 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"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10727 #ifdef __cplusplus
10728 extern "C"
10729 #endif
10730 char glXCreateContext ();
10732 main ()
10734 return glXCreateContext ();
10736 return 0;
10738 _ACEOF
10739 if ac_fn_c_try_link "$LINENO"; then :
10740 case "$LIBEXT" in
10741 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10742 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'` ;;
10743 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10744 if ${ac_cv_lib_soname_GL:+false} :; then :
10745 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10746 fi ;;
10747 esac
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 LIBS=$ac_check_soname_save_LIBS
10753 if ${ac_cv_lib_soname_GL:+false} :; then :
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10755 $as_echo "not found" >&6; }
10756 if test -f /usr/X11R6/lib/libGL.a
10757 then
10758 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10759 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10760 else
10761 opengl_msg="No OpenGL library found on this system."
10763 else
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10765 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10767 cat >>confdefs.h <<_ACEOF
10768 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10769 _ACEOF
10771 OPENGL_LIBS="-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"
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10775 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10777 cat >>confdefs.h <<_ACEOF
10778 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10779 _ACEOF
10781 OPENGL_LIBS="-lGL"
10783 if test "x$with_glu" != "xno"
10784 then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10786 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10787 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char gluLookAt ();
10803 main ()
10805 return gluLookAt ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_GLU_gluLookAt=yes
10812 else
10813 ac_cv_lib_GLU_gluLookAt=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10820 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10821 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10825 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10826 case "x$with_glu" in
10827 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10828 xno) ;;
10829 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10830 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10831 esac
10836 if test "x$with_osmesa" != "xno"
10837 then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10839 $as_echo_n "checking for -lOSMesa... " >&6; }
10840 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10841 $as_echo_n "(cached) " >&6
10842 else
10843 ac_check_soname_save_LIBS=$LIBS
10844 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10851 #ifdef __cplusplus
10852 extern "C"
10853 #endif
10854 char glAccum ();
10856 main ()
10858 return glAccum ();
10860 return 0;
10862 _ACEOF
10863 if ac_fn_c_try_link "$LINENO"; then :
10864 case "$LIBEXT" in
10865 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10866 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'` ;;
10867 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10868 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10869 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10870 fi ;;
10871 esac
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_soname_save_LIBS
10877 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10879 $as_echo "not found" >&6; }
10881 else
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10883 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10885 cat >>confdefs.h <<_ACEOF
10886 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10887 _ACEOF
10891 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10892 case "x$with_osmesa" in
10893 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10896 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10897 esac
10902 if test -n "$opengl_msg"; then :
10903 case "x$with_opengl" in
10904 x) as_fn_append wine_warnings "|$opengl_msg
10905 OpenGL and Direct3D won't be supported." ;;
10906 xno) ;;
10907 *) as_fn_error $? "$opengl_msg
10908 OpenGL and Direct3D won't be supported.
10909 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10910 esac
10914 CPPFLAGS="$ac_save_CPPFLAGS"
10915 else
10916 X_CFLAGS=""
10917 X_LIBS=""
10919 if test "x$X_LIBS" = "x"; then :
10920 case "x$with_x" in
10921 xno) ;;
10922 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10923 without X support, which probably isn't what you want. You will need
10924 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10925 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10926 esac
10927 enable_winex11_drv=${enable_winex11_drv:-no}
10930 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10932 if test "$ac_cv_header_CL_cl_h" = "yes"
10933 then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10935 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10936 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-lOpenCL $LIBS"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char clGetPlatformInfo ();
10952 main ()
10954 return clGetPlatformInfo ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10961 else
10962 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10969 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10970 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10971 OPENCL_LIBS="-lOpenCL"
10976 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10977 case "x$with_opencl" in
10978 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10979 xno) ;;
10980 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10981 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10982 esac
10983 enable_opencl=${enable_opencl:-no}
10986 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10987 then
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10989 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10990 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10991 $as_echo_n "(cached) " >&6
10992 else
10993 ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lpcap $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char pcap_create ();
11006 main ()
11008 return pcap_create ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 ac_cv_lib_pcap_pcap_create=yes
11015 else
11016 ac_cv_lib_pcap_pcap_create=no
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11023 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11024 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11025 PCAP_LIBS="-lpcap"
11030 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11031 case "x$with_pcap" in
11032 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11033 xno) ;;
11034 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11035 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11036 esac
11037 enable_wpcap=${enable_wpcap:-no}
11041 if test "x$with_xml" != "xno"
11042 then
11043 if ${XML2_CFLAGS:+false} :; then :
11044 if ${PKG_CONFIG+:} false; then :
11045 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11048 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11049 if ${XML2_LIBS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11054 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11055 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11056 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11058 ac_save_CPPFLAGS=$CPPFLAGS
11059 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11060 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11061 do :
11062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11063 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11065 cat >>confdefs.h <<_ACEOF
11066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11067 _ACEOF
11071 done
11073 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"
11074 then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11076 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11077 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lxml2 $XML2_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char xmlParseMemory ();
11093 main ()
11095 return xmlParseMemory ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 ac_cv_lib_xml2_xmlParseMemory=yes
11102 else
11103 ac_cv_lib_xml2_xmlParseMemory=no
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11110 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11111 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11113 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11115 else
11116 XML2_LIBS=""
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11120 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11121 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11122 $as_echo_n "(cached) " >&6
11123 else
11124 ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-lxml2 $XML2_LIBS $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char xmlReadMemory ();
11137 main ()
11139 return xmlReadMemory ();
11141 return 0;
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11145 ac_cv_lib_xml2_xmlReadMemory=yes
11146 else
11147 ac_cv_lib_xml2_xmlReadMemory=no
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11154 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11155 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11157 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11162 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11163 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lxml2 $XML2_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char xmlNewDocPI ();
11179 main ()
11181 return xmlNewDocPI ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_xml2_xmlNewDocPI=yes
11188 else
11189 ac_cv_lib_xml2_xmlNewDocPI=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11196 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11197 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11199 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11204 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11205 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11206 $as_echo_n "(cached) " >&6
11207 else
11208 ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-lxml2 $XML2_LIBS $LIBS"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11216 #ifdef __cplusplus
11217 extern "C"
11218 #endif
11219 char xmlSchemaSetParserStructuredErrors ();
11221 main ()
11223 return xmlSchemaSetParserStructuredErrors ();
11225 return 0;
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"; then :
11229 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11230 else
11231 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11238 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11239 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11241 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11246 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11247 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lxml2 $XML2_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xmlSchemaSetValidStructuredErrors ();
11263 main ()
11265 return xmlSchemaSetValidStructuredErrors ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11272 else
11273 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11280 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11281 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11283 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11288 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11289 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lxml2 $XML2_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char xmlFirstElementChild ();
11305 main ()
11307 return xmlFirstElementChild ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_xml2_xmlFirstElementChild=yes
11314 else
11315 ac_cv_lib_xml2_xmlFirstElementChild=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11322 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11323 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11325 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11329 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11331 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11333 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11337 else
11338 XML2_CFLAGS=""
11339 XML2_LIBS=""
11341 CPPFLAGS=$ac_save_CPPFLAGS
11342 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11343 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11346 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11347 case "x$with_xml" in
11348 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11349 xno) ;;
11350 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11351 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11352 esac
11356 if test "x$with_xslt" != "xno"
11357 then
11358 if ${XSLT_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11363 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11364 if ${XSLT_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11369 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11370 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11371 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11375 for ac_header in libxslt/pattern.h libxslt/transform.h
11376 do :
11377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11379 # include <libxslt/pattern.h>
11380 #endif
11382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11383 cat >>confdefs.h <<_ACEOF
11384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11385 _ACEOF
11389 done
11391 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11394 $as_echo_n "checking for -lxslt... " >&6; }
11395 if ${ac_cv_lib_soname_xslt+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lxslt $XSLT_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char xsltCompilePattern ();
11411 main ()
11413 return xsltCompilePattern ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if ${ac_cv_lib_soname_xslt:+false} :; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11438 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11442 _ACEOF
11446 else
11447 XSLT_CFLAGS=""
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11454 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11455 case "x$with_xslt" in
11456 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11459 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11460 esac
11464 if test "x$with_dbus" != "xno"
11465 then
11466 if ${DBUS_CFLAGS:+false} :; then :
11467 if ${PKG_CONFIG+:} false; then :
11468 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11472 if ${DBUS_LIBS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11479 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11480 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11481 ac_save_CPPFLAGS=$CPPFLAGS
11482 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11483 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11484 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11486 $as_echo_n "checking for -ldbus-1... " >&6; }
11487 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char dbus_connection_close ();
11503 main ()
11505 return dbus_connection_close ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) 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'`
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11527 DBUS_CFLAGS=""
11528 else
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11530 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11532 cat >>confdefs.h <<_ACEOF
11533 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11534 _ACEOF
11538 else
11539 DBUS_CFLAGS=""
11543 CPPFLAGS=$ac_save_CPPFLAGS
11544 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11545 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11548 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11550 case "x$with_dbus" in
11551 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11552 xno) ;;
11553 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11554 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11555 esac
11559 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11560 then
11561 if ${HAL_CFLAGS:+false} :; then :
11562 if ${PKG_CONFIG+:} false; then :
11563 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11567 if ${HAL_LIBS:+false} :; then :
11568 if ${PKG_CONFIG+:} false; then :
11569 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11573 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11574 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11575 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11576 ac_save_CPPFLAGS=$CPPFLAGS
11577 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11578 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11581 $as_echo_n "checking for -lhal... " >&6; }
11582 if ${ac_cv_lib_soname_hal+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lhal $HAL_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char libhal_ctx_new ();
11598 main ()
11600 return libhal_ctx_new ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_hal:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11622 HAL_CFLAGS=""
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11625 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11629 _ACEOF
11633 else
11634 HAL_CFLAGS=""
11638 CPPFLAGS=$ac_save_CPPFLAGS
11639 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11640 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11642 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11643 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11644 case "x$with_hal" in
11645 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11646 xno) ;;
11647 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11648 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11649 esac
11654 if test "x$with_gnutls" != "xno"
11655 then
11656 if ${GNUTLS_CFLAGS:+false} :; then :
11657 if ${PKG_CONFIG+:} false; then :
11658 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11662 if ${GNUTLS_LIBS:+false} :; then :
11663 if ${PKG_CONFIG+:} false; then :
11664 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11669 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11670 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11671 ac_save_CPPFLAGS=$CPPFLAGS
11672 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11673 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11674 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 #include <gnutls/gnutls.h>
11678 #include <gnutls/crypto.h>
11680 main ()
11682 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_compile "$LINENO"; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11689 $as_echo_n "checking for -lgnutls... " >&6; }
11690 if ${ac_cv_lib_soname_gnutls+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_soname_save_LIBS=$LIBS
11694 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char gnutls_global_init ();
11706 main ()
11708 return gnutls_global_init ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 case "$LIBEXT" in
11715 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11716 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'` ;;
11717 *) 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'`
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 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'`
11720 fi ;;
11721 esac
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11730 GNUTLS_CFLAGS=""
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11733 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11737 _ACEOF
11741 ac_wine_check_funcs_save_LIBS="$LIBS"
11742 LIBS="$LIBS $GNUTLS_LIBS"
11743 for ac_func in gnutls_hash
11744 do :
11745 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11746 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11747 cat >>confdefs.h <<_ACEOF
11748 #define HAVE_GNUTLS_HASH 1
11749 _ACEOF
11751 else
11752 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11754 done
11756 LIBS="$ac_wine_check_funcs_save_LIBS"
11758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11759 else
11760 GNUTLS_CFLAGS=""
11764 CPPFLAGS=$ac_save_CPPFLAGS
11765 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11766 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11769 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11770 case "x$with_gnutls" in
11771 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11774 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11775 esac
11779 CURSES_LIBS=""
11780 if test "$ac_cv_header_ncurses_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11783 $as_echo_n "checking for -lncurses... " >&6; }
11784 if ${ac_cv_lib_soname_ncurses+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_soname_save_LIBS=$LIBS
11788 LIBS="-lncurses $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char waddch ();
11800 main ()
11802 return waddch ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 case "$LIBEXT" in
11809 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11810 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'` ;;
11811 *) 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'`
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11814 fi ;;
11815 esac
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_soname_save_LIBS
11821 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11823 $as_echo "not found" >&6; }
11825 else
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11827 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11829 cat >>confdefs.h <<_ACEOF
11830 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11831 _ACEOF
11833 CURSES_LIBS="-lncurses"
11835 elif test "$ac_cv_header_curses_h" = "yes"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11838 $as_echo_n "checking for -lcurses... " >&6; }
11839 if ${ac_cv_lib_soname_curses+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lcurses $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char waddch ();
11855 main ()
11857 return waddch ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_curses:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11882 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11886 _ACEOF
11888 CURSES_LIBS="-lcurses"
11891 ac_save_LIBS="$LIBS"
11892 LIBS="$LIBS $CURSES_LIBS"
11893 for ac_func in mousemask
11894 do :
11895 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11896 if test "x$ac_cv_func_mousemask" = xyes; then :
11897 cat >>confdefs.h <<_ACEOF
11898 #define HAVE_MOUSEMASK 1
11899 _ACEOF
11902 done
11904 LIBS="$ac_save_LIBS"
11905 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11906 case "x$with_curses" in
11907 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11910 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "x$with_sane" != "xno"
11916 then
11917 if ${SANE_CFLAGS:+false} :; then :
11918 if ${PKG_CONFIG+:} false; then :
11919 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11922 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11923 if ${SANE_LIBS:+false} :; then :
11924 if ${PKG_CONFIG+:} false; then :
11925 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11928 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11930 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11931 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11932 ac_save_CPPFLAGS=$CPPFLAGS
11933 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11934 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11935 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11937 $as_echo_n "checking for -lsane... " >&6; }
11938 if ${ac_cv_lib_soname_sane+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lsane $SANE_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char sane_init ();
11954 main ()
11956 return sane_init ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_sane:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11978 SANE_CFLAGS=""
11979 else
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11981 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11983 cat >>confdefs.h <<_ACEOF
11984 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11985 _ACEOF
11989 else
11990 SANE_CFLAGS=""
11994 CPPFLAGS=$ac_save_CPPFLAGS
11995 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11996 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11999 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12000 case "x$with_sane" in
12001 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12004 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12005 esac
12009 if test "x$with_v4l" != "xno"
12010 then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12012 $as_echo_n "checking for -lv4l1... " >&6; }
12013 if ${ac_cv_lib_soname_v4l1+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_soname_save_LIBS=$LIBS
12017 LIBS="-lv4l1 $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char v4l1_open ();
12029 main ()
12031 return v4l1_open ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 case "$LIBEXT" in
12038 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12039 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'` ;;
12040 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12043 fi ;;
12044 esac
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_soname_save_LIBS
12050 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12052 $as_echo "not found" >&6; }
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12056 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12058 cat >>confdefs.h <<_ACEOF
12059 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12060 _ACEOF
12065 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12066 case "x$with_v4l" in
12067 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12070 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12071 esac
12075 if test "x$with_gphoto" != "xno"
12076 then
12077 if ${GPHOTO2_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false; then :
12079 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12082 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12083 if ${GPHOTO2_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12089 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12092 ac_save_CPPFLAGS=$CPPFLAGS
12093 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12094 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12095 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12097 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12098 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char gp_camera_new ();
12114 main ()
12116 return gp_camera_new ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_gphoto2_gp_camera_new=yes
12123 else
12124 ac_cv_lib_gphoto2_gp_camera_new=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12131 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12132 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12134 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12136 else
12137 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12140 else
12141 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12145 CPPFLAGS=$ac_save_CPPFLAGS
12146 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12147 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12149 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12150 if ${PKG_CONFIG+:} false; then :
12151 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12154 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12155 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12160 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12161 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12162 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12164 ac_save_CPPFLAGS=$CPPFLAGS
12165 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12166 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12167 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12169 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12170 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 char gp_port_info_list_new ();
12186 main ()
12188 return gp_port_info_list_new ();
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12195 else
12196 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12203 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12204 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12206 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12208 else
12209 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12212 else
12213 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12228 esac
12231 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12232 case "x$with_gphoto" in
12233 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12234 xno) ;;
12235 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12236 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12237 esac
12242 if test "$ac_cv_header_resolv_h" = "yes"
12243 then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12245 $as_echo_n "checking for resolver library... " >&6; }
12246 if ${ac_cv_have_resolv+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_save_LIBS="$LIBS"
12250 for lib in '' -lresolv
12252 LIBS="$lib $ac_save_LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #ifdef HAVE_NETINET_IN_H
12256 #include <netinet/in.h>
12257 #endif
12258 #include <resolv.h>
12260 main ()
12262 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 ac_cv_have_resolv=${lib:-"none required"}
12269 else
12270 ac_cv_have_resolv="not found"
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 test "x$ac_cv_have_resolv" = "xnot found" || break
12275 done
12276 LIBS="$ac_save_LIBS"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12279 $as_echo "$ac_cv_have_resolv" >&6; }
12281 case "$ac_cv_have_resolv" in
12282 "not found") ;;
12283 "none required")
12285 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12290 RESOLV_LIBS=$ac_cv_have_resolv
12292 esac
12295 if test "x$with_cms" != "xno"
12296 then
12297 if ${LCMS2_CFLAGS:+false} :; then :
12298 if ${PKG_CONFIG+:} false; then :
12299 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12303 if ${LCMS2_LIBS:+false} :; then :
12304 if ${PKG_CONFIG+:} false; then :
12305 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12309 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12310 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12311 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12312 ac_save_CPPFLAGS=$CPPFLAGS
12313 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12314 for ac_header in lcms2.h
12315 do :
12316 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12317 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define HAVE_LCMS2_H 1
12320 _ACEOF
12324 done
12326 if test "$ac_cv_header_lcms2_h" = "yes"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12329 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12330 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_lib_save_LIBS=$LIBS
12334 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char cmsOpenProfileFromFile ();
12346 main ()
12348 return cmsOpenProfileFromFile ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12355 else
12356 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_lib_save_LIBS
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12363 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12364 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12366 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12368 else
12369 LCMS2_LIBS=""
12372 else
12373 LCMS2_CFLAGS=""
12374 LCMS2_LIBS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12377 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12378 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12381 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12382 case "x$with_cms" in
12383 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12384 xno) ;;
12385 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12386 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12387 esac
12391 if test "x$with_freetype" != "xno"
12392 then
12393 if ${FREETYPE_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12398 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12399 if ${FREETYPE_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12404 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12405 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12410 for ac_header in ft2build.h
12411 do :
12412 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12413 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12414 cat >>confdefs.h <<_ACEOF
12415 #define HAVE_FT2BUILD_H 1
12416 _ACEOF
12420 done
12422 if test "$ac_cv_header_ft2build_h" = "yes"
12423 then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12425 $as_echo_n "checking for -lfreetype... " >&6; }
12426 if ${ac_cv_lib_soname_freetype+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_soname_save_LIBS=$LIBS
12430 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char FT_Init_FreeType ();
12442 main ()
12444 return FT_Init_FreeType ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 case "$LIBEXT" in
12451 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12452 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'` ;;
12453 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12456 fi ;;
12457 esac
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_soname_save_LIBS
12463 if ${ac_cv_lib_soname_freetype:+false} :; then :
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12465 $as_echo "not found" >&6; }
12466 FREETYPE_LIBS=""
12467 else
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12469 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12471 cat >>confdefs.h <<_ACEOF
12472 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12473 _ACEOF
12476 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12478 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12479 #include FT_MODULE_H
12481 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12483 cat >>confdefs.h <<_ACEOF
12484 #define HAVE_FT_TRUETYPEENGINETYPE 1
12485 _ACEOF
12491 else
12492 FREETYPE_CFLAGS=""
12493 FREETYPE_LIBS=""
12495 CPPFLAGS=$ac_save_CPPFLAGS
12496 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12497 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12500 if test "x$ac_cv_lib_soname_freetype" = x; then :
12501 case "x$with_freetype" in
12502 xno) ;;
12503 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12504 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12505 esac
12506 enable_fonts=${enable_fonts:-no}
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12510 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12511 if ${ac_cv_c_ppdev+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 #ifdef HAVE_SYS_IOCTL_H
12517 # include <sys/ioctl.h>
12518 #endif
12519 #include <linux/ppdev.h>
12521 main ()
12523 ioctl (1,PPCLAIM,0)
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_compile "$LINENO"; then :
12529 ac_cv_c_ppdev="yes"
12530 else
12531 ac_cv_c_ppdev="no"
12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12536 $as_echo "$ac_cv_c_ppdev" >&6; }
12537 if test "$ac_cv_c_ppdev" = "yes"
12538 then
12540 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12544 ac_wine_check_funcs_save_LIBS="$LIBS"
12545 LIBS="$LIBS $PTHREAD_LIBS"
12546 for ac_func in \
12547 pthread_attr_get_np \
12548 pthread_getattr_np \
12549 pthread_getthreadid_np \
12550 pthread_get_stackaddr_np \
12551 pthread_get_stacksize_np
12552 do :
12553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12558 _ACEOF
12561 done
12563 LIBS="$ac_wine_check_funcs_save_LIBS"
12565 if test "$ac_cv_header_zlib_h" = "yes"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12568 $as_echo_n "checking for inflate in -lz... " >&6; }
12569 if ${ac_cv_lib_z_inflate+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lz $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char inflate ();
12585 main ()
12587 return inflate ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_z_inflate=yes
12594 else
12595 ac_cv_lib_z_inflate=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12602 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12603 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12605 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12607 Z_LIBS="-lz"
12612 if test "x$Z_LIBS" = "x"; then :
12613 case "x$with_zlib" in
12614 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12615 xno) ;;
12616 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12617 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12618 esac
12622 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12623 then
12624 if test "$ac_cv_header_gettext_po_h" = "yes"
12625 then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12627 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12628 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lgettextpo $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char po_message_msgctxt ();
12644 main ()
12646 return po_message_msgctxt ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12653 else
12654 ac_cv_lib_gettextpo_po_message_msgctxt=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12661 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12662 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12664 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12666 GETTEXTPO_LIBS="-lgettextpo"
12671 if test "x$GETTEXTPO_LIBS" = "x"; then :
12672 case "x$with_gettextpo" in
12673 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12674 xno) ;;
12675 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12677 esac
12680 if test "$srcdir" != .; then :
12681 case "x$with_gettextpo" in
12682 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12683 xno) ;;
12684 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12685 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12686 esac
12691 if test "x$with_pulse" != "xno";
12692 then
12693 if ${PULSE_CFLAGS:+false} :; then :
12694 if ${PKG_CONFIG+:} false; then :
12695 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12699 if ${PULSE_LIBS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12706 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12710 for ac_header in pulse/pulseaudio.h
12711 do :
12712 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12713 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12714 cat >>confdefs.h <<_ACEOF
12715 #define HAVE_PULSE_PULSEAUDIO_H 1
12716 _ACEOF
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12718 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12719 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lpulse $PULSE_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char pa_stream_is_corked ();
12735 main ()
12737 return pa_stream_is_corked ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_pulse_pa_stream_is_corked=yes
12744 else
12745 ac_cv_lib_pulse_pa_stream_is_corked=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12752 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12753 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12755 else
12756 PULSE_LIBS=""
12759 else
12760 PULSE_LIBS=""
12763 done
12765 CPPFLAGS=$ac_save_CPPFLAGS
12766 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 if test -z "$PULSE_LIBS"; then :
12771 case "x$with_pulse" in
12772 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12773 xno) ;;
12774 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12775 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12776 esac
12777 enable_winepulse_drv=${enable_winepulse_drv:-no}
12780 if test "x$with_gstreamer" != "xno"
12781 then
12782 if ${GSTREAMER_CFLAGS:+false} :; then :
12783 if ${PKG_CONFIG+:} false; then :
12784 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12788 if ${GSTREAMER_LIBS:+false} :; then :
12789 if ${PKG_CONFIG+:} false; then :
12790 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12795 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12796 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12797 ac_save_CPPFLAGS=$CPPFLAGS
12798 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_gst_incl=""
12800 for i in $GSTREAMER_CFLAGS
12802 case "$i" in
12803 -I*) ac_gst_incl="$ac_gst_incl $i";;
12804 esac
12805 done
12806 GSTREAMER_CFLAGS=$ac_gst_incl
12807 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12808 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12809 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12811 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 #include <gst/gst.h>
12816 main ()
12818 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825 $as_echo "yes" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12827 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12828 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char gst_pad_new ();
12844 main ()
12846 return gst_pad_new ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12853 else
12854 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12861 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12862 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12866 else
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12868 $as_echo "no" >&6; }
12869 ac_glib2_broken=yes
12870 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12876 CPPFLAGS=$ac_save_CPPFLAGS
12877 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12878 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12881 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 :
12882 case "x$with_gstreamer" in
12883 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12884 xno) ;;
12885 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12886 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12887 esac
12890 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12892 ALSA_LIBS=""
12894 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12897 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12898 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lasound $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char snd_pcm_hw_params_get_access_mask ();
12914 main ()
12916 return snd_pcm_hw_params_get_access_mask ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12923 else
12924 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12931 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12932 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12935 #ifdef HAVE_ALSA_ASOUNDLIB_H
12936 #include <alsa/asoundlib.h>
12937 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12938 #include <sys/asoundlib.h>
12939 #endif
12941 main ()
12943 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_compile "$LINENO"; then :
12949 ALSA_LIBS="-lasound"
12951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12955 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12957 if test "x$with_oss" != xno
12958 then
12959 ac_save_CPPFLAGS="$CPPFLAGS"
12960 if test -f /etc/oss.conf
12961 then
12962 . /etc/oss.conf
12964 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12965 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12966 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12967 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12968 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12970 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12974 _ACEOF
12976 OSS4_CFLAGS="$ac_oss_incl"
12983 CPPFLAGS="$ac_save_CPPFLAGS"
12985 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12986 case "x$with_oss" in
12987 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12990 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12991 esac
12992 enable_wineoss_drv=${enable_wineoss_drv:-no}
12995 if test "x$with_udev" != "xno"
12996 then
12997 if ${UDEV_CFLAGS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13003 if ${UDEV_LIBS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13009 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13014 for ac_header in libudev.h
13015 do :
13016 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13017 if test "x$ac_cv_header_libudev_h" = xyes; then :
13018 cat >>confdefs.h <<_ACEOF
13019 #define HAVE_LIBUDEV_H 1
13020 _ACEOF
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13022 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13023 if ${ac_cv_lib_udev_udev_new+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-ludev $UDEV_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char udev_new ();
13039 main ()
13041 return udev_new ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_udev_udev_new=yes
13048 else
13049 ac_cv_lib_udev_udev_new=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13056 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13057 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13059 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13061 else
13062 UDEV_LIBS=""
13065 else
13066 UDEV_LIBS=""
13069 done
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$UDEV_LIBS" = "x"; then :
13077 case "x$with_udev" in
13078 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13081 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13082 esac
13086 if test "x$with_capi" != "xno"
13087 then
13088 if ${CAPI20_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13094 if ${CAPI20_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13101 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13105 for ac_header in capi20.h linux/capi.h
13106 do :
13107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13111 cat >>confdefs.h <<_ACEOF
13112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13113 _ACEOF
13117 done
13119 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13120 then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13122 $as_echo_n "checking for -lcapi20... " >&6; }
13123 if ${ac_cv_lib_soname_capi20+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 ac_check_soname_save_LIBS=$LIBS
13127 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char capi20_register ();
13139 main ()
13141 return capi20_register ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 case "$LIBEXT" in
13148 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13149 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'` ;;
13150 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13151 if ${ac_cv_lib_soname_capi20:+false} :; then :
13152 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13153 fi ;;
13154 esac
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_soname_save_LIBS
13160 if ${ac_cv_lib_soname_capi20:+false} :; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13162 $as_echo "not found" >&6; }
13164 else
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13166 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13168 cat >>confdefs.h <<_ACEOF
13169 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13170 _ACEOF
13175 CPPFLAGS=$ac_save_CPPFLAGS
13176 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13177 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13180 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13181 case "x$with_capi" in
13182 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13183 xno) ;;
13184 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13185 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13186 esac
13190 CUPS_CFLAGS=""
13192 if test "x$with_cups" != "xno"
13193 then
13194 ac_save_CPPFLAGS="$CPPFLAGS"
13195 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13196 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13197 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13198 for ac_header in cups/cups.h
13199 do :
13200 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13201 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13202 cat >>confdefs.h <<_ACEOF
13203 #define HAVE_CUPS_CUPS_H 1
13204 _ACEOF
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13206 $as_echo_n "checking for -lcups... " >&6; }
13207 if ${ac_cv_lib_soname_cups+:} false; then :
13208 $as_echo_n "(cached) " >&6
13209 else
13210 ac_check_soname_save_LIBS=$LIBS
13211 LIBS="-lcups $ac_cups_libs $LIBS"
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13218 #ifdef __cplusplus
13219 extern "C"
13220 #endif
13221 char cupsGetDefault ();
13223 main ()
13225 return cupsGetDefault ();
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_link "$LINENO"; then :
13231 case "$LIBEXT" in
13232 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13233 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'` ;;
13234 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13235 if ${ac_cv_lib_soname_cups:+false} :; then :
13236 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13237 fi ;;
13238 esac
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_soname_save_LIBS
13244 if ${ac_cv_lib_soname_cups:+false} :; then :
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13246 $as_echo "not found" >&6; }
13248 else
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13250 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13252 cat >>confdefs.h <<_ACEOF
13253 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13254 _ACEOF
13256 CUPS_CFLAGS="$ac_cups_cflags"
13258 for ac_header in cups/ppd.h
13259 do :
13260 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define HAVE_CUPS_PPD_H 1
13264 _ACEOF
13268 done
13272 done
13274 CPPFLAGS="$ac_save_CPPFLAGS"
13276 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13277 case "x$with_cups" in
13278 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13279 xno) ;;
13280 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13281 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13282 esac
13286 if test "x$with_fontconfig" != "xno"
13287 then
13288 if ${FONTCONFIG_CFLAGS:+false} :; then :
13289 if ${PKG_CONFIG+:} false; then :
13290 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13293 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13294 if ${FONTCONFIG_LIBS:+false} :; then :
13295 if ${PKG_CONFIG+:} false; then :
13296 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13299 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13301 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13302 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13303 ac_save_CPPFLAGS=$CPPFLAGS
13304 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13305 for ac_header in fontconfig/fontconfig.h
13306 do :
13307 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13308 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13309 cat >>confdefs.h <<_ACEOF
13310 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13311 _ACEOF
13315 done
13317 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13318 then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13320 $as_echo_n "checking for -lfontconfig... " >&6; }
13321 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 ac_check_soname_save_LIBS=$LIBS
13325 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 #ifdef __cplusplus
13333 extern "C"
13334 #endif
13335 char FcInit ();
13337 main ()
13339 return FcInit ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 case "$LIBEXT" in
13346 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13347 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'` ;;
13348 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13349 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13350 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13351 fi ;;
13352 esac
13354 rm -f core conftest.err conftest.$ac_objext \
13355 conftest$ac_exeext conftest.$ac_ext
13356 LIBS=$ac_check_soname_save_LIBS
13358 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13360 $as_echo "not found" >&6; }
13361 FONTCONFIG_CFLAGS=""
13362 else
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13364 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13366 cat >>confdefs.h <<_ACEOF
13367 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13368 _ACEOF
13372 else
13373 FONTCONFIG_CFLAGS=""
13375 CPPFLAGS=$ac_save_CPPFLAGS
13376 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13377 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13380 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13381 case "x$with_fontconfig" in
13382 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13383 xno) ;;
13384 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13385 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13386 esac
13390 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13391 then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13393 $as_echo_n "checking for -lgsm... " >&6; }
13394 if ${ac_cv_lib_soname_gsm+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 ac_check_soname_save_LIBS=$LIBS
13398 LIBS="-lgsm $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 char gsm_create ();
13410 main ()
13412 return gsm_create ();
13414 return 0;
13416 _ACEOF
13417 if ac_fn_c_try_link "$LINENO"; then :
13418 case "$LIBEXT" in
13419 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13420 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'` ;;
13421 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13422 if ${ac_cv_lib_soname_gsm:+false} :; then :
13423 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13424 fi ;;
13425 esac
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_gsm:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13435 else
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13437 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13439 cat >>confdefs.h <<_ACEOF
13440 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13441 _ACEOF
13446 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13447 case "x$with_gsm" in
13448 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13449 xno) ;;
13450 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13451 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13452 esac
13456 if test "x$with_jpeg" != "xno"
13457 then
13458 if ${JPEG_CFLAGS:+false} :; then :
13459 if ${PKG_CONFIG+:} false; then :
13460 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13464 if ${JPEG_LIBS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13471 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13472 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13473 ac_save_CPPFLAGS=$CPPFLAGS
13474 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13475 for ac_header in jpeglib.h
13476 do :
13477 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13478 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13479 cat >>confdefs.h <<_ACEOF
13480 #define HAVE_JPEGLIB_H 1
13481 _ACEOF
13485 done
13487 if test "$ac_cv_header_jpeglib_h" = "yes"
13488 then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13490 $as_echo_n "checking for -ljpeg... " >&6; }
13491 if ${ac_cv_lib_soname_jpeg+:} false; then :
13492 $as_echo_n "(cached) " >&6
13493 else
13494 ac_check_soname_save_LIBS=$LIBS
13495 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13502 #ifdef __cplusplus
13503 extern "C"
13504 #endif
13505 char jpeg_start_decompress ();
13507 main ()
13509 return jpeg_start_decompress ();
13511 return 0;
13513 _ACEOF
13514 if ac_fn_c_try_link "$LINENO"; then :
13515 case "$LIBEXT" in
13516 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13517 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'` ;;
13518 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13519 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13520 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13521 fi ;;
13522 esac
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 LIBS=$ac_check_soname_save_LIBS
13528 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13530 $as_echo "not found" >&6; }
13531 JPEG_CFLAGS=""
13532 else
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13534 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13536 cat >>confdefs.h <<_ACEOF
13537 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13538 _ACEOF
13542 else
13543 JPEG_CFLAGS=""
13545 CPPFLAGS=$ac_save_CPPFLAGS
13546 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13547 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13550 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13551 case "x$with_jpeg" in
13552 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13553 xno) ;;
13554 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13555 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13556 esac
13560 if test "x$with_png" != "xno"
13561 then
13562 if ${PNG_CFLAGS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13567 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13568 if ${PNG_LIBS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13573 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13575 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13576 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13577 ac_save_CPPFLAGS=$CPPFLAGS
13578 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13579 for ac_header in png.h
13580 do :
13581 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13582 if test "x$ac_cv_header_png_h" = xyes; then :
13583 cat >>confdefs.h <<_ACEOF
13584 #define HAVE_PNG_H 1
13585 _ACEOF
13589 done
13591 if test "$ac_cv_header_png_h" = "yes"
13592 then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13594 $as_echo_n "checking for -lpng... " >&6; }
13595 if ${ac_cv_lib_soname_png+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_check_soname_save_LIBS=$LIBS
13599 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char png_create_read_struct ();
13611 main ()
13613 return png_create_read_struct ();
13615 return 0;
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 case "$LIBEXT" in
13620 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13621 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'` ;;
13622 *) 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'`
13623 if ${ac_cv_lib_soname_png:+false} :; then :
13624 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13625 fi ;;
13626 esac
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_soname_save_LIBS
13632 if ${ac_cv_lib_soname_png:+false} :; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13634 $as_echo "not found" >&6; }
13635 PNG_CFLAGS=""
13636 else
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13638 $as_echo "$ac_cv_lib_soname_png" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13642 _ACEOF
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 #include <png.h>
13648 main ()
13650 typeof(png_set_expand_gray_1_2_4_to_8) *p
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_compile "$LINENO"; then :
13657 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13662 else
13663 PNG_CFLAGS=""
13665 CPPFLAGS=$ac_save_CPPFLAGS
13666 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13667 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13670 if test "x$ac_cv_lib_soname_png" = "x"; then :
13671 case "x$with_png" in
13672 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13673 xno) ;;
13674 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13675 This is an error since --with-png was requested." "$LINENO" 5 ;;
13676 esac
13680 if test "x$with_tiff" != "xno"
13681 then
13682 if ${TIFF_CFLAGS:+false} :; then :
13683 if ${PKG_CONFIG+:} false; then :
13684 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13688 if ${TIFF_LIBS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13695 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13697 ac_save_CPPFLAGS=$CPPFLAGS
13698 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13699 for ac_header in tiffio.h
13700 do :
13701 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13702 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_TIFFIO_H 1
13705 _ACEOF
13709 done
13711 if test "$ac_cv_header_tiffio_h" = "yes"
13712 then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13714 $as_echo_n "checking for -ltiff... " >&6; }
13715 if ${ac_cv_lib_soname_tiff+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_check_soname_save_LIBS=$LIBS
13719 LIBS="-ltiff $TIFF_LIBS $LIBS"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13726 #ifdef __cplusplus
13727 extern "C"
13728 #endif
13729 char TIFFClientOpen ();
13731 main ()
13733 return TIFFClientOpen ();
13735 return 0;
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 case "$LIBEXT" in
13740 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13741 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'` ;;
13742 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13743 if ${ac_cv_lib_soname_tiff:+false} :; then :
13744 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13745 fi ;;
13746 esac
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_soname_save_LIBS
13752 if ${ac_cv_lib_soname_tiff:+false} :; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13754 $as_echo "not found" >&6; }
13756 else
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13758 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13760 cat >>confdefs.h <<_ACEOF
13761 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13762 _ACEOF
13767 CPPFLAGS=$ac_save_CPPFLAGS
13768 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13769 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13772 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13773 case "x$with_tiff" in
13774 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13775 xno) ;;
13776 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13777 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13778 esac
13782 if test "x$with_mpg123" != "xno"
13783 then
13784 if ${MPG123_CFLAGS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13790 if ${MPG123_LIBS:+false} :; then :
13791 if ${PKG_CONFIG+:} false; then :
13792 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13796 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13797 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13798 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13799 ac_save_CPPFLAGS=$CPPFLAGS
13800 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13801 for ac_header in mpg123.h
13802 do :
13803 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13804 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13805 cat >>confdefs.h <<_ACEOF
13806 #define HAVE_MPG123_H 1
13807 _ACEOF
13811 done
13813 if test "$ac_cv_header_mpg123_h" = "yes"
13814 then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13816 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13817 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_lib_save_LIBS=$LIBS
13821 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char mpg123_feed ();
13833 main ()
13835 return mpg123_feed ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 ac_cv_lib_mpg123_mpg123_feed=yes
13842 else
13843 ac_cv_lib_mpg123_mpg123_feed=no
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_lib_save_LIBS
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13850 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13851 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13853 else
13854 MPG123_LIBS=""
13857 else
13858 MPG123_CFLAGS=""
13859 MPG123_LIBS=""
13861 CPPFLAGS=$ac_save_CPPFLAGS
13862 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13863 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13866 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13867 case "x$with_mpg123" in
13868 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13869 xno) ;;
13870 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13871 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13872 esac
13873 enable_winemp3_acm=${enable_winemp3_acm:-no}
13876 if test "$ac_cv_header_AL_al_h" = "yes"
13877 then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13879 $as_echo_n "checking for -lopenal... " >&6; }
13880 if ${ac_cv_lib_soname_openal+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_check_soname_save_LIBS=$LIBS
13884 LIBS="-lopenal $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 char alGetSource3i ();
13896 main ()
13898 return alGetSource3i ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 case "$LIBEXT" in
13905 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 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'` ;;
13907 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13908 if ${ac_cv_lib_soname_openal:+false} :; then :
13909 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13910 fi ;;
13911 esac
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_openal:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13923 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13927 _ACEOF
13929 OPENAL_LIBS="-lopenal"
13931 ac_cv_lib_openal=yes
13933 cat >>confdefs.h <<_ACEOF
13934 #define HAVE_OPENAL 1
13935 _ACEOF
13939 if test "x$ac_cv_lib_openal" != xyes; then :
13940 case "x$with_openal" in
13941 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13942 xno) ;;
13943 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13944 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13945 esac
13946 enable_openal32=${enable_openal32:-no}
13949 if test "x$ac_cv_lib_openal" = xyes
13950 then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13952 $as_echo_n "checking for openal-soft... " >&6; }
13953 if ${ac_cv_have_openalsoft+:} false; then :
13954 $as_echo_n "(cached) " >&6
13955 else
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 #include <AL/al.h>
13959 #include <AL/alc.h>
13960 #include <AL/alext.h>
13961 LPALCRENDERSAMPLESSOFT x;
13963 main ()
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_compile "$LINENO"; then :
13971 ac_cv_have_openalsoft=yes
13972 else
13973 ac_cv_have_openalsoft=no
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13978 $as_echo "$ac_cv_have_openalsoft" >&6; }
13980 if test "x$ac_cv_have_openalsoft" != xyes
13981 then
13982 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13983 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13984 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13985 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13986 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13987 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13988 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13989 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13990 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13991 enable_xapofx1_1=${enable_xapofx1_1:-no}
13992 enable_xapofx1_2=${enable_xapofx1_2:-no}
13993 enable_xapofx1_3=${enable_xapofx1_3:-no}
13994 enable_xapofx1_4=${enable_xapofx1_4:-no}
13995 enable_xapofx1_5=${enable_xapofx1_5:-no}
13996 enable_xaudio2_0=${enable_xaudio2_0:-no}
13997 enable_xaudio2_1=${enable_xaudio2_1:-no}
13998 enable_xaudio2_2=${enable_xaudio2_2:-no}
13999 enable_xaudio2_3=${enable_xaudio2_3:-no}
14000 enable_xaudio2_4=${enable_xaudio2_4:-no}
14001 enable_xaudio2_5=${enable_xaudio2_5:-no}
14002 enable_xaudio2_6=${enable_xaudio2_6:-no}
14003 enable_xaudio2_7=${enable_xaudio2_7:-no}
14004 enable_xaudio2_8=${enable_xaudio2_8:-no}
14005 enable_xaudio2_9=${enable_xaudio2_9:-no}
14008 if test "$ac_cv_header_kstat_h" = "yes"
14009 then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14011 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14012 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_check_lib_save_LIBS=$LIBS
14016 LIBS="-lkstat $LIBS"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14020 /* Override any GCC internal prototype to avoid an error.
14021 Use char because int might match the return type of a GCC
14022 builtin and then its argument prototype would still apply. */
14023 #ifdef __cplusplus
14024 extern "C"
14025 #endif
14026 char kstat_open ();
14028 main ()
14030 return kstat_open ();
14032 return 0;
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_lib_kstat_kstat_open=yes
14037 else
14038 ac_cv_lib_kstat_kstat_open=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LIBS=$ac_check_lib_save_LIBS
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14045 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14046 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14048 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14050 KSTAT_LIBS="-lkstat"
14056 if test "$ac_cv_header_libprocstat_h" = "yes"
14057 then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14059 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14060 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 ac_check_lib_save_LIBS=$LIBS
14064 LIBS="-lprocstat $LIBS"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14071 #ifdef __cplusplus
14072 extern "C"
14073 #endif
14074 char procstat_open_sysctl ();
14076 main ()
14078 return procstat_open_sysctl ();
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_lib_procstat_procstat_open_sysctl=yes
14085 else
14086 ac_cv_lib_procstat_procstat_open_sysctl=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14093 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14094 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14096 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14098 PROCSTAT_LIBS="-lprocstat"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14105 $as_echo_n "checking for -lodbc... " >&6; }
14106 if ${ac_cv_lib_soname_odbc+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_check_soname_save_LIBS=$LIBS
14110 LIBS="-lodbc $LIBS"
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14114 /* Override any GCC internal prototype to avoid an error.
14115 Use char because int might match the return type of a GCC
14116 builtin and then its argument prototype would still apply. */
14117 #ifdef __cplusplus
14118 extern "C"
14119 #endif
14120 char SQLConnect ();
14122 main ()
14124 return SQLConnect ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 case "$LIBEXT" in
14131 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14132 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'` ;;
14133 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14134 if ${ac_cv_lib_soname_odbc:+false} :; then :
14135 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14136 fi ;;
14137 esac
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 LIBS=$ac_check_soname_save_LIBS
14143 if ${ac_cv_lib_soname_odbc:+false} :; then :
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14145 $as_echo "not found" >&6; }
14146 cat >>confdefs.h <<_ACEOF
14147 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14148 _ACEOF
14150 else
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14152 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14154 cat >>confdefs.h <<_ACEOF
14155 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14156 _ACEOF
14161 if test "x$with_netapi" != "xno"
14162 then
14163 if ${NETAPI_CFLAGS:+false} :; then :
14164 if ${PKG_CONFIG+:} false; then :
14165 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14169 if ${NETAPI_LIBS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14176 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14177 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14178 ac_save_CPPFLAGS=$CPPFLAGS
14179 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14181 $as_echo_n "checking for -lnetapi... " >&6; }
14182 if ${ac_cv_lib_soname_netapi+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_check_soname_save_LIBS=$LIBS
14186 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14190 /* Override any GCC internal prototype to avoid an error.
14191 Use char because int might match the return type of a GCC
14192 builtin and then its argument prototype would still apply. */
14193 #ifdef __cplusplus
14194 extern "C"
14195 #endif
14196 char libnetapi_init ();
14198 main ()
14200 return libnetapi_init ();
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 case "$LIBEXT" in
14207 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14208 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'` ;;
14209 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14210 if ${ac_cv_lib_soname_netapi:+false} :; then :
14211 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14212 fi ;;
14213 esac
14215 rm -f core conftest.err conftest.$ac_objext \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_soname_save_LIBS
14219 if ${ac_cv_lib_soname_netapi:+false} :; then :
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14221 $as_echo "not found" >&6; }
14222 cat >>confdefs.h <<_ACEOF
14223 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14224 _ACEOF
14226 else
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14228 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14230 cat >>confdefs.h <<_ACEOF
14231 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14232 _ACEOF
14236 CPPFLAGS=$ac_save_CPPFLAGS
14237 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14238 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14242 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14243 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14244 then
14245 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14249 EXTRACFLAGS=""
14251 if test "x${GCC}" = "xyes"
14252 then
14253 EXTRACFLAGS="-Wall -pipe"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14256 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14257 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 if test "$cross_compiling" = yes; then :
14261 ac_cv_c_gcc_strength_bug="no"
14262 else
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int L[4] = {0,1,2,3};
14267 main ()
14269 static int Array[3];
14270 unsigned int B = 3;
14271 int i;
14272 for(i=0; i<B; i++) Array[i] = i - 3;
14273 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14274 L[i] = 4;
14275 return (Array[1] != -2 || L[2] != 3)
14277 return 0;
14279 _ACEOF
14280 if ac_fn_c_try_run "$LINENO"; then :
14281 ac_cv_c_gcc_strength_bug="no"
14282 else
14283 ac_cv_c_gcc_strength_bug="yes"
14285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14286 conftest.$ac_objext conftest.beam conftest.$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14291 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14292 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14293 then
14294 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14298 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14299 if ${ac_cv_cflags__fno_builtin+:} false; then :
14300 $as_echo_n "(cached) " >&6
14301 else
14302 ac_wine_try_cflags_saved=$CFLAGS
14303 CFLAGS="$CFLAGS -fno-builtin"
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14306 int main(int argc, char **argv) { return 0; }
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 ac_cv_cflags__fno_builtin=yes
14310 else
14311 ac_cv_cflags__fno_builtin=no
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext conftest.$ac_ext
14315 CFLAGS=$ac_wine_try_cflags_saved
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14318 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14319 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14320 BUILTINFLAG="-fno-builtin"
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14324 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14325 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 ac_wine_try_cflags_saved=$CFLAGS
14329 CFLAGS="$CFLAGS -fno-strict-aliasing"
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14332 int main(int argc, char **argv) { return 0; }
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_cflags__fno_strict_aliasing=yes
14336 else
14337 ac_cv_cflags__fno_strict_aliasing=no
14339 rm -f core conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14341 CFLAGS=$ac_wine_try_cflags_saved
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14344 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14345 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14346 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14349 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14350 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14351 $as_echo_n "(cached) " >&6
14352 else
14353 ac_wine_try_cflags_saved=$CFLAGS
14354 CFLAGS="$CFLAGS -fexcess-precision=standard"
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14357 int main(int argc, char **argv) { return 0; }
14358 _ACEOF
14359 if ac_fn_c_try_link "$LINENO"; then :
14360 ac_cv_cflags__fexcess_precision_standard=yes
14361 else
14362 ac_cv_cflags__fexcess_precision_standard=no
14364 rm -f core conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14366 CFLAGS=$ac_wine_try_cflags_saved
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14369 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14370 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14371 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14374 saved_CFLAGS=$CFLAGS
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14376 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14377 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_wine_try_cflags_saved=$CFLAGS
14381 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_cflags__Werror_unknown_warning_option=yes
14388 else
14389 ac_cv_cflags__Werror_unknown_warning_option=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14396 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14397 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14398 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14401 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14402 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_cflags__Wdeclaration_after_statement=yes
14413 else
14414 ac_cv_cflags__Wdeclaration_after_statement=no
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14421 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14422 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14423 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14426 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14427 if ${ac_cv_cflags__Wempty_body+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_wine_try_cflags_saved=$CFLAGS
14431 CFLAGS="$CFLAGS -Wempty-body"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 int main(int argc, char **argv) { return 0; }
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_cflags__Wempty_body=yes
14438 else
14439 ac_cv_cflags__Wempty_body=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 CFLAGS=$ac_wine_try_cflags_saved
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14446 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14447 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14448 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14451 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14452 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_wine_try_cflags_saved=$CFLAGS
14456 CFLAGS="$CFLAGS -Wignored-qualifiers"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 int main(int argc, char **argv) { return 0; }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 ac_cv_cflags__Wignored_qualifiers=yes
14463 else
14464 ac_cv_cflags__Wignored_qualifiers=no
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 CFLAGS=$ac_wine_try_cflags_saved
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14471 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14472 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14473 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14476 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14477 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 ac_wine_try_cflags_saved=$CFLAGS
14481 CFLAGS="$CFLAGS -Wshift-overflow=2"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 int main(int argc, char **argv) { return 0; }
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_cflags__Wshift_overflow_2=yes
14488 else
14489 ac_cv_cflags__Wshift_overflow_2=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 CFLAGS=$ac_wine_try_cflags_saved
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14496 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14497 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14498 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14501 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14502 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14503 $as_echo_n "(cached) " >&6
14504 else
14505 ac_wine_try_cflags_saved=$CFLAGS
14506 CFLAGS="$CFLAGS -Wstrict-prototypes"
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int main(int argc, char **argv) { return 0; }
14510 _ACEOF
14511 if ac_fn_c_try_link "$LINENO"; then :
14512 ac_cv_cflags__Wstrict_prototypes=yes
14513 else
14514 ac_cv_cflags__Wstrict_prototypes=no
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 CFLAGS=$ac_wine_try_cflags_saved
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14521 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14522 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14523 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14526 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14527 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_wine_try_cflags_saved=$CFLAGS
14531 CFLAGS="$CFLAGS -Wtype-limits"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 int main(int argc, char **argv) { return 0; }
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 ac_cv_cflags__Wtype_limits=yes
14538 else
14539 ac_cv_cflags__Wtype_limits=no
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14546 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14547 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14548 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14551 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14552 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14553 $as_echo_n "(cached) " >&6
14554 else
14555 ac_wine_try_cflags_saved=$CFLAGS
14556 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 int main(int argc, char **argv) { return 0; }
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_cflags__Wunused_but_set_parameter=yes
14563 else
14564 ac_cv_cflags__Wunused_but_set_parameter=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 CFLAGS=$ac_wine_try_cflags_saved
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14571 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14572 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14573 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14576 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14577 if ${ac_cv_cflags__Wvla+:} false; then :
14578 $as_echo_n "(cached) " >&6
14579 else
14580 ac_wine_try_cflags_saved=$CFLAGS
14581 CFLAGS="$CFLAGS -Wvla"
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14584 int main(int argc, char **argv) { return 0; }
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_cflags__Wvla=yes
14588 else
14589 ac_cv_cflags__Wvla=no
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14593 CFLAGS=$ac_wine_try_cflags_saved
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14596 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14597 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14598 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14601 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14602 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_wine_try_cflags_saved=$CFLAGS
14606 CFLAGS="$CFLAGS -Wwrite-strings"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14609 int main(int argc, char **argv) { return 0; }
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"; then :
14612 ac_cv_cflags__Wwrite_strings=yes
14613 else
14614 ac_cv_cflags__Wwrite_strings=no
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14618 CFLAGS=$ac_wine_try_cflags_saved
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14621 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14622 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14623 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14627 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14628 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 ac_wine_try_cflags_saved=$CFLAGS
14632 CFLAGS="$CFLAGS -Wpointer-arith"
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 int main(int argc, char **argv) { return 0; }
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"; then :
14638 ac_cv_cflags__Wpointer_arith=yes
14639 else
14640 ac_cv_cflags__Wpointer_arith=no
14642 rm -f core conftest.err conftest.$ac_objext \
14643 conftest$ac_exeext conftest.$ac_ext
14644 CFLAGS=$ac_wine_try_cflags_saved
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14647 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14648 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14649 saved_string_h_CFLAGS=$CFLAGS
14650 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14652 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14653 if ${ac_cv_c_string_h_warnings+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 #include <string.h>
14660 main ()
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_compile "$LINENO"; then :
14668 ac_cv_c_string_h_warnings=no
14669 else
14670 ac_cv_c_string_h_warnings=yes
14672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14675 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14676 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14677 CFLAGS=$saved_string_h_CFLAGS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14681 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14682 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_wine_try_cflags_saved=$CFLAGS
14686 CFLAGS="$CFLAGS -Wlogical-op"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int main(int argc, char **argv) { return 0; }
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_cflags__Wlogical_op=yes
14693 else
14694 ac_cv_cflags__Wlogical_op=no
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 CFLAGS=$ac_wine_try_cflags_saved
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14701 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14702 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14703 saved_string_h_CFLAGS=$CFLAGS
14704 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14706 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14707 if ${ac_cv_c_logicalop_noisy+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 #include <string.h>
14713 char*f(const char *h,char n) {return strchr(h,n);}
14715 main ()
14719 return 0;
14721 _ACEOF
14722 if ac_fn_c_try_compile "$LINENO"; then :
14723 ac_cv_c_logicalop_noisy=no
14724 else
14725 ac_cv_c_logicalop_noisy=yes
14727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14730 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14731 CFLAGS=$saved_string_h_CFLAGS
14732 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14735 CFLAGS=$saved_CFLAGS
14737 for ac_flag in $CFLAGS; do
14738 case $ac_flag in
14739 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14740 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14741 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_wine_try_cflags_saved=$CFLAGS
14745 CFLAGS="$CFLAGS -gdwarf-2"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 int main(int argc, char **argv) { return 0; }
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_cflags__gdwarf_2=yes
14752 else
14753 ac_cv_cflags__gdwarf_2=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 CFLAGS=$ac_wine_try_cflags_saved
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14760 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14761 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14762 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14765 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14766 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 ac_wine_try_cflags_saved=$CFLAGS
14770 CFLAGS="$CFLAGS -gstrict-dwarf"
14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14773 int main(int argc, char **argv) { return 0; }
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"; then :
14776 ac_cv_cflags__gstrict_dwarf=yes
14777 else
14778 ac_cv_cflags__gstrict_dwarf=no
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 CFLAGS=$ac_wine_try_cflags_saved
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14785 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14786 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14787 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14788 fi ;;
14789 esac
14790 done
14792 case $host_cpu in
14793 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14794 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14795 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 ac_wine_try_cflags_saved=$CFLAGS
14799 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 int main(int argc, char **argv) { return 0; }
14803 _ACEOF
14804 if ac_fn_c_try_link "$LINENO"; then :
14805 ac_cv_cflags__fno_omit_frame_pointer=yes
14806 else
14807 ac_cv_cflags__fno_omit_frame_pointer=no
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 CFLAGS=$ac_wine_try_cflags_saved
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14814 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14815 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14816 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14817 fi ;;
14818 esac
14820 case $host in
14821 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14822 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14823 if ${ac_cv_cflags__Wno_format+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 ac_wine_try_cflags_saved=$CFLAGS
14827 CFLAGS="$CFLAGS -Wno-format"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14830 int main(int argc, char **argv) { return 0; }
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_cflags__Wno_format=yes
14834 else
14835 ac_cv_cflags__Wno_format=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 CFLAGS=$ac_wine_try_cflags_saved
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14842 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14843 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14844 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14845 fi ;;
14846 esac
14848 if test "x$enable_maintainer_mode" = "xyes"
14849 then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14851 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14852 if ${ac_cv_cflags__Werror+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 ac_wine_try_cflags_saved=$CFLAGS
14856 CFLAGS="$CFLAGS -Werror"
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14859 int main(int argc, char **argv) { return 0; }
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"; then :
14862 ac_cv_cflags__Werror=yes
14863 else
14864 ac_cv_cflags__Werror=no
14866 rm -f core conftest.err conftest.$ac_objext \
14867 conftest$ac_exeext conftest.$ac_ext
14868 CFLAGS=$ac_wine_try_cflags_saved
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14871 $as_echo "$ac_cv_cflags__Werror" >&6; }
14872 if test "x$ac_cv_cflags__Werror" = xyes; then :
14873 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14877 saved_CFLAGS="$CFLAGS"
14878 CFLAGS="$CFLAGS -Werror"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14880 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14881 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14888 main ()
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_compile "$LINENO"; then :
14896 ac_cv_have_ms_hook_prologue="yes"
14897 else
14898 ac_cv_have_ms_hook_prologue="no"
14900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14903 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14904 CFLAGS="$saved_CFLAGS"
14905 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14906 then
14908 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14910 else
14911 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14918 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14919 if ${ac_cv_c_fortify_enabled+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #include <string.h>
14926 main ()
14928 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14929 #error Fortify enabled
14930 #endif
14932 return 0;
14934 _ACEOF
14935 if ac_fn_c_try_compile "$LINENO"; then :
14936 ac_cv_c_fortify_enabled=no
14937 else
14938 ac_cv_c_fortify_enabled=yes
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14943 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14944 if test "$ac_cv_c_fortify_enabled" = yes
14945 then
14946 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14951 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14952 if ${ac_cv_c_extern_prefix+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 extern int ac_test;
14959 main ()
14961 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14963 return 0;
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"; then :
14967 ac_cv_c_extern_prefix="yes"
14968 else
14969 ac_cv_c_extern_prefix="no"
14971 rm -f core conftest.err conftest.$ac_objext \
14972 conftest$ac_exeext conftest.$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14975 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14977 case $host_cpu in
14978 *i[3456789]86*)
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14980 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14981 if ${ac_cv_c_stdcall_suffix+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 #ifndef _MSC_VER
14987 #define __stdcall __attribute__((__stdcall__))
14988 #endif
14989 int __stdcall ac_test(int i) { return i; }
14991 main ()
14993 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"; then :
14999 ac_cv_c_stdcall_suffix="yes"
15000 else
15001 ac_cv_c_stdcall_suffix="no"
15003 rm -f core conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15007 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15008 *) ac_cv_c_stdcall_suffix="no" ;;
15009 esac
15012 if test "$ac_cv_c_extern_prefix" = "yes"
15013 then
15014 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15016 asm_name_prefix="_"
15017 else
15018 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15020 asm_name_prefix=""
15024 if test "$ac_cv_c_stdcall_suffix" = "yes"
15025 then
15026 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15028 else
15029 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15035 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15036 if ${ac_cv_asm_func_def+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15043 main ()
15045 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 ac_cv_asm_func_def=".def"
15052 else
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15057 main ()
15059 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_asm_func_def=".type @function"
15066 else
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15071 main ()
15073 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_asm_func_def=".type 2"
15080 else
15081 ac_cv_asm_func_def="unknown"
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15093 $as_echo "$ac_cv_asm_func_def" >&6; }
15096 case "$ac_cv_asm_func_def" in
15097 ".def")
15098 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15100 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15101 ".type @function")
15102 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15104 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15105 ".type 2")
15106 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15108 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15110 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15112 asm_func_header="" ;;
15113 esac
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15116 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15117 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 asm(".text\n\t.long 0");
15124 main ()
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_compile "$LINENO"; then :
15132 ac_cv_c_asm_outside_funcs="yes"
15133 else
15134 ac_cv_c_asm_outside_funcs="no"
15136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15139 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15142 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15143 if ${ac_cv_c_dot_previous+:} false; then :
15144 $as_echo_n "(cached) " >&6
15145 else
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15150 main ()
15152 asm(".text\nac_test:\t.long 0\n\t.previous");
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_c_dot_previous="yes"
15159 else
15160 ac_cv_c_dot_previous="no"
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15166 $as_echo "$ac_cv_c_dot_previous" >&6; }
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15169 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15170 if ${ac_cv_c_cfi_support+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15175 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15177 main ()
15181 return 0;
15183 _ACEOF
15184 if ac_fn_c_try_compile "$LINENO"; then :
15185 ac_cv_c_cfi_support="yes"
15186 else
15187 ac_cv_c_cfi_support="no"
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15192 $as_echo "$ac_cv_c_cfi_support" >&6; }
15194 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15195 asm_func_trailer=""
15196 if test "$ac_cv_c_dot_previous" = "yes"
15197 then
15198 asm_func_trailer="\\n\\t.previous"
15200 if test "$ac_cv_c_cfi_support" = "yes"
15201 then
15202 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15203 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15205 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15207 UNWINDFLAGS=-fasynchronous-unwind-tables
15209 else
15210 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15212 if test "x$enable_win64" = "xyes"
15213 then
15214 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15218 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15221 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15222 then
15223 cat >>confdefs.h <<_ACEOF
15224 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15225 _ACEOF
15227 else
15228 cat >>confdefs.h <<_ACEOF
15229 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15230 _ACEOF
15234 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15237 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15241 case $build_os in
15242 cygwin*|mingw32*) TOOLSEXT=".exe"
15244 esac
15246 case $host_os in
15247 linux-android*) ;;
15248 linux*)
15249 case $host_cpu in
15250 *i[3456789]86*|x86_64*)
15251 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15252 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15254 esac
15256 esac
15259 ac_save_CFLAGS="$CFLAGS"
15260 CFLAGS="$CFLAGS $BUILTINFLAG"
15261 for ac_func in \
15262 __res_get_state \
15263 __res_getservers \
15264 _finite \
15265 _isnan \
15266 _pclose \
15267 _popen \
15268 _snprintf \
15269 _spawnvp \
15270 _strdup \
15271 _stricmp \
15272 _strnicmp \
15273 _strtoi64 \
15274 _strtoui64 \
15275 _vsnprintf \
15276 asctime_r \
15277 chsize \
15278 dlopen \
15279 epoll_create \
15280 ffs \
15281 finitef \
15282 fnmatch \
15283 fork \
15284 fpclass \
15285 fstatfs \
15286 fstatvfs \
15287 ftruncate \
15288 futimens \
15289 futimes \
15290 futimesat \
15291 getattrlist \
15292 getopt_long_only \
15293 getpwuid \
15294 gettimeofday \
15295 getuid \
15296 if_nameindex \
15297 isnanf \
15298 kqueue \
15299 lstat \
15300 memmove \
15301 mmap \
15302 pclose \
15303 pipe2 \
15304 poll \
15305 popen \
15306 port_create \
15307 prctl \
15308 pread \
15309 proc_pidinfo \
15310 pwrite \
15311 readdir \
15312 readlink \
15313 sched_yield \
15314 select \
15315 setproctitle \
15316 setprogname \
15317 setrlimit \
15318 settimeofday \
15319 sigaltstack \
15320 sigprocmask \
15321 snprintf \
15322 statfs \
15323 statvfs \
15324 strcasecmp \
15325 strdup \
15326 strerror \
15327 strncasecmp \
15328 strtold \
15329 strtoll \
15330 strtoull \
15331 symlink \
15332 sysinfo \
15333 tcdrain \
15334 thr_kill2 \
15335 timegm \
15336 usleep \
15337 vsnprintf
15339 do :
15340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15343 cat >>confdefs.h <<_ACEOF
15344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15345 _ACEOF
15348 done
15350 CFLAGS="$ac_save_CFLAGS"
15352 if test "$ac_cv_func_dlopen" = no
15353 then
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15355 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15356 if ${ac_cv_lib_dl_dlopen+:} false; then :
15357 $as_echo_n "(cached) " >&6
15358 else
15359 ac_check_lib_save_LIBS=$LIBS
15360 LIBS="-ldl $LIBS"
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15364 /* Override any GCC internal prototype to avoid an error.
15365 Use char because int might match the return type of a GCC
15366 builtin and then its argument prototype would still apply. */
15367 #ifdef __cplusplus
15368 extern "C"
15369 #endif
15370 char dlopen ();
15372 main ()
15374 return dlopen ();
15376 return 0;
15378 _ACEOF
15379 if ac_fn_c_try_link "$LINENO"; then :
15380 ac_cv_lib_dl_dlopen=yes
15381 else
15382 ac_cv_lib_dl_dlopen=no
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_lib_save_LIBS
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15389 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15390 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15391 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15392 DL_LIBS="-ldl"
15397 ac_wine_check_funcs_save_LIBS="$LIBS"
15398 LIBS="$LIBS $DL_LIBS"
15399 for ac_func in dladdr
15400 do :
15401 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15402 if test "x$ac_cv_func_dladdr" = xyes; then :
15403 cat >>confdefs.h <<_ACEOF
15404 #define HAVE_DLADDR 1
15405 _ACEOF
15408 done
15410 LIBS="$ac_wine_check_funcs_save_LIBS"
15412 if test "$ac_cv_func_poll" = no
15413 then
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15415 $as_echo_n "checking for poll in -lpoll... " >&6; }
15416 if ${ac_cv_lib_poll_poll+:} false; then :
15417 $as_echo_n "(cached) " >&6
15418 else
15419 ac_check_lib_save_LIBS=$LIBS
15420 LIBS="-lpoll $LIBS"
15421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15424 /* Override any GCC internal prototype to avoid an error.
15425 Use char because int might match the return type of a GCC
15426 builtin and then its argument prototype would still apply. */
15427 #ifdef __cplusplus
15428 extern "C"
15429 #endif
15430 char poll ();
15432 main ()
15434 return poll ();
15436 return 0;
15438 _ACEOF
15439 if ac_fn_c_try_link "$LINENO"; then :
15440 ac_cv_lib_poll_poll=yes
15441 else
15442 ac_cv_lib_poll_poll=no
15444 rm -f core conftest.err conftest.$ac_objext \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_lib_save_LIBS
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15449 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15450 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15451 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15452 POLL_LIBS="-lpoll"
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15459 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15460 if ${ac_cv_search_gethostbyname+:} false; then :
15461 $as_echo_n "(cached) " >&6
15462 else
15463 ac_func_search_save_LIBS=$LIBS
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char gethostbyname ();
15475 main ()
15477 return gethostbyname ();
15479 return 0;
15481 _ACEOF
15482 for ac_lib in '' nsl; do
15483 if test -z "$ac_lib"; then
15484 ac_res="none required"
15485 else
15486 ac_res=-l$ac_lib
15487 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15489 if ac_fn_c_try_link "$LINENO"; then :
15490 ac_cv_search_gethostbyname=$ac_res
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext
15494 if ${ac_cv_search_gethostbyname+:} false; then :
15495 break
15497 done
15498 if ${ac_cv_search_gethostbyname+:} false; then :
15500 else
15501 ac_cv_search_gethostbyname=no
15503 rm conftest.$ac_ext
15504 LIBS=$ac_func_search_save_LIBS
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15507 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15508 ac_res=$ac_cv_search_gethostbyname
15509 if test "$ac_res" != no; then :
15510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15516 $as_echo_n "checking for library containing connect... " >&6; }
15517 if ${ac_cv_search_connect+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 ac_func_search_save_LIBS=$LIBS
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 #ifdef __cplusplus
15528 extern "C"
15529 #endif
15530 char connect ();
15532 main ()
15534 return connect ();
15536 return 0;
15538 _ACEOF
15539 for ac_lib in '' socket; do
15540 if test -z "$ac_lib"; then
15541 ac_res="none required"
15542 else
15543 ac_res=-l$ac_lib
15544 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15546 if ac_fn_c_try_link "$LINENO"; then :
15547 ac_cv_search_connect=$ac_res
15549 rm -f core conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext
15551 if ${ac_cv_search_connect+:} false; then :
15552 break
15554 done
15555 if ${ac_cv_search_connect+:} false; then :
15557 else
15558 ac_cv_search_connect=no
15560 rm conftest.$ac_ext
15561 LIBS=$ac_func_search_save_LIBS
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15564 $as_echo "$ac_cv_search_connect" >&6; }
15565 ac_res=$ac_cv_search_connect
15566 if test "$ac_res" != no; then :
15567 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15573 $as_echo_n "checking for library containing inet_aton... " >&6; }
15574 if ${ac_cv_search_inet_aton+:} false; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 ac_func_search_save_LIBS=$LIBS
15578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15581 /* Override any GCC internal prototype to avoid an error.
15582 Use char because int might match the return type of a GCC
15583 builtin and then its argument prototype would still apply. */
15584 #ifdef __cplusplus
15585 extern "C"
15586 #endif
15587 char inet_aton ();
15589 main ()
15591 return inet_aton ();
15593 return 0;
15595 _ACEOF
15596 for ac_lib in '' resolv; do
15597 if test -z "$ac_lib"; then
15598 ac_res="none required"
15599 else
15600 ac_res=-l$ac_lib
15601 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15603 if ac_fn_c_try_link "$LINENO"; then :
15604 ac_cv_search_inet_aton=$ac_res
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext
15608 if ${ac_cv_search_inet_aton+:} false; then :
15609 break
15611 done
15612 if ${ac_cv_search_inet_aton+:} false; then :
15614 else
15615 ac_cv_search_inet_aton=no
15617 rm conftest.$ac_ext
15618 LIBS=$ac_func_search_save_LIBS
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15621 $as_echo "$ac_cv_search_inet_aton" >&6; }
15622 ac_res=$ac_cv_search_inet_aton
15623 if test "$ac_res" != no; then :
15624 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15629 for ac_func in \
15630 getaddrinfo \
15631 getnameinfo \
15632 getnetbyname \
15633 getprotobyname \
15634 getprotobynumber \
15635 getservbyport \
15636 inet_addr \
15637 inet_network \
15638 inet_ntop \
15639 inet_pton \
15640 sendmsg \
15641 socketpair \
15643 do :
15644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15649 _ACEOF
15652 done
15655 ac_save_LIBS=$LIBS
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15657 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15658 if ${ac_cv_search_clock_gettime+:} false; then :
15659 $as_echo_n "(cached) " >&6
15660 else
15661 ac_func_search_save_LIBS=$LIBS
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 #ifdef __cplusplus
15669 extern "C"
15670 #endif
15671 char clock_gettime ();
15673 main ()
15675 return clock_gettime ();
15677 return 0;
15679 _ACEOF
15680 for ac_lib in '' rt; do
15681 if test -z "$ac_lib"; then
15682 ac_res="none required"
15683 else
15684 ac_res=-l$ac_lib
15685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15687 if ac_fn_c_try_link "$LINENO"; then :
15688 ac_cv_search_clock_gettime=$ac_res
15690 rm -f core conftest.err conftest.$ac_objext \
15691 conftest$ac_exeext
15692 if ${ac_cv_search_clock_gettime+:} false; then :
15693 break
15695 done
15696 if ${ac_cv_search_clock_gettime+:} false; then :
15698 else
15699 ac_cv_search_clock_gettime=no
15701 rm conftest.$ac_ext
15702 LIBS=$ac_func_search_save_LIBS
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15705 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15706 ac_res=$ac_cv_search_clock_gettime
15707 if test "$ac_res" != no; then :
15708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15710 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15712 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15716 LIBS=$ac_save_LIBS
15718 LDAP_LIBS=""
15720 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15721 then
15722 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15724 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15726 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15727 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15728 $as_echo_n "(cached) " >&6
15729 else
15730 ac_check_lib_save_LIBS=$LIBS
15731 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15735 /* Override any GCC internal prototype to avoid an error.
15736 Use char because int might match the return type of a GCC
15737 builtin and then its argument prototype would still apply. */
15738 #ifdef __cplusplus
15739 extern "C"
15740 #endif
15741 char ldap_initialize ();
15743 main ()
15745 return ldap_initialize ();
15747 return 0;
15749 _ACEOF
15750 if ac_fn_c_try_link "$LINENO"; then :
15751 ac_cv_lib_ldap_r_ldap_initialize=yes
15752 else
15753 ac_cv_lib_ldap_r_ldap_initialize=no
15755 rm -f core conftest.err conftest.$ac_objext \
15756 conftest$ac_exeext conftest.$ac_ext
15757 LIBS=$ac_check_lib_save_LIBS
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15760 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15761 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15763 $as_echo_n "checking for ber_init in -llber... " >&6; }
15764 if ${ac_cv_lib_lber_ber_init+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_check_lib_save_LIBS=$LIBS
15768 LIBS="-llber $PTHREAD_LIBS $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 #ifdef __cplusplus
15776 extern "C"
15777 #endif
15778 char ber_init ();
15780 main ()
15782 return ber_init ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 ac_cv_lib_lber_ber_init=yes
15789 else
15790 ac_cv_lib_lber_ber_init=no
15792 rm -f core conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_check_lib_save_LIBS
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15797 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15798 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15800 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15802 LDAP_LIBS="-lldap_r -llber"
15809 ac_wine_check_funcs_save_LIBS="$LIBS"
15810 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15811 for ac_func in \
15812 ldap_count_references \
15813 ldap_first_reference \
15814 ldap_next_reference \
15815 ldap_parse_reference \
15816 ldap_parse_sort_control \
15817 ldap_parse_sortresponse_control \
15818 ldap_parse_vlv_control \
15819 ldap_parse_vlvresponse_control
15820 do :
15821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15823 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15826 _ACEOF
15829 done
15831 LIBS="$ac_wine_check_funcs_save_LIBS"
15833 if test "x$LDAP_LIBS" = "x"; then :
15834 case "x$with_ldap" in
15835 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15836 xno) ;;
15837 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15838 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15839 esac
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15844 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15845 if ${wine_cv_one_arg_mkdir+:} false; then :
15846 $as_echo_n "(cached) " >&6
15847 else
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15850 #include <sys/stat.h>
15852 main ()
15854 mkdir("foo");
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_compile "$LINENO"; then :
15860 wine_cv_one_arg_mkdir=yes
15861 else
15862 wine_cv_one_arg_mkdir=no
15864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15867 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15868 if test "$wine_cv_one_arg_mkdir" = "yes"
15869 then
15871 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15876 $as_echo_n "checking for sched_setaffinity... " >&6; }
15877 if ${wine_cv_have_sched_setaffinity+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE
15883 #include <sched.h>
15885 main ()
15887 sched_setaffinity(0, 0, 0);
15889 return 0;
15891 _ACEOF
15892 if ac_fn_c_try_link "$LINENO"; then :
15893 wine_cv_have_sched_setaffinity=yes
15894 else
15895 wine_cv_have_sched_setaffinity=no
15897 rm -f core conftest.err conftest.$ac_objext \
15898 conftest$ac_exeext conftest.$ac_ext
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15901 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15902 if test "$wine_cv_have_sched_setaffinity" = "yes"
15903 then
15905 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15910 $as_echo_n "checking for fallocate... " >&6; }
15911 if ${wine_cv_have_fallocate+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE
15917 #include <fcntl.h>
15919 main ()
15921 fallocate(-1, 0, 0, 0);
15923 return 0;
15925 _ACEOF
15926 if ac_fn_c_try_link "$LINENO"; then :
15927 wine_cv_have_fallocate=yes
15928 else
15929 wine_cv_have_fallocate=no
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15935 $as_echo "$wine_cv_have_fallocate" >&6; }
15936 if test "$wine_cv_have_fallocate" = "yes"
15937 then
15939 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15945 $as_echo_n "checking for inline... " >&6; }
15946 if ${ac_cv_c_inline+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 ac_cv_c_inline=no
15950 for ac_kw in inline __inline__ __inline; do
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15953 #ifndef __cplusplus
15954 typedef int foo_t;
15955 static $ac_kw foo_t static_foo () {return 0; }
15956 $ac_kw foo_t foo () {return 0; }
15957 #endif
15959 _ACEOF
15960 if ac_fn_c_try_compile "$LINENO"; then :
15961 ac_cv_c_inline=$ac_kw
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 test "$ac_cv_c_inline" != no && break
15965 done
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15969 $as_echo "$ac_cv_c_inline" >&6; }
15971 case $ac_cv_c_inline in
15972 inline | yes) ;;
15974 case $ac_cv_c_inline in
15975 no) ac_val=;;
15976 *) ac_val=$ac_cv_c_inline;;
15977 esac
15978 cat >>confdefs.h <<_ACEOF
15979 #ifndef __cplusplus
15980 #define inline $ac_val
15981 #endif
15982 _ACEOF
15984 esac
15986 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_mode_t" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_MODE_T 1
15991 _ACEOF
15995 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_off_t" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_OFF_T 1
16000 _ACEOF
16004 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_pid_t" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_PID_T 1
16009 _ACEOF
16013 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16014 if test "x$ac_cv_type_size_t" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_SIZE_T 1
16018 _ACEOF
16022 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16023 if test "x$ac_cv_type_ssize_t" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_SSIZE_T 1
16027 _ACEOF
16031 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16032 if test "x$ac_cv_type_long_long" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_LONG_LONG 1
16036 _ACEOF
16040 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16041 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_FSBLKCNT_T 1
16045 _ACEOF
16049 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16050 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_FSFILCNT_T 1
16054 _ACEOF
16059 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16060 #include <signal.h>
16062 if test "x$ac_cv_type_sigset_t" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_SIGSET_T 1
16066 _ACEOF
16071 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16073 if test "x$ac_cv_type_request_sense" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_REQUEST_SENSE 1
16077 _ACEOF
16083 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16084 #ifdef HAVE_SYS_SOCKET_H
16085 #include <sys/socket.h>
16086 #endif
16087 #ifdef HAVE_SYS_SOCKETVAR_H
16088 #include <sys/socketvar.h>
16089 #endif
16090 #ifdef HAVE_NET_ROUTE_H
16091 #include <net/route.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IN_H
16094 #include <netinet/in.h>
16095 #endif
16096 #ifdef HAVE_NETINET_IN_SYSTM_H
16097 #include <netinet/in_systm.h>
16098 #endif
16099 #ifdef HAVE_NETINET_IP_H
16100 #include <netinet/ip.h>
16101 #endif
16102 #ifdef HAVE_NETINET_IN_PCB_H
16103 #include <netinet/in_pcb.h>
16104 #endif
16106 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_XINPGEN 1
16110 _ACEOF
16116 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16117 #include <link.h>
16118 #endif
16119 #ifdef HAVE_SYS_LINK_H
16120 #include <sys/link.h>
16121 #endif
16123 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_R_DEBUG 1
16127 _ACEOF
16131 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16132 #include <link.h>
16133 #endif
16134 #ifdef HAVE_SYS_LINK_H
16135 #include <sys/link.h>
16136 #endif
16138 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_LINK_MAP 1
16142 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16149 #include <linux/input.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16156 _ACEOF
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16163 $as_echo_n "checking for sigaddset... " >&6; }
16164 if ${wine_cv_have_sigaddset+:} false; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16169 #include <signal.h>
16171 main ()
16173 sigset_t set; sigaddset(&set,SIGTERM);
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 wine_cv_have_sigaddset=yes
16180 else
16181 wine_cv_have_sigaddset=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16187 $as_echo "$wine_cv_have_sigaddset" >&6; }
16188 if test "$wine_cv_have_sigaddset" = "yes"
16189 then
16191 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16197 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16198 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16199 $as_echo_n "(cached) " >&6
16200 else
16201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16203 #include <netdb.h>
16205 main ()
16208 char *name=0;
16209 struct hostent he;
16210 struct hostent *result;
16211 char *buf=0;
16212 int bufsize=0;
16213 int errnr;
16214 char *addr=0;
16215 int addrlen=0;
16216 int addrtype=0;
16217 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16218 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 wine_cv_linux_gethostbyname_r_6=yes
16226 else
16227 wine_cv_linux_gethostbyname_r_6=no
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16235 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16236 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16237 then
16239 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16243 if test "$ac_cv_header_linux_joystick_h" = "yes"
16244 then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16246 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16247 if ${wine_cv_linux_joystick_22_api+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16253 #include <sys/ioctl.h>
16254 #include <sys/types.h>
16255 #include <linux/joystick.h>
16257 struct js_event blub;
16258 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16259 #error "no 2.2 header"
16260 #endif
16263 main ()
16265 /*empty*/
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_compile "$LINENO"; then :
16271 wine_cv_linux_joystick_22_api=yes
16272 else
16273 wine_cv_linux_joystick_22_api=no
16275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16279 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16280 if test "$wine_cv_linux_joystick_22_api" = "yes"
16281 then
16283 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16289 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16292 #endif
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16295 #endif
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16298 #endif
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_BFREE 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16314 #endif
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16317 #endif
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16320 #endif
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16323 #endif
16325 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16336 #endif
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16339 #endif
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16342 #endif
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16345 #endif
16347 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_PARAM_H
16357 # include <sys/param.h>
16358 #endif
16359 #ifdef HAVE_SYS_MOUNT_H
16360 # include <sys/mount.h>
16361 #endif
16362 #ifdef HAVE_SYS_VFS_H
16363 # include <sys/vfs.h>
16364 #endif
16365 #ifdef HAVE_SYS_STATFS_H
16366 # include <sys/statfs.h>
16367 #endif
16369 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STATFS_F_FFREE 1
16373 _ACEOF
16377 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16378 #ifdef HAVE_SYS_PARAM_H
16379 # include <sys/param.h>
16380 #endif
16381 #ifdef HAVE_SYS_MOUNT_H
16382 # include <sys/mount.h>
16383 #endif
16384 #ifdef HAVE_SYS_VFS_H
16385 # include <sys/vfs.h>
16386 #endif
16387 #ifdef HAVE_SYS_STATFS_H
16388 # include <sys/statfs.h>
16389 #endif
16391 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16395 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16400 #ifdef HAVE_SYS_PARAM_H
16401 # include <sys/param.h>
16402 #endif
16403 #ifdef HAVE_SYS_MOUNT_H
16404 # include <sys/mount.h>
16405 #endif
16406 #ifdef HAVE_SYS_VFS_H
16407 # include <sys/vfs.h>
16408 #endif
16409 #ifdef HAVE_SYS_STATFS_H
16410 # include <sys/statfs.h>
16411 #endif
16413 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16417 _ACEOF
16423 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16424 #include <sys/statvfs.h>
16425 #endif
16427 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16431 _ACEOF
16437 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16438 #include <dirent.h>
16439 #endif
16441 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16452 #ifdef HAVE_SYS_SOCKET_H
16453 # include <sys/socket.h>
16454 #endif
16455 #ifdef HAVE_SYS_UN_H
16456 # include <sys/un.h>
16457 #endif
16459 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16463 _ACEOF
16467 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16468 #ifdef HAVE_SYS_SOCKET_H
16469 # include <sys/socket.h>
16470 #endif
16471 #ifdef HAVE_SYS_UN_H
16472 # include <sys/un.h>
16473 #endif
16475 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16479 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16484 #ifdef HAVE_SYS_SOCKET_H
16485 # include <sys/socket.h>
16486 #endif
16487 #ifdef HAVE_SYS_UN_H
16488 # include <sys/un.h>
16489 #endif
16491 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16495 _ACEOF
16501 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16502 #ifdef HAVE_SCSI_SG_H
16503 #include <scsi/sg.h>
16504 #endif
16506 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_SCSIREQ_T_CMD 1
16510 _ACEOF
16514 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>
16515 #ifdef HAVE_SCSI_SG_H
16516 #include <scsi/sg.h>
16517 #endif
16519 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16531 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_SIGINFO_T_SI_FD 1
16535 _ACEOF
16541 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16542 #ifdef HAVE_SYS_MTIO_H
16543 #include <sys/mtio.h>
16544 #endif
16546 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16550 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16555 #ifdef HAVE_SYS_MTIO_H
16556 #include <sys/mtio.h>
16557 #endif
16559 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16563 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16568 #ifdef HAVE_SYS_MTIO_H
16569 #include <sys/mtio.h>
16570 #endif
16572 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16576 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16583 #include <getopt.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_OPTION_NAME 1
16590 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16601 _ACEOF
16605 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_MTIM 1
16610 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16619 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_STAT_ST_CTIM 1
16628 _ACEOF
16632 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16633 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16635 cat >>confdefs.h <<_ACEOF
16636 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16637 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16642 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_STAT_ST_ATIM 1
16646 _ACEOF
16650 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16651 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16655 _ACEOF
16659 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16660 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16664 _ACEOF
16668 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16669 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16673 _ACEOF
16677 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16678 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16682 _ACEOF
16686 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16687 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16691 _ACEOF
16695 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16696 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16700 _ACEOF
16706 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
16707 #include <sys/types.h>
16708 #endif
16709 #ifdef HAVE_NETINET_IN_H
16710 #include <netinet/in.h>
16711 #endif
16713 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16715 cat >>confdefs.h <<_ACEOF
16716 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16717 _ACEOF
16723 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16724 #include <sys/types.h>
16725 #endif
16726 #ifdef HAVE_NETINET_IN_H
16727 #include <netinet/in.h>
16728 #endif
16729 #ifdef HAVE_RESOLV_H
16730 #include <resolv.h>
16731 #endif
16733 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT___RES_STATE 1
16737 _ACEOF
16743 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
16744 #include <resolv.h>
16745 #endif
16747 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16749 cat >>confdefs.h <<_ACEOF
16750 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16751 _ACEOF
16757 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16758 #include <sys/types.h>
16759 #endif
16760 #ifdef HAVE_NETINET_IN_H
16761 # include <netinet/in.h>
16762 #endif
16763 #ifdef HAVE_ARPA_NAMESER_H
16764 # include <arpa/nameser.h>
16765 #endif
16767 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_NS_MSG__MSG_PTR 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16778 #include <sys/types.h>
16779 #endif
16780 #ifdef HAVE_NETINET_IN_H
16781 #include <netinet/in.h>
16782 #endif
16783 #ifdef HAVE_NETINET_IP_H
16784 #include <netinet/ip.h>
16785 #endif
16786 #ifdef HAVE_NETINET_IP_ICMP_H
16787 #include <netinet/ip_icmp.h>
16788 #endif
16789 #ifdef HAVE_NETINET_ICMP_VAR_H
16790 #include <netinet/icmp_var.h>
16791 #endif
16793 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16797 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16804 #include <sys/types.h>
16805 #endif
16806 #ifdef HAVE_ALIAS_H
16807 #include <alias.h>
16808 #endif
16809 #ifdef HAVE_SYS_SOCKET_H
16810 #include <sys/socket.h>
16811 #endif
16812 #ifdef HAVE_SYS_SOCKETVAR_H
16813 #include <sys/socketvar.h>
16814 #endif
16815 #ifdef HAVE_SYS_TIMEOUT_H
16816 #include <sys/timeout.h>
16817 #endif
16818 #ifdef HAVE_NETINET_IN_H
16819 #include <netinet/in.h>
16820 #endif
16821 #ifdef HAVE_NETINET_IN_SYSTM_H
16822 #include <netinet/in_systm.h>
16823 #endif
16824 #ifdef HAVE_NETINET_IP_H
16825 #include <netinet/ip.h>
16826 #endif
16827 #ifdef HAVE_NETINET_IP_VAR_H
16828 #include <netinet/ip_var.h>
16829 #endif
16830 #ifdef HAVE_NETINET_IP_ICMP_H
16831 #include <netinet/ip_icmp.h>
16832 #endif
16833 #ifdef HAVE_NETINET_ICMP_VAR_H
16834 #include <netinet/icmp_var.h>
16835 #endif
16837 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16839 cat >>confdefs.h <<_ACEOF
16840 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16841 _ACEOF
16847 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16848 #include <sys/types.h>
16849 #endif
16850 #ifdef HAVE_SYS_SOCKETVAR_H
16851 #include <sys/socketvar.h>
16852 #endif
16853 #ifdef HAVE_NETINET_IN_H
16854 #include <netinet/in.h>
16855 #endif
16856 #ifdef HAVE_NETINET_IP_VAR_H
16857 #include <netinet/ip_var.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16864 _ACEOF
16870 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
16871 #include <netinet/ip_var.h>
16872 #endif
16874 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16878 _ACEOF
16884 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16885 #include <sys/types.h>
16886 #endif
16887 #ifdef HAVE_SYS_SOCKETVAR_H
16888 #include <sys/socketvar.h>
16889 #endif
16890 #ifdef HAVE_NETINET_IN_H
16891 #include <netinet/in.h>
16892 #endif
16893 #ifdef HAVE_NETINET_TCP_H
16894 #include <netinet/tcp.h>
16895 #endif
16896 #ifdef HAVE_NETINET_TCP_VAR_H
16897 #include <netinet/tcp_var.h>
16898 #endif
16900 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16904 _ACEOF
16910 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
16911 #include <netinet/tcp_var.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16918 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16925 #include <sys/types.h>
16926 #endif
16927 #ifdef HAVE_NETINET_IN_H
16928 #include <netinet/in.h>
16929 #endif
16930 #ifdef HAVE_NETINET_IP_VAR_H
16931 #include <netinet/ip_var.h>
16932 #endif
16933 #ifdef HAVE_NETINET_UDP_H
16934 #include <netinet/udp.h>
16935 #endif
16936 #ifdef HAVE_NETINET_UDP_VAR_H
16937 #include <netinet/udp_var.h>
16938 #endif
16940 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16944 _ACEOF
16950 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16951 #include <sys/types.h>
16952 #endif
16953 #ifdef HAVE_NET_IF_H
16954 # include <net/if.h>
16955 #endif
16957 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16961 _ACEOF
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16968 $as_echo_n "checking for timezone variable... " >&6; }
16969 if ${ac_cv_have_timezone+:} false; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <time.h>
16976 main ()
16978 timezone = 1
16980 return 0;
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_have_timezone="yes"
16985 else
16986 ac_cv_have_timezone="no"
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16992 $as_echo "$ac_cv_have_timezone" >&6; }
16993 if test "$ac_cv_have_timezone" = "yes"
16994 then
16996 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17000 $as_echo_n "checking for daylight variable... " >&6; }
17001 if ${ac_cv_have_daylight+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #include <time.h>
17008 main ()
17010 daylight = 1
17012 return 0;
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_have_daylight="yes"
17017 else
17018 ac_cv_have_daylight="no"
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17024 $as_echo "$ac_cv_have_daylight" >&6; }
17025 if test "$ac_cv_have_daylight" = "yes"
17026 then
17028 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17032 ac_save_LIBS="$LIBS"
17033 LIBS="$LIBS -lm"
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17035 $as_echo_n "checking for isfinite... " >&6; }
17036 if ${ac_cv_have_isfinite+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #define _GNU_SOURCE
17042 #include <math.h>
17044 main ()
17046 float f = 0.0; return isfinite(f)
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 ac_cv_have_isfinite="yes"
17053 else
17054 ac_cv_have_isfinite="no"
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17060 $as_echo "$ac_cv_have_isfinite" >&6; }
17061 if test "$ac_cv_have_isfinite" = "yes"
17062 then
17064 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17069 $as_echo_n "checking for isinf... " >&6; }
17070 if ${ac_cv_have_isinf+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <math.h>
17077 main ()
17079 float f = 0.0; return isinf(f)
17081 return 0;
17083 _ACEOF
17084 if ac_fn_c_try_link "$LINENO"; then :
17085 ac_cv_have_isinf="yes"
17086 else
17087 ac_cv_have_isinf="no"
17089 rm -f core conftest.err conftest.$ac_objext \
17090 conftest$ac_exeext conftest.$ac_ext
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17093 $as_echo "$ac_cv_have_isinf" >&6; }
17094 if test "$ac_cv_have_isinf" = "yes"
17095 then
17097 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17102 $as_echo_n "checking for isnan... " >&6; }
17103 if ${ac_cv_have_isnan+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <math.h>
17110 main ()
17112 float f = 0.0; return isnan(f)
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_have_isnan="yes"
17119 else
17120 ac_cv_have_isnan="no"
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17126 $as_echo "$ac_cv_have_isnan" >&6; }
17127 if test "$ac_cv_have_isnan" = "yes"
17128 then
17130 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17134 for ac_func in \
17135 asinh \
17136 asinhf \
17137 cbrt \
17138 cbrtf \
17139 erf \
17140 erff \
17141 exp2 \
17142 exp2f \
17143 lgamma \
17144 lgammaf \
17145 llrint \
17146 llrintf \
17147 llround \
17148 llroundf \
17149 log2 \
17150 log2f \
17151 lrint \
17152 lrintf \
17153 lround \
17154 lroundf \
17155 nearbyint \
17156 nearbyintf \
17157 powl \
17158 remainder \
17159 remainderf \
17160 rint \
17161 rintf \
17162 round \
17163 roundf \
17164 trunc \
17165 truncf
17167 do :
17168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17171 cat >>confdefs.h <<_ACEOF
17172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17173 _ACEOF
17176 done
17178 LIBS="$ac_save_LIBS"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17181 $as_echo_n "checking for __builtin_clz... " >&6; }
17182 if ${ac_cv_have___builtin_clz+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17189 main ()
17191 return __builtin_clz(1)
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"; then :
17197 ac_cv_have___builtin_clz="yes"
17198 else
17199 ac_cv_have___builtin_clz="no"
17201 rm -f core conftest.err conftest.$ac_objext \
17202 conftest$ac_exeext conftest.$ac_ext
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17205 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17206 if test "$ac_cv_have___builtin_clz" = "yes"
17207 then
17209 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17214 $as_echo_n "checking for __builtin_popcount... " >&6; }
17215 if ${ac_cv_have___builtin_popcount+:} false; then :
17216 $as_echo_n "(cached) " >&6
17217 else
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17222 main ()
17224 return __builtin_popcount(1)
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_link "$LINENO"; then :
17230 ac_cv_have___builtin_popcount="yes"
17231 else
17232 ac_cv_have___builtin_popcount="no"
17234 rm -f core conftest.err conftest.$ac_objext \
17235 conftest$ac_exeext conftest.$ac_ext
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17238 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17239 if test "$ac_cv_have___builtin_popcount" = "yes"
17240 then
17242 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17247 case $host_cpu in
17248 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17249 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17250 if ${ac_cv_cpp_def___i386__+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #ifndef __i386__
17257 #endif
17258 _ACEOF
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev/null 2>&1; then :
17261 ac_cv_cpp_def___i386__=yes
17262 else
17263 ac_cv_cpp_def___i386__=no
17265 rm -f conftest*
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17269 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17270 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17271 CFLAGS="$CFLAGS -D__i386__"
17272 LINTFLAGS="$LINTFLAGS -D__i386__"
17273 fi ;;
17274 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17275 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17276 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #ifndef __x86_64__
17283 #endif
17284 _ACEOF
17285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17286 $EGREP "yes" >/dev/null 2>&1; then :
17287 ac_cv_cpp_def___x86_64__=yes
17288 else
17289 ac_cv_cpp_def___x86_64__=no
17291 rm -f conftest*
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17295 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17296 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17297 CFLAGS="$CFLAGS -D__x86_64__"
17298 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17299 fi ;;
17300 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17301 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17302 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #ifndef __sparc64__
17309 #endif
17310 _ACEOF
17311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17312 $EGREP "yes" >/dev/null 2>&1; then :
17313 ac_cv_cpp_def___sparc64__=yes
17314 else
17315 ac_cv_cpp_def___sparc64__=no
17317 rm -f conftest*
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17321 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17322 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17323 CFLAGS="$CFLAGS -D__sparc64__"
17324 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17325 fi ;;
17326 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17327 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17328 if ${ac_cv_cpp_def___sparc__+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #ifndef __sparc__
17335 #endif
17336 _ACEOF
17337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17338 $EGREP "yes" >/dev/null 2>&1; then :
17339 ac_cv_cpp_def___sparc__=yes
17340 else
17341 ac_cv_cpp_def___sparc__=no
17343 rm -f conftest*
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17347 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17348 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17349 CFLAGS="$CFLAGS -D__sparc__"
17350 LINTFLAGS="$LINTFLAGS -D__sparc__"
17351 fi ;;
17352 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17353 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17354 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #ifndef __powerpc64__
17361 #endif
17362 _ACEOF
17363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17364 $EGREP "yes" >/dev/null 2>&1; then :
17365 ac_cv_cpp_def___powerpc64__=yes
17366 else
17367 ac_cv_cpp_def___powerpc64__=no
17369 rm -f conftest*
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17373 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17374 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17375 CFLAGS="$CFLAGS -D__powerpc64__"
17376 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17377 fi ;;
17378 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17379 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17380 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #ifndef __powerpc__
17387 #endif
17388 _ACEOF
17389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17390 $EGREP "yes" >/dev/null 2>&1; then :
17391 ac_cv_cpp_def___powerpc__=yes
17392 else
17393 ac_cv_cpp_def___powerpc__=no
17395 rm -f conftest*
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17399 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17400 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17401 CFLAGS="$CFLAGS -D__powerpc__"
17402 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17403 fi ;;
17404 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17405 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17406 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17411 #ifndef __aarch64__
17413 #endif
17414 _ACEOF
17415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17416 $EGREP "yes" >/dev/null 2>&1; then :
17417 ac_cv_cpp_def___aarch64__=yes
17418 else
17419 ac_cv_cpp_def___aarch64__=no
17421 rm -f conftest*
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17425 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17426 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17427 CFLAGS="$CFLAGS -D__aarch64__"
17428 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17429 fi ;;
17430 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17431 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17432 if ${ac_cv_cpp_def___arm__+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #ifndef __arm__
17439 #endif
17440 _ACEOF
17441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17442 $EGREP "yes" >/dev/null 2>&1; then :
17443 ac_cv_cpp_def___arm__=yes
17444 else
17445 ac_cv_cpp_def___arm__=no
17447 rm -f conftest*
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17451 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17452 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17453 CFLAGS="$CFLAGS -D__arm__"
17454 LINTFLAGS="$LINTFLAGS -D__arm__"
17455 fi ;;
17456 esac
17458 case $host_vendor in
17459 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17460 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17461 if ${ac_cv_cpp_def___sun__+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #ifndef __sun__
17468 #endif
17469 _ACEOF
17470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17471 $EGREP "yes" >/dev/null 2>&1; then :
17472 ac_cv_cpp_def___sun__=yes
17473 else
17474 ac_cv_cpp_def___sun__=no
17476 rm -f conftest*
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17480 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17481 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17482 CFLAGS="$CFLAGS -D__sun__"
17483 LINTFLAGS="$LINTFLAGS -D__sun__"
17484 fi ;;
17485 esac
17491 ac_config_commands="$ac_config_commands include/stamp-h"
17493 $as_echo_n "creating Makefile rules..." >&6
17495 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17496 SOCKET_LIBS = $SOCKET_LIBS
17497 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17498 IOKIT_LIBS = $IOKIT_LIBS
17499 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17500 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17501 CORESERVICES_LIBS = $CORESERVICES_LIBS
17502 APPKIT_LIBS = $APPKIT_LIBS
17503 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17504 SECURITY_LIBS = $SECURITY_LIBS
17505 COREAUDIO_LIBS = $COREAUDIO_LIBS
17506 OPENAL_LIBS = $OPENAL_LIBS
17507 OPENCL_LIBS = $OPENCL_LIBS
17508 QUICKTIME_LIBS = $QUICKTIME_LIBS
17509 CARBON_LIBS = $CARBON_LIBS
17510 PTHREAD_LIBS = $PTHREAD_LIBS
17511 X_CFLAGS = $X_CFLAGS
17512 X_PRE_LIBS = $X_PRE_LIBS
17513 X_LIBS = $X_LIBS
17514 X_EXTRA_LIBS = $X_EXTRA_LIBS
17515 PCAP_LIBS = $PCAP_LIBS
17516 XML2_CFLAGS = $XML2_CFLAGS
17517 XML2_LIBS = $XML2_LIBS
17518 XSLT_CFLAGS = $XSLT_CFLAGS
17519 XSLT_LIBS = $XSLT_LIBS
17520 DBUS_CFLAGS = $DBUS_CFLAGS
17521 DBUS_LIBS = $DBUS_LIBS
17522 HAL_CFLAGS = $HAL_CFLAGS
17523 HAL_LIBS = $HAL_LIBS
17524 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17525 GNUTLS_LIBS = $GNUTLS_LIBS
17526 SANE_CFLAGS = $SANE_CFLAGS
17527 SANE_LIBS = $SANE_LIBS
17528 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17529 GPHOTO2_LIBS = $GPHOTO2_LIBS
17530 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17531 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17532 RESOLV_LIBS = $RESOLV_LIBS
17533 LCMS2_CFLAGS = $LCMS2_CFLAGS
17534 LCMS2_LIBS = $LCMS2_LIBS
17535 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17536 FREETYPE_LIBS = $FREETYPE_LIBS
17537 Z_LIBS = $Z_LIBS
17538 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17539 PULSE_CFLAGS = $PULSE_CFLAGS
17540 PULSE_LIBS = $PULSE_LIBS
17541 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17542 GSTREAMER_LIBS = $GSTREAMER_LIBS
17543 ALSA_LIBS = $ALSA_LIBS
17544 OSS4_CFLAGS = $OSS4_CFLAGS
17545 UDEV_CFLAGS = $UDEV_CFLAGS
17546 UDEV_LIBS = $UDEV_LIBS
17547 CAPI20_CFLAGS = $CAPI20_CFLAGS
17548 CAPI20_LIBS = $CAPI20_LIBS
17549 CUPS_CFLAGS = $CUPS_CFLAGS
17550 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17551 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17552 JPEG_CFLAGS = $JPEG_CFLAGS
17553 JPEG_LIBS = $JPEG_LIBS
17554 PNG_CFLAGS = $PNG_CFLAGS
17555 PNG_LIBS = $PNG_LIBS
17556 TIFF_CFLAGS = $TIFF_CFLAGS
17557 TIFF_LIBS = $TIFF_LIBS
17558 MPG123_CFLAGS = $MPG123_CFLAGS
17559 MPG123_LIBS = $MPG123_LIBS
17560 KSTAT_LIBS = $KSTAT_LIBS
17561 PROCSTAT_LIBS = $PROCSTAT_LIBS
17562 NETAPI_CFLAGS = $NETAPI_CFLAGS
17563 NETAPI_LIBS = $NETAPI_LIBS
17564 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17565 DL_LIBS = $DL_LIBS
17566 POLL_LIBS = $POLL_LIBS
17567 RT_LIBS = $RT_LIBS
17568 LDAP_LIBS = $LDAP_LIBS
17573 wine_fn_append_rule "
17574 # Rules automatically generated by configure
17576 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17578 .INIT: Makefile
17579 .MAKEFILEDEPS:
17580 all: Makefile
17581 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17582 @./config.status Make.tmp Makefile
17583 depend: \$(MAKEDEP) dummy
17584 \$(MAKEDEP)"
17586 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17587 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17589 if test "x$enable_fonts" != xno; then
17590 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17591 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17592 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17593 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17594 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17595 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17597 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17598 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17599 ac_config_links="$ac_config_links wine:tools/winewrapper"
17600 wine_fn_config_symlink wine
17601 if test "x$enable_win64" != xno; then
17602 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17603 wine_fn_config_symlink wine64
17606 wine_fn_config_dll acledit enable_acledit
17607 wine_fn_config_dll aclui enable_aclui implib
17608 wine_fn_config_dll activeds enable_activeds implib
17609 wine_fn_config_dll actxprxy enable_actxprxy clean
17610 wine_fn_config_lib adsiid
17611 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17612 wine_fn_config_test dlls/advapi32/tests advapi32_test
17613 wine_fn_config_dll advpack enable_advpack implib
17614 wine_fn_config_test dlls/advpack/tests advpack_test
17615 wine_fn_config_dll amstream enable_amstream clean
17616 wine_fn_config_test dlls/amstream/tests amstream_test
17617 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17618 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17629 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17633 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17637 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17638 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17640 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17642 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17643 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17644 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17645 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17655 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17657 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17658 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17661 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17662 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17664 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17665 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17666 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17668 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17673 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17680 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17682 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17684 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17685 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17692 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17695 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17700 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17704 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17706 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17707 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17709 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17721 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17722 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17729 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17732 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17733 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17734 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17735 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17736 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17737 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17738 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17739 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17740 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17741 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17742 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17743 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17744 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17745 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17746 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17747 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17748 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17749 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17750 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17751 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17752 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17753 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17754 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17755 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17756 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17757 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17758 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17759 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17760 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17761 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17762 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17763 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17764 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17765 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17766 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17767 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17768 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17769 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17770 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17771 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17772 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17773 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17774 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17775 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17776 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17777 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17778 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17779 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17780 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17781 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17782 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17783 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17784 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17785 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17786 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17787 wine_fn_config_dll apphelp enable_apphelp
17788 wine_fn_config_test dlls/apphelp/tests apphelp_test
17789 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17790 wine_fn_config_dll atl enable_atl clean,implib
17791 wine_fn_config_test dlls/atl/tests atl_test
17792 wine_fn_config_dll atl100 enable_atl100 clean,implib
17793 wine_fn_config_test dlls/atl100/tests atl100_test
17794 wine_fn_config_dll atl110 enable_atl110 clean
17795 wine_fn_config_dll atl80 enable_atl80 clean,implib
17796 wine_fn_config_test dlls/atl80/tests atl80_test
17797 wine_fn_config_dll atl90 enable_atl90 clean
17798 wine_fn_config_dll authz enable_authz
17799 wine_fn_config_dll avicap32 enable_avicap32 implib
17800 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17801 wine_fn_config_test dlls/avifil32/tests avifil32_test
17802 wine_fn_config_dll avifile.dll16 enable_win16
17803 wine_fn_config_dll avrt enable_avrt implib
17804 wine_fn_config_dll bcrypt enable_bcrypt implib
17805 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17806 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17807 wine_fn_config_dll browseui enable_browseui clean
17808 wine_fn_config_test dlls/browseui/tests browseui_test
17809 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17810 wine_fn_config_dll cabinet enable_cabinet implib
17811 wine_fn_config_test dlls/cabinet/tests cabinet_test
17812 wine_fn_config_dll capi2032 enable_capi2032 implib
17813 wine_fn_config_dll cards enable_cards implib
17814 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17815 wine_fn_config_dll clusapi enable_clusapi implib
17816 wine_fn_config_dll combase enable_combase
17817 wine_fn_config_test dlls/combase/tests combase_test
17818 wine_fn_config_dll comcat enable_comcat
17819 wine_fn_config_test dlls/comcat/tests comcat_test
17820 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17821 wine_fn_config_test dlls/comctl32/tests comctl32_test
17822 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17823 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17824 wine_fn_config_dll comm.drv16 enable_win16
17825 wine_fn_config_dll commdlg.dll16 enable_win16
17826 wine_fn_config_dll compobj.dll16 enable_win16
17827 wine_fn_config_dll compstui enable_compstui implib
17828 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17829 wine_fn_config_dll concrt140 enable_concrt140
17830 wine_fn_config_dll connect enable_connect
17831 wine_fn_config_dll credui enable_credui clean,implib
17832 wine_fn_config_test dlls/credui/tests credui_test
17833 wine_fn_config_dll crtdll enable_crtdll
17834 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17835 wine_fn_config_test dlls/crypt32/tests crypt32_test
17836 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17837 wine_fn_config_dll cryptdll enable_cryptdll implib
17838 wine_fn_config_dll cryptext enable_cryptext
17839 wine_fn_config_dll cryptnet enable_cryptnet implib
17840 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17841 wine_fn_config_dll cryptui enable_cryptui clean,implib
17842 wine_fn_config_test dlls/cryptui/tests cryptui_test
17843 wine_fn_config_dll ctapi32 enable_ctapi32
17844 wine_fn_config_dll ctl3d.dll16 enable_win16
17845 wine_fn_config_dll ctl3d32 enable_ctl3d32
17846 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17847 wine_fn_config_dll d2d1 enable_d2d1 implib
17848 wine_fn_config_test dlls/d2d1/tests d2d1_test
17849 wine_fn_config_dll d3d10 enable_d3d10 implib
17850 wine_fn_config_test dlls/d3d10/tests d3d10_test
17851 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17852 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17853 wine_fn_config_dll d3d10core enable_d3d10core implib
17854 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17855 wine_fn_config_dll d3d11 enable_d3d11 implib
17856 wine_fn_config_test dlls/d3d11/tests d3d11_test
17857 wine_fn_config_dll d3d8 enable_d3d8 implib
17858 wine_fn_config_test dlls/d3d8/tests d3d8_test
17859 wine_fn_config_dll d3d9 enable_d3d9 implib
17860 wine_fn_config_test dlls/d3d9/tests d3d9_test
17861 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17862 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17863 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17864 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17865 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17866 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17867 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17868 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17869 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17870 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17871 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17872 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17873 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17874 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17875 wine_fn_config_dll d3dim enable_d3dim
17876 wine_fn_config_dll d3drm enable_d3drm implib
17877 wine_fn_config_test dlls/d3drm/tests d3drm_test
17878 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17879 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17880 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17881 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17882 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17883 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17884 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17885 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17886 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17887 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17888 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17889 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17890 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17891 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17892 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17893 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17894 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17895 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17896 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17897 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17898 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17899 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17900 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17901 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17902 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17903 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17904 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17905 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17906 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17907 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17908 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17909 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17910 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17911 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17912 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17913 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17914 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17915 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17916 wine_fn_config_dll davclnt enable_davclnt
17917 wine_fn_config_dll dbgeng enable_dbgeng implib
17918 wine_fn_config_dll dbghelp enable_dbghelp implib
17919 wine_fn_config_dll dciman32 enable_dciman32 implib
17920 wine_fn_config_dll ddeml.dll16 enable_win16
17921 wine_fn_config_dll ddraw enable_ddraw clean,implib
17922 wine_fn_config_test dlls/ddraw/tests ddraw_test
17923 wine_fn_config_dll ddrawex enable_ddrawex clean
17924 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17925 wine_fn_config_dll devenum enable_devenum clean
17926 wine_fn_config_test dlls/devenum/tests devenum_test
17927 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17928 wine_fn_config_dll difxapi enable_difxapi
17929 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17930 wine_fn_config_test dlls/dinput/tests dinput_test
17931 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17932 wine_fn_config_test dlls/dinput8/tests dinput8_test
17933 wine_fn_config_dll dispdib.dll16 enable_win16
17934 wine_fn_config_dll dispex enable_dispex clean
17935 wine_fn_config_test dlls/dispex/tests dispex_test
17936 wine_fn_config_dll display.drv16 enable_win16
17937 wine_fn_config_dll dmband enable_dmband clean
17938 wine_fn_config_test dlls/dmband/tests dmband_test
17939 wine_fn_config_dll dmcompos enable_dmcompos clean
17940 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17941 wine_fn_config_dll dmime enable_dmime clean
17942 wine_fn_config_test dlls/dmime/tests dmime_test
17943 wine_fn_config_dll dmloader enable_dmloader clean
17944 wine_fn_config_test dlls/dmloader/tests dmloader_test
17945 wine_fn_config_dll dmscript enable_dmscript clean
17946 wine_fn_config_test dlls/dmscript/tests dmscript_test
17947 wine_fn_config_dll dmstyle enable_dmstyle clean
17948 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17949 wine_fn_config_dll dmsynth enable_dmsynth clean
17950 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17951 wine_fn_config_dll dmusic enable_dmusic clean
17952 wine_fn_config_test dlls/dmusic/tests dmusic_test
17953 wine_fn_config_dll dmusic32 enable_dmusic32
17954 wine_fn_config_dll dnsapi enable_dnsapi implib
17955 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17956 wine_fn_config_dll dplay enable_dplay
17957 wine_fn_config_dll dplayx enable_dplayx clean,implib
17958 wine_fn_config_test dlls/dplayx/tests dplayx_test
17959 wine_fn_config_dll dpnaddr enable_dpnaddr
17960 wine_fn_config_dll dpnet enable_dpnet clean,implib
17961 wine_fn_config_test dlls/dpnet/tests dpnet_test
17962 wine_fn_config_dll dpnhpast enable_dpnhpast
17963 wine_fn_config_dll dpnlobby enable_dpnlobby
17964 wine_fn_config_dll dpvoice enable_dpvoice clean
17965 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17966 wine_fn_config_dll dpwsockx enable_dpwsockx
17967 wine_fn_config_dll drmclien enable_drmclien
17968 wine_fn_config_dll dsound enable_dsound clean,implib
17969 wine_fn_config_test dlls/dsound/tests dsound_test
17970 wine_fn_config_dll dssenh enable_dssenh
17971 wine_fn_config_test dlls/dssenh/tests dssenh_test
17972 wine_fn_config_dll dswave enable_dswave clean
17973 wine_fn_config_test dlls/dswave/tests dswave_test
17974 wine_fn_config_dll dwmapi enable_dwmapi implib
17975 wine_fn_config_dll dwrite enable_dwrite implib
17976 wine_fn_config_test dlls/dwrite/tests dwrite_test
17977 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17978 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17979 wine_fn_config_lib dxerr8
17980 wine_fn_config_lib dxerr9
17981 wine_fn_config_dll dxgi enable_dxgi implib
17982 wine_fn_config_test dlls/dxgi/tests dxgi_test
17983 wine_fn_config_lib dxguid
17984 wine_fn_config_dll dxva2 enable_dxva2
17985 wine_fn_config_dll esent enable_esent
17986 wine_fn_config_dll evr enable_evr
17987 wine_fn_config_dll explorerframe enable_explorerframe clean
17988 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17989 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17990 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17991 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17992 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17993 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17994 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17995 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17996 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17997 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17998 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17999 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18000 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18001 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18002 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18003 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
18004 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18005 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18006 wine_fn_config_dll faultrep enable_faultrep implib
18007 wine_fn_config_test dlls/faultrep/tests faultrep_test
18008 wine_fn_config_dll fltlib enable_fltlib
18009 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18010 wine_fn_config_dll fntcache enable_fntcache
18011 wine_fn_config_dll fontsub enable_fontsub
18012 wine_fn_config_dll fusion enable_fusion
18013 wine_fn_config_test dlls/fusion/tests fusion_test
18014 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18015 wine_fn_config_dll gameux enable_gameux clean
18016 wine_fn_config_test dlls/gameux/tests gameux_test
18017 wine_fn_config_dll gdi.exe16 enable_win16
18018 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18019 wine_fn_config_test dlls/gdi32/tests gdi32_test
18020 wine_fn_config_dll gdiplus enable_gdiplus implib
18021 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18022 wine_fn_config_dll glu32 enable_glu32 implib
18023 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18024 wine_fn_config_dll gpkcsp enable_gpkcsp
18025 wine_fn_config_dll hal enable_hal
18026 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18027 wine_fn_config_dll hid enable_hid implib
18028 wine_fn_config_test dlls/hid/tests hid_test
18029 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18030 wine_fn_config_dll hlink enable_hlink clean,implib
18031 wine_fn_config_test dlls/hlink/tests hlink_test
18032 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18033 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18034 wine_fn_config_dll httpapi enable_httpapi
18035 wine_fn_config_dll iccvid enable_iccvid clean
18036 wine_fn_config_dll icmp enable_icmp
18037 wine_fn_config_dll ieframe enable_ieframe clean,implib
18038 wine_fn_config_test dlls/ieframe/tests ieframe_test
18039 wine_fn_config_dll ifsmgr.vxd enable_win16
18040 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18041 wine_fn_config_dll imagehlp enable_imagehlp implib
18042 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18043 wine_fn_config_dll imm.dll16 enable_win16
18044 wine_fn_config_dll imm32 enable_imm32 implib
18045 wine_fn_config_test dlls/imm32/tests imm32_test
18046 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18047 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18048 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18049 wine_fn_config_dll inetmib1 enable_inetmib1
18050 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18051 wine_fn_config_dll infosoft enable_infosoft clean
18052 wine_fn_config_test dlls/infosoft/tests infosoft_test
18053 wine_fn_config_dll initpki enable_initpki
18054 wine_fn_config_dll inkobj enable_inkobj
18055 wine_fn_config_dll inseng enable_inseng clean
18056 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18057 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18058 wine_fn_config_dll iprop enable_iprop
18059 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18060 wine_fn_config_dll itircl enable_itircl
18061 wine_fn_config_dll itss enable_itss clean
18062 wine_fn_config_test dlls/itss/tests itss_test
18063 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18064 wine_fn_config_dll jscript enable_jscript clean
18065 wine_fn_config_test dlls/jscript/tests jscript_test
18066 wine_fn_config_dll jsproxy enable_jsproxy implib
18067 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18068 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18069 wine_fn_config_test dlls/kernel32/tests kernel32_test
18070 wine_fn_config_dll kernelbase enable_kernelbase
18071 wine_fn_config_dll keyboard.drv16 enable_win16
18072 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18073 wine_fn_config_dll ksuser enable_ksuser
18074 wine_fn_config_dll ktmw32 enable_ktmw32
18075 wine_fn_config_dll loadperf enable_loadperf implib
18076 wine_fn_config_dll localspl enable_localspl clean
18077 wine_fn_config_test dlls/localspl/tests localspl_test
18078 wine_fn_config_dll localui enable_localui clean
18079 wine_fn_config_test dlls/localui/tests localui_test
18080 wine_fn_config_dll lz32 enable_lz32 implib
18081 wine_fn_config_test dlls/lz32/tests lz32_test
18082 wine_fn_config_dll lzexpand.dll16 enable_win16
18083 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18084 wine_fn_config_test dlls/mapi32/tests mapi32_test
18085 wine_fn_config_dll mapistub enable_mapistub
18086 wine_fn_config_dll mciavi32 enable_mciavi32
18087 wine_fn_config_dll mcicda enable_mcicda
18088 wine_fn_config_dll mciqtz32 enable_mciqtz32
18089 wine_fn_config_dll mciseq enable_mciseq
18090 wine_fn_config_dll mciwave enable_mciwave
18091 wine_fn_config_dll mf enable_mf
18092 wine_fn_config_dll mf3216 enable_mf3216
18093 wine_fn_config_dll mfplat enable_mfplat
18094 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18095 wine_fn_config_dll mgmtapi enable_mgmtapi
18096 wine_fn_config_dll midimap enable_midimap
18097 wine_fn_config_dll mlang enable_mlang clean,implib
18098 wine_fn_config_test dlls/mlang/tests mlang_test
18099 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18100 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18101 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18102 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18103 wine_fn_config_dll mmdevldr.vxd enable_win16
18104 wine_fn_config_dll mmsystem.dll16 enable_win16
18105 wine_fn_config_dll monodebg.vxd enable_win16
18106 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18107 wine_fn_config_dll mouse.drv16 enable_win16
18108 wine_fn_config_dll mpr enable_mpr clean,implib
18109 wine_fn_config_test dlls/mpr/tests mpr_test
18110 wine_fn_config_dll mprapi enable_mprapi implib
18111 wine_fn_config_dll msacm.dll16 enable_win16
18112 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18113 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18114 wine_fn_config_test dlls/msacm32/tests msacm32_test
18115 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18116 wine_fn_config_dll msasn1 enable_msasn1 implib
18117 wine_fn_config_dll mscat32 enable_mscat32
18118 wine_fn_config_dll mscms enable_mscms implib
18119 wine_fn_config_test dlls/mscms/tests mscms_test
18120 wine_fn_config_dll mscoree enable_mscoree clean
18121 wine_fn_config_test dlls/mscoree/tests mscoree_test
18122 wine_fn_config_dll msctf enable_msctf clean
18123 wine_fn_config_test dlls/msctf/tests msctf_test
18124 wine_fn_config_dll msctfp enable_msctfp clean
18125 wine_fn_config_dll msdaps enable_msdaps clean
18126 wine_fn_config_dll msdelta enable_msdelta
18127 wine_fn_config_dll msdmo enable_msdmo implib
18128 wine_fn_config_test dlls/msdmo/tests msdmo_test
18129 wine_fn_config_dll msdrm enable_msdrm
18130 wine_fn_config_dll msftedit enable_msftedit
18131 wine_fn_config_dll msg711.acm enable_msg711_acm
18132 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18133 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18134 wine_fn_config_dll mshtml enable_mshtml clean,implib
18135 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18136 wine_fn_config_dll msi enable_msi clean,implib
18137 wine_fn_config_test dlls/msi/tests msi_test
18138 wine_fn_config_dll msident enable_msident clean
18139 wine_fn_config_dll msimg32 enable_msimg32 implib
18140 wine_fn_config_dll msimsg enable_msimsg
18141 wine_fn_config_dll msimtf enable_msimtf clean
18142 wine_fn_config_dll msisip enable_msisip
18143 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18144 wine_fn_config_dll msls31 enable_msls31
18145 wine_fn_config_dll msnet32 enable_msnet32
18146 wine_fn_config_dll mspatcha enable_mspatcha implib
18147 wine_fn_config_dll msports enable_msports
18148 wine_fn_config_dll msrle32 enable_msrle32 clean
18149 wine_fn_config_test dlls/msrle32/tests msrle32_test
18150 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18151 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18152 wine_fn_config_dll mssign32 enable_mssign32
18153 wine_fn_config_dll mssip32 enable_mssip32
18154 wine_fn_config_dll mstask enable_mstask clean
18155 wine_fn_config_test dlls/mstask/tests mstask_test
18156 wine_fn_config_dll msvcirt enable_msvcirt
18157 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18158 wine_fn_config_dll msvcm80 enable_msvcm80
18159 wine_fn_config_dll msvcm90 enable_msvcm90
18160 wine_fn_config_dll msvcp100 enable_msvcp100
18161 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18162 wine_fn_config_dll msvcp110 enable_msvcp110
18163 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18164 wine_fn_config_dll msvcp120 enable_msvcp120
18165 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18166 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18167 wine_fn_config_dll msvcp140 enable_msvcp140
18168 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18169 wine_fn_config_dll msvcp60 enable_msvcp60
18170 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18171 wine_fn_config_dll msvcp70 enable_msvcp70
18172 wine_fn_config_dll msvcp71 enable_msvcp71
18173 wine_fn_config_dll msvcp80 enable_msvcp80
18174 wine_fn_config_dll msvcp90 enable_msvcp90
18175 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18176 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18177 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18178 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18179 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18180 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18181 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18182 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18183 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18184 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18185 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18186 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18187 wine_fn_config_dll msvcrt enable_msvcrt implib
18188 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18189 wine_fn_config_dll msvcrt20 enable_msvcrt20
18190 wine_fn_config_dll msvcrt40 enable_msvcrt40
18191 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18192 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18193 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18194 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18195 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18196 wine_fn_config_dll msvideo.dll16 enable_win16
18197 wine_fn_config_dll mswsock enable_mswsock implib
18198 wine_fn_config_dll msxml enable_msxml clean
18199 wine_fn_config_dll msxml2 enable_msxml2 clean
18200 wine_fn_config_dll msxml3 enable_msxml3 clean
18201 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18202 wine_fn_config_dll msxml4 enable_msxml4 clean
18203 wine_fn_config_dll msxml6 enable_msxml6 clean
18204 wine_fn_config_dll ncrypt enable_ncrypt
18205 wine_fn_config_dll nddeapi enable_nddeapi implib
18206 wine_fn_config_dll ndis.sys enable_ndis_sys
18207 wine_fn_config_dll netapi32 enable_netapi32 implib
18208 wine_fn_config_test dlls/netapi32/tests netapi32_test
18209 wine_fn_config_dll netcfgx enable_netcfgx clean
18210 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18211 wine_fn_config_dll netprofm enable_netprofm clean
18212 wine_fn_config_test dlls/netprofm/tests netprofm_test
18213 wine_fn_config_dll newdev enable_newdev implib
18214 wine_fn_config_dll normaliz enable_normaliz implib
18215 wine_fn_config_dll npmshtml enable_npmshtml
18216 wine_fn_config_dll npptools enable_npptools
18217 wine_fn_config_dll ntdll enable_ntdll implib
18218 wine_fn_config_test dlls/ntdll/tests ntdll_test
18219 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18220 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18221 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18222 wine_fn_config_dll ntprint enable_ntprint
18223 wine_fn_config_test dlls/ntprint/tests ntprint_test
18224 wine_fn_config_dll objsel enable_objsel clean
18225 wine_fn_config_dll odbc32 enable_odbc32 implib
18226 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18227 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18228 wine_fn_config_dll odbccu32 enable_odbccu32
18229 wine_fn_config_dll ole2.dll16 enable_win16
18230 wine_fn_config_dll ole2conv.dll16 enable_win16
18231 wine_fn_config_dll ole2disp.dll16 enable_win16
18232 wine_fn_config_dll ole2nls.dll16 enable_win16
18233 wine_fn_config_dll ole2prox.dll16 enable_win16
18234 wine_fn_config_dll ole2thk.dll16 enable_win16
18235 wine_fn_config_dll ole32 enable_ole32 clean,implib
18236 wine_fn_config_test dlls/ole32/tests ole32_test
18237 wine_fn_config_dll oleacc enable_oleacc clean,implib
18238 wine_fn_config_test dlls/oleacc/tests oleacc_test
18239 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18240 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18241 wine_fn_config_dll olecli.dll16 enable_win16
18242 wine_fn_config_dll olecli32 enable_olecli32 implib
18243 wine_fn_config_dll oledb32 enable_oledb32 clean
18244 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18245 wine_fn_config_dll oledlg enable_oledlg clean,implib
18246 wine_fn_config_test dlls/oledlg/tests oledlg_test
18247 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18248 wine_fn_config_dll olesvr.dll16 enable_win16
18249 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18250 wine_fn_config_dll olethk32 enable_olethk32
18251 wine_fn_config_dll openal32 enable_openal32
18252 wine_fn_config_dll opencl enable_opencl
18253 wine_fn_config_dll opengl32 enable_opengl32 implib
18254 wine_fn_config_test dlls/opengl32/tests opengl32_test
18255 wine_fn_config_dll packager enable_packager clean
18256 wine_fn_config_test dlls/packager/tests packager_test
18257 wine_fn_config_dll pdh enable_pdh implib
18258 wine_fn_config_test dlls/pdh/tests pdh_test
18259 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18260 wine_fn_config_dll pidgen enable_pidgen
18261 wine_fn_config_dll powrprof enable_powrprof implib
18262 wine_fn_config_dll printui enable_printui
18263 wine_fn_config_dll prntvpt enable_prntvpt
18264 wine_fn_config_dll propsys enable_propsys clean,implib
18265 wine_fn_config_test dlls/propsys/tests propsys_test
18266 wine_fn_config_dll psapi enable_psapi implib
18267 wine_fn_config_test dlls/psapi/tests psapi_test
18268 wine_fn_config_dll pstorec enable_pstorec clean
18269 wine_fn_config_test dlls/pstorec/tests pstorec_test
18270 wine_fn_config_dll qcap enable_qcap
18271 wine_fn_config_test dlls/qcap/tests qcap_test
18272 wine_fn_config_dll qedit enable_qedit clean
18273 wine_fn_config_test dlls/qedit/tests qedit_test
18274 wine_fn_config_dll qmgr enable_qmgr clean
18275 wine_fn_config_test dlls/qmgr/tests qmgr_test
18276 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18277 wine_fn_config_dll quartz enable_quartz clean,implib
18278 wine_fn_config_test dlls/quartz/tests quartz_test clean
18279 wine_fn_config_dll query enable_query
18280 wine_fn_config_dll rasapi16.dll16 enable_win16
18281 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18282 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18283 wine_fn_config_dll rasdlg enable_rasdlg implib
18284 wine_fn_config_dll regapi enable_regapi
18285 wine_fn_config_dll resutils enable_resutils implib
18286 wine_fn_config_dll riched20 enable_riched20 clean,implib
18287 wine_fn_config_test dlls/riched20/tests riched20_test
18288 wine_fn_config_dll riched32 enable_riched32
18289 wine_fn_config_test dlls/riched32/tests riched32_test
18290 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18291 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18292 wine_fn_config_dll rsabase enable_rsabase
18293 wine_fn_config_dll rsaenh enable_rsaenh implib
18294 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18295 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18296 wine_fn_config_dll rtutils enable_rtutils implib
18297 wine_fn_config_dll samlib enable_samlib
18298 wine_fn_config_dll sane.ds enable_sane_ds clean
18299 wine_fn_config_dll scarddlg enable_scarddlg
18300 wine_fn_config_dll sccbase enable_sccbase
18301 wine_fn_config_dll schannel enable_schannel
18302 wine_fn_config_test dlls/schannel/tests schannel_test
18303 wine_fn_config_dll schedsvc enable_schedsvc clean
18304 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18305 wine_fn_config_dll scrobj enable_scrobj clean
18306 wine_fn_config_dll scrrun enable_scrrun clean
18307 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18308 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18309 wine_fn_config_dll secur32 enable_secur32 implib
18310 wine_fn_config_test dlls/secur32/tests secur32_test
18311 wine_fn_config_dll security enable_security
18312 wine_fn_config_dll sensapi enable_sensapi implib
18313 wine_fn_config_dll serialui enable_serialui clean
18314 wine_fn_config_test dlls/serialui/tests serialui_test
18315 wine_fn_config_dll setupapi enable_setupapi clean,implib
18316 wine_fn_config_test dlls/setupapi/tests setupapi_test
18317 wine_fn_config_dll setupx.dll16 enable_win16
18318 wine_fn_config_dll sfc enable_sfc implib
18319 wine_fn_config_dll sfc_os enable_sfc_os implib
18320 wine_fn_config_dll shdoclc enable_shdoclc clean
18321 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18322 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18323 wine_fn_config_dll shell.dll16 enable_win16
18324 wine_fn_config_dll shell32 enable_shell32 clean,implib
18325 wine_fn_config_test dlls/shell32/tests shell32_test
18326 wine_fn_config_dll shfolder enable_shfolder implib
18327 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18328 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18329 wine_fn_config_dll slbcsp enable_slbcsp
18330 wine_fn_config_dll slc enable_slc implib
18331 wine_fn_config_test dlls/slc/tests slc_test
18332 wine_fn_config_dll snmpapi enable_snmpapi implib
18333 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18334 wine_fn_config_dll softpub enable_softpub
18335 wine_fn_config_dll sound.drv16 enable_win16
18336 wine_fn_config_dll spoolss enable_spoolss implib
18337 wine_fn_config_test dlls/spoolss/tests spoolss_test
18338 wine_fn_config_dll sspicli enable_sspicli
18339 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18340 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18341 wine_fn_config_dll sti enable_sti clean,implib
18342 wine_fn_config_test dlls/sti/tests sti_test
18343 wine_fn_config_dll storage.dll16 enable_win16
18344 wine_fn_config_dll stress.dll16 enable_win16
18345 wine_fn_config_lib strmbase
18346 wine_fn_config_lib strmiids
18347 wine_fn_config_dll svrapi enable_svrapi
18348 wine_fn_config_dll sxs enable_sxs implib
18349 wine_fn_config_test dlls/sxs/tests sxs_test
18350 wine_fn_config_dll system.drv16 enable_win16
18351 wine_fn_config_dll t2embed enable_t2embed implib
18352 wine_fn_config_test dlls/t2embed/tests t2embed_test
18353 wine_fn_config_dll tapi32 enable_tapi32 implib
18354 wine_fn_config_dll taskschd enable_taskschd clean
18355 wine_fn_config_test dlls/taskschd/tests taskschd_test
18356 wine_fn_config_dll tdi.sys enable_tdi_sys
18357 wine_fn_config_dll toolhelp.dll16 enable_win16
18358 wine_fn_config_dll traffic enable_traffic
18359 wine_fn_config_dll twain.dll16 enable_win16
18360 wine_fn_config_dll twain_32 enable_twain_32
18361 wine_fn_config_test dlls/twain_32/tests twain_32_test
18362 wine_fn_config_dll typelib.dll16 enable_win16
18363 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18364 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18365 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18366 wine_fn_config_dll unicows enable_unicows implib
18367 wine_fn_config_dll updspapi enable_updspapi
18368 wine_fn_config_dll url enable_url implib
18369 wine_fn_config_dll urlmon enable_urlmon clean,implib
18370 wine_fn_config_test dlls/urlmon/tests urlmon_test
18371 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18372 wine_fn_config_dll user.exe16 enable_win16
18373 wine_fn_config_dll user32 enable_user32 clean,implib
18374 wine_fn_config_test dlls/user32/tests user32_test
18375 wine_fn_config_dll userenv enable_userenv implib
18376 wine_fn_config_test dlls/userenv/tests userenv_test
18377 wine_fn_config_dll usp10 enable_usp10 implib
18378 wine_fn_config_test dlls/usp10/tests usp10_test
18379 wine_fn_config_lib uuid
18380 wine_fn_config_dll uxtheme enable_uxtheme implib
18381 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18382 wine_fn_config_dll vbscript enable_vbscript clean
18383 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18384 wine_fn_config_dll vcomp enable_vcomp
18385 wine_fn_config_test dlls/vcomp/tests vcomp_test
18386 wine_fn_config_dll vcomp100 enable_vcomp100
18387 wine_fn_config_dll vcomp110 enable_vcomp110
18388 wine_fn_config_dll vcomp120 enable_vcomp120
18389 wine_fn_config_dll vcomp140 enable_vcomp140
18390 wine_fn_config_dll vcomp90 enable_vcomp90
18391 wine_fn_config_dll vcruntime140 enable_vcruntime140
18392 wine_fn_config_dll vdhcp.vxd enable_win16
18393 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18394 wine_fn_config_dll ver.dll16 enable_win16
18395 wine_fn_config_dll version enable_version implib
18396 wine_fn_config_test dlls/version/tests version_test
18397 wine_fn_config_dll virtdisk enable_virtdisk
18398 wine_fn_config_dll vmm.vxd enable_win16
18399 wine_fn_config_dll vnbt.vxd enable_win16
18400 wine_fn_config_dll vnetbios.vxd enable_win16
18401 wine_fn_config_dll vssapi enable_vssapi
18402 wine_fn_config_dll vtdapi.vxd enable_win16
18403 wine_fn_config_dll vwin32.vxd enable_win16
18404 wine_fn_config_dll w32skrnl enable_win16
18405 wine_fn_config_dll w32sys.dll16 enable_win16
18406 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18407 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18408 wine_fn_config_dll wbemprox enable_wbemprox clean
18409 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18410 wine_fn_config_dll webservices enable_webservices implib
18411 wine_fn_config_test dlls/webservices/tests webservices_test
18412 wine_fn_config_dll wer enable_wer implib
18413 wine_fn_config_test dlls/wer/tests wer_test
18414 wine_fn_config_dll wevtapi enable_wevtapi
18415 wine_fn_config_dll wiaservc enable_wiaservc clean
18416 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18417 wine_fn_config_dll wimgapi enable_wimgapi
18418 wine_fn_config_dll win32s16.dll16 enable_win16
18419 wine_fn_config_dll win87em.dll16 enable_win16
18420 wine_fn_config_dll winaspi.dll16 enable_win16
18421 wine_fn_config_dll windebug.dll16 enable_win16
18422 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18423 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18424 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18425 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18426 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18427 wine_fn_config_dll winebus.sys enable_winebus_sys
18428 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18429 wine_fn_config_lib winecrt0
18430 wine_fn_config_dll wined3d enable_wined3d implib
18431 wine_fn_config_dll winegstreamer enable_winegstreamer
18432 wine_fn_config_dll winehid.sys enable_winehid_sys
18433 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18434 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18435 wine_fn_config_dll winemapi enable_winemapi
18436 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18437 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18438 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18439 wine_fn_config_dll wineps16.drv16 enable_win16
18440 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18441 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18442 wine_fn_config_dll winex11.drv enable_winex11_drv
18443 wine_fn_config_dll wing.dll16 enable_win16
18444 wine_fn_config_dll wing32 enable_wing32
18445 wine_fn_config_dll winhttp enable_winhttp clean,implib
18446 wine_fn_config_test dlls/winhttp/tests winhttp_test
18447 wine_fn_config_dll wininet enable_wininet clean,implib
18448 wine_fn_config_test dlls/wininet/tests wininet_test
18449 wine_fn_config_dll winmm enable_winmm clean,implib
18450 wine_fn_config_test dlls/winmm/tests winmm_test
18451 wine_fn_config_dll winnls.dll16 enable_win16
18452 wine_fn_config_dll winnls32 enable_winnls32 implib
18453 wine_fn_config_dll winscard enable_winscard implib
18454 wine_fn_config_dll winsock.dll16 enable_win16
18455 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18456 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18457 wine_fn_config_dll winsta enable_winsta
18458 wine_fn_config_dll wintab.dll16 enable_win16
18459 wine_fn_config_dll wintab32 enable_wintab32 implib
18460 wine_fn_config_test dlls/wintab32/tests wintab32_test
18461 wine_fn_config_dll wintrust enable_wintrust implib
18462 wine_fn_config_test dlls/wintrust/tests wintrust_test
18463 wine_fn_config_dll winusb enable_winusb
18464 wine_fn_config_dll wlanapi enable_wlanapi implib
18465 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18466 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18467 wine_fn_config_test dlls/wldap32/tests wldap32_test
18468 wine_fn_config_dll wmasf enable_wmasf
18469 wine_fn_config_dll wmi enable_wmi
18470 wine_fn_config_dll wmiutils enable_wmiutils clean
18471 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18472 wine_fn_config_dll wmp enable_wmp clean
18473 wine_fn_config_test dlls/wmp/tests wmp_test
18474 wine_fn_config_dll wmvcore enable_wmvcore
18475 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18476 wine_fn_config_dll wow32 enable_win16 implib
18477 wine_fn_config_dll wpc enable_wpc clean
18478 wine_fn_config_test dlls/wpc/tests wpc_test
18479 wine_fn_config_dll wpcap enable_wpcap
18480 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18481 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18482 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18483 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18484 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18485 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18486 wine_fn_config_dll wsock32 enable_wsock32 implib
18487 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18488 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18489 wine_fn_config_dll wuapi enable_wuapi clean
18490 wine_fn_config_dll wuaueng enable_wuaueng
18491 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18492 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18493 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18494 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18495 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18496 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18497 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18498 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18499 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18500 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18501 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18502 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18503 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18504 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18505 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18506 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18507 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18508 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18509 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18510 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18511 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18512 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18513 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18514 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18515 wine_fn_config_dll xinput1_1 enable_xinput1_1
18516 wine_fn_config_dll xinput1_2 enable_xinput1_2
18517 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18518 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18519 wine_fn_config_dll xinput1_4 enable_xinput1_4
18520 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18521 wine_fn_config_dll xmllite enable_xmllite implib
18522 wine_fn_config_test dlls/xmllite/tests xmllite_test
18523 wine_fn_config_dll xolehlp enable_xolehlp
18524 wine_fn_config_dll xpsprint enable_xpsprint
18525 wine_fn_config_dll xpssvcs enable_xpssvcs
18526 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18527 wine_fn_config_makefile include enable_include clean,install-dev
18528 wine_fn_config_makefile libs/port enable_libs_port
18529 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18530 wine_fn_config_makefile libs/wpp enable_libs_wpp
18531 wine_fn_config_makefile loader enable_loader clean,install-lib
18532 wine_fn_config_makefile po enable_po clean
18533 wine_fn_config_program arp enable_arp install
18534 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18535 wine_fn_config_program attrib enable_attrib clean,install
18536 wine_fn_config_program cabarc enable_cabarc install
18537 wine_fn_config_program cacls enable_cacls install
18538 wine_fn_config_program clock enable_clock clean,install
18539 wine_fn_config_program cmd enable_cmd clean,install
18540 wine_fn_config_test programs/cmd/tests cmd.exe_test
18541 wine_fn_config_program conhost enable_conhost install
18542 wine_fn_config_program control enable_control install
18543 wine_fn_config_program cscript enable_cscript clean,install
18544 wine_fn_config_program dpnsvr enable_dpnsvr install
18545 wine_fn_config_program dxdiag enable_dxdiag clean,install
18546 wine_fn_config_program eject enable_eject install
18547 wine_fn_config_program expand enable_expand install
18548 wine_fn_config_program explorer enable_explorer clean,install
18549 wine_fn_config_program extrac32 enable_extrac32 install
18550 wine_fn_config_program findstr enable_findstr install
18551 wine_fn_config_program fsutil enable_fsutil install
18552 wine_fn_config_program hh enable_hh install
18553 wine_fn_config_program hostname enable_hostname clean,install
18554 wine_fn_config_program icacls enable_icacls install
18555 wine_fn_config_program icinfo enable_icinfo install
18556 wine_fn_config_program iexplore enable_iexplore install
18557 wine_fn_config_program ipconfig enable_ipconfig clean,install
18558 wine_fn_config_program lodctr enable_lodctr install
18559 wine_fn_config_program mofcomp enable_mofcomp install
18560 wine_fn_config_program mshta enable_mshta install
18561 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18562 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18563 wine_fn_config_program net enable_net clean,install
18564 wine_fn_config_program netsh enable_netsh install
18565 wine_fn_config_program netstat enable_netstat clean,install
18566 wine_fn_config_program ngen enable_ngen install
18567 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18568 wine_fn_config_program oleview enable_oleview clean,install
18569 wine_fn_config_program ping enable_ping install
18570 wine_fn_config_program plugplay enable_plugplay install
18571 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18572 wine_fn_config_program progman enable_progman clean,install
18573 wine_fn_config_program reg enable_reg clean,install
18574 wine_fn_config_test programs/reg/tests reg.exe_test
18575 wine_fn_config_program regasm enable_regasm install
18576 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18577 wine_fn_config_test programs/regedit/tests regedit.exe_test
18578 wine_fn_config_program regsvcs enable_regsvcs install
18579 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18580 wine_fn_config_program rpcss enable_rpcss clean,install
18581 wine_fn_config_program rundll.exe16 enable_win16 install
18582 wine_fn_config_program rundll32 enable_rundll32 install
18583 wine_fn_config_program sc enable_sc install
18584 wine_fn_config_program schtasks enable_schtasks install
18585 wine_fn_config_program sdbinst enable_sdbinst install
18586 wine_fn_config_program secedit enable_secedit install
18587 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18588 wine_fn_config_program services enable_services clean,install
18589 wine_fn_config_test programs/services/tests services.exe_test
18590 wine_fn_config_program shutdown enable_shutdown install
18591 wine_fn_config_program spoolsv enable_spoolsv install
18592 wine_fn_config_program start enable_start clean,install
18593 wine_fn_config_program subst enable_subst install
18594 wine_fn_config_program svchost enable_svchost install
18595 wine_fn_config_program systeminfo enable_systeminfo install
18596 wine_fn_config_program taskkill enable_taskkill clean,install
18597 wine_fn_config_program tasklist enable_tasklist install
18598 wine_fn_config_program taskmgr enable_taskmgr clean,install
18599 wine_fn_config_program termsv enable_termsv install
18600 wine_fn_config_program uninstaller enable_uninstaller clean,install
18601 wine_fn_config_program unlodctr enable_unlodctr install
18602 wine_fn_config_program view enable_view clean,install
18603 wine_fn_config_program wevtutil enable_wevtutil install
18604 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18605 wine_fn_config_program winebrowser enable_winebrowser install
18606 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18607 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18608 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18609 wine_fn_config_program winedevice enable_winedevice install
18610 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18611 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18612 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18613 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18614 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18615 wine_fn_config_program winetest enable_winetest clean
18616 wine_fn_config_program winevdm enable_win16 install
18617 wine_fn_config_program winhelp.exe16 enable_win16 install
18618 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18619 wine_fn_config_program winoldap.mod16 enable_win16 install
18620 wine_fn_config_program winver enable_winver install
18621 wine_fn_config_program wmic enable_wmic clean,install
18622 wine_fn_config_program wmplayer enable_wmplayer install
18623 wine_fn_config_program wordpad enable_wordpad clean,install
18624 wine_fn_config_program write enable_write clean,install
18625 wine_fn_config_program wscript enable_wscript clean,install
18626 wine_fn_config_test programs/wscript/tests wscript.exe_test
18627 wine_fn_config_program wusa enable_wusa install
18628 wine_fn_config_program xcopy enable_xcopy clean,install
18629 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18630 wine_fn_config_makefile server enable_server clean,install-lib
18631 wine_fn_config_tool tools clean
18632 wine_fn_config_tool tools/sfnt2fon clean
18633 wine_fn_config_tool tools/widl clean,install-dev
18634 wine_fn_config_tool tools/winebuild clean,install-dev
18635 wine_fn_config_tool tools/winedump clean,install-dev
18636 wine_fn_config_tool tools/winegcc clean,install-dev
18637 wine_fn_config_tool tools/winemaker clean,install-dev
18638 wine_fn_config_tool tools/wmc clean,install-dev
18639 wine_fn_config_tool tools/wrc clean,install-dev
18642 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18643 wine_fn_append_file CONFIGURE_TARGETS "tags"
18644 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18645 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18646 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18647 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18648 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18649 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18651 if test "x$enable_tools" != xno
18652 then
18653 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18654 ac_config_commands="$ac_config_commands tools/makedep"
18658 ac_config_commands="$ac_config_commands Makefile"
18661 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18665 if test "x$enable_maintainer_mode" = xyes
18666 then
18667 wine_fn_append_rule "configure: configure.ac aclocal.m4
18668 autoconf --warnings=all
18669 include/config.h.in: include/stamp-h.in
18670 include/stamp-h.in: configure.ac aclocal.m4
18671 autoheader --warnings=all
18672 @echo timestamp > \$@"
18675 if test "x$enable_tools" != xno
18676 then
18677 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18678 @./config.status tools/makedep
18679 Makefile: tools/makedep$ac_exeext"
18680 else
18681 wine_fn_append_rule "\$(MAKEDEP):
18682 @echo \"You need to run make in $TOOLSDIR first\" && false"
18685 if test -n "$with_wine64"
18686 then
18687 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18688 fonts server:
18689 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18690 $with_wine64/loader/wine:
18691 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18692 $with_wine64/loader/wine-preloader:
18693 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18694 clean::
18695 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18696 else
18697 WINELOADER_INSTALL="wine.inf"
18699 wine_fn_append_rule "install install-lib::
18700 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18701 uninstall::
18702 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18703 case $host_os in
18704 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18705 *) wine_fn_append_rule "install install-lib::
18706 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18707 uninstall::
18708 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18709 esac
18712 $as_echo " done" >&6
18713 cat >confcache <<\_ACEOF
18714 # This file is a shell script that caches the results of configure
18715 # tests run on this system so they can be shared between configure
18716 # scripts and configure runs, see configure's option --config-cache.
18717 # It is not useful on other systems. If it contains results you don't
18718 # want to keep, you may remove or edit it.
18720 # config.status only pays attention to the cache file if you give it
18721 # the --recheck option to rerun configure.
18723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18725 # following values.
18727 _ACEOF
18729 # The following way of writing the cache mishandles newlines in values,
18730 # but we know of no workaround that is simple, portable, and efficient.
18731 # So, we kill variables containing newlines.
18732 # Ultrix sh set writes to stderr and can't be redirected directly,
18733 # and sets the high bit in the cache file unless we assign to the vars.
18735 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18736 eval ac_val=\$$ac_var
18737 case $ac_val in #(
18738 *${as_nl}*)
18739 case $ac_var in #(
18740 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18742 esac
18743 case $ac_var in #(
18744 _ | IFS | as_nl) ;; #(
18745 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18746 *) { eval $ac_var=; unset $ac_var;} ;;
18747 esac ;;
18748 esac
18749 done
18751 (set) 2>&1 |
18752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18753 *${as_nl}ac_space=\ *)
18754 # `set' does not quote correctly, so add quotes: double-quote
18755 # substitution turns \\\\ into \\, and sed turns \\ into \.
18756 sed -n \
18757 "s/'/'\\\\''/g;
18758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18759 ;; #(
18761 # `set' quotes correctly as required by POSIX, so do not add quotes.
18762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18764 esac |
18765 sort
18767 sed '
18768 /^ac_cv_env_/b end
18769 t clear
18770 :clear
18771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18772 t end
18773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18774 :end' >>confcache
18775 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18776 if test -w "$cache_file"; then
18777 if test "x$cache_file" != "x/dev/null"; then
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18779 $as_echo "$as_me: updating cache $cache_file" >&6;}
18780 if test ! -f "$cache_file" || test -h "$cache_file"; then
18781 cat confcache >"$cache_file"
18782 else
18783 case $cache_file in #(
18784 */* | ?:*)
18785 mv -f confcache "$cache_file"$$ &&
18786 mv -f "$cache_file"$$ "$cache_file" ;; #(
18788 mv -f confcache "$cache_file" ;;
18789 esac
18792 else
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18797 rm -f confcache
18799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18800 # Let make expand exec_prefix.
18801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18803 DEFS=-DHAVE_CONFIG_H
18805 ac_libobjs=
18806 ac_ltlibobjs=
18808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18809 # 1. Remove the extension, and $U if already installed.
18810 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18811 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18812 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18813 # will be set to the directory where LIBOBJS objects are built.
18814 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18815 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18816 done
18817 LIBOBJS=$ac_libobjs
18819 LTLIBOBJS=$ac_ltlibobjs
18823 : "${CONFIG_STATUS=./config.status}"
18824 ac_write_fail=0
18825 ac_clean_files_save=$ac_clean_files
18826 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18828 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18829 as_write_fail=0
18830 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18831 #! $SHELL
18832 # Generated by $as_me.
18833 # Run this file to recreate the current configuration.
18834 # Compiler output produced by configure, useful for debugging
18835 # configure, is in config.log if it exists.
18837 debug=false
18838 ac_cs_recheck=false
18839 ac_cs_silent=false
18841 SHELL=\${CONFIG_SHELL-$SHELL}
18842 export SHELL
18843 _ASEOF
18844 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18845 ## -------------------- ##
18846 ## M4sh Initialization. ##
18847 ## -------------------- ##
18849 # Be more Bourne compatible
18850 DUALCASE=1; export DUALCASE # for MKS sh
18851 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18852 emulate sh
18853 NULLCMD=:
18854 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18855 # is contrary to our usage. Disable this feature.
18856 alias -g '${1+"$@"}'='"$@"'
18857 setopt NO_GLOB_SUBST
18858 else
18859 case `(set -o) 2>/dev/null` in #(
18860 *posix*) :
18861 set -o posix ;; #(
18862 *) :
18864 esac
18868 as_nl='
18870 export as_nl
18871 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18872 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18875 # Prefer a ksh shell builtin over an external printf program on Solaris,
18876 # but without wasting forks for bash or zsh.
18877 if test -z "$BASH_VERSION$ZSH_VERSION" \
18878 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18879 as_echo='print -r --'
18880 as_echo_n='print -rn --'
18881 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18882 as_echo='printf %s\n'
18883 as_echo_n='printf %s'
18884 else
18885 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18886 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18887 as_echo_n='/usr/ucb/echo -n'
18888 else
18889 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18890 as_echo_n_body='eval
18891 arg=$1;
18892 case $arg in #(
18893 *"$as_nl"*)
18894 expr "X$arg" : "X\\(.*\\)$as_nl";
18895 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18896 esac;
18897 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18899 export as_echo_n_body
18900 as_echo_n='sh -c $as_echo_n_body as_echo'
18902 export as_echo_body
18903 as_echo='sh -c $as_echo_body as_echo'
18906 # The user is always right.
18907 if test "${PATH_SEPARATOR+set}" != set; then
18908 PATH_SEPARATOR=:
18909 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18910 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18911 PATH_SEPARATOR=';'
18916 # IFS
18917 # We need space, tab and new line, in precisely that order. Quoting is
18918 # there to prevent editors from complaining about space-tab.
18919 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18920 # splitting by setting IFS to empty value.)
18921 IFS=" "" $as_nl"
18923 # Find who we are. Look in the path if we contain no directory separator.
18924 as_myself=
18925 case $0 in #((
18926 *[\\/]* ) as_myself=$0 ;;
18927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18928 for as_dir in $PATH
18930 IFS=$as_save_IFS
18931 test -z "$as_dir" && as_dir=.
18932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18933 done
18934 IFS=$as_save_IFS
18937 esac
18938 # We did not find ourselves, most probably we were run as `sh COMMAND'
18939 # in which case we are not to be found in the path.
18940 if test "x$as_myself" = x; then
18941 as_myself=$0
18943 if test ! -f "$as_myself"; then
18944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18945 exit 1
18948 # Unset variables that we do not need and which cause bugs (e.g. in
18949 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18950 # suppresses any "Segmentation fault" message there. '((' could
18951 # trigger a bug in pdksh 5.2.14.
18952 for as_var in BASH_ENV ENV MAIL MAILPATH
18953 do eval test x\${$as_var+set} = xset \
18954 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18955 done
18956 PS1='$ '
18957 PS2='> '
18958 PS4='+ '
18960 # NLS nuisances.
18961 LC_ALL=C
18962 export LC_ALL
18963 LANGUAGE=C
18964 export LANGUAGE
18966 # CDPATH.
18967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18970 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18971 # ----------------------------------------
18972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18974 # script with STATUS, using 1 if that was 0.
18975 as_fn_error ()
18977 as_status=$1; test $as_status -eq 0 && as_status=1
18978 if test "$4"; then
18979 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18980 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18982 $as_echo "$as_me: error: $2" >&2
18983 as_fn_exit $as_status
18984 } # as_fn_error
18987 # as_fn_set_status STATUS
18988 # -----------------------
18989 # Set $? to STATUS, without forking.
18990 as_fn_set_status ()
18992 return $1
18993 } # as_fn_set_status
18995 # as_fn_exit STATUS
18996 # -----------------
18997 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18998 as_fn_exit ()
19000 set +e
19001 as_fn_set_status $1
19002 exit $1
19003 } # as_fn_exit
19005 # as_fn_unset VAR
19006 # ---------------
19007 # Portably unset VAR.
19008 as_fn_unset ()
19010 { eval $1=; unset $1;}
19012 as_unset=as_fn_unset
19013 # as_fn_append VAR VALUE
19014 # ----------------------
19015 # Append the text in VALUE to the end of the definition contained in VAR. Take
19016 # advantage of any shell optimizations that allow amortized linear growth over
19017 # repeated appends, instead of the typical quadratic growth present in naive
19018 # implementations.
19019 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19020 eval 'as_fn_append ()
19022 eval $1+=\$2
19024 else
19025 as_fn_append ()
19027 eval $1=\$$1\$2
19029 fi # as_fn_append
19031 # as_fn_arith ARG...
19032 # ------------------
19033 # Perform arithmetic evaluation on the ARGs, and store the result in the
19034 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19035 # must be portable across $(()) and expr.
19036 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19037 eval 'as_fn_arith ()
19039 as_val=$(( $* ))
19041 else
19042 as_fn_arith ()
19044 as_val=`expr "$@" || test $? -eq 1`
19046 fi # as_fn_arith
19049 if expr a : '\(a\)' >/dev/null 2>&1 &&
19050 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19051 as_expr=expr
19052 else
19053 as_expr=false
19056 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19057 as_basename=basename
19058 else
19059 as_basename=false
19062 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19063 as_dirname=dirname
19064 else
19065 as_dirname=false
19068 as_me=`$as_basename -- "$0" ||
19069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19070 X"$0" : 'X\(//\)$' \| \
19071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19072 $as_echo X/"$0" |
19073 sed '/^.*\/\([^/][^/]*\)\/*$/{
19074 s//\1/
19077 /^X\/\(\/\/\)$/{
19078 s//\1/
19081 /^X\/\(\/\).*/{
19082 s//\1/
19085 s/.*/./; q'`
19087 # Avoid depending upon Character Ranges.
19088 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19089 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19090 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19091 as_cr_digits='0123456789'
19092 as_cr_alnum=$as_cr_Letters$as_cr_digits
19094 ECHO_C= ECHO_N= ECHO_T=
19095 case `echo -n x` in #(((((
19096 -n*)
19097 case `echo 'xy\c'` in
19098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19099 xy) ECHO_C='\c';;
19100 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19101 ECHO_T=' ';;
19102 esac;;
19104 ECHO_N='-n';;
19105 esac
19107 rm -f conf$$ conf$$.exe conf$$.file
19108 if test -d conf$$.dir; then
19109 rm -f conf$$.dir/conf$$.file
19110 else
19111 rm -f conf$$.dir
19112 mkdir conf$$.dir 2>/dev/null
19114 if (echo >conf$$.file) 2>/dev/null; then
19115 if ln -s conf$$.file conf$$ 2>/dev/null; then
19116 as_ln_s='ln -s'
19117 # ... but there are two gotchas:
19118 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19119 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19120 # In both cases, we have to default to `cp -pR'.
19121 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19122 as_ln_s='cp -pR'
19123 elif ln conf$$.file conf$$ 2>/dev/null; then
19124 as_ln_s=ln
19125 else
19126 as_ln_s='cp -pR'
19128 else
19129 as_ln_s='cp -pR'
19131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19132 rmdir conf$$.dir 2>/dev/null
19135 # as_fn_mkdir_p
19136 # -------------
19137 # Create "$as_dir" as a directory, including parents if necessary.
19138 as_fn_mkdir_p ()
19141 case $as_dir in #(
19142 -*) as_dir=./$as_dir;;
19143 esac
19144 test -d "$as_dir" || eval $as_mkdir_p || {
19145 as_dirs=
19146 while :; do
19147 case $as_dir in #(
19148 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19149 *) as_qdir=$as_dir;;
19150 esac
19151 as_dirs="'$as_qdir' $as_dirs"
19152 as_dir=`$as_dirname -- "$as_dir" ||
19153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19154 X"$as_dir" : 'X\(//\)[^/]' \| \
19155 X"$as_dir" : 'X\(//\)$' \| \
19156 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19157 $as_echo X"$as_dir" |
19158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19159 s//\1/
19162 /^X\(\/\/\)[^/].*/{
19163 s//\1/
19166 /^X\(\/\/\)$/{
19167 s//\1/
19170 /^X\(\/\).*/{
19171 s//\1/
19174 s/.*/./; q'`
19175 test -d "$as_dir" && break
19176 done
19177 test -z "$as_dirs" || eval "mkdir $as_dirs"
19178 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19181 } # as_fn_mkdir_p
19182 if mkdir -p . 2>/dev/null; then
19183 as_mkdir_p='mkdir -p "$as_dir"'
19184 else
19185 test -d ./-p && rmdir ./-p
19186 as_mkdir_p=false
19190 # as_fn_executable_p FILE
19191 # -----------------------
19192 # Test if FILE is an executable regular file.
19193 as_fn_executable_p ()
19195 test -f "$1" && test -x "$1"
19196 } # as_fn_executable_p
19197 as_test_x='test -x'
19198 as_executable_p=as_fn_executable_p
19200 # Sed expression to map a string onto a valid CPP name.
19201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19203 # Sed expression to map a string onto a valid variable name.
19204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19207 exec 6>&1
19208 ## ----------------------------------- ##
19209 ## Main body of $CONFIG_STATUS script. ##
19210 ## ----------------------------------- ##
19211 _ASEOF
19212 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19215 # Save the log message, to keep $0 and so on meaningful, and to
19216 # report actual input values of CONFIG_FILES etc. instead of their
19217 # values after options handling.
19218 ac_log="
19219 This file was extended by Wine $as_me 2.4, which was
19220 generated by GNU Autoconf 2.69. Invocation command line was
19222 CONFIG_FILES = $CONFIG_FILES
19223 CONFIG_HEADERS = $CONFIG_HEADERS
19224 CONFIG_LINKS = $CONFIG_LINKS
19225 CONFIG_COMMANDS = $CONFIG_COMMANDS
19226 $ $0 $@
19228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19231 _ACEOF
19233 case $ac_config_files in *"
19234 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19235 esac
19237 case $ac_config_headers in *"
19238 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19239 esac
19242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19243 # Files that config.status was made for.
19244 config_files="$ac_config_files"
19245 config_headers="$ac_config_headers"
19246 config_links="$ac_config_links"
19247 config_commands="$ac_config_commands"
19249 _ACEOF
19251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19252 ac_cs_usage="\
19253 \`$as_me' instantiates files and other configuration actions
19254 from templates according to the current configuration. Unless the files
19255 and actions are specified as TAGs, all are instantiated by default.
19257 Usage: $0 [OPTION]... [TAG]...
19259 -h, --help print this help, then exit
19260 -V, --version print version number and configuration settings, then exit
19261 --config print configuration, then exit
19262 -q, --quiet, --silent
19263 do not print progress messages
19264 -d, --debug don't remove temporary files
19265 --recheck update $as_me by reconfiguring in the same conditions
19266 --file=FILE[:TEMPLATE]
19267 instantiate the configuration file FILE
19268 --header=FILE[:TEMPLATE]
19269 instantiate the configuration header FILE
19271 Configuration files:
19272 $config_files
19274 Configuration headers:
19275 $config_headers
19277 Configuration links:
19278 $config_links
19280 Configuration commands:
19281 $config_commands
19283 Report bugs to <wine-devel@winehq.org>.
19284 Wine home page: <http://www.winehq.org>."
19286 _ACEOF
19287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19288 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19289 ac_cs_version="\\
19290 Wine config.status 2.4
19291 configured by $0, generated by GNU Autoconf 2.69,
19292 with options \\"\$ac_cs_config\\"
19294 Copyright (C) 2012 Free Software Foundation, Inc.
19295 This config.status script is free software; the Free Software Foundation
19296 gives unlimited permission to copy, distribute and modify it."
19298 ac_pwd='$ac_pwd'
19299 srcdir='$srcdir'
19300 test -n "\$AWK" || AWK=awk
19301 _ACEOF
19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19304 # The default lists apply if the user does not specify any file.
19305 ac_need_defaults=:
19306 while test $# != 0
19308 case $1 in
19309 --*=?*)
19310 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19311 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19312 ac_shift=:
19314 --*=)
19315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19316 ac_optarg=
19317 ac_shift=:
19320 ac_option=$1
19321 ac_optarg=$2
19322 ac_shift=shift
19324 esac
19326 case $ac_option in
19327 # Handling of the options.
19328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19329 ac_cs_recheck=: ;;
19330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19331 $as_echo "$ac_cs_version"; exit ;;
19332 --config | --confi | --conf | --con | --co | --c )
19333 $as_echo "$ac_cs_config"; exit ;;
19334 --debug | --debu | --deb | --de | --d | -d )
19335 debug=: ;;
19336 --file | --fil | --fi | --f )
19337 $ac_shift
19338 case $ac_optarg in
19339 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19340 '') as_fn_error $? "missing file argument" ;;
19341 esac
19342 as_fn_append CONFIG_FILES " '$ac_optarg'"
19343 ac_need_defaults=false;;
19344 --header | --heade | --head | --hea )
19345 $ac_shift
19346 case $ac_optarg in
19347 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19348 esac
19349 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19350 ac_need_defaults=false;;
19351 --he | --h)
19352 # Conflict between --help and --header
19353 as_fn_error $? "ambiguous option: \`$1'
19354 Try \`$0 --help' for more information.";;
19355 --help | --hel | -h )
19356 $as_echo "$ac_cs_usage"; exit ;;
19357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19358 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19359 ac_cs_silent=: ;;
19361 # This is an error.
19362 -*) as_fn_error $? "unrecognized option: \`$1'
19363 Try \`$0 --help' for more information." ;;
19365 *) as_fn_append ac_config_targets " $1"
19366 ac_need_defaults=false ;;
19368 esac
19369 shift
19370 done
19372 ac_configure_extra_args=
19374 if $ac_cs_silent; then
19375 exec 6>/dev/null
19376 ac_configure_extra_args="$ac_configure_extra_args --silent"
19379 _ACEOF
19380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19381 if \$ac_cs_recheck; then
19382 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19383 shift
19384 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19385 CONFIG_SHELL='$SHELL'
19386 export CONFIG_SHELL
19387 exec "\$@"
19390 _ACEOF
19391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19392 exec 5>>config.log
19394 echo
19395 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19396 ## Running $as_me. ##
19397 _ASBOX
19398 $as_echo "$ac_log"
19399 } >&5
19401 _ACEOF
19402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19404 # INIT-COMMANDS
19406 wine_fn_output_makedep ()
19408 as_dir=tools; as_fn_mkdir_p
19409 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19411 wine_fn_output_makefile ()
19413 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19414 `cat $wine_rules_file`
19415 _WINE_EOF
19416 as_fn_error $? "could not create Makefile" "$LINENO" 5
19419 _ACEOF
19421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19423 # Handling of arguments.
19424 for ac_config_target in $ac_config_targets
19426 case $ac_config_target in
19427 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19428 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19429 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19430 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19431 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19432 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19433 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19434 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19435 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19436 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19437 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19438 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19439 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19441 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19442 esac
19443 done
19446 # If the user did not use the arguments to specify the items to instantiate,
19447 # then the envvar interface is used. Set only those that are not.
19448 # We use the long form for the default assignment because of an extremely
19449 # bizarre bug on SunOS 4.1.3.
19450 if $ac_need_defaults; then
19451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19453 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19457 # Have a temporary directory for convenience. Make it in the build tree
19458 # simply because there is no reason against having it here, and in addition,
19459 # creating and moving files from /tmp can sometimes cause problems.
19460 # Hook for its removal unless debugging.
19461 # Note that there is a small window in which the directory will not be cleaned:
19462 # after its creation but before its name has been assigned to `$tmp'.
19463 $debug ||
19465 tmp= ac_tmp=
19466 trap 'exit_status=$?
19467 : "${ac_tmp:=$tmp}"
19468 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19470 trap 'as_fn_exit 1' 1 2 13 15
19472 # Create a (secure) tmp directory for tmp files.
19475 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19476 test -d "$tmp"
19477 } ||
19479 tmp=./conf$$-$RANDOM
19480 (umask 077 && mkdir "$tmp")
19481 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19482 ac_tmp=$tmp
19484 # Set up the scripts for CONFIG_FILES section.
19485 # No need to generate them if there are no CONFIG_FILES.
19486 # This happens for instance with `./config.status config.h'.
19487 if test -n "$CONFIG_FILES"; then
19490 ac_cr=`echo X | tr X '\015'`
19491 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19492 # But we know of no other shell where ac_cr would be empty at this
19493 # point, so we can use a bashism as a fallback.
19494 if test "x$ac_cr" = x; then
19495 eval ac_cr=\$\'\\r\'
19497 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19498 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19499 ac_cs_awk_cr='\\r'
19500 else
19501 ac_cs_awk_cr=$ac_cr
19504 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19505 _ACEOF
19509 echo "cat >conf$$subs.awk <<_ACEOF" &&
19510 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19511 echo "_ACEOF"
19512 } >conf$$subs.sh ||
19513 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19514 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19515 ac_delim='%!_!# '
19516 for ac_last_try in false false false false false :; do
19517 . ./conf$$subs.sh ||
19518 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19520 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19521 if test $ac_delim_n = $ac_delim_num; then
19522 break
19523 elif $ac_last_try; then
19524 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19525 else
19526 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19528 done
19529 rm -f conf$$subs.sh
19531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19532 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19533 _ACEOF
19534 sed -n '
19536 s/^/S["/; s/!.*/"]=/
19539 s/^[^!]*!//
19540 :repl
19541 t repl
19542 s/'"$ac_delim"'$//
19543 t delim
19546 s/\(.\{148\}\)..*/\1/
19547 t more1
19548 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19551 b repl
19552 :more1
19553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19556 s/.\{148\}//
19557 t nl
19558 :delim
19560 s/\(.\{148\}\)..*/\1/
19561 t more2
19562 s/["\\]/\\&/g; s/^/"/; s/$/"/
19565 :more2
19566 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19569 s/.\{148\}//
19570 t delim
19571 ' <conf$$subs.awk | sed '
19572 /^[^""]/{
19574 s/\n//
19576 ' >>$CONFIG_STATUS || ac_write_fail=1
19577 rm -f conf$$subs.awk
19578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19579 _ACAWK
19580 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19581 for (key in S) S_is_set[key] = 1
19582 FS = "\a"
19586 line = $ 0
19587 nfields = split(line, field, "@")
19588 substed = 0
19589 len = length(field[1])
19590 for (i = 2; i < nfields; i++) {
19591 key = field[i]
19592 keylen = length(key)
19593 if (S_is_set[key]) {
19594 value = S[key]
19595 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19596 len += length(value) + length(field[++i])
19597 substed = 1
19598 } else
19599 len += 1 + keylen
19602 print line
19605 _ACAWK
19606 _ACEOF
19607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19608 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19609 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19610 else
19612 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19613 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19614 _ACEOF
19616 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19617 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19618 # trailing colons and then remove the whole line if VPATH becomes empty
19619 # (actually we leave an empty line to preserve line numbers).
19620 if test "x$srcdir" = x.; then
19621 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19623 s///
19624 s/^/:/
19625 s/[ ]*$/:/
19626 s/:\$(srcdir):/:/g
19627 s/:\${srcdir}:/:/g
19628 s/:@srcdir@:/:/g
19629 s/^:*//
19630 s/:*$//
19632 s/\(=[ ]*\).*/\1/
19634 s/\n//
19635 s/^[^=]*=[ ]*$//
19639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19640 fi # test -n "$CONFIG_FILES"
19642 # Set up the scripts for CONFIG_HEADERS section.
19643 # No need to generate them if there are no CONFIG_HEADERS.
19644 # This happens for instance with `./config.status Makefile'.
19645 if test -n "$CONFIG_HEADERS"; then
19646 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19647 BEGIN {
19648 _ACEOF
19650 # Transform confdefs.h into an awk script `defines.awk', embedded as
19651 # here-document in config.status, that substitutes the proper values into
19652 # config.h.in to produce config.h.
19654 # Create a delimiter string that does not exist in confdefs.h, to ease
19655 # handling of long lines.
19656 ac_delim='%!_!# '
19657 for ac_last_try in false false :; do
19658 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19659 if test -z "$ac_tt"; then
19660 break
19661 elif $ac_last_try; then
19662 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19663 else
19664 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19666 done
19668 # For the awk script, D is an array of macro values keyed by name,
19669 # likewise P contains macro parameters if any. Preserve backslash
19670 # newline sequences.
19672 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19673 sed -n '
19674 s/.\{148\}/&'"$ac_delim"'/g
19675 t rset
19676 :rset
19677 s/^[ ]*#[ ]*define[ ][ ]*/ /
19678 t def
19680 :def
19681 s/\\$//
19682 t bsnl
19683 s/["\\]/\\&/g
19684 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19685 D["\1"]=" \3"/p
19686 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19688 :bsnl
19689 s/["\\]/\\&/g
19690 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19691 D["\1"]=" \3\\\\\\n"\\/p
19692 t cont
19693 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19694 t cont
19696 :cont
19698 s/.\{148\}/&'"$ac_delim"'/g
19699 t clear
19700 :clear
19701 s/\\$//
19702 t bsnlc
19703 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19705 :bsnlc
19706 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19707 b cont
19708 ' <confdefs.h | sed '
19709 s/'"$ac_delim"'/"\\\
19710 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19713 for (key in D) D_is_set[key] = 1
19714 FS = "\a"
19716 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19717 line = \$ 0
19718 split(line, arg, " ")
19719 if (arg[1] == "#") {
19720 defundef = arg[2]
19721 mac1 = arg[3]
19722 } else {
19723 defundef = substr(arg[1], 2)
19724 mac1 = arg[2]
19726 split(mac1, mac2, "(") #)
19727 macro = mac2[1]
19728 prefix = substr(line, 1, index(line, defundef) - 1)
19729 if (D_is_set[macro]) {
19730 # Preserve the white space surrounding the "#".
19731 print prefix "define", macro P[macro] D[macro]
19732 next
19733 } else {
19734 # Replace #undef with comments. This is necessary, for example,
19735 # in the case of _POSIX_SOURCE, which is predefined and required
19736 # on some systems where configure will not decide to define it.
19737 if (defundef == "undef") {
19738 print "/*", prefix defundef, macro, "*/"
19739 next
19743 { print }
19744 _ACAWK
19745 _ACEOF
19746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19747 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19748 fi # test -n "$CONFIG_HEADERS"
19751 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19752 shift
19753 for ac_tag
19755 case $ac_tag in
19756 :[FHLC]) ac_mode=$ac_tag; continue;;
19757 esac
19758 case $ac_mode$ac_tag in
19759 :[FHL]*:*);;
19760 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19761 :[FH]-) ac_tag=-:-;;
19762 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19763 esac
19764 ac_save_IFS=$IFS
19765 IFS=:
19766 set x $ac_tag
19767 IFS=$ac_save_IFS
19768 shift
19769 ac_file=$1
19770 shift
19772 case $ac_mode in
19773 :L) ac_source=$1;;
19774 :[FH])
19775 ac_file_inputs=
19776 for ac_f
19778 case $ac_f in
19779 -) ac_f="$ac_tmp/stdin";;
19780 *) # Look for the file first in the build tree, then in the source tree
19781 # (if the path is not absolute). The absolute path cannot be DOS-style,
19782 # because $ac_f cannot contain `:'.
19783 test -f "$ac_f" ||
19784 case $ac_f in
19785 [\\/$]*) false;;
19786 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19787 esac ||
19788 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19789 esac
19790 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19791 as_fn_append ac_file_inputs " '$ac_f'"
19792 done
19794 # Let's still pretend it is `configure' which instantiates (i.e., don't
19795 # use $as_me), people would be surprised to read:
19796 # /* config.h. Generated by config.status. */
19797 configure_input='Generated from '`
19798 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19799 `' by configure.'
19800 if test x"$ac_file" != x-; then
19801 configure_input="$ac_file. $configure_input"
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19803 $as_echo "$as_me: creating $ac_file" >&6;}
19805 # Neutralize special characters interpreted by sed in replacement strings.
19806 case $configure_input in #(
19807 *\&* | *\|* | *\\* )
19808 ac_sed_conf_input=`$as_echo "$configure_input" |
19809 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19810 *) ac_sed_conf_input=$configure_input;;
19811 esac
19813 case $ac_tag in
19814 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19816 esac
19818 esac
19820 ac_dir=`$as_dirname -- "$ac_file" ||
19821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19822 X"$ac_file" : 'X\(//\)[^/]' \| \
19823 X"$ac_file" : 'X\(//\)$' \| \
19824 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19825 $as_echo X"$ac_file" |
19826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19827 s//\1/
19830 /^X\(\/\/\)[^/].*/{
19831 s//\1/
19834 /^X\(\/\/\)$/{
19835 s//\1/
19838 /^X\(\/\).*/{
19839 s//\1/
19842 s/.*/./; q'`
19843 as_dir="$ac_dir"; as_fn_mkdir_p
19844 ac_builddir=.
19846 case "$ac_dir" in
19847 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19849 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19850 # A ".." for each directory in $ac_dir_suffix.
19851 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19852 case $ac_top_builddir_sub in
19853 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19854 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19855 esac ;;
19856 esac
19857 ac_abs_top_builddir=$ac_pwd
19858 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19859 # for backward compatibility:
19860 ac_top_builddir=$ac_top_build_prefix
19862 case $srcdir in
19863 .) # We are building in place.
19864 ac_srcdir=.
19865 ac_top_srcdir=$ac_top_builddir_sub
19866 ac_abs_top_srcdir=$ac_pwd ;;
19867 [\\/]* | ?:[\\/]* ) # Absolute name.
19868 ac_srcdir=$srcdir$ac_dir_suffix;
19869 ac_top_srcdir=$srcdir
19870 ac_abs_top_srcdir=$srcdir ;;
19871 *) # Relative name.
19872 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19873 ac_top_srcdir=$ac_top_build_prefix$srcdir
19874 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19875 esac
19876 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19879 case $ac_mode in
19882 # CONFIG_FILE
19885 _ACEOF
19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19888 # If the template does not know about datarootdir, expand it.
19889 # FIXME: This hack should be removed a few years after 2.60.
19890 ac_datarootdir_hack=; ac_datarootdir_seen=
19891 ac_sed_dataroot='
19892 /datarootdir/ {
19896 /@datadir@/p
19897 /@docdir@/p
19898 /@infodir@/p
19899 /@localedir@/p
19900 /@mandir@/p'
19901 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19902 *datarootdir*) ac_datarootdir_seen=yes;;
19903 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19905 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19906 _ACEOF
19907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19908 ac_datarootdir_hack='
19909 s&@datadir@&$datadir&g
19910 s&@docdir@&$docdir&g
19911 s&@infodir@&$infodir&g
19912 s&@localedir@&$localedir&g
19913 s&@mandir@&$mandir&g
19914 s&\\\${datarootdir}&$datarootdir&g' ;;
19915 esac
19916 _ACEOF
19918 # Neutralize VPATH when `$srcdir' = `.'.
19919 # Shell code in configure.ac might set extrasub.
19920 # FIXME: do we really want to maintain this feature?
19921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19922 ac_sed_extra="$ac_vpsub
19923 $extrasub
19924 _ACEOF
19925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19928 s|@configure_input@|$ac_sed_conf_input|;t t
19929 s&@top_builddir@&$ac_top_builddir_sub&;t t
19930 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19931 s&@srcdir@&$ac_srcdir&;t t
19932 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19933 s&@top_srcdir@&$ac_top_srcdir&;t t
19934 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19935 s&@builddir@&$ac_builddir&;t t
19936 s&@abs_builddir@&$ac_abs_builddir&;t t
19937 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19938 $ac_datarootdir_hack
19940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19941 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19944 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19946 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19948 which seems to be undefined. Please make sure it is defined" >&5
19949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19950 which seems to be undefined. Please make sure it is defined" >&2;}
19952 rm -f "$ac_tmp/stdin"
19953 case $ac_file in
19954 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19955 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19956 esac \
19957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19961 # CONFIG_HEADER
19963 if test x"$ac_file" != x-; then
19965 $as_echo "/* $configure_input */" \
19966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19967 } >"$ac_tmp/config.h" \
19968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19969 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19972 else
19973 rm -f "$ac_file"
19974 mv "$ac_tmp/config.h" "$ac_file" \
19975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19977 else
19978 $as_echo "/* $configure_input */" \
19979 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19980 || as_fn_error $? "could not create -" "$LINENO" 5
19985 # CONFIG_LINK
19988 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19990 else
19991 # Prefer the file from the source tree if names are identical.
19992 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19993 ac_source=$srcdir/$ac_source
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19997 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19999 if test ! -r "$ac_source"; then
20000 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20002 rm -f "$ac_file"
20004 # Try a relative symlink, then a hard link, then a copy.
20005 case $ac_source in
20006 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20007 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20008 esac
20009 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20010 ln "$ac_source" "$ac_file" 2>/dev/null ||
20011 cp -p "$ac_source" "$ac_file" ||
20012 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20015 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20016 $as_echo "$as_me: executing $ac_file commands" >&6;}
20018 esac
20021 case $ac_file$ac_mode in
20022 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20023 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20024 "Makefile":C) wine_fn_output_makefile Makefile ;;
20026 esac
20027 done # for ac_tag
20030 as_fn_exit 0
20031 _ACEOF
20032 ac_clean_files=$ac_clean_files_save
20034 test $ac_write_fail = 0 ||
20035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20038 # configure is writing to config.log, and then calls config.status.
20039 # config.status does its own redirection, appending to config.log.
20040 # Unfortunately, on DOS this fails, as config.log is still kept open
20041 # by configure, so config.status won't be able to write to it; its
20042 # output is simply discarded. So we exec the FD to /dev/null,
20043 # effectively closing config.log, so it can be properly (re)opened and
20044 # appended to by config.status. When coming back to configure, we
20045 # need to make the FD available again.
20046 if test "$no_create" != yes; then
20047 ac_cs_success=:
20048 ac_config_status_args=
20049 test "$silent" = yes &&
20050 ac_config_status_args="$ac_config_status_args --quiet"
20051 exec 5>/dev/null
20052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20053 exec 5>>config.log
20054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20055 # would make configure fail if this is the last instruction.
20056 $ac_cs_success || as_fn_exit 1
20058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20064 if test "$no_create" = "yes"
20065 then
20066 exit 0
20069 ac_save_IFS="$IFS"
20070 if test "x$wine_notices" != x; then
20071 echo >&6
20072 IFS="|"
20073 for msg in $wine_notices; do
20074 IFS="$ac_save_IFS"
20075 if ${msg:+false} :; then :
20077 else
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20079 $as_echo "$as_me: $msg" >&6;}
20081 done
20083 IFS="|"
20084 for msg in $wine_warnings; do
20085 IFS="$ac_save_IFS"
20086 if ${msg:+false} :; then :
20088 else
20089 echo >&2
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20091 $as_echo "$as_me: WARNING: $msg" >&2;}
20093 done
20094 IFS="$ac_save_IFS"
20096 $as_echo "
20097 $as_me: Finished. Do '${ac_make}' to compile Wine.
20098 " >&6