po: Update Norwegian translation.
[wine.git] / configure
blob229dba9883f9af829c8997a0cc6f6ab101c758b9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.6.
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.6'
584 PACKAGE_STRING='Wine 2.6'
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_mtxdm
1336 enable_ncrypt
1337 enable_nddeapi
1338 enable_ndis_sys
1339 enable_netapi32
1340 enable_netcfgx
1341 enable_netprofm
1342 enable_newdev
1343 enable_normaliz
1344 enable_npmshtml
1345 enable_npptools
1346 enable_ntdll
1347 enable_ntdsapi
1348 enable_ntoskrnl_exe
1349 enable_ntprint
1350 enable_objsel
1351 enable_odbc32
1352 enable_odbccp32
1353 enable_odbccu32
1354 enable_ole32
1355 enable_oleacc
1356 enable_oleaut32
1357 enable_olecli32
1358 enable_oledb32
1359 enable_oledlg
1360 enable_olepro32
1361 enable_olesvr32
1362 enable_olethk32
1363 enable_openal32
1364 enable_opencl
1365 enable_opengl32
1366 enable_packager
1367 enable_pdh
1368 enable_photometadatahandler
1369 enable_pidgen
1370 enable_powrprof
1371 enable_printui
1372 enable_prntvpt
1373 enable_propsys
1374 enable_psapi
1375 enable_pstorec
1376 enable_qcap
1377 enable_qedit
1378 enable_qmgr
1379 enable_qmgrprxy
1380 enable_quartz
1381 enable_query
1382 enable_rasapi32
1383 enable_rasdlg
1384 enable_regapi
1385 enable_resutils
1386 enable_riched20
1387 enable_riched32
1388 enable_rpcrt4
1389 enable_rsabase
1390 enable_rsaenh
1391 enable_rstrtmgr
1392 enable_rtutils
1393 enable_samlib
1394 enable_sane_ds
1395 enable_scarddlg
1396 enable_sccbase
1397 enable_schannel
1398 enable_schedsvc
1399 enable_scrobj
1400 enable_scrrun
1401 enable_scsiport_sys
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shdoclc
1410 enable_shdocvw
1411 enable_shell32
1412 enable_shfolder
1413 enable_shlwapi
1414 enable_slbcsp
1415 enable_slc
1416 enable_snmpapi
1417 enable_softpub
1418 enable_spoolss
1419 enable_sspicli
1420 enable_stdole2_tlb
1421 enable_stdole32_tlb
1422 enable_sti
1423 enable_svrapi
1424 enable_sxs
1425 enable_t2embed
1426 enable_tapi32
1427 enable_taskschd
1428 enable_tdi_sys
1429 enable_traffic
1430 enable_twain_32
1431 enable_ucrtbase
1432 enable_uiautomationcore
1433 enable_unicows
1434 enable_updspapi
1435 enable_url
1436 enable_urlmon
1437 enable_usbd_sys
1438 enable_user32
1439 enable_userenv
1440 enable_usp10
1441 enable_uxtheme
1442 enable_vbscript
1443 enable_vcomp
1444 enable_vcomp100
1445 enable_vcomp110
1446 enable_vcomp120
1447 enable_vcomp140
1448 enable_vcomp90
1449 enable_vcruntime140
1450 enable_vdmdbg
1451 enable_version
1452 enable_virtdisk
1453 enable_vssapi
1454 enable_wbemdisp
1455 enable_wbemprox
1456 enable_webservices
1457 enable_wer
1458 enable_wevtapi
1459 enable_wiaservc
1460 enable_wimgapi
1461 enable_windowscodecs
1462 enable_windowscodecsext
1463 enable_winealsa_drv
1464 enable_winebus_sys
1465 enable_winecoreaudio_drv
1466 enable_wined3d
1467 enable_winegstreamer
1468 enable_winehid_sys
1469 enable_winejoystick_drv
1470 enable_winemac_drv
1471 enable_winemapi
1472 enable_winemp3_acm
1473 enable_wineoss_drv
1474 enable_wineps_drv
1475 enable_winepulse_drv
1476 enable_wineqtdecoder
1477 enable_winex11_drv
1478 enable_wing32
1479 enable_winhttp
1480 enable_wininet
1481 enable_winmm
1482 enable_winnls32
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_winusb
1489 enable_wlanapi
1490 enable_wldap32
1491 enable_wmasf
1492 enable_wmi
1493 enable_wmiutils
1494 enable_wmp
1495 enable_wmvcore
1496 enable_wnaspi32
1497 enable_wpc
1498 enable_wpcap
1499 enable_ws2_32
1500 enable_wsdapi
1501 enable_wshom_ocx
1502 enable_wsnmp32
1503 enable_wsock32
1504 enable_wtsapi32
1505 enable_wuapi
1506 enable_wuaueng
1507 enable_x3daudio1_0
1508 enable_x3daudio1_1
1509 enable_x3daudio1_2
1510 enable_x3daudio1_3
1511 enable_x3daudio1_4
1512 enable_x3daudio1_5
1513 enable_x3daudio1_6
1514 enable_x3daudio1_7
1515 enable_xapofx1_1
1516 enable_xapofx1_2
1517 enable_xapofx1_3
1518 enable_xapofx1_4
1519 enable_xapofx1_5
1520 enable_xaudio2_0
1521 enable_xaudio2_1
1522 enable_xaudio2_2
1523 enable_xaudio2_3
1524 enable_xaudio2_4
1525 enable_xaudio2_5
1526 enable_xaudio2_6
1527 enable_xaudio2_7
1528 enable_xaudio2_8
1529 enable_xaudio2_9
1530 enable_xinput1_1
1531 enable_xinput1_2
1532 enable_xinput1_3
1533 enable_xinput1_4
1534 enable_xinput9_1_0
1535 enable_xmllite
1536 enable_xolehlp
1537 enable_xpsprint
1538 enable_xpssvcs
1539 enable_fonts
1540 enable_include
1541 enable_libs_port
1542 enable_libs_wine
1543 enable_libs_wpp
1544 enable_loader
1545 enable_po
1546 enable_arp
1547 enable_aspnet_regiis
1548 enable_attrib
1549 enable_cabarc
1550 enable_cacls
1551 enable_clock
1552 enable_cmd
1553 enable_conhost
1554 enable_control
1555 enable_cscript
1556 enable_dpnsvr
1557 enable_dxdiag
1558 enable_eject
1559 enable_expand
1560 enable_explorer
1561 enable_extrac32
1562 enable_findstr
1563 enable_fsutil
1564 enable_hh
1565 enable_hostname
1566 enable_icacls
1567 enable_icinfo
1568 enable_iexplore
1569 enable_ipconfig
1570 enable_lodctr
1571 enable_mofcomp
1572 enable_mshta
1573 enable_msiexec
1574 enable_msinfo32
1575 enable_net
1576 enable_netsh
1577 enable_netstat
1578 enable_ngen
1579 enable_notepad
1580 enable_oleview
1581 enable_ping
1582 enable_plugplay
1583 enable_presentationfontcache
1584 enable_progman
1585 enable_reg
1586 enable_regasm
1587 enable_regedit
1588 enable_regsvcs
1589 enable_regsvr32
1590 enable_rpcss
1591 enable_rundll32
1592 enable_sc
1593 enable_schtasks
1594 enable_sdbinst
1595 enable_secedit
1596 enable_servicemodelreg
1597 enable_services
1598 enable_shutdown
1599 enable_spoolsv
1600 enable_start
1601 enable_subst
1602 enable_svchost
1603 enable_systeminfo
1604 enable_taskkill
1605 enable_tasklist
1606 enable_taskmgr
1607 enable_termsv
1608 enable_uninstaller
1609 enable_unlodctr
1610 enable_view
1611 enable_wevtutil
1612 enable_wineboot
1613 enable_winebrowser
1614 enable_winecfg
1615 enable_wineconsole
1616 enable_winedbg
1617 enable_winedevice
1618 enable_winefile
1619 enable_winemenubuilder
1620 enable_winemine
1621 enable_winemsibuilder
1622 enable_winepath
1623 enable_winetest
1624 enable_winhlp32
1625 enable_winver
1626 enable_wmic
1627 enable_wmplayer
1628 enable_wordpad
1629 enable_write
1630 enable_wscript
1631 enable_wusa
1632 enable_xcopy
1633 enable_server
1634 enable_tools
1636 ac_precious_vars='build_alias
1637 host_alias
1638 target_alias
1640 CFLAGS
1641 LDFLAGS
1642 LIBS
1643 CPPFLAGS
1645 CXXFLAGS
1648 XMKMF
1649 XML2_CFLAGS
1650 XML2_LIBS
1651 XSLT_CFLAGS
1652 XSLT_LIBS
1653 DBUS_CFLAGS
1654 DBUS_LIBS
1655 HAL_CFLAGS
1656 HAL_LIBS
1657 GNUTLS_CFLAGS
1658 GNUTLS_LIBS
1659 SANE_CFLAGS
1660 SANE_LIBS
1661 GPHOTO2_CFLAGS
1662 GPHOTO2_LIBS
1663 GPHOTO2_PORT_CFLAGS
1664 GPHOTO2_PORT_LIBS
1665 LCMS2_CFLAGS
1666 LCMS2_LIBS
1667 FREETYPE_CFLAGS
1668 FREETYPE_LIBS
1669 PULSE_CFLAGS
1670 PULSE_LIBS
1671 GSTREAMER_CFLAGS
1672 GSTREAMER_LIBS
1673 UDEV_CFLAGS
1674 UDEV_LIBS
1675 CAPI20_CFLAGS
1676 CAPI20_LIBS
1677 FONTCONFIG_CFLAGS
1678 FONTCONFIG_LIBS
1679 JPEG_CFLAGS
1680 JPEG_LIBS
1681 PNG_CFLAGS
1682 PNG_LIBS
1683 TIFF_CFLAGS
1684 TIFF_LIBS
1685 MPG123_CFLAGS
1686 MPG123_LIBS
1687 NETAPI_CFLAGS
1688 NETAPI_LIBS'
1691 # Initialize some variables set by options.
1692 ac_init_help=
1693 ac_init_version=false
1694 ac_unrecognized_opts=
1695 ac_unrecognized_sep=
1696 # The variables have the same names as the options, with
1697 # dashes changed to underlines.
1698 cache_file=/dev/null
1699 exec_prefix=NONE
1700 no_create=
1701 no_recursion=
1702 prefix=NONE
1703 program_prefix=NONE
1704 program_suffix=NONE
1705 program_transform_name=s,x,x,
1706 silent=
1707 site=
1708 srcdir=
1709 verbose=
1710 x_includes=NONE
1711 x_libraries=NONE
1713 # Installation directory options.
1714 # These are left unexpanded so users can "make install exec_prefix=/foo"
1715 # and all the variables that are supposed to be based on exec_prefix
1716 # by default will actually change.
1717 # Use braces instead of parens because sh, perl, etc. also accept them.
1718 # (The list follows the same order as the GNU Coding Standards.)
1719 bindir='${exec_prefix}/bin'
1720 sbindir='${exec_prefix}/sbin'
1721 libexecdir='${exec_prefix}/libexec'
1722 datarootdir='${prefix}/share'
1723 datadir='${datarootdir}'
1724 sysconfdir='${prefix}/etc'
1725 sharedstatedir='${prefix}/com'
1726 localstatedir='${prefix}/var'
1727 runstatedir='${localstatedir}/run'
1728 includedir='${prefix}/include'
1729 oldincludedir='/usr/include'
1730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1731 infodir='${datarootdir}/info'
1732 htmldir='${docdir}'
1733 dvidir='${docdir}'
1734 pdfdir='${docdir}'
1735 psdir='${docdir}'
1736 libdir='${exec_prefix}/lib'
1737 localedir='${datarootdir}/locale'
1738 mandir='${datarootdir}/man'
1740 ac_prev=
1741 ac_dashdash=
1742 for ac_option
1744 # If the previous option needs an argument, assign it.
1745 if test -n "$ac_prev"; then
1746 eval $ac_prev=\$ac_option
1747 ac_prev=
1748 continue
1751 case $ac_option in
1752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1753 *=) ac_optarg= ;;
1754 *) ac_optarg=yes ;;
1755 esac
1757 # Accept the important Cygnus configure options, so we can diagnose typos.
1759 case $ac_dashdash$ac_option in
1761 ac_dashdash=yes ;;
1763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1764 ac_prev=bindir ;;
1765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1766 bindir=$ac_optarg ;;
1768 -build | --build | --buil | --bui | --bu)
1769 ac_prev=build_alias ;;
1770 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1771 build_alias=$ac_optarg ;;
1773 -cache-file | --cache-file | --cache-fil | --cache-fi \
1774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1775 ac_prev=cache_file ;;
1776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1778 cache_file=$ac_optarg ;;
1780 --config-cache | -C)
1781 cache_file=config.cache ;;
1783 -datadir | --datadir | --datadi | --datad)
1784 ac_prev=datadir ;;
1785 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1786 datadir=$ac_optarg ;;
1788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1789 | --dataroo | --dataro | --datar)
1790 ac_prev=datarootdir ;;
1791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1793 datarootdir=$ac_optarg ;;
1795 -disable-* | --disable-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid feature name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "enable_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval enable_$ac_useropt=no ;;
1811 -docdir | --docdir | --docdi | --doc | --do)
1812 ac_prev=docdir ;;
1813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1814 docdir=$ac_optarg ;;
1816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1817 ac_prev=dvidir ;;
1818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1819 dvidir=$ac_optarg ;;
1821 -enable-* | --enable-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid feature name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval enable_$ac_useropt=\$ac_optarg ;;
1837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1839 | --exec | --exe | --ex)
1840 ac_prev=exec_prefix ;;
1841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1843 | --exec=* | --exe=* | --ex=*)
1844 exec_prefix=$ac_optarg ;;
1846 -gas | --gas | --ga | --g)
1847 # Obsolete; use --with-gas.
1848 with_gas=yes ;;
1850 -help | --help | --hel | --he | -h)
1851 ac_init_help=long ;;
1852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1853 ac_init_help=recursive ;;
1854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1855 ac_init_help=short ;;
1857 -host | --host | --hos | --ho)
1858 ac_prev=host_alias ;;
1859 -host=* | --host=* | --hos=* | --ho=*)
1860 host_alias=$ac_optarg ;;
1862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1863 ac_prev=htmldir ;;
1864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1865 | --ht=*)
1866 htmldir=$ac_optarg ;;
1868 -includedir | --includedir | --includedi | --included | --include \
1869 | --includ | --inclu | --incl | --inc)
1870 ac_prev=includedir ;;
1871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1872 | --includ=* | --inclu=* | --incl=* | --inc=*)
1873 includedir=$ac_optarg ;;
1875 -infodir | --infodir | --infodi | --infod | --info | --inf)
1876 ac_prev=infodir ;;
1877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1878 infodir=$ac_optarg ;;
1880 -libdir | --libdir | --libdi | --libd)
1881 ac_prev=libdir ;;
1882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1883 libdir=$ac_optarg ;;
1885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1886 | --libexe | --libex | --libe)
1887 ac_prev=libexecdir ;;
1888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1889 | --libexe=* | --libex=* | --libe=*)
1890 libexecdir=$ac_optarg ;;
1892 -localedir | --localedir | --localedi | --localed | --locale)
1893 ac_prev=localedir ;;
1894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1895 localedir=$ac_optarg ;;
1897 -localstatedir | --localstatedir | --localstatedi | --localstated \
1898 | --localstate | --localstat | --localsta | --localst | --locals)
1899 ac_prev=localstatedir ;;
1900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1902 localstatedir=$ac_optarg ;;
1904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1905 ac_prev=mandir ;;
1906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1907 mandir=$ac_optarg ;;
1909 -nfp | --nfp | --nf)
1910 # Obsolete; use --without-fp.
1911 with_fp=no ;;
1913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1914 | --no-cr | --no-c | -n)
1915 no_create=yes ;;
1917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1919 no_recursion=yes ;;
1921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1923 | --oldin | --oldi | --old | --ol | --o)
1924 ac_prev=oldincludedir ;;
1925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1928 oldincludedir=$ac_optarg ;;
1930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1931 ac_prev=prefix ;;
1932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1933 prefix=$ac_optarg ;;
1935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1936 | --program-pre | --program-pr | --program-p)
1937 ac_prev=program_prefix ;;
1938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1940 program_prefix=$ac_optarg ;;
1942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1943 | --program-suf | --program-su | --program-s)
1944 ac_prev=program_suffix ;;
1945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1947 program_suffix=$ac_optarg ;;
1949 -program-transform-name | --program-transform-name \
1950 | --program-transform-nam | --program-transform-na \
1951 | --program-transform-n | --program-transform- \
1952 | --program-transform | --program-transfor \
1953 | --program-transfo | --program-transf \
1954 | --program-trans | --program-tran \
1955 | --progr-tra | --program-tr | --program-t)
1956 ac_prev=program_transform_name ;;
1957 -program-transform-name=* | --program-transform-name=* \
1958 | --program-transform-nam=* | --program-transform-na=* \
1959 | --program-transform-n=* | --program-transform-=* \
1960 | --program-transform=* | --program-transfor=* \
1961 | --program-transfo=* | --program-transf=* \
1962 | --program-trans=* | --program-tran=* \
1963 | --progr-tra=* | --program-tr=* | --program-t=*)
1964 program_transform_name=$ac_optarg ;;
1966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1967 ac_prev=pdfdir ;;
1968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1969 pdfdir=$ac_optarg ;;
1971 -psdir | --psdir | --psdi | --psd | --ps)
1972 ac_prev=psdir ;;
1973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1974 psdir=$ac_optarg ;;
1976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1977 | -silent | --silent | --silen | --sile | --sil)
1978 silent=yes ;;
1980 -runstatedir | --runstatedir | --runstatedi | --runstated \
1981 | --runstate | --runstat | --runsta | --runst | --runs \
1982 | --run | --ru | --r)
1983 ac_prev=runstatedir ;;
1984 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1985 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1986 | --run=* | --ru=* | --r=*)
1987 runstatedir=$ac_optarg ;;
1989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1990 ac_prev=sbindir ;;
1991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1992 | --sbi=* | --sb=*)
1993 sbindir=$ac_optarg ;;
1995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1997 | --sharedst | --shareds | --shared | --share | --shar \
1998 | --sha | --sh)
1999 ac_prev=sharedstatedir ;;
2000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2003 | --sha=* | --sh=*)
2004 sharedstatedir=$ac_optarg ;;
2006 -site | --site | --sit)
2007 ac_prev=site ;;
2008 -site=* | --site=* | --sit=*)
2009 site=$ac_optarg ;;
2011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2012 ac_prev=srcdir ;;
2013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2014 srcdir=$ac_optarg ;;
2016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2017 | --syscon | --sysco | --sysc | --sys | --sy)
2018 ac_prev=sysconfdir ;;
2019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2021 sysconfdir=$ac_optarg ;;
2023 -target | --target | --targe | --targ | --tar | --ta | --t)
2024 ac_prev=target_alias ;;
2025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2026 target_alias=$ac_optarg ;;
2028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2029 verbose=yes ;;
2031 -version | --version | --versio | --versi | --vers | -V)
2032 ac_init_version=: ;;
2034 -with-* | --with-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid package name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "with_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval with_$ac_useropt=\$ac_optarg ;;
2050 -without-* | --without-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid package name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "with_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval with_$ac_useropt=no ;;
2066 --x)
2067 # Obsolete; use --with-x.
2068 with_x=yes ;;
2070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2071 | --x-incl | --x-inc | --x-in | --x-i)
2072 ac_prev=x_includes ;;
2073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2075 x_includes=$ac_optarg ;;
2077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2079 ac_prev=x_libraries ;;
2080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2082 x_libraries=$ac_optarg ;;
2084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2085 Try \`$0 --help' for more information"
2088 *=*)
2089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2090 # Reject names that are not valid shell variable names.
2091 case $ac_envvar in #(
2092 '' | [0-9]* | *[!_$as_cr_alnum]* )
2093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2094 esac
2095 eval $ac_envvar=\$ac_optarg
2096 export $ac_envvar ;;
2099 # FIXME: should be removed in autoconf 3.0.
2100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2106 esac
2107 done
2109 if test -n "$ac_prev"; then
2110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2111 as_fn_error $? "missing argument to $ac_option"
2114 if test -n "$ac_unrecognized_opts"; then
2115 case $enable_option_checking in
2116 no) ;;
2117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2119 esac
2122 # Check all directory arguments for consistency.
2123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2124 datadir sysconfdir sharedstatedir localstatedir includedir \
2125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2126 libdir localedir mandir runstatedir
2128 eval ac_val=\$$ac_var
2129 # Remove trailing slashes.
2130 case $ac_val in
2131 */ )
2132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2133 eval $ac_var=\$ac_val;;
2134 esac
2135 # Be sure to have absolute directory names.
2136 case $ac_val in
2137 [\\/$]* | ?:[\\/]* ) continue;;
2138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2139 esac
2140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2141 done
2143 # There might be people who depend on the old broken behavior: `$host'
2144 # used to hold the argument of --host etc.
2145 # FIXME: To remove some day.
2146 build=$build_alias
2147 host=$host_alias
2148 target=$target_alias
2150 # FIXME: To remove some day.
2151 if test "x$host_alias" != x; then
2152 if test "x$build_alias" = x; then
2153 cross_compiling=maybe
2154 elif test "x$build_alias" != "x$host_alias"; then
2155 cross_compiling=yes
2159 ac_tool_prefix=
2160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2162 test "$silent" = yes && exec 6>/dev/null
2165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2166 ac_ls_di=`ls -di .` &&
2167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2168 as_fn_error $? "working directory cannot be determined"
2169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2170 as_fn_error $? "pwd does not report name of working directory"
2173 # Find the source files, if location was not specified.
2174 if test -z "$srcdir"; then
2175 ac_srcdir_defaulted=yes
2176 # Try the directory containing this script, then the parent directory.
2177 ac_confdir=`$as_dirname -- "$as_myself" ||
2178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2179 X"$as_myself" : 'X\(//\)[^/]' \| \
2180 X"$as_myself" : 'X\(//\)$' \| \
2181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2182 $as_echo X"$as_myself" |
2183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2184 s//\1/
2187 /^X\(\/\/\)[^/].*/{
2188 s//\1/
2191 /^X\(\/\/\)$/{
2192 s//\1/
2195 /^X\(\/\).*/{
2196 s//\1/
2199 s/.*/./; q'`
2200 srcdir=$ac_confdir
2201 if test ! -r "$srcdir/$ac_unique_file"; then
2202 srcdir=..
2204 else
2205 ac_srcdir_defaulted=no
2207 if test ! -r "$srcdir/$ac_unique_file"; then
2208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2212 ac_abs_confdir=`(
2213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2214 pwd)`
2215 # When building in place, set srcdir=.
2216 if test "$ac_abs_confdir" = "$ac_pwd"; then
2217 srcdir=.
2219 # Remove unnecessary trailing slashes from srcdir.
2220 # Double slashes in file names in object file debugging info
2221 # mess up M-x gdb in Emacs.
2222 case $srcdir in
2223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2224 esac
2225 for ac_var in $ac_precious_vars; do
2226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2227 eval ac_env_${ac_var}_value=\$${ac_var}
2228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2230 done
2233 # Report the --help message.
2235 if test "$ac_init_help" = "long"; then
2236 # Omit some internal or obsolete options to make the list less imposing.
2237 # This message is too long to be a string in the A/UX 3.1 sh.
2238 cat <<_ACEOF
2239 \`configure' configures Wine 2.6 to adapt to many kinds of systems.
2241 Usage: $0 [OPTION]... [VAR=VALUE]...
2243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2244 VAR=VALUE. See below for descriptions of some of the useful variables.
2246 Defaults for the options are specified in brackets.
2248 Configuration:
2249 -h, --help display this help and exit
2250 --help=short display options specific to this package
2251 --help=recursive display the short help of all the included packages
2252 -V, --version display version information and exit
2253 -q, --quiet, --silent do not print \`checking ...' messages
2254 --cache-file=FILE cache test results in FILE [disabled]
2255 -C, --config-cache alias for \`--cache-file=config.cache'
2256 -n, --no-create do not create output files
2257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2259 Installation directories:
2260 --prefix=PREFIX install architecture-independent files in PREFIX
2261 [$ac_default_prefix]
2262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2263 [PREFIX]
2265 By default, \`make install' will install all the files in
2266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2268 for instance \`--prefix=\$HOME'.
2270 For better control, use the options below.
2272 Fine tuning of the installation directories:
2273 --bindir=DIR user executables [EPREFIX/bin]
2274 --sbindir=DIR system admin executables [EPREFIX/sbin]
2275 --libexecdir=DIR program executables [EPREFIX/libexec]
2276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2279 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2280 --libdir=DIR object code libraries [EPREFIX/lib]
2281 --includedir=DIR C header files [PREFIX/include]
2282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2285 --infodir=DIR info documentation [DATAROOTDIR/info]
2286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2287 --mandir=DIR man documentation [DATAROOTDIR/man]
2288 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2289 --htmldir=DIR html documentation [DOCDIR]
2290 --dvidir=DIR dvi documentation [DOCDIR]
2291 --pdfdir=DIR pdf documentation [DOCDIR]
2292 --psdir=DIR ps documentation [DOCDIR]
2293 _ACEOF
2295 cat <<\_ACEOF
2297 X features:
2298 --x-includes=DIR X include files are in DIR
2299 --x-libraries=DIR X library files are in DIR
2301 System types:
2302 --build=BUILD configure for building on BUILD [guessed]
2303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2304 _ACEOF
2307 if test -n "$ac_init_help"; then
2308 case $ac_init_help in
2309 short | recursive ) echo "Configuration of Wine 2.6:";;
2310 esac
2311 cat <<\_ACEOF
2313 Optional Features:
2314 --disable-option-checking ignore unrecognized --enable/--with options
2315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2317 --disable-win16 do not include Win16 support
2318 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2319 binaries)
2320 --disable-tests do not build the regression tests
2321 --enable-maintainer-mode
2322 enable maintainer-specific build rules
2323 --disable-largefile omit support for large files
2325 Optional Packages:
2326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2328 --without-alsa do not use the Alsa sound support
2329 --without-capi do not use CAPI (ISDN support)
2330 --without-cms do not use CMS (color management support)
2331 --without-coreaudio do not use the CoreAudio sound support
2332 --without-cups do not use CUPS
2333 --without-curses do not use (n)curses
2334 --without-dbus do not use DBus (dynamic device support)
2335 --without-fontconfig do not use fontconfig
2336 --without-freetype do not use the FreeType library
2337 --without-gettext do not use gettext
2338 --with-gettextpo use the GetTextPO library to rebuild po files
2339 --without-gphoto do not use gphoto (Digital Camera support)
2340 --without-glu do not use the GLU library
2341 --without-gnutls do not use GnuTLS (schannel support)
2342 --without-gsm do not use libgsm (GSM 06.10 codec support)
2343 --without-gstreamer do not use GStreamer (codecs support)
2344 --without-hal do not use HAL (dynamic device support)
2345 --without-jpeg do not use JPEG
2346 --without-ldap do not use LDAP
2347 --without-mpg123 do not use the mpg123 library
2348 --without-netapi do not use the Samba NetAPI library
2349 --without-openal do not use OpenAL
2350 --without-opencl do not use OpenCL
2351 --without-opengl do not use OpenGL
2352 --without-osmesa do not use the OSMesa library
2353 --without-oss do not use the OSS sound support
2354 --without-pcap do not use the Packet Capture library
2355 --without-png do not use PNG
2356 --without-pthread do not use the pthread library
2357 --without-pulse do not use PulseAudio sound support
2358 --without-sane do not use SANE (scanner support)
2359 --without-tiff do not use TIFF
2360 --without-udev do not use udev (plug and play support)
2361 --without-v4l do not use v4l1 (v4l support)
2362 --without-xcomposite do not use the Xcomposite extension
2363 --without-xcursor do not use the Xcursor extension
2364 --without-xinerama do not use Xinerama (multi-monitor support)
2365 --without-xinput do not use the Xinput extension
2366 --without-xinput2 do not use the Xinput 2 extension
2367 --without-xml do not use XML
2368 --without-xrandr do not use Xrandr (resolution changes)
2369 --without-xrender do not use the Xrender extension
2370 --without-xshape do not use the Xshape extension
2371 --without-xshm do not use XShm (shared memory extension)
2372 --without-xslt do not use XSLT
2373 --without-xxf86vm do not use XFree video mode extension
2374 --without-zlib do not use Zlib (data compression)
2375 --with-wine-tools=DIR use Wine tools from directory DIR
2376 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2377 --with-x use the X Window System
2379 Some influential environment variables:
2380 CC C compiler command
2381 CFLAGS C compiler flags
2382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2383 nonstandard directory <lib dir>
2384 LIBS libraries to pass to the linker, e.g. -l<library>
2385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2386 you have headers in a nonstandard directory <include dir>
2387 CXX C++ compiler command
2388 CXXFLAGS C++ compiler flags
2389 CPP C preprocessor
2390 XMKMF Path to xmkmf, Makefile generator for X Window System
2391 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2392 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2393 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2394 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2395 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2396 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2397 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2398 HAL_LIBS Linker flags for hal, overriding pkg-config
2399 GNUTLS_CFLAGS
2400 C compiler flags for gnutls, overriding pkg-config
2401 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2402 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2403 SANE_LIBS Linker flags for libsane, overriding pkg-config
2404 GPHOTO2_CFLAGS
2405 C compiler flags for libgphoto2, overriding pkg-config
2406 GPHOTO2_LIBS
2407 Linker flags for libgphoto2, overriding pkg-config
2408 GPHOTO2_PORT_CFLAGS
2409 C compiler flags for libgphoto2_port, overriding pkg-config
2410 GPHOTO2_PORT_LIBS
2411 Linker flags for libgphoto2_port, overriding pkg-config
2412 LCMS2_CFLAGS
2413 C compiler flags for lcms2, overriding pkg-config
2414 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2415 FREETYPE_CFLAGS
2416 C compiler flags for freetype2, overriding pkg-config
2417 FREETYPE_LIBS
2418 Linker flags for freetype2, overriding pkg-config
2419 PULSE_CFLAGS
2420 C compiler flags for libpulse, overriding pkg-config
2421 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2422 GSTREAMER_CFLAGS
2423 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2424 gstreamer-audio-1.0, overriding pkg-config
2425 GSTREAMER_LIBS
2426 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2427 gstreamer-audio-1.0, overriding pkg-config
2428 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2429 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2430 CAPI20_CFLAGS
2431 C compiler flags for capi20, overriding pkg-config
2432 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2433 FONTCONFIG_CFLAGS
2434 C compiler flags for fontconfig, overriding pkg-config
2435 FONTCONFIG_LIBS
2436 Linker flags for fontconfig, overriding pkg-config
2437 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2438 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2439 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2440 PNG_LIBS Linker flags for libpng, overriding pkg-config
2441 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2442 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2443 MPG123_CFLAGS
2444 C compiler flags for libmpg123, overriding pkg-config
2445 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2446 NETAPI_CFLAGS
2447 C compiler flags for netapi, overriding pkg-config
2448 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2450 Use these variables to override the choices made by `configure' or to help
2451 it to find libraries and programs with nonstandard names/locations.
2453 Report bugs to <wine-devel@winehq.org>.
2454 Wine home page: <http://www.winehq.org>.
2455 _ACEOF
2456 ac_status=$?
2459 if test "$ac_init_help" = "recursive"; then
2460 # If there are subdirs, report their specific --help.
2461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2462 test -d "$ac_dir" ||
2463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2464 continue
2465 ac_builddir=.
2467 case "$ac_dir" in
2468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2471 # A ".." for each directory in $ac_dir_suffix.
2472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2473 case $ac_top_builddir_sub in
2474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2476 esac ;;
2477 esac
2478 ac_abs_top_builddir=$ac_pwd
2479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2480 # for backward compatibility:
2481 ac_top_builddir=$ac_top_build_prefix
2483 case $srcdir in
2484 .) # We are building in place.
2485 ac_srcdir=.
2486 ac_top_srcdir=$ac_top_builddir_sub
2487 ac_abs_top_srcdir=$ac_pwd ;;
2488 [\\/]* | ?:[\\/]* ) # Absolute name.
2489 ac_srcdir=$srcdir$ac_dir_suffix;
2490 ac_top_srcdir=$srcdir
2491 ac_abs_top_srcdir=$srcdir ;;
2492 *) # Relative name.
2493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2494 ac_top_srcdir=$ac_top_build_prefix$srcdir
2495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2496 esac
2497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2499 cd "$ac_dir" || { ac_status=$?; continue; }
2500 # Check for guested configure.
2501 if test -f "$ac_srcdir/configure.gnu"; then
2502 echo &&
2503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2504 elif test -f "$ac_srcdir/configure"; then
2505 echo &&
2506 $SHELL "$ac_srcdir/configure" --help=recursive
2507 else
2508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2509 fi || ac_status=$?
2510 cd "$ac_pwd" || { ac_status=$?; break; }
2511 done
2514 test -n "$ac_init_help" && exit $ac_status
2515 if $ac_init_version; then
2516 cat <<\_ACEOF
2517 Wine configure 2.6
2518 generated by GNU Autoconf 2.69
2520 Copyright (C) 2012 Free Software Foundation, Inc.
2521 This configure script is free software; the Free Software Foundation
2522 gives unlimited permission to copy, distribute and modify it.
2523 _ACEOF
2524 exit
2527 ## ------------------------ ##
2528 ## Autoconf initialization. ##
2529 ## ------------------------ ##
2531 # ac_fn_c_try_compile LINENO
2532 # --------------------------
2533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2534 ac_fn_c_try_compile ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 rm -f conftest.$ac_objext
2538 if { { ac_try="$ac_compile"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_compile") 2>conftest.err
2546 ac_status=$?
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest.$ac_objext; then :
2557 ac_retval=0
2558 else
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2562 ac_retval=1
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 as_fn_set_status $ac_retval
2567 } # ac_fn_c_try_compile
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 rm -f conftest.$ac_objext
2576 if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>conftest.err
2584 ac_status=$?
2585 if test -s conftest.err; then
2586 grep -v '^ *+' conftest.err >conftest.er1
2587 cat conftest.er1 >&5
2588 mv -f conftest.er1 conftest.err
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && {
2592 test -z "$ac_cxx_werror_flag" ||
2593 test ! -s conftest.err
2594 } && test -s conftest.$ac_objext; then :
2595 ac_retval=0
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=1
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 as_fn_set_status $ac_retval
2605 } # ac_fn_cxx_try_compile
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_link ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext conftest$ac_exeext
2614 if { { ac_try="$ac_link"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest$ac_exeext && {
2633 test "$cross_compiling" = yes ||
2634 test -x conftest$ac_exeext
2635 }; then :
2636 ac_retval=0
2637 else
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 ac_retval=1
2643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645 # interfere with the next link command; also delete a directory that is
2646 # left behind by Apple's compiler. We do this before executing the actions.
2647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 as_fn_set_status $ac_retval
2651 } # ac_fn_c_try_link
2653 # ac_fn_c_try_cpp LINENO
2654 # ----------------------
2655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_c_try_cpp ()
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 if { { ac_try="$ac_cpp conftest.$ac_ext"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } > conftest.i && {
2675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2676 test ! -s conftest.err
2677 }; then :
2678 ac_retval=0
2679 else
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=1
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status $ac_retval
2688 } # ac_fn_c_try_cpp
2690 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2691 # -------------------------------------------------------
2692 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2693 # the include files in INCLUDES and setting the cache variable VAR
2694 # accordingly.
2695 ac_fn_c_check_header_mongrel ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 if eval \${$3+:} false; then :
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \${$3+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 eval ac_res=\$$3
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 else
2708 # Is the header compilable?
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2710 $as_echo_n "checking $2 usability... " >&6; }
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2714 #include <$2>
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 ac_header_compiler=yes
2718 else
2719 ac_header_compiler=no
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2723 $as_echo "$ac_header_compiler" >&6; }
2725 # Is the header present?
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2727 $as_echo_n "checking $2 presence... " >&6; }
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2730 #include <$2>
2731 _ACEOF
2732 if ac_fn_c_try_cpp "$LINENO"; then :
2733 ac_header_preproc=yes
2734 else
2735 ac_header_preproc=no
2737 rm -f conftest.err conftest.i conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2739 $as_echo "$ac_header_preproc" >&6; }
2741 # So? What about this header?
2742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2743 yes:no: )
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2745 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 no:yes:* )
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2751 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2753 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2755 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2757 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2760 ( $as_echo "## ------------------------------------ ##
2761 ## Report this to wine-devel@winehq.org ##
2762 ## ------------------------------------ ##"
2763 ) | sed "s/^/$as_me: WARNING: /" >&2
2765 esac
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval \${$3+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 eval "$3=\$ac_header_compiler"
2773 eval ac_res=\$$3
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2775 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_header_mongrel
2781 # ac_fn_c_try_run LINENO
2782 # ----------------------
2783 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2784 # that executables *can* be run.
2785 ac_fn_c_try_run ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 if { { ac_try="$ac_link"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_link") 2>&5
2796 ac_status=$?
2797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2798 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2799 { { case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_try") 2>&5
2806 ac_status=$?
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; }; }; then :
2809 ac_retval=0
2810 else
2811 $as_echo "$as_me: program exited with status $ac_status" >&5
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=$ac_status
2817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_run
2823 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2824 # -------------------------------------------------------
2825 # Tests whether HEADER exists and can be compiled using the include files in
2826 # INCLUDES, setting the cache variable VAR accordingly.
2827 ac_fn_c_check_header_compile ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2831 $as_echo_n "checking for $2... " >&6; }
2832 if eval \${$3+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2838 #include <$2>
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$3=yes"
2842 else
2843 eval "$3=no"
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 eval ac_res=\$$3
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 } # ac_fn_c_check_header_compile
2854 # ac_fn_c_check_func LINENO FUNC VAR
2855 # ----------------------------------
2856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2857 ac_fn_c_check_func ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \${$3+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2869 #define $2 innocuous_$2
2871 /* System header to define __stub macros and hopefully few prototypes,
2872 which can conflict with char $2 (); below.
2873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2874 <limits.h> exists even on freestanding compilers. */
2876 #ifdef __STDC__
2877 # include <limits.h>
2878 #else
2879 # include <assert.h>
2880 #endif
2882 #undef $2
2884 /* Override any GCC internal prototype to avoid an error.
2885 Use char because int might match the return type of a GCC
2886 builtin and then its argument prototype would still apply. */
2887 #ifdef __cplusplus
2888 extern "C"
2889 #endif
2890 char $2 ();
2891 /* The GNU C library defines this for functions which it implements
2892 to always fail with ENOSYS. Some functions are actually named
2893 something starting with __ and the normal name is an alias. */
2894 #if defined __stub_$2 || defined __stub___$2
2895 choke me
2896 #endif
2899 main ()
2901 return $2 ();
2903 return 0;
2905 _ACEOF
2906 if ac_fn_c_try_link "$LINENO"; then :
2907 eval "$3=yes"
2908 else
2909 eval "$3=no"
2911 rm -f core conftest.err conftest.$ac_objext \
2912 conftest$ac_exeext conftest.$ac_ext
2914 eval ac_res=\$$3
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2916 $as_echo "$ac_res" >&6; }
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 } # ac_fn_c_check_func
2921 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2922 # ----------------------------------------------------
2923 # Tries to find if the field MEMBER exists in type AGGR, after including
2924 # INCLUDES, setting cache variable VAR accordingly.
2925 ac_fn_c_check_member ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2929 $as_echo_n "checking for $2.$3... " >&6; }
2930 if eval \${$4+:} false; then :
2931 $as_echo_n "(cached) " >&6
2932 else
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2937 main ()
2939 static $2 ac_aggr;
2940 if (ac_aggr.$3)
2941 return 0;
2943 return 0;
2945 _ACEOF
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 eval "$4=yes"
2948 else
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2953 main ()
2955 static $2 ac_aggr;
2956 if (sizeof ac_aggr.$3)
2957 return 0;
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 eval "$4=yes"
2964 else
2965 eval "$4=no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 eval ac_res=\$$4
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 $as_echo "$ac_res" >&6; }
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 } # ac_fn_c_check_member
2978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2979 # -------------------------------------------
2980 # Tests whether TYPE exists after having included INCLUDES, setting cache
2981 # variable VAR accordingly.
2982 ac_fn_c_check_type ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2986 $as_echo_n "checking for $2... " >&6; }
2987 if eval \${$3+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 eval "$3=no"
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2997 if (sizeof ($2))
2998 return 0;
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"; then :
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main ()
3010 if (sizeof (($2)))
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3018 else
3019 eval "$3=yes"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_type
3031 cat >config.log <<_ACEOF
3032 This file contains any messages produced by compilers while
3033 running configure, to aid debugging if configure makes a mistake.
3035 It was created by Wine $as_me 2.6, which was
3036 generated by GNU Autoconf 2.69. Invocation command line was
3038 $ $0 $@
3040 _ACEOF
3041 exec 5>>config.log
3043 cat <<_ASUNAME
3044 ## --------- ##
3045 ## Platform. ##
3046 ## --------- ##
3048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3065 _ASUNAME
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 $as_echo "PATH: $as_dir"
3073 done
3074 IFS=$as_save_IFS
3076 } >&5
3078 cat >&5 <<_ACEOF
3081 ## ----------- ##
3082 ## Core tests. ##
3083 ## ----------- ##
3085 _ACEOF
3088 # Keep a trace of the command line.
3089 # Strip out --no-create and --no-recursion so they do not pile up.
3090 # Strip out --silent because we don't want to record it for future runs.
3091 # Also quote any args containing shell meta-characters.
3092 # Make two passes to allow for proper duplicate-argument suppression.
3093 ac_configure_args=
3094 ac_configure_args0=
3095 ac_configure_args1=
3096 ac_must_keep_next=false
3097 for ac_pass in 1 2
3099 for ac_arg
3101 case $ac_arg in
3102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3104 | -silent | --silent | --silen | --sile | --sil)
3105 continue ;;
3106 *\'*)
3107 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3108 esac
3109 case $ac_pass in
3110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3112 as_fn_append ac_configure_args1 " '$ac_arg'"
3113 if test $ac_must_keep_next = true; then
3114 ac_must_keep_next=false # Got value, back to normal.
3115 else
3116 case $ac_arg in
3117 *=* | --config-cache | -C | -disable-* | --disable-* \
3118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3120 | -with-* | --with-* | -without-* | --without-* | --x)
3121 case "$ac_configure_args0 " in
3122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3123 esac
3125 -* ) ac_must_keep_next=true ;;
3126 esac
3128 as_fn_append ac_configure_args " '$ac_arg'"
3130 esac
3131 done
3132 done
3133 { ac_configure_args0=; unset ac_configure_args0;}
3134 { ac_configure_args1=; unset ac_configure_args1;}
3136 # When interrupted or exit'd, cleanup temporary files, and complete
3137 # config.log. We remove comments because anyway the quotes in there
3138 # would cause problems or look ugly.
3139 # WARNING: Use '\'' to represent an apostrophe within the trap.
3140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3141 trap 'exit_status=$?
3142 # Save into config.log some information that might help in debugging.
3144 echo
3146 $as_echo "## ---------------- ##
3147 ## Cache variables. ##
3148 ## ---------------- ##"
3149 echo
3150 # The following way of writing the cache mishandles newlines in values,
3152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3153 eval ac_val=\$$ac_var
3154 case $ac_val in #(
3155 *${as_nl}*)
3156 case $ac_var in #(
3157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3159 esac
3160 case $ac_var in #(
3161 _ | IFS | as_nl) ;; #(
3162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3163 *) { eval $ac_var=; unset $ac_var;} ;;
3164 esac ;;
3165 esac
3166 done
3167 (set) 2>&1 |
3168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3169 *${as_nl}ac_space=\ *)
3170 sed -n \
3171 "s/'\''/'\''\\\\'\'''\''/g;
3172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3173 ;; #(
3175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3177 esac |
3178 sort
3180 echo
3182 $as_echo "## ----------------- ##
3183 ## Output variables. ##
3184 ## ----------------- ##"
3185 echo
3186 for ac_var in $ac_subst_vars
3188 eval ac_val=\$$ac_var
3189 case $ac_val in
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3191 esac
3192 $as_echo "$ac_var='\''$ac_val'\''"
3193 done | sort
3194 echo
3196 if test -n "$ac_subst_files"; then
3197 $as_echo "## ------------------- ##
3198 ## File substitutions. ##
3199 ## ------------------- ##"
3200 echo
3201 for ac_var in $ac_subst_files
3203 eval ac_val=\$$ac_var
3204 case $ac_val in
3205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3206 esac
3207 $as_echo "$ac_var='\''$ac_val'\''"
3208 done | sort
3209 echo
3212 if test -s confdefs.h; then
3213 $as_echo "## ----------- ##
3214 ## confdefs.h. ##
3215 ## ----------- ##"
3216 echo
3217 cat confdefs.h
3218 echo
3220 test "$ac_signal" != 0 &&
3221 $as_echo "$as_me: caught signal $ac_signal"
3222 $as_echo "$as_me: exit $exit_status"
3223 } >&5
3224 rm -f core *.core core.conftest.* &&
3225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3226 exit $exit_status
3228 for ac_signal in 1 2 13 15; do
3229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3230 done
3231 ac_signal=0
3233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3234 rm -f -r conftest* confdefs.h
3236 $as_echo "/* confdefs.h */" > confdefs.h
3238 # Predefined preprocessor variables.
3240 cat >>confdefs.h <<_ACEOF
3241 #define PACKAGE_NAME "$PACKAGE_NAME"
3242 _ACEOF
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_STRING "$PACKAGE_STRING"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_URL "$PACKAGE_URL"
3262 _ACEOF
3265 # Let the site file select an alternate cache file if it wants to.
3266 # Prefer an explicitly selected file to automatically selected ones.
3267 ac_site_file1=NONE
3268 ac_site_file2=NONE
3269 if test -n "$CONFIG_SITE"; then
3270 # We do not want a PATH search for config.site.
3271 case $CONFIG_SITE in #((
3272 -*) ac_site_file1=./$CONFIG_SITE;;
3273 */*) ac_site_file1=$CONFIG_SITE;;
3274 *) ac_site_file1=./$CONFIG_SITE;;
3275 esac
3276 elif test "x$prefix" != xNONE; then
3277 ac_site_file1=$prefix/share/config.site
3278 ac_site_file2=$prefix/etc/config.site
3279 else
3280 ac_site_file1=$ac_default_prefix/share/config.site
3281 ac_site_file2=$ac_default_prefix/etc/config.site
3283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3285 test "x$ac_site_file" = xNONE && continue
3286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3289 sed 's/^/| /' "$ac_site_file" >&5
3290 . "$ac_site_file" \
3291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $? "failed to load site script $ac_site_file
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 done
3298 if test -r "$cache_file"; then
3299 # Some versions of bash will fail to source /dev/null (special files
3300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3303 $as_echo "$as_me: loading cache $cache_file" >&6;}
3304 case $cache_file in
3305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3306 *) . "./$cache_file";;
3307 esac
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3311 $as_echo "$as_me: creating cache $cache_file" >&6;}
3312 >$cache_file
3315 # Check that the precious variables saved in the cache have kept the same
3316 # value.
3317 ac_cache_corrupted=false
3318 for ac_var in $ac_precious_vars; do
3319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3320 eval ac_new_set=\$ac_env_${ac_var}_set
3321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3322 eval ac_new_val=\$ac_env_${ac_var}_value
3323 case $ac_old_set,$ac_new_set in
3324 set,)
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3327 ac_cache_corrupted=: ;;
3328 ,set)
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3331 ac_cache_corrupted=: ;;
3332 ,);;
3334 if test "x$ac_old_val" != "x$ac_new_val"; then
3335 # differences in whitespace do not lead to failure.
3336 ac_old_val_w=`echo x $ac_old_val`
3337 ac_new_val_w=`echo x $ac_new_val`
3338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3341 ac_cache_corrupted=:
3342 else
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3345 eval $ac_var=\$ac_old_val
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3351 fi;;
3352 esac
3353 # Pass precious variables to config.status.
3354 if test "$ac_new_set" = set; then
3355 case $ac_new_val in
3356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3357 *) ac_arg=$ac_var=$ac_new_val ;;
3358 esac
3359 case " $ac_configure_args " in
3360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3362 esac
3364 done
3365 if $ac_cache_corrupted; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3370 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3372 ## -------------------- ##
3373 ## Main body of script. ##
3374 ## -------------------- ##
3376 ac_ext=c
3377 ac_cpp='$CPP $CPPFLAGS'
3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 ac_config_headers="$ac_config_headers include/config.h"
3386 ac_aux_dir=
3387 for ac_dir in tools "$srcdir"/tools; do
3388 if test -f "$ac_dir/install-sh"; then
3389 ac_aux_dir=$ac_dir
3390 ac_install_sh="$ac_aux_dir/install-sh -c"
3391 break
3392 elif test -f "$ac_dir/install.sh"; then
3393 ac_aux_dir=$ac_dir
3394 ac_install_sh="$ac_aux_dir/install.sh -c"
3395 break
3396 elif test -f "$ac_dir/shtool"; then
3397 ac_aux_dir=$ac_dir
3398 ac_install_sh="$ac_aux_dir/shtool install -c"
3399 break
3401 done
3402 if test -z "$ac_aux_dir"; then
3403 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3406 # These three variables are undocumented and unsupported,
3407 # and are intended to be withdrawn in a future Autoconf release.
3408 # They can cause serious problems if a builder's source tree is in a directory
3409 # whose full name contains unusual characters.
3410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3416 libwine_version="1.0"
3420 # Check whether --enable-win16 was given.
3421 if test "${enable_win16+set}" = set; then :
3422 enableval=$enable_win16;
3425 # Check whether --enable-win64 was given.
3426 if test "${enable_win64+set}" = set; then :
3427 enableval=$enable_win64;
3430 # Check whether --enable-tests was given.
3431 if test "${enable_tests+set}" = set; then :
3432 enableval=$enable_tests;
3435 # Check whether --enable-maintainer-mode was given.
3436 if test "${enable_maintainer_mode+set}" = set; then :
3437 enableval=$enable_maintainer_mode;
3442 # Check whether --with-alsa was given.
3443 if test "${with_alsa+set}" = set; then :
3444 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3448 # Check whether --with-capi was given.
3449 if test "${with_capi+set}" = set; then :
3450 withval=$with_capi;
3454 # Check whether --with-cms was given.
3455 if test "${with_cms+set}" = set; then :
3456 withval=$with_cms;
3460 # Check whether --with-coreaudio was given.
3461 if test "${with_coreaudio+set}" = set; then :
3462 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3466 # Check whether --with-cups was given.
3467 if test "${with_cups+set}" = set; then :
3468 withval=$with_cups;
3472 # Check whether --with-curses was given.
3473 if test "${with_curses+set}" = set; then :
3474 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3478 # Check whether --with-dbus was given.
3479 if test "${with_dbus+set}" = set; then :
3480 withval=$with_dbus;
3484 # Check whether --with-fontconfig was given.
3485 if test "${with_fontconfig+set}" = set; then :
3486 withval=$with_fontconfig;
3490 # Check whether --with-freetype was given.
3491 if test "${with_freetype+set}" = set; then :
3492 withval=$with_freetype;
3496 # Check whether --with-gettext was given.
3497 if test "${with_gettext+set}" = set; then :
3498 withval=$with_gettext;
3502 # Check whether --with-gettextpo was given.
3503 if test "${with_gettextpo+set}" = set; then :
3504 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3508 # Check whether --with-gphoto was given.
3509 if test "${with_gphoto+set}" = set; then :
3510 withval=$with_gphoto;
3514 # Check whether --with-glu was given.
3515 if test "${with_glu+set}" = set; then :
3516 withval=$with_glu;
3520 # Check whether --with-gnutls was given.
3521 if test "${with_gnutls+set}" = set; then :
3522 withval=$with_gnutls;
3526 # Check whether --with-gsm was given.
3527 if test "${with_gsm+set}" = set; then :
3528 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3532 # Check whether --with-gstreamer was given.
3533 if test "${with_gstreamer+set}" = set; then :
3534 withval=$with_gstreamer;
3538 # Check whether --with-hal was given.
3539 if test "${with_hal+set}" = set; then :
3540 withval=$with_hal;
3544 # Check whether --with-jpeg was given.
3545 if test "${with_jpeg+set}" = set; then :
3546 withval=$with_jpeg;
3550 # Check whether --with-ldap was given.
3551 if test "${with_ldap+set}" = set; then :
3552 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3556 # Check whether --with-mpg123 was given.
3557 if test "${with_mpg123+set}" = set; then :
3558 withval=$with_mpg123;
3562 # Check whether --with-netapi was given.
3563 if test "${with_netapi+set}" = set; then :
3564 withval=$with_netapi;
3568 # Check whether --with-openal was given.
3569 if test "${with_openal+set}" = set; then :
3570 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3574 # Check whether --with-opencl was given.
3575 if test "${with_opencl+set}" = set; then :
3576 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3580 # Check whether --with-opengl was given.
3581 if test "${with_opengl+set}" = set; then :
3582 withval=$with_opengl;
3586 # Check whether --with-osmesa was given.
3587 if test "${with_osmesa+set}" = set; then :
3588 withval=$with_osmesa;
3592 # Check whether --with-oss was given.
3593 if test "${with_oss+set}" = set; then :
3594 withval=$with_oss;
3598 # Check whether --with-pcap was given.
3599 if test "${with_pcap+set}" = set; then :
3600 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3604 # Check whether --with-png was given.
3605 if test "${with_png+set}" = set; then :
3606 withval=$with_png;
3610 # Check whether --with-pthread was given.
3611 if test "${with_pthread+set}" = set; then :
3612 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3616 # Check whether --with-pulse was given.
3617 if test "${with_pulse+set}" = set; then :
3618 withval=$with_pulse;
3622 # Check whether --with-sane was given.
3623 if test "${with_sane+set}" = set; then :
3624 withval=$with_sane;
3628 # Check whether --with-tiff was given.
3629 if test "${with_tiff+set}" = set; then :
3630 withval=$with_tiff;
3634 # Check whether --with-udev was given.
3635 if test "${with_udev+set}" = set; then :
3636 withval=$with_udev;
3640 # Check whether --with-v4l was given.
3641 if test "${with_v4l+set}" = set; then :
3642 withval=$with_v4l;
3646 # Check whether --with-xcomposite was given.
3647 if test "${with_xcomposite+set}" = set; then :
3648 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3652 # Check whether --with-xcursor was given.
3653 if test "${with_xcursor+set}" = set; then :
3654 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3658 # Check whether --with-xinerama was given.
3659 if test "${with_xinerama+set}" = set; then :
3660 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3664 # Check whether --with-xinput was given.
3665 if test "${with_xinput+set}" = set; then :
3666 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3670 # Check whether --with-xinput2 was given.
3671 if test "${with_xinput2+set}" = set; then :
3672 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3676 # Check whether --with-xml was given.
3677 if test "${with_xml+set}" = set; then :
3678 withval=$with_xml;
3682 # Check whether --with-xrandr was given.
3683 if test "${with_xrandr+set}" = set; then :
3684 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3688 # Check whether --with-xrender was given.
3689 if test "${with_xrender+set}" = set; then :
3690 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3694 # Check whether --with-xshape was given.
3695 if test "${with_xshape+set}" = set; then :
3696 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3700 # Check whether --with-xshm was given.
3701 if test "${with_xshm+set}" = set; then :
3702 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3706 # Check whether --with-xslt was given.
3707 if test "${with_xslt+set}" = set; then :
3708 withval=$with_xslt;
3712 # Check whether --with-xxf86vm was given.
3713 if test "${with_xxf86vm+set}" = set; then :
3714 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
3718 # Check whether --with-zlib was given.
3719 if test "${with_zlib+set}" = set; then :
3720 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3725 # Check whether --with-wine-tools was given.
3726 if test "${with_wine_tools+set}" = set; then :
3727 withval=$with_wine_tools;
3731 # Check whether --with-wine64 was given.
3732 if test "${with_wine64+set}" = set; then :
3733 withval=$with_wine64;
3737 # Make sure we can run config.sub.
3738 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3739 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3742 $as_echo_n "checking build system type... " >&6; }
3743 if ${ac_cv_build+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 ac_build_alias=$build_alias
3747 test "x$ac_build_alias" = x &&
3748 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3749 test "x$ac_build_alias" = x &&
3750 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3751 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3752 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3756 $as_echo "$ac_cv_build" >&6; }
3757 case $ac_cv_build in
3758 *-*-*) ;;
3759 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3760 esac
3761 build=$ac_cv_build
3762 ac_save_IFS=$IFS; IFS='-'
3763 set x $ac_cv_build
3764 shift
3765 build_cpu=$1
3766 build_vendor=$2
3767 shift; shift
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3770 build_os=$*
3771 IFS=$ac_save_IFS
3772 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3776 $as_echo_n "checking host system type... " >&6; }
3777 if ${ac_cv_host+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test "x$host_alias" = x; then
3781 ac_cv_host=$ac_cv_build
3782 else
3783 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3789 $as_echo "$ac_cv_host" >&6; }
3790 case $ac_cv_host in
3791 *-*-*) ;;
3792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3793 esac
3794 host=$ac_cv_host
3795 ac_save_IFS=$IFS; IFS='-'
3796 set x $ac_cv_host
3797 shift
3798 host_cpu=$1
3799 host_vendor=$2
3800 shift; shift
3801 # Remember, the first character of IFS is used to create $*,
3802 # except with old shells:
3803 host_os=$*
3804 IFS=$ac_save_IFS
3805 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3809 case "$srcdir" in
3810 .) ;;
3811 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3812 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3813 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3814 fi ;;
3815 esac
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3819 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3820 set x ${MAKE-make}
3821 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3822 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 cat >conftest.make <<\_ACEOF
3826 SHELL = /bin/sh
3827 all:
3828 @echo '@@@%%%=$(MAKE)=@@@%%%'
3829 _ACEOF
3830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3832 *@@@%%%=?*=@@@%%%*)
3833 eval ac_cv_prog_make_${ac_make}_set=yes;;
3835 eval ac_cv_prog_make_${ac_make}_set=no;;
3836 esac
3837 rm -f conftest.make
3839 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3841 $as_echo "yes" >&6; }
3842 SET_MAKE=
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3846 SET_MAKE="MAKE=${MAKE-make}"
3849 ac_ext=c
3850 ac_cpp='$CPP $CPPFLAGS'
3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 if test -n "$ac_tool_prefix"; then
3855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_CC+:} false; then :
3860 $as_echo_n "(cached) " >&6
3861 else
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3864 else
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 for as_dir in $PATH
3868 IFS=$as_save_IFS
3869 test -z "$as_dir" && as_dir=.
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3876 done
3877 done
3878 IFS=$as_save_IFS
3882 CC=$ac_cv_prog_CC
3883 if test -n "$CC"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3885 $as_echo "$CC" >&6; }
3886 else
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3893 if test -z "$ac_cv_prog_CC"; then
3894 ac_ct_CC=$CC
3895 # Extract the first word of "gcc", so it can be a program name with args.
3896 set dummy gcc; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test -n "$ac_ct_CC"; then
3903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3904 else
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH
3908 IFS=$as_save_IFS
3909 test -z "$as_dir" && as_dir=.
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_ac_ct_CC="gcc"
3913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 break 2
3916 done
3917 done
3918 IFS=$as_save_IFS
3922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3923 if test -n "$ac_ct_CC"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3925 $as_echo "$ac_ct_CC" >&6; }
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3931 if test "x$ac_ct_CC" = x; then
3932 CC=""
3933 else
3934 case $cross_compiling:$ac_tool_warned in
3935 yes:)
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3938 ac_tool_warned=yes ;;
3939 esac
3940 CC=$ac_ct_CC
3942 else
3943 CC="$ac_cv_prog_CC"
3946 if test -z "$CC"; then
3947 if test -n "$ac_tool_prefix"; then
3948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3949 set dummy ${ac_tool_prefix}cc; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_prog_CC+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 if test -n "$CC"; then
3956 ac_cv_prog_CC="$CC" # Let the user override the test.
3957 else
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 ac_cv_prog_CC="${ac_tool_prefix}cc"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3975 CC=$ac_cv_prog_CC
3976 if test -n "$CC"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3978 $as_echo "$CC" >&6; }
3979 else
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3987 if test -z "$CC"; then
3988 # Extract the first word of "cc", so it can be a program name with args.
3989 set dummy cc; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3997 else
3998 ac_prog_rejected=no
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4002 IFS=$as_save_IFS
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4007 ac_prog_rejected=yes
4008 continue
4010 ac_cv_prog_CC="cc"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4014 done
4015 done
4016 IFS=$as_save_IFS
4018 if test $ac_prog_rejected = yes; then
4019 # We found a bogon in the path, so make sure we never use it.
4020 set dummy $ac_cv_prog_CC
4021 shift
4022 if test $# != 0; then
4023 # We chose a different compiler from the bogus one.
4024 # However, it has the same basename, so the bogon will be chosen
4025 # first if we set CC to just the basename; use the full file name.
4026 shift
4027 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4032 CC=$ac_cv_prog_CC
4033 if test -n "$CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 $as_echo "$CC" >&6; }
4036 else
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 for ac_prog in cl.exe
4047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 break 2
4068 done
4069 done
4070 IFS=$as_save_IFS
4074 CC=$ac_cv_prog_CC
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$CC" && break
4085 done
4087 if test -z "$CC"; then
4088 ac_ct_CC=$CC
4089 for ac_prog in cl.exe
4091 # Extract the first word of "$ac_prog", so it can be a program name with args.
4092 set dummy $ac_prog; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 if test -n "$ac_ct_CC"; then
4099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4100 else
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4104 IFS=$as_save_IFS
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_ac_ct_CC="$ac_prog"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 break 2
4112 done
4113 done
4114 IFS=$as_save_IFS
4118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4119 if test -n "$ac_ct_CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4121 $as_echo "$ac_ct_CC" >&6; }
4122 else
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4128 test -n "$ac_ct_CC" && break
4129 done
4131 if test "x$ac_ct_CC" = x; then
4132 CC=""
4133 else
4134 case $cross_compiling:$ac_tool_warned in
4135 yes:)
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4138 ac_tool_warned=yes ;;
4139 esac
4140 CC=$ac_ct_CC
4147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "no acceptable C compiler found in \$PATH
4150 See \`config.log' for more details" "$LINENO" 5; }
4152 # Provide some information about the compiler.
4153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4154 set X $ac_compile
4155 ac_compiler=$2
4156 for ac_option in --version -v -V -qversion; do
4157 { { ac_try="$ac_compiler $ac_option >&5"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4165 ac_status=$?
4166 if test -s conftest.err; then
4167 sed '10a\
4168 ... rest of stderr output deleted ...
4169 10q' conftest.err >conftest.er1
4170 cat conftest.er1 >&5
4172 rm -f conftest.er1 conftest.err
4173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4174 test $ac_status = 0; }
4175 done
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 ac_clean_files_save=$ac_clean_files
4189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4190 # Try to create an executable without -o first, disregard a.out.
4191 # It will help us diagnose broken compilers, and finding out an intuition
4192 # of exeext.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4194 $as_echo_n "checking whether the C compiler works... " >&6; }
4195 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4197 # The possible output files:
4198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4200 ac_rmfiles=
4201 for ac_file in $ac_files
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4206 esac
4207 done
4208 rm -f $ac_rmfiles
4210 if { { ac_try="$ac_link_default"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4216 $as_echo "$ac_try_echo"; } >&5
4217 (eval "$ac_link_default") 2>&5
4218 ac_status=$?
4219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4220 test $ac_status = 0; }; then :
4221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4224 # so that the user can short-circuit this test for compilers unknown to
4225 # Autoconf.
4226 for ac_file in $ac_files ''
4228 test -f "$ac_file" || continue
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4232 [ab].out )
4233 # We found the default executable, but exeext='' is most
4234 # certainly right.
4235 break;;
4236 *.* )
4237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4238 then :; else
4239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4241 # We set ac_cv_exeext here because the later test for it is not
4242 # safe: cross compilers may not add the suffix if given an `-o'
4243 # argument, so we may need to know it at that point already.
4244 # Even if this section looks crufty: it has the advantage of
4245 # actually working.
4246 break;;
4248 break;;
4249 esac
4250 done
4251 test "$ac_cv_exeext" = no && ac_cv_exeext=
4253 else
4254 ac_file=''
4256 if test -z "$ac_file"; then :
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4259 $as_echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.$ac_ext >&5
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error 77 "C compiler cannot create executables
4265 See \`config.log' for more details" "$LINENO" 5; }
4266 else
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4268 $as_echo "yes" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4271 $as_echo_n "checking for C compiler default output file name... " >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4273 $as_echo "$ac_file" >&6; }
4274 ac_exeext=$ac_cv_exeext
4276 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4277 ac_clean_files=$ac_clean_files_save
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4279 $as_echo_n "checking for suffix of executables... " >&6; }
4280 if { { ac_try="$ac_link"
4281 case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_link") 2>&5
4288 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; then :
4291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4293 # work properly (i.e., refer to `conftest.exe'), while it won't with
4294 # `rm'.
4295 for ac_file in conftest.exe conftest conftest.*; do
4296 test -f "$ac_file" || continue
4297 case $ac_file in
4298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4300 break;;
4301 * ) break;;
4302 esac
4303 done
4304 else
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4308 See \`config.log' for more details" "$LINENO" 5; }
4310 rm -f conftest conftest$ac_cv_exeext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4312 $as_echo "$ac_cv_exeext" >&6; }
4314 rm -f conftest.$ac_ext
4315 EXEEXT=$ac_cv_exeext
4316 ac_exeext=$EXEEXT
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <stdio.h>
4321 main ()
4323 FILE *f = fopen ("conftest.out", "w");
4324 return ferror (f) || fclose (f) != 0;
4327 return 0;
4329 _ACEOF
4330 ac_clean_files="$ac_clean_files conftest.out"
4331 # Check that the compiler produces executables we can run. If not, either
4332 # the compiler is broken, or we cross compile.
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4334 $as_echo_n "checking whether we are cross compiling... " >&6; }
4335 if test "$cross_compiling" != yes; then
4336 { { ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_link") 2>&5
4344 ac_status=$?
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 if { ac_try='./conftest$ac_cv_exeext'
4348 { { case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4355 ac_status=$?
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; }; then
4358 cross_compiling=no
4359 else
4360 if test "$cross_compiling" = maybe; then
4361 cross_compiling=yes
4362 else
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error $? "cannot run C compiled programs.
4366 If you meant to cross compile, use \`--host'.
4367 See \`config.log' for more details" "$LINENO" 5; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4372 $as_echo "$cross_compiling" >&6; }
4374 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4375 ac_clean_files=$ac_clean_files_save
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4377 $as_echo_n "checking for suffix of object files... " >&6; }
4378 if ${ac_cv_objext+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 rm -f conftest.o conftest.obj
4393 if { { ac_try="$ac_compile"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_compile") 2>&5
4401 ac_status=$?
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }; then :
4404 for ac_file in conftest.o conftest.obj conftest.*; do
4405 test -f "$ac_file" || continue;
4406 case $ac_file in
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4409 break;;
4410 esac
4411 done
4412 else
4413 $as_echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5
4416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4418 as_fn_error $? "cannot compute suffix of object files: cannot compile
4419 See \`config.log' for more details" "$LINENO" 5; }
4421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4424 $as_echo "$ac_cv_objext" >&6; }
4425 OBJEXT=$ac_cv_objext
4426 ac_objext=$OBJEXT
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4429 if ${ac_cv_c_compiler_gnu+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4438 #ifndef __GNUC__
4439 choke me
4440 #endif
4443 return 0;
4445 _ACEOF
4446 if ac_fn_c_try_compile "$LINENO"; then :
4447 ac_compiler_gnu=yes
4448 else
4449 ac_compiler_gnu=no
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4458 GCC=yes
4459 else
4460 GCC=
4462 ac_test_CFLAGS=${CFLAGS+set}
4463 ac_save_CFLAGS=$CFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4466 if ${ac_cv_prog_cc_g+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 ac_save_c_werror_flag=$ac_c_werror_flag
4470 ac_c_werror_flag=yes
4471 ac_cv_prog_cc_g=no
4472 CFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_g=yes
4486 else
4487 CFLAGS=""
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4501 else
4502 ac_c_werror_flag=$ac_save_c_werror_flag
4503 CFLAGS="-g"
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 ac_cv_prog_cc_g=yes
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_c_werror_flag=$ac_save_c_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4526 $as_echo "$ac_cv_prog_cc_g" >&6; }
4527 if test "$ac_test_CFLAGS" = set; then
4528 CFLAGS=$ac_save_CFLAGS
4529 elif test $ac_cv_prog_cc_g = yes; then
4530 if test "$GCC" = yes; then
4531 CFLAGS="-g -O2"
4532 else
4533 CFLAGS="-g"
4535 else
4536 if test "$GCC" = yes; then
4537 CFLAGS="-O2"
4538 else
4539 CFLAGS=
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4544 if ${ac_cv_prog_cc_c89+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 ac_cv_prog_cc_c89=no
4548 ac_save_CC=$CC
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 #include <stdarg.h>
4552 #include <stdio.h>
4553 struct stat;
4554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4555 struct buf { int x; };
4556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4557 static char *e (p, i)
4558 char **p;
4559 int i;
4561 return p[i];
4563 static char *f (char * (*g) (char **, int), char **p, ...)
4565 char *s;
4566 va_list v;
4567 va_start (v,p);
4568 s = g (p, va_arg (v,int));
4569 va_end (v);
4570 return s;
4573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4574 function prototypes and stuff, but not '\xHH' hex character constants.
4575 These don't provoke an error unfortunately, instead are silently treated
4576 as 'x'. The following induces an error, until -std is added to get
4577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4578 array size at least. It's necessary to write '\x00'==0 to get something
4579 that's true only with -std. */
4580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4583 inside strings and character constants. */
4584 #define FOO(x) 'x'
4585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4587 int test (int i, double x);
4588 struct s1 {int (*f) (int a);};
4589 struct s2 {int (*f) (double a);};
4590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4591 int argc;
4592 char **argv;
4594 main ()
4596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4598 return 0;
4600 _ACEOF
4601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4604 CC="$ac_save_CC $ac_arg"
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_c89=$ac_arg
4608 rm -f core conftest.err conftest.$ac_objext
4609 test "x$ac_cv_prog_cc_c89" != "xno" && break
4610 done
4611 rm -f conftest.$ac_ext
4612 CC=$ac_save_CC
4615 # AC_CACHE_VAL
4616 case "x$ac_cv_prog_cc_c89" in
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4619 $as_echo "none needed" >&6; } ;;
4620 xno)
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4622 $as_echo "unsupported" >&6; } ;;
4624 CC="$CC $ac_cv_prog_cc_c89"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4627 esac
4628 if test "x$ac_cv_prog_cc_c89" != xno; then :
4632 ac_ext=c
4633 ac_cpp='$CPP $CPPFLAGS'
4634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 ac_ext=cpp
4639 ac_cpp='$CXXCPP $CPPFLAGS'
4640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4643 if test -z "$CXX"; then
4644 if test -n "$CCC"; then
4645 CXX=$CCC
4646 else
4647 if test -n "$ac_tool_prefix"; then
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$CXX"; then
4658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 CXX=$ac_cv_prog_CXX
4678 if test -n "$CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4680 $as_echo "$CXX" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$CXX" && break
4688 done
4690 if test -z "$CXX"; then
4691 ac_ct_CXX=$CXX
4692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy $ac_prog; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4699 $as_echo_n "(cached) " >&6
4700 else
4701 if test -n "$ac_ct_CXX"; then
4702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4703 else
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4707 IFS=$as_save_IFS
4708 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_ac_ct_CXX="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 break 2
4715 done
4716 done
4717 IFS=$as_save_IFS
4721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4722 if test -n "$ac_ct_CXX"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4724 $as_echo "$ac_ct_CXX" >&6; }
4725 else
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$ac_ct_CXX" && break
4732 done
4734 if test "x$ac_ct_CXX" = x; then
4735 CXX="g++"
4736 else
4737 case $cross_compiling:$ac_tool_warned in
4738 yes:)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned=yes ;;
4742 esac
4743 CXX=$ac_ct_CXX
4749 # Provide some information about the compiler.
4750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4751 set X $ac_compile
4752 ac_compiler=$2
4753 for ac_option in --version -v -V -qversion; do
4754 { { ac_try="$ac_compiler $ac_option >&5"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4762 ac_status=$?
4763 if test -s conftest.err; then
4764 sed '10a\
4765 ... rest of stderr output deleted ...
4766 10q' conftest.err >conftest.er1
4767 cat conftest.er1 >&5
4769 rm -f conftest.er1 conftest.err
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }
4772 done
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4775 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4776 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4777 $as_echo_n "(cached) " >&6
4778 else
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4783 main ()
4785 #ifndef __GNUC__
4786 choke me
4787 #endif
4790 return 0;
4792 _ACEOF
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4794 ac_compiler_gnu=yes
4795 else
4796 ac_compiler_gnu=no
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4803 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4804 if test $ac_compiler_gnu = yes; then
4805 GXX=yes
4806 else
4807 GXX=
4809 ac_test_CXXFLAGS=${CXXFLAGS+set}
4810 ac_save_CXXFLAGS=$CXXFLAGS
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4812 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4813 if ${ac_cv_prog_cxx_g+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4817 ac_cxx_werror_flag=yes
4818 ac_cv_prog_cxx_g=no
4819 CXXFLAGS="-g"
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 ac_cv_prog_cxx_g=yes
4833 else
4834 CXXFLAGS=""
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4843 return 0;
4845 _ACEOF
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 else
4849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4850 CXXFLAGS="-g"
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 main ()
4859 return 0;
4861 _ACEOF
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 ac_cv_prog_cxx_g=yes
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4873 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4874 if test "$ac_test_CXXFLAGS" = set; then
4875 CXXFLAGS=$ac_save_CXXFLAGS
4876 elif test $ac_cv_prog_cxx_g = yes; then
4877 if test "$GXX" = yes; then
4878 CXXFLAGS="-g -O2"
4879 else
4880 CXXFLAGS="-g"
4882 else
4883 if test "$GXX" = yes; then
4884 CXXFLAGS="-O2"
4885 else
4886 CXXFLAGS=
4889 ac_ext=c
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CPPBIN+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$CPPBIN"; then
4904 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 CPPBIN=$ac_cv_prog_CPPBIN
4924 if test -n "$CPPBIN"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4926 $as_echo "$CPPBIN" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4934 if test -z "$ac_cv_prog_CPPBIN"; then
4935 ac_ct_CPPBIN=$CPPBIN
4936 # Extract the first word of "cpp", so it can be a program name with args.
4937 set dummy cpp; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$ac_ct_CPPBIN"; then
4944 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_ac_ct_CPPBIN="cpp"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4964 if test -n "$ac_ct_CPPBIN"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4966 $as_echo "$ac_ct_CPPBIN" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4972 if test "x$ac_ct_CPPBIN" = x; then
4973 CPPBIN="cpp"
4974 else
4975 case $cross_compiling:$ac_tool_warned in
4976 yes:)
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4980 esac
4981 CPPBIN=$ac_ct_CPPBIN
4983 else
4984 CPPBIN="$ac_cv_prog_CPPBIN"
4988 cat >>confdefs.h <<_ACEOF
4989 #define EXEEXT "$ac_exeext"
4990 _ACEOF
4992 if test -n "$ac_tool_prefix"; then
4993 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4994 set dummy ${ac_tool_prefix}ld; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_LD+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$LD"; then
5001 ac_cv_prog_LD="$LD" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_LD="${ac_tool_prefix}ld"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5014 done
5015 done
5016 IFS=$as_save_IFS
5020 LD=$ac_cv_prog_LD
5021 if test -n "$LD"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5023 $as_echo "$LD" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5031 if test -z "$ac_cv_prog_LD"; then
5032 ac_ct_LD=$LD
5033 # Extract the first word of "ld", so it can be a program name with args.
5034 set dummy ld; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$ac_ct_LD"; then
5041 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_ac_ct_LD="ld"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5061 if test -n "$ac_ct_LD"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5063 $as_echo "$ac_ct_LD" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5069 if test "x$ac_ct_LD" = x; then
5070 LD=""
5071 else
5072 case $cross_compiling:$ac_tool_warned in
5073 yes:)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5076 ac_tool_warned=yes ;;
5077 esac
5078 LD=$ac_ct_LD
5080 else
5081 LD="$ac_cv_prog_LD"
5085 case $host in
5086 *-darwin*)
5087 with_fontconfig=${with_fontconfig:-no}
5089 *-mingw32*|*-cygwin*)
5090 enable_win16=${enable_win16:-no}
5091 CFLAGS="$CFLAGS -D_WIN32"
5093 esac
5095 case $host in
5096 x86_64*|amd64*)
5097 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5098 then
5099 CC="$CC -m32"
5100 CXX="$CXX -m32"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5102 $as_echo_n "checking whether $CC works... " >&6; }
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_link "$LINENO"; then :
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5117 $as_echo "yes" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5121 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5123 rm -f core conftest.err conftest.$ac_objext \
5124 conftest$ac_exeext conftest.$ac_ext
5125 host_cpu="i386"
5126 notice_platform="32-bit "
5127 TARGETFLAGS="-m32"
5129 enable_win16=${enable_win16:-yes}
5130 else
5131 if test "x${GCC}" = "xyes"
5132 then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5134 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <stdarg.h>
5139 main ()
5141 void func(__builtin_ms_va_list *args);
5143 return 0;
5145 _ACEOF
5146 if ac_fn_c_try_compile "$LINENO"; then :
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 $as_echo "yes" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5152 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 CC="$CC -m64"
5157 CXX="$CXX -m64"
5158 host_cpu="x86_64"
5159 notice_platform="64-bit "
5160 TARGETFLAGS="-m64"
5164 arm*)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5166 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5169 int ac_test(int i) { return i; }
5171 main ()
5173 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5175 return 0;
5177 _ACEOF
5178 if ac_fn_c_try_link "$LINENO"; then :
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180 $as_echo "yes" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5186 rm -f core conftest.err conftest.$ac_objext \
5187 conftest$ac_exeext conftest.$ac_ext
5188 CFLAGS="$CFLAGS -marm"
5189 TARGETFLAGS="-marm"
5192 i[3456789]86*)
5193 enable_win16=${enable_win16:-yes}
5195 esac
5197 enable_win16=${enable_win16:-no}
5198 enable_win64=${enable_win64:-no}
5200 enable_winetest=${enable_winetest:-$enable_tests}
5202 if test -n "$with_wine64"
5203 then
5204 if test "x$enable_win64" = "xyes"
5205 then
5206 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5207 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5209 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5210 You should create a separate build directory and run configure from there." "$LINENO" 5
5211 enable_fonts=${enable_fonts:-no}
5212 enable_server=${enable_server:-no}
5213 elif test "x$enable_win64" = "xyes"
5214 then
5215 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5219 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5220 if ${wine_cv_toolsdir+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 wine_cv_toolsdir="$with_wine_tools"
5224 if test -z "$with_wine_tools"; then
5225 if test "$cross_compiling" = "yes"; then
5226 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5227 elif test -n "$with_wine64"; then
5228 wine_cv_toolsdir="$with_wine64"
5231 if test -z "$wine_cv_toolsdir"; then
5232 wine_makedep=tools/makedep
5233 wine_cv_toolsdir="\$(top_builddir)"
5234 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5235 wine_makedep=$wine_cv_toolsdir/tools/makedep
5236 case "$wine_cv_toolsdir" in
5237 /*) ;;
5238 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5239 esac
5240 enable_tools=${enable_tools:-no}
5241 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5242 else
5243 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5247 $as_echo "$wine_cv_toolsdir" >&6; }
5248 TOOLSDIR=$wine_cv_toolsdir
5250 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5251 then
5252 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5256 for ac_prog in flex
5258 # Extract the first word of "$ac_prog", so it can be a program name with args.
5259 set dummy $ac_prog; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_FLEX+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$FLEX"; then
5266 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_FLEX="$ac_prog"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 FLEX=$ac_cv_prog_FLEX
5286 if test -n "$FLEX"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5288 $as_echo "$FLEX" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5295 test -n "$FLEX" && break
5296 done
5297 test -n "$FLEX" || FLEX="none"
5299 if test "$FLEX" = "none"
5300 then
5301 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5304 $as_echo_n "checking whether flex is recent enough... " >&6; }
5305 cat >conftest.l <<EOF
5306 %top{
5307 #include "prediluvian.h"
5311 if $FLEX -t conftest.l >/dev/null 2>&5
5312 then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314 $as_echo "yes" >&6; }
5315 else
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5318 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5321 for ac_prog in bison
5323 # Extract the first word of "$ac_prog", so it can be a program name with args.
5324 set dummy $ac_prog; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_BISON+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -n "$BISON"; then
5331 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5332 else
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_BISON="$ac_prog"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 break 2
5344 done
5345 done
5346 IFS=$as_save_IFS
5350 BISON=$ac_cv_prog_BISON
5351 if test -n "$BISON"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5353 $as_echo "$BISON" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 test -n "$BISON" && break
5361 done
5362 test -n "$BISON" || BISON="none"
5364 if test "$BISON" = "none"
5365 then
5366 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5369 if test -n "$ac_tool_prefix"; then
5370 for ac_prog in ar gar
5372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_AR+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$AR"; then
5380 ac_cv_prog_AR="$AR" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 AR=$ac_cv_prog_AR
5400 if test -n "$AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5402 $as_echo "$AR" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$AR" && break
5410 done
5412 if test -z "$AR"; then
5413 ac_ct_AR=$AR
5414 for ac_prog in ar gar
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy $ac_prog; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_AR"; then
5424 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_AR="$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5444 if test -n "$ac_ct_AR"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5446 $as_echo "$ac_ct_AR" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$ac_ct_AR" && break
5454 done
5456 if test "x$ac_ct_AR" = x; then
5457 AR="ar"
5458 else
5459 case $cross_compiling:$ac_tool_warned in
5460 yes:)
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5463 ac_tool_warned=yes ;;
5464 esac
5465 AR=$ac_ct_AR
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}strip; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_STRIP+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$STRIP"; then
5478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 STRIP=$ac_cv_prog_STRIP
5498 if test -n "$STRIP"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5500 $as_echo "$STRIP" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_STRIP"; then
5509 ac_ct_STRIP=$STRIP
5510 # Extract the first word of "strip", so it can be a program name with args.
5511 set dummy strip; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_STRIP"; then
5518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_STRIP="strip"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5538 if test -n "$ac_ct_STRIP"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5540 $as_echo "$ac_ct_STRIP" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_STRIP" = x; then
5547 STRIP="strip"
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 STRIP=$ac_ct_STRIP
5557 else
5558 STRIP="$ac_cv_prog_STRIP"
5561 ARFLAGS=rc
5563 if test -n "$ac_tool_prefix"; then
5564 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5565 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_RANLIB+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$RANLIB"; then
5572 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 RANLIB=$ac_cv_prog_RANLIB
5592 if test -n "$RANLIB"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5594 $as_echo "$RANLIB" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 if test -z "$ac_cv_prog_RANLIB"; then
5603 ac_ct_RANLIB=$RANLIB
5604 # Extract the first word of "ranlib", so it can be a program name with args.
5605 set dummy ranlib; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$ac_ct_RANLIB"; then
5612 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_ac_ct_RANLIB="ranlib"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5632 if test -n "$ac_ct_RANLIB"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5634 $as_echo "$ac_ct_RANLIB" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5640 if test "x$ac_ct_RANLIB" = x; then
5641 RANLIB=":"
5642 else
5643 case $cross_compiling:$ac_tool_warned in
5644 yes:)
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5648 esac
5649 RANLIB=$ac_ct_RANLIB
5651 else
5652 RANLIB="$ac_cv_prog_RANLIB"
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5656 $as_echo_n "checking whether ln -s works... " >&6; }
5657 LN_S=$as_ln_s
5658 if test "$LN_S" = "ln -s"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5663 $as_echo "no, using $LN_S" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5667 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5668 if ${ac_cv_path_GREP+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -z "$GREP"; then
5672 ac_path_GREP_found=false
5673 # Loop through the user's path and test for each of PROGNAME-LIST
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_prog in grep ggrep; do
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5682 as_fn_executable_p "$ac_path_GREP" || continue
5683 # Check for GNU ac_path_GREP and select it if it is found.
5684 # Check for GNU $ac_path_GREP
5685 case `"$ac_path_GREP" --version 2>&1` in
5686 *GNU*)
5687 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5689 ac_count=0
5690 $as_echo_n 0123456789 >"conftest.in"
5691 while :
5693 cat "conftest.in" "conftest.in" >"conftest.tmp"
5694 mv "conftest.tmp" "conftest.in"
5695 cp "conftest.in" "conftest.nl"
5696 $as_echo 'GREP' >> "conftest.nl"
5697 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5699 as_fn_arith $ac_count + 1 && ac_count=$as_val
5700 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5701 # Best one so far, save it but keep looking for a better one
5702 ac_cv_path_GREP="$ac_path_GREP"
5703 ac_path_GREP_max=$ac_count
5705 # 10*(2^10) chars as input seems more than enough
5706 test $ac_count -gt 10 && break
5707 done
5708 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5709 esac
5711 $ac_path_GREP_found && break 3
5712 done
5713 done
5714 done
5715 IFS=$as_save_IFS
5716 if test -z "$ac_cv_path_GREP"; then
5717 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5719 else
5720 ac_cv_path_GREP=$GREP
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5725 $as_echo "$ac_cv_path_GREP" >&6; }
5726 GREP="$ac_cv_path_GREP"
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5730 $as_echo_n "checking for egrep... " >&6; }
5731 if ${ac_cv_path_EGREP+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5735 then ac_cv_path_EGREP="$GREP -E"
5736 else
5737 if test -z "$EGREP"; then
5738 ac_path_EGREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in egrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5748 as_fn_executable_p "$ac_path_EGREP" || continue
5749 # Check for GNU ac_path_EGREP and select it if it is found.
5750 # Check for GNU $ac_path_EGREP
5751 case `"$ac_path_EGREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5755 ac_count=0
5756 $as_echo_n 0123456789 >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 $as_echo 'EGREP' >> "conftest.nl"
5763 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 as_fn_arith $ac_count + 1 && ac_count=$as_val
5766 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_EGREP="$ac_path_EGREP"
5769 ac_path_EGREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5777 $ac_path_EGREP_found && break 3
5778 done
5779 done
5780 done
5781 IFS=$as_save_IFS
5782 if test -z "$ac_cv_path_EGREP"; then
5783 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5785 else
5786 ac_cv_path_EGREP=$EGREP
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5792 $as_echo "$ac_cv_path_EGREP" >&6; }
5793 EGREP="$ac_cv_path_EGREP"
5796 # Extract the first word of "ldconfig", so it can be a program name with args.
5797 set dummy ldconfig; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_path_LDCONFIG+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 case $LDCONFIG in
5804 [\\/]* | ?:[\\/]*)
5805 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in /sbin /usr/sbin $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5823 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5825 esac
5827 LDCONFIG=$ac_cv_path_LDCONFIG
5828 if test -n "$LDCONFIG"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5830 $as_echo "$LDCONFIG" >&6; }
5831 else
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5837 for ac_prog in msgfmt
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy $ac_prog; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_MSGFMT+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 if test -n "$MSGFMT"; then
5847 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_MSGFMT="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5860 done
5861 done
5862 IFS=$as_save_IFS
5866 MSGFMT=$ac_cv_prog_MSGFMT
5867 if test -n "$MSGFMT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5869 $as_echo "$MSGFMT" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$MSGFMT" && break
5877 done
5878 test -n "$MSGFMT" || MSGFMT="false"
5880 if ${ac_tool_prefix+:} false; then :
5881 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -n "$PKG_CONFIG"; then
5889 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 break 2
5902 done
5903 done
5904 IFS=$as_save_IFS
5908 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5909 if test -n "$PKG_CONFIG"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5911 $as_echo "$PKG_CONFIG" >&6; }
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5919 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5920 if test "x$cross_compiling" = xyes; then :
5922 else
5923 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5924 # Extract the first word of "pkg-config", so it can be a program name with args.
5925 set dummy pkg-config; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$PKG_CONFIG"; then
5932 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_PKG_CONFIG="pkg-config"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5952 if test -n "$PKG_CONFIG"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5954 $as_echo "$PKG_CONFIG" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 else
5963 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5966 if test "x$enable_maintainer_mode" != "xyes"
5967 then
5968 FONTFORGE=""
5969 RSVG=""
5970 CONVERT=""
5971 ICOTOOL=""
5972 else
5973 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5974 for ac_prog in fontforge
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_FONTFORGE+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$FONTFORGE"; then
5984 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_FONTFORGE="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 FONTFORGE=$ac_cv_prog_FONTFORGE
6004 if test -n "$FONTFORGE"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6006 $as_echo "$FONTFORGE" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$FONTFORGE" && break
6014 done
6015 test -n "$FONTFORGE" || FONTFORGE="false"
6017 for ac_prog in rsvg-convert rsvg
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_RSVG+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$RSVG"; then
6027 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_RSVG="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 RSVG=$ac_cv_prog_RSVG
6047 if test -n "$RSVG"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6049 $as_echo "$RSVG" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$RSVG" && break
6057 done
6058 test -n "$RSVG" || RSVG="false"
6060 for ac_prog in convert
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_CONVERT+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$CONVERT"; then
6070 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_CONVERT="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 CONVERT=$ac_cv_prog_CONVERT
6090 if test -n "$CONVERT"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6092 $as_echo "$CONVERT" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$CONVERT" && break
6100 done
6101 test -n "$CONVERT" || CONVERT="false"
6103 for ac_prog in icotool
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy $ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_ICOTOOL+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$ICOTOOL"; then
6113 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_ICOTOOL="$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 ICOTOOL=$ac_cv_prog_ICOTOOL
6133 if test -n "$ICOTOOL"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6135 $as_echo "$ICOTOOL" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6142 test -n "$ICOTOOL" && break
6143 done
6144 test -n "$ICOTOOL" || ICOTOOL="false"
6146 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6147 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6149 if test "$CONVERT" = false
6150 then
6151 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6154 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6155 convert_version=`convert --version | head -n1`
6156 if test "x$convert_version" != "x"
6157 then
6158 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6159 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6160 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6161 then
6162 CONVERT=false
6165 if test "$CONVERT" = false
6166 then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6168 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6169 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6172 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6176 if test "$ICOTOOL" = false
6177 then
6178 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6181 $as_echo_n "checking for recent enough icotool... " >&6; }
6182 icotool_version=`icotool --version | head -n1`
6183 if test "x$icotool_version" != "x"
6184 then
6185 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6186 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6187 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6188 then
6189 ICOTOOL=false
6190 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6193 if test "$ICOTOOL" = false
6194 then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6196 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6197 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6200 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6204 with_gettext=yes
6205 with_gettextpo=yes
6206 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6209 test "x$with_gettext" != xno || MSGFMT=false
6210 if test "$MSGFMT" != "false"
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6213 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6214 cat >conftest.po <<EOF
6215 # comment
6216 msgctxt "ctxt"
6217 msgid "id"
6218 msgstr "str"
6220 if $MSGFMT -o /dev/null conftest.po 2>&5
6221 then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6223 $as_echo "yes" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 MSGFMT=false
6230 if test "$MSGFMT" = false; then :
6231 case "x$with_gettext" in
6232 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6233 xno) ;;
6234 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6235 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6236 esac
6237 enable_po=${enable_po:-no}
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6242 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6243 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 ac_check_lib_save_LIBS=$LIBS
6247 LIBS="-li386 $LIBS"
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6251 /* Override any GCC internal prototype to avoid an error.
6252 Use char because int might match the return type of a GCC
6253 builtin and then its argument prototype would still apply. */
6254 #ifdef __cplusplus
6255 extern "C"
6256 #endif
6257 char i386_set_ldt ();
6259 main ()
6261 return i386_set_ldt ();
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_link "$LINENO"; then :
6267 ac_cv_lib_i386_i386_set_ldt=yes
6268 else
6269 ac_cv_lib_i386_i386_set_ldt=no
6271 rm -f core conftest.err conftest.$ac_objext \
6272 conftest$ac_exeext conftest.$ac_ext
6273 LIBS=$ac_check_lib_save_LIBS
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6276 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6277 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6278 cat >>confdefs.h <<_ACEOF
6279 #define HAVE_LIBI386 1
6280 _ACEOF
6282 LIBS="-li386 $LIBS"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6287 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6288 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 ac_check_lib_save_LIBS=$LIBS
6292 LIBS="-lossaudio $LIBS"
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6296 /* Override any GCC internal prototype to avoid an error.
6297 Use char because int might match the return type of a GCC
6298 builtin and then its argument prototype would still apply. */
6299 #ifdef __cplusplus
6300 extern "C"
6301 #endif
6302 char _oss_ioctl ();
6304 main ()
6306 return _oss_ioctl ();
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_link "$LINENO"; then :
6312 ac_cv_lib_ossaudio__oss_ioctl=yes
6313 else
6314 ac_cv_lib_ossaudio__oss_ioctl=no
6316 rm -f core conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 LIBS=$ac_check_lib_save_LIBS
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6321 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6322 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6323 cat >>confdefs.h <<_ACEOF
6324 #define HAVE_LIBOSSAUDIO 1
6325 _ACEOF
6327 LIBS="-lossaudio $LIBS"
6332 OPENGL_LIBS=""
6336 # Check whether --enable-largefile was given.
6337 if test "${enable_largefile+set}" = set; then :
6338 enableval=$enable_largefile;
6341 if test "$enable_largefile" != no; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6344 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6345 if ${ac_cv_sys_largefile_CC+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 ac_cv_sys_largefile_CC=no
6349 if test "$GCC" != yes; then
6350 ac_save_CC=$CC
6351 while :; do
6352 # IRIX 6.2 and later do not support large files by default,
6353 # so use the C compiler's -n32 option if that helps.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <sys/types.h>
6357 /* Check that off_t can represent 2**63 - 1 correctly.
6358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6359 since some C++ compilers masquerading as C compilers
6360 incorrectly reject 9223372036854775807. */
6361 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6363 && LARGE_OFF_T % 2147483647 == 1)
6364 ? 1 : -1];
6366 main ()
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_compile "$LINENO"; then :
6374 break
6376 rm -f core conftest.err conftest.$ac_objext
6377 CC="$CC -n32"
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_largefile_CC=' -n32'; break
6381 rm -f core conftest.err conftest.$ac_objext
6382 break
6383 done
6384 CC=$ac_save_CC
6385 rm -f conftest.$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6389 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6390 if test "$ac_cv_sys_largefile_CC" != no; then
6391 CC=$CC$ac_cv_sys_largefile_CC
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6395 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6396 if ${ac_cv_sys_file_offset_bits+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 while :; do
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6410 ? 1 : -1];
6412 main ()
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_compile "$LINENO"; then :
6420 ac_cv_sys_file_offset_bits=no; break
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #define _FILE_OFFSET_BITS 64
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6434 ? 1 : -1];
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_sys_file_offset_bits=64; break
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 ac_cv_sys_file_offset_bits=unknown
6448 break
6449 done
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6452 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6453 case $ac_cv_sys_file_offset_bits in #(
6454 no | unknown) ;;
6456 cat >>confdefs.h <<_ACEOF
6457 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6458 _ACEOF
6460 esac
6461 rm -rf conftest*
6462 if test $ac_cv_sys_file_offset_bits = unknown; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6464 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6465 if ${ac_cv_sys_large_files+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 while :; do
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #include <sys/types.h>
6472 /* Check that off_t can represent 2**63 - 1 correctly.
6473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6474 since some C++ compilers masquerading as C compilers
6475 incorrectly reject 9223372036854775807. */
6476 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6478 && LARGE_OFF_T % 2147483647 == 1)
6479 ? 1 : -1];
6481 main ()
6485 return 0;
6487 _ACEOF
6488 if ac_fn_c_try_compile "$LINENO"; then :
6489 ac_cv_sys_large_files=no; break
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6494 #define _LARGE_FILES 1
6495 #include <sys/types.h>
6496 /* Check that off_t can represent 2**63 - 1 correctly.
6497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6498 since some C++ compilers masquerading as C compilers
6499 incorrectly reject 9223372036854775807. */
6500 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6502 && LARGE_OFF_T % 2147483647 == 1)
6503 ? 1 : -1];
6505 main ()
6509 return 0;
6511 _ACEOF
6512 if ac_fn_c_try_compile "$LINENO"; then :
6513 ac_cv_sys_large_files=1; break
6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 ac_cv_sys_large_files=unknown
6517 break
6518 done
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6521 $as_echo "$ac_cv_sys_large_files" >&6; }
6522 case $ac_cv_sys_large_files in #(
6523 no | unknown) ;;
6525 cat >>confdefs.h <<_ACEOF
6526 #define _LARGE_FILES $ac_cv_sys_large_files
6527 _ACEOF
6529 esac
6530 rm -rf conftest*
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6543 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6544 # On Suns, sometimes $CPP names a directory.
6545 if test -n "$CPP" && test -d "$CPP"; then
6546 CPP=
6548 if test -z "$CPP"; then
6549 if ${ac_cv_prog_CPP+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 # Double quotes because CPP needs to be expanded
6553 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6555 ac_preproc_ok=false
6556 for ac_c_preproc_warn_flag in '' yes
6558 # Use a header file that comes with gcc, so configuring glibc
6559 # with a fresh cross-compiler works.
6560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6561 # <limits.h> exists even on freestanding compilers.
6562 # On the NeXT, cc -E runs the code through the compiler's parser,
6563 # not just through cpp. "Syntax error" is here to catch this case.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #ifdef __STDC__
6567 # include <limits.h>
6568 #else
6569 # include <assert.h>
6570 #endif
6571 Syntax error
6572 _ACEOF
6573 if ac_fn_c_try_cpp "$LINENO"; then :
6575 else
6576 # Broken: fails on valid input.
6577 continue
6579 rm -f conftest.err conftest.i conftest.$ac_ext
6581 # OK, works on sane cases. Now check whether nonexistent headers
6582 # can be detected and how.
6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6585 #include <ac_nonexistent.h>
6586 _ACEOF
6587 if ac_fn_c_try_cpp "$LINENO"; then :
6588 # Broken: success on invalid input.
6589 continue
6590 else
6591 # Passes both tests.
6592 ac_preproc_ok=:
6593 break
6595 rm -f conftest.err conftest.i conftest.$ac_ext
6597 done
6598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6599 rm -f conftest.i conftest.err conftest.$ac_ext
6600 if $ac_preproc_ok; then :
6601 break
6604 done
6605 ac_cv_prog_CPP=$CPP
6608 CPP=$ac_cv_prog_CPP
6609 else
6610 ac_cv_prog_CPP=$CPP
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6613 $as_echo "$CPP" >&6; }
6614 ac_preproc_ok=false
6615 for ac_c_preproc_warn_flag in '' yes
6617 # Use a header file that comes with gcc, so configuring glibc
6618 # with a fresh cross-compiler works.
6619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6620 # <limits.h> exists even on freestanding compilers.
6621 # On the NeXT, cc -E runs the code through the compiler's parser,
6622 # not just through cpp. "Syntax error" is here to catch this case.
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #ifdef __STDC__
6626 # include <limits.h>
6627 #else
6628 # include <assert.h>
6629 #endif
6630 Syntax error
6631 _ACEOF
6632 if ac_fn_c_try_cpp "$LINENO"; then :
6634 else
6635 # Broken: fails on valid input.
6636 continue
6638 rm -f conftest.err conftest.i conftest.$ac_ext
6640 # OK, works on sane cases. Now check whether nonexistent headers
6641 # can be detected and how.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <ac_nonexistent.h>
6645 _ACEOF
6646 if ac_fn_c_try_cpp "$LINENO"; then :
6647 # Broken: success on invalid input.
6648 continue
6649 else
6650 # Passes both tests.
6651 ac_preproc_ok=:
6652 break
6654 rm -f conftest.err conftest.i conftest.$ac_ext
6656 done
6657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6658 rm -f conftest.i conftest.err conftest.$ac_ext
6659 if $ac_preproc_ok; then :
6661 else
6662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6664 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6665 See \`config.log' for more details" "$LINENO" 5; }
6668 ac_ext=c
6669 ac_cpp='$CPP $CPPFLAGS'
6670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6676 $as_echo_n "checking for ANSI C header files... " >&6; }
6677 if ${ac_cv_header_stdc+:} false; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <stdlib.h>
6683 #include <stdarg.h>
6684 #include <string.h>
6685 #include <float.h>
6688 main ()
6692 return 0;
6694 _ACEOF
6695 if ac_fn_c_try_compile "$LINENO"; then :
6696 ac_cv_header_stdc=yes
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6702 if test $ac_cv_header_stdc = yes; then
6703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <string.h>
6708 _ACEOF
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "memchr" >/dev/null 2>&1; then :
6712 else
6713 ac_cv_header_stdc=no
6715 rm -f conftest*
6719 if test $ac_cv_header_stdc = yes; then
6720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <stdlib.h>
6725 _ACEOF
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "free" >/dev/null 2>&1; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f conftest*
6736 if test $ac_cv_header_stdc = yes; then
6737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6738 if test "$cross_compiling" = yes; then :
6740 else
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <ctype.h>
6744 #include <stdlib.h>
6745 #if ((' ' & 0x0FF) == 0x020)
6746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6748 #else
6749 # define ISLOWER(c) \
6750 (('a' <= (c) && (c) <= 'i') \
6751 || ('j' <= (c) && (c) <= 'r') \
6752 || ('s' <= (c) && (c) <= 'z'))
6753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6754 #endif
6756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6758 main ()
6760 int i;
6761 for (i = 0; i < 256; i++)
6762 if (XOR (islower (i), ISLOWER (i))
6763 || toupper (i) != TOUPPER (i))
6764 return 2;
6765 return 0;
6767 _ACEOF
6768 if ac_fn_c_try_run "$LINENO"; then :
6770 else
6771 ac_cv_header_stdc=no
6773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6774 conftest.$ac_objext conftest.beam conftest.$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6780 $as_echo "$ac_cv_header_stdc" >&6; }
6781 if test $ac_cv_header_stdc = yes; then
6783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6788 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6789 inttypes.h stdint.h unistd.h
6790 do :
6791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6795 cat >>confdefs.h <<_ACEOF
6796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6797 _ACEOF
6801 done
6804 for ac_header in \
6805 AL/al.h \
6806 ApplicationServices/ApplicationServices.h \
6807 AudioToolbox/AudioConverter.h \
6808 AudioUnit/AudioUnit.h \
6809 AudioUnit/AudioComponent.h \
6810 CL/cl.h \
6811 Carbon/Carbon.h \
6812 CommonCrypto/CommonDigest.h \
6813 CoreAudio/CoreAudio.h \
6814 CoreServices/CoreServices.h \
6815 DiskArbitration/DiskArbitration.h \
6816 IOKit/IOKitLib.h \
6817 IOKit/hid/IOHIDLib.h \
6818 OpenAL/al.h \
6819 OpenCL/opencl.h \
6820 QuickTime/ImageCompression.h \
6821 Security/Security.h \
6822 alias.h \
6823 alsa/asoundlib.h \
6824 arpa/inet.h \
6825 arpa/nameser.h \
6826 asm/types.h \
6827 asm/user.h \
6828 curses.h \
6829 direct.h \
6830 dirent.h \
6831 dlfcn.h \
6832 elf.h \
6833 float.h \
6834 fnmatch.h \
6835 getopt.h \
6836 gettext-po.h \
6837 grp.h \
6838 gsm.h \
6839 gsm/gsm.h \
6840 ieeefp.h \
6841 inet/mib2.h \
6842 io.h \
6843 kstat.h \
6844 lber.h \
6845 ldap.h \
6846 libproc.h \
6847 link.h \
6848 linux/cdrom.h \
6849 linux/compiler.h \
6850 linux/filter.h \
6851 linux/hdreg.h \
6852 linux/hidraw.h \
6853 linux/input.h \
6854 linux/ioctl.h \
6855 linux/joystick.h \
6856 linux/major.h \
6857 linux/param.h \
6858 linux/serial.h \
6859 linux/types.h \
6860 linux/ucdrom.h \
6861 lwp.h \
6862 mach-o/nlist.h \
6863 mach-o/loader.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/sysarch.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 pcap/pcap.h \
6877 poll.h \
6878 port.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 sched.h \
6883 scsi/scsi.h \
6884 scsi/scsi_ioctl.h \
6885 scsi/sg.h \
6886 stdbool.h \
6887 stdint.h \
6888 stropts.h \
6889 sys/asoundlib.h \
6890 sys/attr.h \
6891 sys/auxv.h \
6892 sys/cdio.h \
6893 sys/elf32.h \
6894 sys/epoll.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/inotify.h \
6899 sys/ioctl.h \
6900 sys/ipc.h \
6901 sys/limits.h \
6902 sys/link.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/protosw.h \
6911 sys/ptrace.h \
6912 sys/queue.h \
6913 sys/resource.h \
6914 sys/scsiio.h \
6915 sys/shm.h \
6916 sys/signal.h \
6917 sys/socket.h \
6918 sys/socketvar.h \
6919 sys/sockio.h \
6920 sys/statvfs.h \
6921 sys/strtio.h \
6922 sys/syscall.h \
6923 sys/sysinfo.h \
6924 sys/tihdr.h \
6925 sys/time.h \
6926 sys/timeout.h \
6927 sys/times.h \
6928 sys/uio.h \
6929 sys/user.h \
6930 sys/utsname.h \
6931 sys/vm86.h \
6932 sys/vnode.h \
6933 sys/wait.h \
6934 syscall.h \
6935 termios.h \
6936 unistd.h \
6937 utime.h \
6938 valgrind/memcheck.h \
6939 valgrind/valgrind.h \
6940 zlib.h
6942 do :
6943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6948 _ACEOF
6952 done
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6955 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6956 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958 else
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6963 main ()
6965 return makedev(0, 0);
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_link "$LINENO"; then :
6971 ac_cv_header_sys_types_h_makedev=yes
6972 else
6973 ac_cv_header_sys_types_h_makedev=no
6975 rm -f core conftest.err conftest.$ac_objext \
6976 conftest$ac_exeext conftest.$ac_ext
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6980 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6982 if test $ac_cv_header_sys_types_h_makedev = no; then
6983 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6984 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6986 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6992 if test $ac_cv_header_sys_mkdev_h = no; then
6993 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6994 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6996 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7005 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7006 if ${ac_cv_header_stat_broken+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 #include <sys/stat.h>
7014 #if defined S_ISBLK && defined S_IFDIR
7015 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7016 #endif
7018 #if defined S_ISBLK && defined S_IFCHR
7019 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7020 #endif
7022 #if defined S_ISLNK && defined S_IFREG
7023 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7024 #endif
7026 #if defined S_ISSOCK && defined S_IFREG
7027 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7028 #endif
7030 _ACEOF
7031 if ac_fn_c_try_compile "$LINENO"; then :
7032 ac_cv_header_stat_broken=no
7033 else
7034 ac_cv_header_stat_broken=yes
7036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7039 $as_echo "$ac_cv_header_stat_broken" >&6; }
7040 if test $ac_cv_header_stat_broken = yes; then
7042 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7048 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7049 do :
7050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7052 #ifdef HAVE_SYS_PARAM_H
7053 # include <sys/param.h>
7054 #endif
7056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7057 cat >>confdefs.h <<_ACEOF
7058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7059 _ACEOF
7063 done
7066 for ac_header in \
7067 netinet/ip.h \
7068 net/if.h \
7069 net/if_arp.h \
7070 net/if_dl.h \
7071 net/if_types.h \
7072 net/route.h \
7073 netinet/if_ether.h \
7074 netinet/if_inarp.h \
7075 netinet/in_pcb.h \
7076 netinet/ip_icmp.h \
7077 netinet/ip_var.h \
7078 netinet/udp.h \
7079 netipx/ipx.h \
7080 sys/un.h \
7082 do :
7083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7085 #ifdef HAVE_SYS_SOCKET_H
7086 # include <sys/socket.h>
7087 #endif
7088 #ifdef HAVE_SYS_SOCKETVAR_H
7089 # include <sys/socketvar.h>
7090 #endif
7091 #ifdef HAVE_NET_ROUTE_H
7092 # include <net/route.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IN_H
7095 # include <netinet/in.h>
7096 #endif
7097 #ifdef HAVE_NETINET_IN_SYSTM_H
7098 # include <netinet/in_systm.h>
7099 #endif
7100 #ifdef HAVE_NET_IF_H
7101 # include <net/if.h>
7102 #endif
7103 #ifdef HAVE_NETINET_IP_H
7104 # include <netinet/ip.h>
7105 #endif
7107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 _ACEOF
7114 done
7117 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7118 do :
7119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7121 #ifdef HAVE_ALIAS_H
7122 # include <alias.h>
7123 #endif
7124 #ifdef HAVE_SYS_SOCKET_H
7125 # include <sys/socket.h>
7126 #endif
7127 #ifdef HAVE_SYS_SOCKETVAR_H
7128 # include <sys/socketvar.h>
7129 #endif
7130 #ifdef HAVE_SYS_TIMEOUT_H
7131 # include <sys/timeout.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IN_H
7134 # include <netinet/in.h>
7135 #endif
7136 #ifdef HAVE_NETINET_IN_SYSTM_H
7137 # include <netinet/in_systm.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IP_H
7140 # include <netinet/ip.h>
7141 #endif
7142 #ifdef HAVE_NETINET_IP_VAR_H
7143 # include <netinet/ip_var.h>
7144 #endif
7145 #ifdef HAVE_NETINET_IP_ICMP_H
7146 # include <netinet/ip_icmp.h>
7147 #endif
7148 #ifdef HAVE_NETINET_UDP_H
7149 # include <netinet/udp.h>
7150 #endif
7151 #ifdef HAVE_NETINET_TCP_H
7152 # include <netinet/tcp.h>
7153 #endif
7154 #ifdef HAVE_NETINET_TCP_TIMER_H
7155 #include <netinet/tcp_timer.h>
7156 #endif
7158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7161 _ACEOF
7165 done
7168 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7169 do :
7170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7171 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7172 #ifdef HAVE_ASM_TYPES_H
7173 # include <asm/types.h>
7174 #endif
7175 #ifdef HAVE_SYS_SOCKET_H
7176 # include <sys/socket.h>
7177 #endif
7178 #ifdef HAVE_LINUX_TYPES_H
7179 # include <linux/types.h>
7180 #endif
7182 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7183 cat >>confdefs.h <<_ACEOF
7184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7185 _ACEOF
7189 done
7192 for ac_header in mach-o/dyld_images.h
7193 do :
7194 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7195 # include <stdbool.h>
7196 #endif
7197 #ifdef HAVE_STDINT_H
7198 # include <stdint.h>
7199 #endif
7201 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7202 cat >>confdefs.h <<_ACEOF
7203 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7204 _ACEOF
7208 done
7211 for ac_header in resolv.h
7212 do :
7213 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7214 #ifdef HAVE_SYS_SOCKET_H
7215 # include <sys/socket.h>
7216 #endif
7217 #ifdef HAVE_NETINET_IN_H
7218 # include <netinet/in.h>
7219 #endif
7220 #ifdef HAVE_ARPA_NAMESER_H
7221 # include <arpa/nameser.h>
7222 #endif
7224 if test "x$ac_cv_header_resolv_h" = xyes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_RESOLV_H 1
7227 _ACEOF
7231 done
7234 for ac_header in ifaddrs.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7238 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_IFADDRS_H 1
7241 _ACEOF
7245 done
7248 for ac_header in sys/ucontext.h
7249 do :
7250 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7252 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7253 cat >>confdefs.h <<_ACEOF
7254 #define HAVE_SYS_UCONTEXT_H 1
7255 _ACEOF
7259 done
7262 for ac_header in sys/thr.h
7263 do :
7264 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7265 #ifdef HAVE_SYS_UCONTEXT_H
7266 #include <sys/ucontext.h>
7267 #endif
7269 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_SYS_THR_H 1
7272 _ACEOF
7276 done
7279 for ac_header in pthread_np.h
7280 do :
7281 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7282 #include <pthread.h>
7283 #endif
7285 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_PTHREAD_NP_H 1
7288 _ACEOF
7292 done
7295 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7296 do :
7297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7298 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7299 #include <sys/time.h>
7300 #endif
7301 #include <sys/types.h>
7302 #ifdef HAVE_ASM_TYPES_H
7303 #include <asm/types.h>
7304 #endif
7306 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7309 _ACEOF
7313 done
7316 for ac_header in libprocstat.h
7317 do :
7318 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7319 #include <sys/param.h>
7320 #endif
7321 #ifdef HAVE_SYS_QUEUE_H
7322 #include <sys/queue.h>
7323 #endif
7324 #ifdef HAVE_SYS_SOCKET_H
7325 #include <sys/socket.h>
7326 #endif
7328 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_LIBPROCSTAT_H 1
7331 _ACEOF
7335 done
7339 dlldir="\${libdir}/wine"
7341 DLLFLAGS="-D_REENTRANT"
7343 LDRPATH_INSTALL=""
7345 LDRPATH_LOCAL=""
7347 LDEXECFLAGS=""
7349 LIBEXT="so"
7350 DLLEXT=".so"
7351 IMPLIBEXT="def"
7352 # Extract the first word of "ldd", so it can be a program name with args.
7353 set dummy ldd; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_path_LDD+:} false; then :
7357 $as_echo_n "(cached) " >&6
7358 else
7359 case $LDD in
7360 [\\/]* | ?:[\\/]*)
7361 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 as_dummy="/sbin:/usr/sbin:$PATH"
7366 for as_dir in $as_dummy
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7380 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7382 esac
7384 LDD=$ac_cv_path_LDD
7385 if test -n "$LDD"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7387 $as_echo "$LDD" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7394 if test -n "$ac_tool_prefix"; then
7395 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7396 set dummy ${ac_tool_prefix}otool; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if ${ac_cv_prog_OTOOL+:} false; then :
7400 $as_echo_n "(cached) " >&6
7401 else
7402 if test -n "$OTOOL"; then
7403 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7404 else
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in $PATH
7408 IFS=$as_save_IFS
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 break 2
7416 done
7417 done
7418 IFS=$as_save_IFS
7422 OTOOL=$ac_cv_prog_OTOOL
7423 if test -n "$OTOOL"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7425 $as_echo "$OTOOL" >&6; }
7426 else
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7433 if test -z "$ac_cv_prog_OTOOL"; then
7434 ac_ct_OTOOL=$OTOOL
7435 # Extract the first word of "otool", so it can be a program name with args.
7436 set dummy otool; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 if test -n "$ac_ct_OTOOL"; then
7443 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7448 IFS=$as_save_IFS
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7452 ac_cv_prog_ac_ct_OTOOL="otool"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 break 2
7456 done
7457 done
7458 IFS=$as_save_IFS
7462 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7463 if test -n "$ac_ct_OTOOL"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7465 $as_echo "$ac_ct_OTOOL" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7471 if test "x$ac_ct_OTOOL" = x; then
7472 OTOOL="otool"
7473 else
7474 case $cross_compiling:$ac_tool_warned in
7475 yes:)
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7478 ac_tool_warned=yes ;;
7479 esac
7480 OTOOL=$ac_ct_OTOOL
7482 else
7483 OTOOL="$ac_cv_prog_OTOOL"
7486 if test -n "$ac_tool_prefix"; then
7487 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7488 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_READELF+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 if test -n "$READELF"; then
7495 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7508 done
7509 done
7510 IFS=$as_save_IFS
7514 READELF=$ac_cv_prog_READELF
7515 if test -n "$READELF"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7517 $as_echo "$READELF" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7525 if test -z "$ac_cv_prog_READELF"; then
7526 ac_ct_READELF=$READELF
7527 # Extract the first word of "readelf", so it can be a program name with args.
7528 set dummy readelf; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$ac_ct_READELF"; then
7535 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_ac_ct_READELF="readelf"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7548 done
7549 done
7550 IFS=$as_save_IFS
7554 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7555 if test -n "$ac_ct_READELF"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7557 $as_echo "$ac_ct_READELF" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7563 if test "x$ac_ct_READELF" = x; then
7564 READELF="true"
7565 else
7566 case $cross_compiling:$ac_tool_warned in
7567 yes:)
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7570 ac_tool_warned=yes ;;
7571 esac
7572 READELF=$ac_ct_READELF
7574 else
7575 READELF="$ac_cv_prog_READELF"
7578 wine_rules_file=conf$$rules.make
7579 rm -f $wine_rules_file
7580 SUBDIRS=""
7582 DISABLED_SUBDIRS=""
7584 CONFIGURE_TARGETS=""
7586 ALL_TEST_RESOURCES=""
7589 wine_fn_append_file ()
7591 as_fn_append $1 " \\$as_nl $2"
7594 wine_fn_append_rule ()
7596 $as_echo "$1" >>$wine_rules_file
7599 wine_fn_has_flag ()
7601 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7604 wine_fn_all_rules ()
7606 wine_fn_append_file SUBDIRS $ac_dir
7607 wine_fn_append_rule \
7608 "all: $ac_dir
7609 .PHONY: $ac_dir
7610 $ac_dir: dummy
7611 @cd $ac_dir && \$(MAKE)"
7614 wine_fn_install_rules ()
7616 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7618 wine_fn_append_rule \
7619 ".PHONY: $ac_dir/install $ac_dir/uninstall
7620 $ac_dir/install:: $ac_dir
7621 @cd $ac_dir && \$(MAKE) install
7622 $ac_dir/uninstall::
7623 @cd $ac_dir && \$(MAKE) uninstall
7624 install:: $ac_dir/install
7625 __uninstall__: $ac_dir/uninstall"
7627 if wine_fn_has_flag install-lib
7628 then
7629 wine_fn_append_rule \
7630 ".PHONY: $ac_dir/install-lib
7631 $ac_dir/install-lib:: $ac_dir
7632 @cd $ac_dir && \$(MAKE) install-lib
7633 install-lib:: $ac_dir/install-lib"
7636 if wine_fn_has_flag install-dev
7637 then
7638 wine_fn_append_rule \
7639 ".PHONY: $ac_dir/install-dev
7640 $ac_dir/install-dev:: $ac_dir
7641 @cd $ac_dir && \$(MAKE) install-dev
7642 install-dev:: $ac_dir/install-dev"
7646 wine_fn_clean_rules ()
7648 ac_clean=$@
7650 if wine_fn_has_flag clean
7651 then
7652 wine_fn_append_rule \
7653 "$ac_dir/clean: dummy
7654 @cd $ac_dir && \$(MAKE) clean"
7655 else
7656 wine_fn_append_rule \
7657 "$ac_dir/clean: dummy
7658 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7660 wine_fn_append_rule \
7661 "__clean__: $ac_dir/clean
7662 .PHONY: $ac_dir/clean"
7665 wine_fn_disabled_rules ()
7667 ac_clean=$@
7669 wine_fn_append_file SUBDIRS $ac_dir
7670 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7671 wine_fn_append_rule \
7672 "__clean__: $ac_dir/clean
7673 .PHONY: $ac_dir/clean
7674 $ac_dir/clean: dummy
7675 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7678 wine_fn_config_makefile ()
7680 ac_dir=$1
7681 ac_enable=$2
7682 ac_flags=$3
7684 case $ac_dir in
7685 fonts|server) test -z "$with_wine64" || return ;;
7686 esac
7687 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7688 wine_fn_disabled_rules; return
7690 wine_fn_all_rules
7691 wine_fn_install_rules
7692 wine_fn_clean_rules
7695 wine_fn_config_lib ()
7697 ac_name=$1
7698 ac_flags=$2
7699 ac_dir=dlls/$ac_name
7700 ac_deps="include"
7702 if test "x$enable_tools" = xno; then :
7704 else
7705 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7707 wine_fn_all_rules
7708 wine_fn_clean_rules
7710 wine_fn_append_rule \
7711 ".PHONY: $ac_dir/install $ac_dir/uninstall
7712 $ac_dir/install:: $ac_dir
7713 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7714 $ac_dir/uninstall::
7715 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7716 install install-dev:: $ac_dir/install
7717 __uninstall__: $ac_dir/uninstall
7718 __builddeps__: $ac_dir
7719 $ac_dir: $ac_deps"
7722 wine_fn_config_dll ()
7724 ac_name=$1
7725 ac_dir=dlls/$ac_name
7726 ac_enable=$2
7727 ac_flags=$3
7728 ac_implib=${4:-$ac_name}
7729 ac_file=$ac_dir/lib$ac_implib
7730 ac_dll=$ac_name
7731 ac_deps="include"
7732 ac_implibflags=""
7734 if test "x$enable_tools" = xno; then :
7736 else
7737 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7739 case $ac_name in
7740 *.*16) ac_implibflags=" -m16" ;;
7741 *.*) ;;
7742 *) ac_dll=$ac_dll.dll ;;
7743 esac
7745 ac_clean=
7746 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7747 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7749 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7750 if test "$ac_enable" != enable_win16
7751 then
7752 wine_fn_clean_rules $ac_clean
7753 wine_fn_append_file SUBDIRS $ac_dir
7754 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7755 else
7756 wine_fn_disabled_rules $ac_clean
7757 return
7759 else
7760 wine_fn_all_rules
7761 wine_fn_clean_rules $ac_clean
7762 wine_fn_append_rule \
7763 "$ac_dir: __builddeps__
7764 manpages htmlpages sgmlpages xmlpages::
7765 @cd $ac_dir && \$(MAKE) \$@
7766 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7767 install install-lib:: $ac_dir/install-lib
7768 __uninstall__: $ac_dir/uninstall"
7769 if test -n "$DLLEXT"
7770 then
7771 wine_fn_append_rule \
7772 "$ac_dir/install-lib:: $ac_dir
7773 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7774 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7775 $ac_dir/uninstall::
7776 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7777 else
7778 wine_fn_append_rule \
7779 "$ac_dir/install-lib:: $ac_dir
7780 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7786 if wine_fn_has_flag staticimplib
7787 then
7788 wine_fn_append_rule \
7789 "__builddeps__: $ac_file.a
7790 $ac_file.a $ac_file.cross.a: $ac_deps
7791 $ac_file.a: dummy
7792 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7793 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7794 $ac_dir/install-dev:: $ac_file.a
7795 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7796 $ac_dir/uninstall::
7797 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7798 install install-dev:: $ac_dir/install-dev
7799 __uninstall__: $ac_dir/uninstall"
7801 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7802 then
7803 wine_fn_append_rule \
7804 "__builddeps__: $ac_file.cross.a
7805 $ac_file.cross.a: dummy
7806 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7809 elif wine_fn_has_flag implib
7810 then
7811 wine_fn_append_rule \
7812 "__builddeps__: $ac_file.$IMPLIBEXT
7813 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7815 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7816 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7817 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7818 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7819 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7820 $ac_dir/uninstall::
7821 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7822 install install-dev:: $ac_dir/install-dev
7823 __uninstall__: $ac_dir/uninstall"
7824 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7825 then
7826 wine_fn_append_rule \
7827 "__builddeps__: $ac_file.cross.a
7828 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7829 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7834 wine_fn_config_program ()
7836 ac_name=$1
7837 ac_dir=programs/$ac_name
7838 ac_enable=$2
7839 ac_flags=$3
7840 ac_program=$ac_name
7842 case $ac_name in
7843 *.*) ;;
7844 *) ac_program=$ac_program.exe ;;
7845 esac
7847 ac_clean=
7848 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7849 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7851 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7852 wine_fn_disabled_rules $ac_clean; return
7855 wine_fn_all_rules
7856 wine_fn_clean_rules $ac_clean
7857 wine_fn_append_rule "$ac_dir: __builddeps__"
7859 wine_fn_has_flag install || return
7860 wine_fn_append_rule \
7861 ".PHONY: $ac_dir/install $ac_dir/uninstall
7862 install install-lib:: $ac_dir/install
7863 __uninstall__: $ac_dir/uninstall"
7865 if test -n "$DLLEXT"
7866 then
7867 wine_fn_append_rule \
7868 "$ac_dir/install:: $ac_dir
7869 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7870 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7871 $ac_dir/uninstall::
7872 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7874 if test -z "$with_wine64" && wine_fn_has_flag installbin
7875 then
7876 wine_fn_append_rule \
7877 "$ac_dir/install:: __tooldeps__
7878 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7879 $ac_dir/uninstall::
7880 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7882 else
7883 wine_fn_append_rule \
7884 "$ac_dir/install:: $ac_dir
7885 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7886 $ac_dir/uninstall::
7887 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7890 if test -z "$with_wine64" && wine_fn_has_flag manpage
7891 then
7892 wine_fn_append_rule \
7893 "$ac_dir/install:: $ac_dir
7894 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7895 $ac_dir/uninstall::
7896 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7900 wine_fn_config_test ()
7902 ac_dir=$1
7903 ac_name=$2
7904 ac_flags=$3
7906 ac_clean=
7907 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7908 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7910 if test "x$enable_tests" = xno; then :
7911 wine_fn_disabled_rules $ac_clean; return
7914 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7915 wine_fn_all_rules
7916 wine_fn_clean_rules $ac_clean
7918 wine_fn_append_rule \
7919 "$ac_dir: __builddeps__
7920 programs/winetest: $ac_dir
7921 check test: $ac_dir/test
7922 .PHONY: $ac_dir/test
7923 $ac_dir/test: dummy
7924 @cd $ac_dir && \$(MAKE) test
7925 testclean::
7926 \$(RM) $ac_dir/*.ok"
7928 if test -n "$CROSSTARGET"
7929 then
7930 wine_fn_append_rule \
7931 "crosstest: $ac_dir/crosstest
7932 .PHONY: $ac_dir/crosstest
7933 $ac_dir/crosstest: __builddeps__ dummy
7934 @cd $ac_dir && \$(MAKE) crosstest"
7938 wine_fn_config_tool ()
7940 ac_dir=$1
7941 ac_flags=$2
7942 if test "x$enable_tools" = xno; then :
7943 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7946 wine_fn_all_rules
7947 wine_fn_install_rules
7948 wine_fn_clean_rules
7950 wine_fn_append_rule "__tooldeps__: $ac_dir"
7951 wine_fn_append_rule "$ac_dir: libs/port"
7952 case $ac_dir in
7953 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7954 esac
7957 wine_fn_config_symlink ()
7959 ac_linkdir=
7960 if test "x$1" = "x-d"
7961 then
7962 ac_linkdir=$2
7963 shift; shift
7965 ac_links=$@
7966 wine_fn_append_rule \
7967 "$ac_links:
7968 @./config.status \$@"
7969 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7970 test -n "$ac_linkdir" || return
7971 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7974 wine_binary="wine"
7975 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7976 WINELOADER_PROGRAMS="$wine_binary"
7978 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7980 case $host_os in
7981 cygwin*|mingw32*)
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7986 $as_echo_n "checking for $ac_word... " >&6; }
7987 if ${ac_cv_prog_DLLTOOL+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
7990 if test -n "$DLLTOOL"; then
7991 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7992 else
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 for as_dir in $PATH
7996 IFS=$as_save_IFS
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 break 2
8004 done
8005 done
8006 IFS=$as_save_IFS
8010 DLLTOOL=$ac_cv_prog_DLLTOOL
8011 if test -n "$DLLTOOL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8013 $as_echo "$DLLTOOL" >&6; }
8014 else
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016 $as_echo "no" >&6; }
8021 if test -z "$ac_cv_prog_DLLTOOL"; then
8022 ac_ct_DLLTOOL=$DLLTOOL
8023 # Extract the first word of "dlltool", so it can be a program name with args.
8024 set dummy dlltool; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$ac_ct_DLLTOOL"; then
8031 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8051 if test -n "$ac_ct_DLLTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8053 $as_echo "$ac_ct_DLLTOOL" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8059 if test "x$ac_ct_DLLTOOL" = x; then
8060 DLLTOOL="false"
8061 else
8062 case $cross_compiling:$ac_tool_warned in
8063 yes:)
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8066 ac_tool_warned=yes ;;
8067 esac
8068 DLLTOOL=$ac_ct_DLLTOOL
8070 else
8071 DLLTOOL="$ac_cv_prog_DLLTOOL"
8074 LIBEXT="dll"
8075 DLLEXT=""
8076 IMPLIBEXT="a"
8077 enable_iphlpapi=${enable_iphlpapi:-no}
8078 enable_kernel32=${enable_kernel32:-no}
8079 enable_msvcrt=${enable_msvcrt:-no}
8080 enable_ntdll=${enable_ntdll:-no}
8081 enable_ws2_32=${enable_ws2_32:-no}
8082 enable_loader=${enable_loader:-no}
8083 enable_server=${enable_server:-no}
8084 with_x=${with_x:-no}
8085 with_pthread=${with_pthread:-no}
8087 crtlibs=""
8088 case $host_os in
8089 mingw32*)
8090 crtlibs="-lmsvcrt"
8091 SOCKET_LIBS="-lws2_32"
8093 esac
8095 LIBWINE_SHAREDLIB="libwine.dll"
8097 LIBWINE_IMPORTLIB="libwine.a"
8099 LIBWINE_INSTALL_LIB="libwine.dll"
8101 LIBWINE_INSTALL_DEV="libwine.a"
8103 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8105 LIBWINE_DEPENDS="wine.def"
8109 darwin*|macosx*)
8110 for ac_header in libunwind.h
8111 do :
8112 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_LIBUNWIND_H 1
8116 _ACEOF
8120 done
8122 LIBEXT="dylib"
8123 DLLFLAGS="$DLLFLAGS -fPIC"
8124 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8125 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8126 COREFOUNDATION_LIBS="-framework CoreFoundation"
8128 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8130 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8132 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8134 CORESERVICES_LIBS="-framework CoreServices"
8136 APPKIT_LIBS="-framework AppKit"
8138 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8140 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8141 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -Wl,-no_pie"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 ac_cv_cflags__Wl__no_pie=yes
8152 else
8153 ac_cv_cflags__Wl__no_pie=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8160 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8161 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8162 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8164 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8165 then
8166 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8169 if test "$ac_cv_header_Security_Security_h" = "yes"
8170 then
8171 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8173 ac_save_LIBS="$LIBS"
8174 LIBS="$LIBS $SECURITY_LIBS"
8175 for ac_func in SSLCopyPeerCertificates
8176 do :
8177 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8178 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8181 _ACEOF
8184 done
8186 LIBS="$ac_save_LIBS"
8187 with_gnutls=${with_gnutls:-no}
8189 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8190 then
8191 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8192 then
8193 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8195 else
8196 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8199 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8200 ac_save_LIBS="$LIBS"
8201 LIBS="$LIBS $COREAUDIO_LIBS"
8202 for ac_func in AUGraphAddNode
8203 do :
8204 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8205 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8206 cat >>confdefs.h <<_ACEOF
8207 #define HAVE_AUGRAPHADDNODE 1
8208 _ACEOF
8211 done
8213 LIBS="$ac_save_LIBS"
8215 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8216 then
8217 OPENAL_LIBS="-framework OpenAL"
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_OPENAL 1
8222 _ACEOF
8224 ac_cv_lib_openal=yes
8226 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8227 then
8228 OPENCL_LIBS="-framework OpenCL"
8230 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8232 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8233 then
8234 ac_save_LIBS="$LIBS"
8235 LIBS="$LIBS $IOKIT_LIBS"
8236 for ac_func in IOHIDManagerCreate
8237 do :
8238 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8239 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8240 cat >>confdefs.h <<_ACEOF
8241 #define HAVE_IOHIDMANAGERCREATE 1
8242 _ACEOF
8245 done
8247 LIBS="$ac_save_LIBS"
8249 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8250 then
8251 ac_save_LIBS="$LIBS"
8252 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8254 $as_echo_n "checking for the QuickTime framework... " >&6; }
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 #include <QuickTime/ImageCompression.h>
8259 main ()
8261 CodecManagerVersion(NULL);
8263 return 0;
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 $as_echo "yes" >&6; }
8269 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8271 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8275 ac_cv_header_QuickTime_ImageCompression_h=no
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 LIBS="$ac_save_LIBS"
8281 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8282 then
8283 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8285 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8286 then
8287 CARBON_LIBS="-framework Carbon"
8291 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8292 then
8293 ac_save_LIBS="$LIBS"
8294 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8295 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8296 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8297 enable_winemac_drv=${enable_winemac_drv:-yes}
8300 LIBS="$ac_save_LIBS"
8303 if test "x$enable_win16" = "xyes"
8304 then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8306 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8307 if test "$cross_compiling" = yes; then :
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8309 $as_echo "cross-compiling, assuming yes" >&6; }
8310 else
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 asm(".text\n"
8314 "bad:\tnop;nop\n"
8315 "good:\tnop;nop\n\t"
8316 ".globl _testfunc\n"
8317 "_testfunc:\tcallw good");
8318 extern void testfunc();
8320 main ()
8322 unsigned short *p = (unsigned short *)testfunc;
8323 return p[0] != 0xe866 || p[1] != 0xfffa
8325 return 0;
8327 _ACEOF
8328 if ac_fn_c_try_run "$LINENO"; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8330 $as_echo "yes" >&6; }
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8334 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
8336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8337 conftest.$ac_objext conftest.beam conftest.$ac_ext
8342 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8344 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8346 LIBWINE_INSTALL_DEV="libwine.dylib"
8348 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8350 WINELOADER_DEPENDS="wine_info.plist"
8354 linux-android*)
8355 DLLFLAGS="$DLLFLAGS -fPIC"
8356 LDEXECFLAGS="-Wl,-pie"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8359 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8370 else
8371 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8378 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8379 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8380 LDEXECFLAGS="$LDEXECFLAGS -Wl,--export-dynamic"
8382 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8384 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8385 if eval \${$as_ac_var+:} false; then :
8386 $as_echo_n "(cached) " >&6
8387 else
8388 ac_wine_try_cflags_saved=$CFLAGS
8389 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8392 int main(int argc, char **argv) { return 0; }
8393 _ACEOF
8394 if ac_fn_c_try_link "$LINENO"; then :
8395 eval "$as_ac_var=yes"
8396 else
8397 eval "$as_ac_var=no"
8399 rm -f core conftest.err conftest.$ac_objext \
8400 conftest$ac_exeext conftest.$ac_ext
8401 CFLAGS=$ac_wine_try_cflags_saved
8403 eval ac_res=\$$as_ac_var
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8405 $as_echo "$ac_res" >&6; }
8406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8407 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8408 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8409 else
8410 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8412 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8413 if eval \${$as_ac_var+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 ac_wine_try_cflags_saved=$CFLAGS
8417 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 int main(int argc, char **argv) { return 0; }
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 eval "$as_ac_var=yes"
8424 else
8425 eval "$as_ac_var=no"
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 CFLAGS=$ac_wine_try_cflags_saved
8431 eval ac_res=\$$as_ac_var
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8433 $as_echo "$ac_res" >&6; }
8434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8435 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8436 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8440 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8441 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__Wl___enable_new_dtags=yes
8452 else
8453 ac_cv_cflags__Wl___enable_new_dtags=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8460 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8461 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8462 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8465 LIBWINE_SHAREDLIB="libwine.so"
8467 LIBWINE_INSTALL_LIB="libwine.so"
8469 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8474 DLLFLAGS="$DLLFLAGS -fPIC"
8475 LDEXECFLAGS=""
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8477 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8478 if ${ac_cv_c_dll_gnuelf+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 void myfunc() {}
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_c_dll_gnuelf="yes"
8489 else
8490 ac_cv_c_dll_gnuelf="no"
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8497 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8498 if test "$ac_cv_c_dll_gnuelf" = "yes"
8499 then
8500 LIBWINE_LDFLAGS="-shared"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8514 else
8515 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8524 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8525 else
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8528 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8539 else
8540 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8549 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8553 echo '{ global: *; };' >conftest.map
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8556 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8567 else
8568 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8575 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8576 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8577 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8579 rm -f conftest.map
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8583 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8594 else
8595 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8602 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8603 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8604 LDEXECFLAGS="-Wl,--export-dynamic"
8607 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8609 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8610 if eval \${$as_ac_var+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 eval "$as_ac_var=yes"
8621 else
8622 eval "$as_ac_var=no"
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 eval ac_res=\$$as_ac_var
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8630 $as_echo "$ac_res" >&6; }
8631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8632 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8634 else
8635 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8637 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8638 if eval \${$as_ac_var+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 eval "$as_ac_var=yes"
8649 else
8650 eval "$as_ac_var=no"
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 eval ac_res=\$$as_ac_var
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8658 $as_echo "$ac_res" >&6; }
8659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8660 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8661 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8666 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8667 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__Wl___enable_new_dtags=yes
8678 else
8679 ac_cv_cflags__Wl___enable_new_dtags=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8686 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8687 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8688 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8691 case $host_cpu in
8692 *i[3456789]86* | x86_64)
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8695 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8706 else
8707 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8714 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8715 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8716 case $host_os in
8717 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8718 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8719 esac
8720 else
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8722 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8723 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int main(int argc, char **argv) { return 0; }
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8734 else
8735 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 CFLAGS=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8742 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8743 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8744 case $host_os in
8745 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8746 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8747 esac
8749 # Extract the first word of "prelink", so it can be a program name with args.
8750 set dummy prelink; ac_word=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_path_PRELINK+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 case $PRELINK in
8757 [\\/]* | ?:[\\/]*)
8758 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 for as_dir in /sbin /usr/sbin $PATH
8764 IFS=$as_save_IFS
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8768 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 break 2
8772 done
8773 done
8774 IFS=$as_save_IFS
8776 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8778 esac
8780 PRELINK=$ac_cv_path_PRELINK
8781 if test -n "$PRELINK"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8783 $as_echo "$PRELINK" >&6; }
8784 else
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8790 if test "x$PRELINK" = xfalse
8791 then
8792 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8797 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8808 else
8809 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8816 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8817 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8818 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8821 esac
8823 else
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8825 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8826 if ${ac_cv_c_dll_unixware+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 void myfunc() {}
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_c_dll_unixware="yes"
8837 else
8838 ac_cv_c_dll_unixware="no"
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8845 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8846 if test "$ac_cv_c_dll_unixware" = "yes"
8847 then
8848 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8851 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8853 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8855 LIBWINE_INSTALL_DEV="libwine.so"
8857 LIBWINE_DEPENDS="wine.map"
8860 esac
8862 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8863 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8864 enable_winemac_drv=${enable_winemac_drv:-no}
8865 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8867 CROSSTARGET=""
8869 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8870 then
8871 case "$host_cpu" in
8872 arm*)
8873 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8874 i[3456789]86*)
8875 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
8876 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8877 mingw32-gcc" ;;
8878 x86_64)
8879 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
8880 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8882 ac_prefix_list="" ;;
8883 esac
8884 for ac_prog in $ac_prefix_list
8886 # Extract the first word of "$ac_prog", so it can be a program name with args.
8887 set dummy $ac_prog; ac_word=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_CROSSCC+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 if test -n "$CROSSCC"; then
8894 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8895 else
8896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 for as_dir in $PATH
8899 IFS=$as_save_IFS
8900 test -z "$as_dir" && as_dir=.
8901 for ac_exec_ext in '' $ac_executable_extensions; do
8902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_CROSSCC="$ac_prog"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8905 break 2
8907 done
8908 done
8909 IFS=$as_save_IFS
8913 CROSSCC=$ac_cv_prog_CROSSCC
8914 if test -n "$CROSSCC"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8916 $as_echo "$CROSSCC" >&6; }
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8923 test -n "$CROSSCC" && break
8924 done
8925 test -n "$CROSSCC" || CROSSCC="false"
8927 if test "$CROSSCC" != "false"
8928 then
8929 ac_save_CC="$CC"
8930 CC="$CROSSCC"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8932 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8937 main ()
8941 return 0;
8943 _ACEOF
8944 if ac_fn_c_try_compile "$LINENO"; then :
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8946 $as_echo "yes" >&6; }
8947 set x $CROSSCC
8948 shift
8949 while test $# -ge 1
8951 case "$1" in
8952 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8953 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8954 esac
8955 shift
8956 done
8957 else
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8962 CC="$ac_save_CC"
8967 if test "$ac_cv_header_pthread_h" = "yes"
8968 then
8969 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8970 if test "x$ac_cv_func_pthread_create" = xyes; then :
8972 else
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8974 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8975 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 ac_check_lib_save_LIBS=$LIBS
8979 LIBS="-lpthread $LIBS"
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8983 /* Override any GCC internal prototype to avoid an error.
8984 Use char because int might match the return type of a GCC
8985 builtin and then its argument prototype would still apply. */
8986 #ifdef __cplusplus
8987 extern "C"
8988 #endif
8989 char pthread_create ();
8991 main ()
8993 return pthread_create ();
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999 ac_cv_lib_pthread_pthread_create=yes
9000 else
9001 ac_cv_lib_pthread_pthread_create=no
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9008 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9009 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9010 PTHREAD_LIBS="-lpthread"
9017 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9018 case "x$with_pthread" in
9019 xno) ;;
9020 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9021 Wine cannot support threads without libpthread.
9022 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9023 esac
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9029 $as_echo_n "checking for X... " >&6; }
9032 # Check whether --with-x was given.
9033 if test "${with_x+set}" = set; then :
9034 withval=$with_x;
9037 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9038 if test "x$with_x" = xno; then
9039 # The user explicitly disabled X.
9040 have_x=disabled
9041 else
9042 case $x_includes,$x_libraries in #(
9043 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9044 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9045 $as_echo_n "(cached) " >&6
9046 else
9047 # One or both of the vars are not set, and there is no cached value.
9048 ac_x_includes=no ac_x_libraries=no
9049 rm -f -r conftest.dir
9050 if mkdir conftest.dir; then
9051 cd conftest.dir
9052 cat >Imakefile <<'_ACEOF'
9053 incroot:
9054 @echo incroot='${INCROOT}'
9055 usrlibdir:
9056 @echo usrlibdir='${USRLIBDIR}'
9057 libdir:
9058 @echo libdir='${LIBDIR}'
9059 _ACEOF
9060 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9061 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9062 for ac_var in incroot usrlibdir libdir; do
9063 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9064 done
9065 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9066 for ac_extension in a so sl dylib la dll; do
9067 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9068 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9069 ac_im_usrlibdir=$ac_im_libdir; break
9071 done
9072 # Screen out bogus values from the imake configuration. They are
9073 # bogus both because they are the default anyway, and because
9074 # using them would break gcc on systems where it needs fixed includes.
9075 case $ac_im_incroot in
9076 /usr/include) ac_x_includes= ;;
9077 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9078 esac
9079 case $ac_im_usrlibdir in
9080 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9081 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9082 esac
9084 cd ..
9085 rm -f -r conftest.dir
9088 # Standard set of common directories for X headers.
9089 # Check X11 before X11Rn because it is often a symlink to the current release.
9090 ac_x_header_dirs='
9091 /usr/X11/include
9092 /usr/X11R7/include
9093 /usr/X11R6/include
9094 /usr/X11R5/include
9095 /usr/X11R4/include
9097 /usr/include/X11
9098 /usr/include/X11R7
9099 /usr/include/X11R6
9100 /usr/include/X11R5
9101 /usr/include/X11R4
9103 /usr/local/X11/include
9104 /usr/local/X11R7/include
9105 /usr/local/X11R6/include
9106 /usr/local/X11R5/include
9107 /usr/local/X11R4/include
9109 /usr/local/include/X11
9110 /usr/local/include/X11R7
9111 /usr/local/include/X11R6
9112 /usr/local/include/X11R5
9113 /usr/local/include/X11R4
9115 /usr/X386/include
9116 /usr/x386/include
9117 /usr/XFree86/include/X11
9119 /usr/include
9120 /usr/local/include
9121 /usr/unsupported/include
9122 /usr/athena/include
9123 /usr/local/x11r5/include
9124 /usr/lpp/Xamples/include
9126 /usr/openwin/include
9127 /usr/openwin/share/include'
9129 if test "$ac_x_includes" = no; then
9130 # Guess where to find include files, by looking for Xlib.h.
9131 # First, try using that file with no special directory specified.
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 #include <X11/Xlib.h>
9135 _ACEOF
9136 if ac_fn_c_try_cpp "$LINENO"; then :
9137 # We can compile using X headers with no special include directory.
9138 ac_x_includes=
9139 else
9140 for ac_dir in $ac_x_header_dirs; do
9141 if test -r "$ac_dir/X11/Xlib.h"; then
9142 ac_x_includes=$ac_dir
9143 break
9145 done
9147 rm -f conftest.err conftest.i conftest.$ac_ext
9148 fi # $ac_x_includes = no
9150 if test "$ac_x_libraries" = no; then
9151 # Check for the libraries.
9152 # See if we find them without any special options.
9153 # Don't add to $LIBS permanently.
9154 ac_save_LIBS=$LIBS
9155 LIBS="-lX11 $LIBS"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 #include <X11/Xlib.h>
9160 main ()
9162 XrmInitialize ()
9164 return 0;
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 LIBS=$ac_save_LIBS
9169 # We can link X programs with no special library path.
9170 ac_x_libraries=
9171 else
9172 LIBS=$ac_save_LIBS
9173 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9175 # Don't even attempt the hair of trying to link an X program!
9176 for ac_extension in a so sl dylib la dll; do
9177 if test -r "$ac_dir/libX11.$ac_extension"; then
9178 ac_x_libraries=$ac_dir
9179 break 2
9181 done
9182 done
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 fi # $ac_x_libraries = no
9188 case $ac_x_includes,$ac_x_libraries in #(
9189 no,* | *,no | *\'*)
9190 # Didn't find X, or a directory has "'" in its name.
9191 ac_cv_have_x="have_x=no";; #(
9193 # Record where we found X for the cache.
9194 ac_cv_have_x="have_x=yes\
9195 ac_x_includes='$ac_x_includes'\
9196 ac_x_libraries='$ac_x_libraries'"
9197 esac
9199 ;; #(
9200 *) have_x=yes;;
9201 esac
9202 eval "$ac_cv_have_x"
9203 fi # $with_x != no
9205 if test "$have_x" != yes; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9207 $as_echo "$have_x" >&6; }
9208 no_x=yes
9209 else
9210 # If each of the values was on the command line, it overrides each guess.
9211 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9212 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9213 # Update the cache value to reflect the command line values.
9214 ac_cv_have_x="have_x=yes\
9215 ac_x_includes='$x_includes'\
9216 ac_x_libraries='$x_libraries'"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9218 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9221 if test "$no_x" = yes; then
9222 # Not all programs may use this symbol, but it does not hurt to define it.
9224 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9226 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9227 else
9228 if test -n "$x_includes"; then
9229 X_CFLAGS="$X_CFLAGS -I$x_includes"
9232 # It would also be nice to do this for all -L options, not just this one.
9233 if test -n "$x_libraries"; then
9234 X_LIBS="$X_LIBS -L$x_libraries"
9235 # For Solaris; some versions of Sun CC require a space after -R and
9236 # others require no space. Words are not sufficient . . . .
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9238 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9239 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9240 ac_xsave_c_werror_flag=$ac_c_werror_flag
9241 ac_c_werror_flag=yes
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9246 main ()
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9256 X_LIBS="$X_LIBS -R$x_libraries"
9257 else
9258 LIBS="$ac_xsave_LIBS -R $x_libraries"
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9263 main ()
9267 return 0;
9269 _ACEOF
9270 if ac_fn_c_try_link "$LINENO"; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9272 $as_echo "yes" >&6; }
9273 X_LIBS="$X_LIBS -R $x_libraries"
9274 else
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9276 $as_echo "neither works" >&6; }
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 ac_c_werror_flag=$ac_xsave_c_werror_flag
9284 LIBS=$ac_xsave_LIBS
9287 # Check for system-dependent libraries X programs must link with.
9288 # Do this before checking for the system-independent R6 libraries
9289 # (-lICE), since we may need -lsocket or whatever for X linking.
9291 if test "$ISC" = yes; then
9292 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9293 else
9294 # Martyn Johnson says this is needed for Ultrix, if the X
9295 # libraries were built with DECnet support. And Karl Berry says
9296 # the Alpha needs dnet_stub (dnet does not exist).
9297 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char XOpenDisplay ();
9309 main ()
9311 return XOpenDisplay ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9318 else
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9320 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9321 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_check_lib_save_LIBS=$LIBS
9325 LIBS="-ldnet $LIBS"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9332 #ifdef __cplusplus
9333 extern "C"
9334 #endif
9335 char dnet_ntoa ();
9337 main ()
9339 return dnet_ntoa ();
9341 return 0;
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345 ac_cv_lib_dnet_dnet_ntoa=yes
9346 else
9347 ac_cv_lib_dnet_dnet_ntoa=no
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_lib_save_LIBS
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9354 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9355 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9356 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9359 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9361 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9362 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_check_lib_save_LIBS=$LIBS
9366 LIBS="-ldnet_stub $LIBS"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9370 /* Override any GCC internal prototype to avoid an error.
9371 Use char because int might match the return type of a GCC
9372 builtin and then its argument prototype would still apply. */
9373 #ifdef __cplusplus
9374 extern "C"
9375 #endif
9376 char dnet_ntoa ();
9378 main ()
9380 return dnet_ntoa ();
9382 return 0;
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9387 else
9388 ac_cv_lib_dnet_stub_dnet_ntoa=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 LIBS=$ac_check_lib_save_LIBS
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9395 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9396 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9397 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS="$ac_xsave_LIBS"
9406 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9407 # to get the SysV transport functions.
9408 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9409 # needs -lnsl.
9410 # The nsl library prevents programs from opening the X display
9411 # on Irix 5.2, according to T.E. Dickey.
9412 # The functions gethostbyname, getservbyname, and inet_addr are
9413 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9414 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9415 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9419 if test $ac_cv_func_gethostbyname = no; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9421 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9422 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_check_lib_save_LIBS=$LIBS
9426 LIBS="-lnsl $LIBS"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9433 #ifdef __cplusplus
9434 extern "C"
9435 #endif
9436 char gethostbyname ();
9438 main ()
9440 return gethostbyname ();
9442 return 0;
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_lib_nsl_gethostbyname=yes
9447 else
9448 ac_cv_lib_nsl_gethostbyname=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9455 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9456 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9460 if test $ac_cv_lib_nsl_gethostbyname = no; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9462 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9463 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lbsd $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char gethostbyname ();
9479 main ()
9481 return gethostbyname ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_bsd_gethostbyname=yes
9488 else
9489 ac_cv_lib_bsd_gethostbyname=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9496 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9497 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9498 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9504 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9505 # socket/setsockopt and other routines are undefined under SCO ODT
9506 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9507 # on later versions), says Simon Leinen: it contains gethostby*
9508 # variants that don't use the name server (or something). -lsocket
9509 # must be given before -lnsl if both are needed. We assume that
9510 # if connect needs -lnsl, so does gethostbyname.
9511 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9512 if test "x$ac_cv_func_connect" = xyes; then :
9516 if test $ac_cv_func_connect = no; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9518 $as_echo_n "checking for connect in -lsocket... " >&6; }
9519 if ${ac_cv_lib_socket_connect+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char connect ();
9535 main ()
9537 return connect ();
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 ac_cv_lib_socket_connect=yes
9544 else
9545 ac_cv_lib_socket_connect=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS=$ac_check_lib_save_LIBS
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9552 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9553 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9554 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9559 # Guillermo Gomez says -lposix is necessary on A/UX.
9560 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9561 if test "x$ac_cv_func_remove" = xyes; then :
9565 if test $ac_cv_func_remove = no; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9567 $as_echo_n "checking for remove in -lposix... " >&6; }
9568 if ${ac_cv_lib_posix_remove+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_check_lib_save_LIBS=$LIBS
9572 LIBS="-lposix $LIBS"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 char remove ();
9584 main ()
9586 return remove ();
9588 return 0;
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 ac_cv_lib_posix_remove=yes
9593 else
9594 ac_cv_lib_posix_remove=no
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 LIBS=$ac_check_lib_save_LIBS
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9601 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9602 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9603 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9608 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9609 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9610 if test "x$ac_cv_func_shmat" = xyes; then :
9614 if test $ac_cv_func_shmat = no; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9616 $as_echo_n "checking for shmat in -lipc... " >&6; }
9617 if ${ac_cv_lib_ipc_shmat+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_check_lib_save_LIBS=$LIBS
9621 LIBS="-lipc $LIBS"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char shmat ();
9633 main ()
9635 return shmat ();
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 ac_cv_lib_ipc_shmat=yes
9642 else
9643 ac_cv_lib_ipc_shmat=no
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_lib_save_LIBS
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9650 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9651 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9658 # Check for libraries that X11R6 Xt/Xaw programs need.
9659 ac_save_LDFLAGS=$LDFLAGS
9660 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9661 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9662 # check for ICE first), but we must link in the order -lSM -lICE or
9663 # we get undefined symbols. So assume we have SM if we have ICE.
9664 # These have to be linked with before -lX11, unlike the other
9665 # libraries we check for below, so use a different variable.
9666 # John Interrante, Karl Berry
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9668 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9669 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9670 $as_echo_n "(cached) " >&6
9671 else
9672 ac_check_lib_save_LIBS=$LIBS
9673 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 char IceConnectionNumber ();
9685 main ()
9687 return IceConnectionNumber ();
9689 return 0;
9691 _ACEOF
9692 if ac_fn_c_try_link "$LINENO"; then :
9693 ac_cv_lib_ICE_IceConnectionNumber=yes
9694 else
9695 ac_cv_lib_ICE_IceConnectionNumber=no
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 LIBS=$ac_check_lib_save_LIBS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9702 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9703 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9704 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9707 LDFLAGS=$ac_save_LDFLAGS
9712 if test "$have_x" = "yes"
9713 then
9714 ac_save_CPPFLAGS="$CPPFLAGS"
9715 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9718 $as_echo_n "checking for -lX11... " >&6; }
9719 if ${ac_cv_lib_soname_X11+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_soname_save_LIBS=$LIBS
9723 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XCreateWindow ();
9735 main ()
9737 return XCreateWindow ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 case "$LIBEXT" in
9744 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_X11:+false} :; then :
9748 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 fi ;;
9750 esac
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_X11:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9760 else
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9762 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9764 cat >>confdefs.h <<_ACEOF
9765 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9766 _ACEOF
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9771 $as_echo_n "checking for -lXext... " >&6; }
9772 if ${ac_cv_lib_soname_Xext+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 ac_check_soname_save_LIBS=$LIBS
9776 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9783 #ifdef __cplusplus
9784 extern "C"
9785 #endif
9786 char XextCreateExtension ();
9788 main ()
9790 return XextCreateExtension ();
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 case "$LIBEXT" in
9797 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xext:+false} :; then :
9801 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9802 fi ;;
9803 esac
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xext:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9813 else
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9815 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9817 cat >>confdefs.h <<_ACEOF
9818 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9819 _ACEOF
9821 X_LIBS="$X_LIBS -lXext"
9823 X_LIBS="$X_LIBS -lX11"
9825 for ac_header in X11/Xlib.h \
9826 X11/XKBlib.h \
9827 X11/Xutil.h \
9828 X11/Xcursor/Xcursor.h \
9829 X11/extensions/shape.h \
9830 X11/extensions/XInput.h \
9831 X11/extensions/XInput2.h \
9832 X11/extensions/XShm.h \
9833 X11/extensions/Xcomposite.h \
9834 X11/extensions/Xinerama.h \
9835 X11/extensions/Xrandr.h \
9836 X11/extensions/Xrender.h \
9837 X11/extensions/xf86vmode.h \
9838 X11/extensions/xf86vmproto.h
9839 do :
9840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9842 # include <X11/Xlib.h>
9843 #endif
9844 #ifdef HAVE_X11_XUTIL_H
9845 # include <X11/Xutil.h>
9846 #endif
9848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9849 cat >>confdefs.h <<_ACEOF
9850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9851 _ACEOF
9855 done
9858 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9859 then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9861 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9862 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9873 #ifdef __cplusplus
9874 extern "C"
9875 #endif
9876 char XkbQueryExtension ();
9878 main ()
9880 return XkbQueryExtension ();
9882 return 0;
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_lib_X11_XkbQueryExtension=yes
9887 else
9888 ac_cv_lib_X11_XkbQueryExtension=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9895 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9896 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9898 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9904 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9905 then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9907 $as_echo_n "checking for -lXcursor... " >&6; }
9908 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_soname_save_LIBS=$LIBS
9912 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char XcursorImageLoadCursor ();
9924 main ()
9926 return XcursorImageLoadCursor ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 case "$LIBEXT" in
9933 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9937 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9938 fi ;;
9939 esac
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9949 else
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9951 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9953 cat >>confdefs.h <<_ACEOF
9954 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9955 _ACEOF
9960 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9961 case "x$with_xcursor" in
9962 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9963 xno) ;;
9964 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9965 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9966 esac
9970 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9971 then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9973 $as_echo_n "checking for -lXi... " >&6; }
9974 if ${ac_cv_lib_soname_Xi+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_check_soname_save_LIBS=$LIBS
9978 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 #ifdef __cplusplus
9986 extern "C"
9987 #endif
9988 char XOpenDevice ();
9990 main ()
9992 return XOpenDevice ();
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"; then :
9998 case "$LIBEXT" in
9999 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10000 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'` ;;
10001 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10002 if ${ac_cv_lib_soname_Xi:+false} :; then :
10003 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10004 fi ;;
10005 esac
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 LIBS=$ac_check_soname_save_LIBS
10011 if ${ac_cv_lib_soname_Xi:+false} :; then :
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10013 $as_echo "not found" >&6; }
10015 else
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10017 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10019 cat >>confdefs.h <<_ACEOF
10020 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10021 _ACEOF
10026 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10027 case "x$with_xinput" in
10028 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10029 xno) ;;
10030 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10031 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10032 esac
10036 if test "x$ac_cv_lib_soname_Xi" != x
10037 then
10038 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10039 case "x$with_xinput2" in
10040 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10041 xno) ;;
10042 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10043 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10044 esac
10049 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10050 then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10052 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10053 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_check_lib_save_LIBS=$LIBS
10057 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10064 #ifdef __cplusplus
10065 extern "C"
10066 #endif
10067 char XShmQueryExtension ();
10069 main ()
10071 return XShmQueryExtension ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_lib_Xext_XShmQueryExtension=yes
10078 else
10079 ac_cv_lib_Xext_XShmQueryExtension=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10086 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10087 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10089 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10094 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10095 case "x$with_xshm" in
10096 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10097 xno) ;;
10098 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10099 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10100 esac
10104 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10105 then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10107 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10108 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XShapeQueryExtension ();
10124 main ()
10126 return XShapeQueryExtension ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_lib_Xext_XShapeQueryExtension=yes
10133 else
10134 ac_cv_lib_Xext_XShapeQueryExtension=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10141 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10142 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10144 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10149 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10150 case "x$with_xshape" in
10151 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10152 xno) ;;
10153 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10154 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10155 esac
10159 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10160 then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10162 $as_echo_n "checking for -lXxf86vm... " >&6; }
10163 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_check_soname_save_LIBS=$LIBS
10167 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10174 #ifdef __cplusplus
10175 extern "C"
10176 #endif
10177 char XF86VidModeQueryExtension ();
10179 main ()
10181 return XF86VidModeQueryExtension ();
10183 return 0;
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 case "$LIBEXT" in
10188 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10192 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10193 fi ;;
10194 esac
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10202 $as_echo "not found" >&6; }
10204 else
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10206 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10208 cat >>confdefs.h <<_ACEOF
10209 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10210 _ACEOF
10215 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10216 case "x$with_xxf86vm" in
10217 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10218 xno) ;;
10219 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10220 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10221 esac
10225 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10226 then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10228 $as_echo_n "checking for -lXrender... " >&6; }
10229 if ${ac_cv_lib_soname_Xrender+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_check_soname_save_LIBS=$LIBS
10233 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10240 #ifdef __cplusplus
10241 extern "C"
10242 #endif
10243 char XRenderQueryExtension ();
10245 main ()
10247 return XRenderQueryExtension ();
10249 return 0;
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 case "$LIBEXT" in
10254 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10255 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'` ;;
10256 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10257 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10258 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10259 fi ;;
10260 esac
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10268 $as_echo "not found" >&6; }
10270 else
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10272 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10274 cat >>confdefs.h <<_ACEOF
10275 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10276 _ACEOF
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10279 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10280 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_check_lib_save_LIBS=$LIBS
10284 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10291 #ifdef __cplusplus
10292 extern "C"
10293 #endif
10294 char XRenderSetPictureTransform ();
10296 main ()
10298 return XRenderSetPictureTransform ();
10300 return 0;
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10305 else
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10316 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10321 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10322 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char XRenderCreateLinearGradient ();
10338 main ()
10340 return XRenderCreateLinearGradient ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10347 else
10348 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10355 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10356 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10358 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10365 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10366 case "x$with_xrender" in
10367 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10368 xno) ;;
10369 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10370 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10371 esac
10375 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10376 then
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 #include <X11/Xlib.h>
10380 #include <X11/extensions/Xrandr.h>
10382 main ()
10384 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_compile "$LINENO"; then :
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10391 $as_echo_n "checking for -lXrandr... " >&6; }
10392 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_check_soname_save_LIBS=$LIBS
10396 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10403 #ifdef __cplusplus
10404 extern "C"
10405 #endif
10406 char XRRQueryExtension ();
10408 main ()
10410 return XRRQueryExtension ();
10412 return 0;
10414 _ACEOF
10415 if ac_fn_c_try_link "$LINENO"; then :
10416 case "$LIBEXT" in
10417 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10418 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'` ;;
10419 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10420 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10421 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10422 fi ;;
10423 esac
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 LIBS=$ac_check_soname_save_LIBS
10429 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10433 else
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10435 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10437 cat >>confdefs.h <<_ACEOF
10438 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10439 _ACEOF
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10443 #include <X11/Xlib.h>
10444 #include <X11/extensions/Xrandr.h>
10446 main ()
10448 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10450 return 0;
10452 _ACEOF
10453 if ac_fn_c_try_compile "$LINENO"; then :
10455 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10463 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10464 case "x$with_xrandr" in
10465 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10466 xno) ;;
10467 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10469 esac
10473 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10474 then
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10477 #include <X11/Xlib.h>
10478 #include <X11/extensions/Xinerama.h>
10480 main ()
10482 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_compile "$LINENO"; then :
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10489 $as_echo_n "checking for -lXinerama... " >&6; }
10490 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_check_soname_save_LIBS=$LIBS
10494 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10498 /* Override any GCC internal prototype to avoid an error.
10499 Use char because int might match the return type of a GCC
10500 builtin and then its argument prototype would still apply. */
10501 #ifdef __cplusplus
10502 extern "C"
10503 #endif
10504 char XineramaQueryScreens ();
10506 main ()
10508 return XineramaQueryScreens ();
10510 return 0;
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 case "$LIBEXT" in
10515 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10516 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'` ;;
10517 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10518 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10519 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10520 fi ;;
10521 esac
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 LIBS=$ac_check_soname_save_LIBS
10527 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10529 $as_echo "not found" >&6; }
10531 else
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10533 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10535 cat >>confdefs.h <<_ACEOF
10536 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10537 _ACEOF
10542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10544 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10545 case "x$with_xinerama" in
10546 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10547 xno) ;;
10548 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10549 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10550 esac
10554 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10555 then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10557 $as_echo_n "checking for -lXcomposite... " >&6; }
10558 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_soname_save_LIBS=$LIBS
10562 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char XCompositeRedirectWindow ();
10574 main ()
10576 return XCompositeRedirectWindow ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 case "$LIBEXT" in
10583 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10584 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'` ;;
10585 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10586 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10587 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 fi ;;
10589 esac
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_soname_save_LIBS
10595 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10597 $as_echo "not found" >&6; }
10599 else
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10601 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10603 cat >>confdefs.h <<_ACEOF
10604 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10605 _ACEOF
10610 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10611 case "x$with_xcomposite" in
10612 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10613 xno) ;;
10614 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10615 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10616 esac
10620 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10621 #include <X11/Xlib.h>
10622 #endif
10624 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10626 cat >>confdefs.h <<_ACEOF
10627 #define HAVE_XICCALLBACK_CALLBACK 1
10628 _ACEOF
10632 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10633 #include <X11/Xlib.h>
10634 #endif
10636 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10638 cat >>confdefs.h <<_ACEOF
10639 #define HAVE_XEVENT_XCOOKIE 1
10640 _ACEOF
10647 opengl_msg=""
10648 if test "x$with_opengl" != "xno"
10649 then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10651 $as_echo_n "checking for -lGL... " >&6; }
10652 if ${ac_cv_lib_soname_GL+:} false; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 ac_check_soname_save_LIBS=$LIBS
10656 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 char glXCreateContext ();
10668 main ()
10670 return glXCreateContext ();
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 case "$LIBEXT" in
10677 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10678 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'` ;;
10679 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10680 if ${ac_cv_lib_soname_GL:+false} :; then :
10681 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 fi ;;
10683 esac
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_soname_save_LIBS
10689 if ${ac_cv_lib_soname_GL:+false} :; then :
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10691 $as_echo "not found" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10693 $as_echo_n "checking for -lGL... " >&6; }
10694 if ${ac_cv_lib_soname_GL+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_check_soname_save_LIBS=$LIBS
10698 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"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10705 #ifdef __cplusplus
10706 extern "C"
10707 #endif
10708 char glXCreateContext ();
10710 main ()
10712 return glXCreateContext ();
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"; then :
10718 case "$LIBEXT" in
10719 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10720 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'` ;;
10721 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10722 if ${ac_cv_lib_soname_GL:+false} :; then :
10723 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10724 fi ;;
10725 esac
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_soname_save_LIBS
10731 if ${ac_cv_lib_soname_GL:+false} :; then :
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10733 $as_echo "not found" >&6; }
10734 if test -f /usr/X11R6/lib/libGL.a
10735 then
10736 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10737 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10738 else
10739 opengl_msg="No OpenGL library found on this system."
10741 else
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10743 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10745 cat >>confdefs.h <<_ACEOF
10746 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10747 _ACEOF
10749 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"
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10753 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10755 cat >>confdefs.h <<_ACEOF
10756 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10757 _ACEOF
10759 OPENGL_LIBS="-lGL"
10761 if test "x$with_glu" != "xno"
10762 then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10764 $as_echo_n "checking for -lGLU... " >&6; }
10765 if ${ac_cv_lib_soname_GLU+:} false; then :
10766 $as_echo_n "(cached) " >&6
10767 else
10768 ac_check_soname_save_LIBS=$LIBS
10769 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10776 #ifdef __cplusplus
10777 extern "C"
10778 #endif
10779 char gluLookAt ();
10781 main ()
10783 return gluLookAt ();
10785 return 0;
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 case "$LIBEXT" in
10790 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10791 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10792 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10793 if ${ac_cv_lib_soname_GLU:+false} :; then :
10794 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10795 fi ;;
10796 esac
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_soname_save_LIBS
10802 if ${ac_cv_lib_soname_GLU:+false} :; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10804 $as_echo "not found" >&6; }
10806 else
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10808 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10810 cat >>confdefs.h <<_ACEOF
10811 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10812 _ACEOF
10816 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10817 case "x$with_glu" in
10818 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10821 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10822 esac
10827 if test "x$with_osmesa" != "xno"
10828 then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10830 $as_echo_n "checking for -lOSMesa... " >&6; }
10831 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_soname_save_LIBS=$LIBS
10835 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char OSMesaGetProcAddress ();
10847 main ()
10849 return OSMesaGetProcAddress ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 case "$LIBEXT" in
10856 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10857 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'` ;;
10858 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10859 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10860 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10861 fi ;;
10862 esac
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_soname_save_LIBS
10868 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10870 $as_echo "not found" >&6; }
10872 else
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10874 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10876 cat >>confdefs.h <<_ACEOF
10877 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10878 _ACEOF
10882 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10883 case "x$with_osmesa" in
10884 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10885 xno) ;;
10886 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10887 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10888 esac
10893 if test -n "$opengl_msg"; then :
10894 case "x$with_opengl" in
10895 x) as_fn_append wine_warnings "|$opengl_msg
10896 OpenGL and Direct3D won't be supported." ;;
10897 xno) ;;
10898 *) as_fn_error $? "$opengl_msg
10899 OpenGL and Direct3D won't be supported.
10900 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10901 esac
10905 CPPFLAGS="$ac_save_CPPFLAGS"
10906 else
10907 X_CFLAGS=""
10908 X_LIBS=""
10910 if test "x$X_LIBS" = "x"; then :
10911 case "x$with_x" in
10912 xno) ;;
10913 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10914 without X support, which probably isn't what you want. You will need
10915 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10916 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10917 esac
10918 enable_winex11_drv=${enable_winex11_drv:-no}
10921 if test "$ac_cv_header_CL_cl_h" = "yes"
10922 then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10924 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10925 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10926 $as_echo_n "(cached) " >&6
10927 else
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-lOpenCL $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char clGetPlatformInfo ();
10941 main ()
10943 return clGetPlatformInfo ();
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10950 else
10951 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10958 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10959 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10960 OPENCL_LIBS="-lOpenCL"
10965 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10966 case "x$with_opencl" in
10967 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10968 xno) ;;
10969 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10970 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10971 esac
10972 enable_opencl=${enable_opencl:-no}
10975 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10976 then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10978 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10979 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10980 $as_echo_n "(cached) " >&6
10981 else
10982 ac_check_lib_save_LIBS=$LIBS
10983 LIBS="-lpcap $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 char pcap_create ();
10995 main ()
10997 return pcap_create ();
10999 return 0;
11001 _ACEOF
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 ac_cv_lib_pcap_pcap_create=yes
11004 else
11005 ac_cv_lib_pcap_pcap_create=no
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_lib_save_LIBS
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11012 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11013 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11014 PCAP_LIBS="-lpcap"
11019 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11020 case "x$with_pcap" in
11021 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11022 xno) ;;
11023 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11024 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11025 esac
11026 enable_wpcap=${enable_wpcap:-no}
11030 if test "x$with_xml" != "xno"
11031 then
11032 if ${XML2_CFLAGS:+false} :; then :
11033 if ${PKG_CONFIG+:} false; then :
11034 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11037 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11038 if ${XML2_LIBS:+false} :; then :
11039 if ${PKG_CONFIG+:} false; then :
11040 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11043 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11044 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11045 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11047 ac_save_CPPFLAGS=$CPPFLAGS
11048 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11049 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11050 do :
11051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11052 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11054 cat >>confdefs.h <<_ACEOF
11055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11056 _ACEOF
11060 done
11062 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"
11063 then
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11065 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11066 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-lxml2 $XML2_LIBS $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char xmlParseMemory ();
11082 main ()
11084 return xmlParseMemory ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11090 ac_cv_lib_xml2_xmlParseMemory=yes
11091 else
11092 ac_cv_lib_xml2_xmlParseMemory=no
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11099 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11100 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11102 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11104 else
11105 XML2_LIBS=""
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11109 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11110 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-lxml2 $XML2_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char xmlReadMemory ();
11126 main ()
11128 return xmlReadMemory ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_xml2_xmlReadMemory=yes
11135 else
11136 ac_cv_lib_xml2_xmlReadMemory=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11143 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11144 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11146 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11151 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11152 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lxml2 $XML2_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char xmlNewDocPI ();
11168 main ()
11170 return xmlNewDocPI ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_xml2_xmlNewDocPI=yes
11177 else
11178 ac_cv_lib_xml2_xmlNewDocPI=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11185 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11186 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11188 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11193 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11194 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-lxml2 $XML2_LIBS $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char xmlSchemaSetParserStructuredErrors ();
11210 main ()
11212 return xmlSchemaSetParserStructuredErrors ();
11214 return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11219 else
11220 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11227 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11228 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11230 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11235 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11236 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lxml2 $XML2_LIBS $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char xmlSchemaSetValidStructuredErrors ();
11252 main ()
11254 return xmlSchemaSetValidStructuredErrors ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11261 else
11262 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11269 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11270 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11272 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11277 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11278 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11279 $as_echo_n "(cached) " >&6
11280 else
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-lxml2 $XML2_LIBS $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char xmlFirstElementChild ();
11294 main ()
11296 return xmlFirstElementChild ();
11298 return 0;
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_xml2_xmlFirstElementChild=yes
11303 else
11304 ac_cv_lib_xml2_xmlFirstElementChild=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11311 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11312 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11314 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11318 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11320 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11322 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11326 else
11327 XML2_CFLAGS=""
11328 XML2_LIBS=""
11330 CPPFLAGS=$ac_save_CPPFLAGS
11331 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11332 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11335 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11336 case "x$with_xml" in
11337 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11338 xno) ;;
11339 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11340 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11341 esac
11345 if test "x$with_xslt" != "xno"
11346 then
11347 if ${XSLT_CFLAGS:+false} :; then :
11348 if ${PKG_CONFIG+:} false; then :
11349 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11352 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11353 if ${XSLT_LIBS:+false} :; then :
11354 if ${PKG_CONFIG+:} false; then :
11355 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11358 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11359 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11360 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11361 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11362 ac_save_CPPFLAGS=$CPPFLAGS
11363 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11364 for ac_header in libxslt/pattern.h libxslt/transform.h
11365 do :
11366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11368 # include <libxslt/pattern.h>
11369 #endif
11371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11372 cat >>confdefs.h <<_ACEOF
11373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11374 _ACEOF
11378 done
11380 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11381 then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11383 $as_echo_n "checking for -lxslt... " >&6; }
11384 if ${ac_cv_lib_soname_xslt+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lxslt $XSLT_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char xsltCompilePattern ();
11400 main ()
11402 return xsltCompilePattern ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_xslt:+false} :; then :
11413 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_xslt:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11427 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11431 _ACEOF
11435 else
11436 XSLT_CFLAGS=""
11438 CPPFLAGS=$ac_save_CPPFLAGS
11439 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11444 case "x$with_xslt" in
11445 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11448 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11449 esac
11453 if test "x$with_dbus" != "xno"
11454 then
11455 if ${DBUS_CFLAGS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11461 if ${DBUS_LIBS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11468 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11469 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11470 ac_save_CPPFLAGS=$CPPFLAGS
11471 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11472 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11473 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11475 $as_echo_n "checking for -ldbus-1... " >&6; }
11476 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char dbus_connection_close ();
11492 main ()
11494 return dbus_connection_close ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'`
11504 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11505 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11516 DBUS_CFLAGS=""
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11519 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11523 _ACEOF
11527 else
11528 DBUS_CFLAGS=""
11532 CPPFLAGS=$ac_save_CPPFLAGS
11533 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11534 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11537 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11538 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11539 case "x$with_dbus" in
11540 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11541 xno) ;;
11542 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11543 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11544 esac
11548 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11549 then
11550 if ${HAL_CFLAGS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11556 if ${HAL_LIBS:+false} :; then :
11557 if ${PKG_CONFIG+:} false; then :
11558 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11562 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11563 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11564 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11565 ac_save_CPPFLAGS=$CPPFLAGS
11566 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11567 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11568 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11570 $as_echo_n "checking for -lhal... " >&6; }
11571 if ${ac_cv_lib_soname_hal+:} false; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-lhal $HAL_LIBS $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char libhal_ctx_new ();
11587 main ()
11589 return libhal_ctx_new ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 case "$LIBEXT" in
11596 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11599 if ${ac_cv_lib_soname_hal:+false} :; then :
11600 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 fi ;;
11602 esac
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_soname_save_LIBS
11608 if ${ac_cv_lib_soname_hal:+false} :; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11610 $as_echo "not found" >&6; }
11611 HAL_CFLAGS=""
11612 else
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11614 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11616 cat >>confdefs.h <<_ACEOF
11617 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11618 _ACEOF
11622 else
11623 HAL_CFLAGS=""
11627 CPPFLAGS=$ac_save_CPPFLAGS
11628 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11629 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11631 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11632 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11633 case "x$with_hal" in
11634 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11635 xno) ;;
11636 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11637 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11638 esac
11643 if test "x$with_gnutls" != "xno"
11644 then
11645 if ${GNUTLS_CFLAGS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11651 if ${GNUTLS_LIBS:+false} :; then :
11652 if ${PKG_CONFIG+:} false; then :
11653 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11658 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11659 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11660 ac_save_CPPFLAGS=$CPPFLAGS
11661 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11662 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11663 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11666 #include <gnutls/gnutls.h>
11667 #include <gnutls/crypto.h>
11669 main ()
11671 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_compile "$LINENO"; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11678 $as_echo_n "checking for -lgnutls... " >&6; }
11679 if ${ac_cv_lib_soname_gnutls+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_soname_save_LIBS=$LIBS
11683 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char gnutls_global_init ();
11695 main ()
11697 return gnutls_global_init ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 case "$LIBEXT" in
11704 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11705 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'` ;;
11706 *) 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'`
11707 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11708 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'`
11709 fi ;;
11710 esac
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11719 GNUTLS_CFLAGS=""
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11722 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11726 _ACEOF
11730 ac_wine_check_funcs_save_LIBS="$LIBS"
11731 LIBS="$LIBS $GNUTLS_LIBS"
11732 for ac_func in gnutls_hash
11733 do :
11734 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11735 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11736 cat >>confdefs.h <<_ACEOF
11737 #define HAVE_GNUTLS_HASH 1
11738 _ACEOF
11740 else
11741 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11743 done
11745 LIBS="$ac_wine_check_funcs_save_LIBS"
11747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11748 else
11749 GNUTLS_CFLAGS=""
11753 CPPFLAGS=$ac_save_CPPFLAGS
11754 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11755 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11758 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11759 case "x$with_gnutls" in
11760 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11761 xno) ;;
11762 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11763 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11764 esac
11768 CURSES_LIBS=""
11769 if test "$ac_cv_header_ncurses_h" = "yes"
11770 then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11772 $as_echo_n "checking for -lncurses... " >&6; }
11773 if ${ac_cv_lib_soname_ncurses+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_soname_save_LIBS=$LIBS
11777 LIBS="-lncurses $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char waddch ();
11789 main ()
11791 return waddch ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 case "$LIBEXT" in
11798 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11799 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'` ;;
11800 *) 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'`
11801 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11802 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11803 fi ;;
11804 esac
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_soname_save_LIBS
11810 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11812 $as_echo "not found" >&6; }
11814 else
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11816 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11818 cat >>confdefs.h <<_ACEOF
11819 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11820 _ACEOF
11822 CURSES_LIBS="-lncurses"
11824 elif test "$ac_cv_header_curses_h" = "yes"
11825 then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11827 $as_echo_n "checking for -lcurses... " >&6; }
11828 if ${ac_cv_lib_soname_curses+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lcurses $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char waddch ();
11844 main ()
11846 return waddch ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_curses:+false} :; then :
11857 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_soname_save_LIBS
11865 if ${ac_cv_lib_soname_curses:+false} :; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11867 $as_echo "not found" >&6; }
11869 else
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11871 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11873 cat >>confdefs.h <<_ACEOF
11874 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11875 _ACEOF
11877 CURSES_LIBS="-lcurses"
11880 ac_save_LIBS="$LIBS"
11881 LIBS="$LIBS $CURSES_LIBS"
11882 for ac_func in mousemask
11883 do :
11884 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11885 if test "x$ac_cv_func_mousemask" = xyes; then :
11886 cat >>confdefs.h <<_ACEOF
11887 #define HAVE_MOUSEMASK 1
11888 _ACEOF
11891 done
11893 LIBS="$ac_save_LIBS"
11894 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11895 case "x$with_curses" in
11896 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11899 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11900 esac
11904 if test "x$with_sane" != "xno"
11905 then
11906 if ${SANE_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11911 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11912 if ${SANE_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11917 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11923 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11926 $as_echo_n "checking for -lsane... " >&6; }
11927 if ${ac_cv_lib_soname_sane+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_soname_save_LIBS=$LIBS
11931 LIBS="-lsane $SANE_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char sane_init ();
11943 main ()
11945 return sane_init ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 case "$LIBEXT" in
11952 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11955 if ${ac_cv_lib_soname_sane:+false} :; then :
11956 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11957 fi ;;
11958 esac
11960 rm -f core conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_soname_save_LIBS
11964 if ${ac_cv_lib_soname_sane:+false} :; then :
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11966 $as_echo "not found" >&6; }
11967 SANE_CFLAGS=""
11968 else
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11970 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11972 cat >>confdefs.h <<_ACEOF
11973 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11974 _ACEOF
11978 else
11979 SANE_CFLAGS=""
11983 CPPFLAGS=$ac_save_CPPFLAGS
11984 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11985 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11988 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11989 case "x$with_sane" in
11990 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11991 xno) ;;
11992 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11993 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11994 esac
11998 if test "x$with_v4l" != "xno"
11999 then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12001 $as_echo_n "checking for -lv4l1... " >&6; }
12002 if ${ac_cv_lib_soname_v4l1+:} false; then :
12003 $as_echo_n "(cached) " >&6
12004 else
12005 ac_check_soname_save_LIBS=$LIBS
12006 LIBS="-lv4l1 $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 #ifdef __cplusplus
12014 extern "C"
12015 #endif
12016 char v4l1_open ();
12018 main ()
12020 return v4l1_open ();
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026 case "$LIBEXT" in
12027 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12028 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'` ;;
12029 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12030 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12031 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12032 fi ;;
12033 esac
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_soname_save_LIBS
12039 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12041 $as_echo "not found" >&6; }
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12045 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12047 cat >>confdefs.h <<_ACEOF
12048 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12049 _ACEOF
12054 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12055 case "x$with_v4l" in
12056 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12059 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "x$with_gphoto" != "xno"
12065 then
12066 if ${GPHOTO2_CFLAGS:+false} :; then :
12067 if ${PKG_CONFIG+:} false; then :
12068 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12071 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12072 if ${GPHOTO2_LIBS:+false} :; then :
12073 if ${PKG_CONFIG+:} false; then :
12074 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12077 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12078 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12079 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12080 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12081 ac_save_CPPFLAGS=$CPPFLAGS
12082 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12083 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12084 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12086 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12087 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_check_lib_save_LIBS=$LIBS
12091 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char gp_camera_new ();
12103 main ()
12105 return gp_camera_new ();
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_lib_gphoto2_gp_camera_new=yes
12112 else
12113 ac_cv_lib_gphoto2_gp_camera_new=no
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12120 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12121 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12123 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12125 else
12126 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12129 else
12130 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12134 CPPFLAGS=$ac_save_CPPFLAGS
12135 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12136 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12138 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12143 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12144 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12149 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12150 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12151 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12155 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12156 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12158 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12159 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char gp_port_info_list_new ();
12175 main ()
12177 return gp_port_info_list_new ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12184 else
12185 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12192 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12193 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12195 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12197 else
12198 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12201 else
12202 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12206 CPPFLAGS=$ac_save_CPPFLAGS
12207 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12208 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12211 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12212 case "x$with_gphoto" in
12213 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12214 xno) ;;
12215 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12216 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12217 esac
12220 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12221 case "x$with_gphoto" in
12222 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12223 xno) ;;
12224 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12225 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12226 esac
12231 if test "$ac_cv_header_resolv_h" = "yes"
12232 then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12234 $as_echo_n "checking for resolver library... " >&6; }
12235 if ${ac_cv_have_resolv+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_save_LIBS="$LIBS"
12239 for lib in '' -lresolv
12241 LIBS="$lib $ac_save_LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244 #ifdef HAVE_NETINET_IN_H
12245 #include <netinet/in.h>
12246 #endif
12247 #include <resolv.h>
12249 main ()
12251 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_link "$LINENO"; then :
12257 ac_cv_have_resolv=${lib:-"none required"}
12258 else
12259 ac_cv_have_resolv="not found"
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 test "x$ac_cv_have_resolv" = "xnot found" || break
12264 done
12265 LIBS="$ac_save_LIBS"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12268 $as_echo "$ac_cv_have_resolv" >&6; }
12270 case "$ac_cv_have_resolv" in
12271 "not found") ;;
12272 "none required")
12274 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12277 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12279 RESOLV_LIBS=$ac_cv_have_resolv
12281 esac
12284 if test "x$with_cms" != "xno"
12285 then
12286 if ${LCMS2_CFLAGS:+false} :; then :
12287 if ${PKG_CONFIG+:} false; then :
12288 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12292 if ${LCMS2_LIBS:+false} :; then :
12293 if ${PKG_CONFIG+:} false; then :
12294 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12298 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12299 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12300 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12301 ac_save_CPPFLAGS=$CPPFLAGS
12302 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12303 for ac_header in lcms2.h
12304 do :
12305 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12306 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define HAVE_LCMS2_H 1
12309 _ACEOF
12313 done
12315 if test "$ac_cv_header_lcms2_h" = "yes"
12316 then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12318 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12319 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_lib_save_LIBS=$LIBS
12323 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char cmsOpenProfileFromFile ();
12335 main ()
12337 return cmsOpenProfileFromFile ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12344 else
12345 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_lib_save_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12352 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12353 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12355 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12357 else
12358 LCMS2_LIBS=""
12361 else
12362 LCMS2_CFLAGS=""
12363 LCMS2_LIBS=""
12365 CPPFLAGS=$ac_save_CPPFLAGS
12366 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12367 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12370 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12371 case "x$with_cms" in
12372 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12373 xno) ;;
12374 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12375 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "x$with_freetype" != "xno"
12381 then
12382 if ${FREETYPE_CFLAGS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12387 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12388 if ${FREETYPE_LIBS:+false} :; then :
12389 if ${PKG_CONFIG+:} false; then :
12390 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12393 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12394 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12395 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12399 for ac_header in ft2build.h
12400 do :
12401 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12402 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12403 cat >>confdefs.h <<_ACEOF
12404 #define HAVE_FT2BUILD_H 1
12405 _ACEOF
12409 done
12411 if test "$ac_cv_header_ft2build_h" = "yes"
12412 then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12414 $as_echo_n "checking for -lfreetype... " >&6; }
12415 if ${ac_cv_lib_soname_freetype+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_soname_save_LIBS=$LIBS
12419 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char FT_Init_FreeType ();
12431 main ()
12433 return FT_Init_FreeType ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 case "$LIBEXT" in
12440 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12441 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'` ;;
12442 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12443 if ${ac_cv_lib_soname_freetype:+false} :; then :
12444 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12445 fi ;;
12446 esac
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_soname_save_LIBS
12452 if ${ac_cv_lib_soname_freetype:+false} :; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12454 $as_echo "not found" >&6; }
12455 FREETYPE_LIBS=""
12456 else
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12458 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12460 cat >>confdefs.h <<_ACEOF
12461 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12462 _ACEOF
12465 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12467 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12468 #include FT_MODULE_H
12470 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12472 cat >>confdefs.h <<_ACEOF
12473 #define HAVE_FT_TRUETYPEENGINETYPE 1
12474 _ACEOF
12480 else
12481 FREETYPE_CFLAGS=""
12482 FREETYPE_LIBS=""
12484 CPPFLAGS=$ac_save_CPPFLAGS
12485 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12486 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12489 if test "x$ac_cv_lib_soname_freetype" = x; then :
12490 case "x$with_freetype" in
12491 xno) ;;
12492 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12493 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12494 esac
12495 enable_fonts=${enable_fonts:-no}
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12499 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12500 if ${ac_cv_c_ppdev+:} false; then :
12501 $as_echo_n "(cached) " >&6
12502 else
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12505 #ifdef HAVE_SYS_IOCTL_H
12506 # include <sys/ioctl.h>
12507 #endif
12508 #include <linux/ppdev.h>
12510 main ()
12512 ioctl (1,PPCLAIM,0)
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_compile "$LINENO"; then :
12518 ac_cv_c_ppdev="yes"
12519 else
12520 ac_cv_c_ppdev="no"
12522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12525 $as_echo "$ac_cv_c_ppdev" >&6; }
12526 if test "$ac_cv_c_ppdev" = "yes"
12527 then
12529 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12533 ac_wine_check_funcs_save_LIBS="$LIBS"
12534 LIBS="$LIBS $PTHREAD_LIBS"
12535 for ac_func in \
12536 pthread_attr_get_np \
12537 pthread_getattr_np \
12538 pthread_getthreadid_np \
12539 pthread_get_stackaddr_np \
12540 pthread_get_stacksize_np
12541 do :
12542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12545 cat >>confdefs.h <<_ACEOF
12546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12547 _ACEOF
12550 done
12552 LIBS="$ac_wine_check_funcs_save_LIBS"
12554 if test "$ac_cv_header_zlib_h" = "yes"
12555 then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12557 $as_echo_n "checking for inflate in -lz... " >&6; }
12558 if ${ac_cv_lib_z_inflate+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lz $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 char inflate ();
12574 main ()
12576 return inflate ();
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_link "$LINENO"; then :
12582 ac_cv_lib_z_inflate=yes
12583 else
12584 ac_cv_lib_z_inflate=no
12586 rm -f core conftest.err conftest.$ac_objext \
12587 conftest$ac_exeext conftest.$ac_ext
12588 LIBS=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12591 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12592 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12594 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12596 Z_LIBS="-lz"
12601 if test "x$Z_LIBS" = "x"; then :
12602 case "x$with_zlib" in
12603 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12604 xno) ;;
12605 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12606 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12607 esac
12611 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12612 then
12613 if test "$ac_cv_header_gettext_po_h" = "yes"
12614 then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12616 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12617 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12618 $as_echo_n "(cached) " >&6
12619 else
12620 ac_check_lib_save_LIBS=$LIBS
12621 LIBS="-lgettextpo $LIBS"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 #ifdef __cplusplus
12629 extern "C"
12630 #endif
12631 char po_message_msgctxt ();
12633 main ()
12635 return po_message_msgctxt ();
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_link "$LINENO"; then :
12641 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12642 else
12643 ac_cv_lib_gettextpo_po_message_msgctxt=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12650 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12651 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12653 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12655 GETTEXTPO_LIBS="-lgettextpo"
12660 if test "x$GETTEXTPO_LIBS" = "x"; then :
12661 case "x$with_gettextpo" in
12662 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12663 xno) ;;
12664 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12665 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12666 esac
12669 if test "$srcdir" != .; then :
12670 case "x$with_gettextpo" in
12671 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12672 xno) ;;
12673 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12674 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12675 esac
12680 if test "x$with_pulse" != "xno";
12681 then
12682 if ${PULSE_CFLAGS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12688 if ${PULSE_LIBS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12695 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12697 ac_save_CPPFLAGS=$CPPFLAGS
12698 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12699 for ac_header in pulse/pulseaudio.h
12700 do :
12701 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12703 cat >>confdefs.h <<_ACEOF
12704 #define HAVE_PULSE_PULSEAUDIO_H 1
12705 _ACEOF
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12707 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12708 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12709 $as_echo_n "(cached) " >&6
12710 else
12711 ac_check_lib_save_LIBS=$LIBS
12712 LIBS="-lpulse $PULSE_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 #ifdef __cplusplus
12720 extern "C"
12721 #endif
12722 char pa_stream_is_corked ();
12724 main ()
12726 return pa_stream_is_corked ();
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 ac_cv_lib_pulse_pa_stream_is_corked=yes
12733 else
12734 ac_cv_lib_pulse_pa_stream_is_corked=no
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12741 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12742 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12744 else
12745 PULSE_LIBS=""
12748 else
12749 PULSE_LIBS=""
12752 done
12754 CPPFLAGS=$ac_save_CPPFLAGS
12755 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12756 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12759 if test -z "$PULSE_LIBS"; then :
12760 case "x$with_pulse" in
12761 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12762 xno) ;;
12763 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12764 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12765 esac
12766 enable_winepulse_drv=${enable_winepulse_drv:-no}
12769 if test "x$with_gstreamer" != "xno"
12770 then
12771 if ${GSTREAMER_CFLAGS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12777 if ${GSTREAMER_LIBS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12784 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12786 ac_save_CPPFLAGS=$CPPFLAGS
12787 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12788 ac_gst_incl=""
12789 for i in $GSTREAMER_CFLAGS
12791 case "$i" in
12792 -I*) ac_gst_incl="$ac_gst_incl $i";;
12793 esac
12794 done
12795 GSTREAMER_CFLAGS=$ac_gst_incl
12796 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12797 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12798 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12800 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12803 #include <gst/gst.h>
12805 main ()
12807 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_compile "$LINENO"; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12814 $as_echo "yes" >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12816 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12817 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12818 $as_echo_n "(cached) " >&6
12819 else
12820 ac_check_lib_save_LIBS=$LIBS
12821 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12825 /* Override any GCC internal prototype to avoid an error.
12826 Use char because int might match the return type of a GCC
12827 builtin and then its argument prototype would still apply. */
12828 #ifdef __cplusplus
12829 extern "C"
12830 #endif
12831 char gst_pad_new ();
12833 main ()
12835 return gst_pad_new ();
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_link "$LINENO"; then :
12841 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12842 else
12843 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12845 rm -f core conftest.err conftest.$ac_objext \
12846 conftest$ac_exeext conftest.$ac_ext
12847 LIBS=$ac_check_lib_save_LIBS
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12850 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12851 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12855 else
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12858 ac_glib2_broken=yes
12859 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12865 CPPFLAGS=$ac_save_CPPFLAGS
12866 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12867 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12870 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 :
12871 case "x$with_gstreamer" in
12872 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12873 xno) ;;
12874 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12875 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12876 esac
12879 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12881 ALSA_LIBS=""
12883 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12886 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12887 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lasound $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char snd_pcm_hw_params_get_access_mask ();
12903 main ()
12905 return snd_pcm_hw_params_get_access_mask ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12912 else
12913 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12920 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12921 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12924 #ifdef HAVE_ALSA_ASOUNDLIB_H
12925 #include <alsa/asoundlib.h>
12926 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12927 #include <sys/asoundlib.h>
12928 #endif
12930 main ()
12932 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"; then :
12938 ALSA_LIBS="-lasound"
12940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12944 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12946 if test "x$with_oss" != xno
12947 then
12948 ac_save_CPPFLAGS="$CPPFLAGS"
12949 if test -f /etc/oss.conf
12950 then
12951 . /etc/oss.conf
12953 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12954 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12955 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12957 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12959 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12961 cat >>confdefs.h <<_ACEOF
12962 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12963 _ACEOF
12965 OSS4_CFLAGS="$ac_oss_incl"
12972 CPPFLAGS="$ac_save_CPPFLAGS"
12974 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12975 case "x$with_oss" in
12976 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12977 xno) ;;
12978 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12979 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12980 esac
12981 enable_wineoss_drv=${enable_wineoss_drv:-no}
12984 if test "x$with_udev" != "xno"
12985 then
12986 if ${UDEV_CFLAGS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12992 if ${UDEV_LIBS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12998 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13001 ac_save_CPPFLAGS=$CPPFLAGS
13002 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13003 for ac_header in libudev.h
13004 do :
13005 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13006 if test "x$ac_cv_header_libudev_h" = xyes; then :
13007 cat >>confdefs.h <<_ACEOF
13008 #define HAVE_LIBUDEV_H 1
13009 _ACEOF
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13011 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13012 if ${ac_cv_lib_udev_udev_new+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-ludev $UDEV_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char udev_new ();
13028 main ()
13030 return udev_new ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_udev_udev_new=yes
13037 else
13038 ac_cv_lib_udev_udev_new=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13045 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13046 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13048 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13050 else
13051 UDEV_LIBS=""
13054 else
13055 UDEV_LIBS=""
13058 done
13060 CPPFLAGS=$ac_save_CPPFLAGS
13061 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13062 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13065 if test "x$UDEV_LIBS" = "x"; then :
13066 case "x$with_udev" in
13067 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13068 xno) ;;
13069 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13070 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13071 esac
13075 if test "x$with_capi" != "xno"
13076 then
13077 if ${CAPI20_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13083 if ${CAPI20_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13090 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13094 for ac_header in capi20.h linux/capi.h
13095 do :
13096 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13097 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13100 cat >>confdefs.h <<_ACEOF
13101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13102 _ACEOF
13106 done
13108 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13109 then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13111 $as_echo_n "checking for -lcapi20... " >&6; }
13112 if ${ac_cv_lib_soname_capi20+:} false; then :
13113 $as_echo_n "(cached) " >&6
13114 else
13115 ac_check_soname_save_LIBS=$LIBS
13116 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char capi20_register ();
13128 main ()
13130 return capi20_register ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"; then :
13136 case "$LIBEXT" in
13137 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13140 if ${ac_cv_lib_soname_capi20:+false} :; then :
13141 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13142 fi ;;
13143 esac
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_capi20:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13155 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13159 _ACEOF
13164 CPPFLAGS=$ac_save_CPPFLAGS
13165 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13166 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13169 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13170 case "x$with_capi" in
13171 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13172 xno) ;;
13173 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13174 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13175 esac
13179 CUPS_CFLAGS=""
13181 if test "x$with_cups" != "xno"
13182 then
13183 ac_save_CPPFLAGS="$CPPFLAGS"
13184 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13185 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13186 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13187 for ac_header in cups/cups.h
13188 do :
13189 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13191 cat >>confdefs.h <<_ACEOF
13192 #define HAVE_CUPS_CUPS_H 1
13193 _ACEOF
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13195 $as_echo_n "checking for -lcups... " >&6; }
13196 if ${ac_cv_lib_soname_cups+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_soname_save_LIBS=$LIBS
13200 LIBS="-lcups $ac_cups_libs $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char cupsGetDefault ();
13212 main ()
13214 return cupsGetDefault ();
13216 return 0;
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220 case "$LIBEXT" in
13221 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13222 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'` ;;
13223 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13224 if ${ac_cv_lib_soname_cups:+false} :; then :
13225 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13226 fi ;;
13227 esac
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 LIBS=$ac_check_soname_save_LIBS
13233 if ${ac_cv_lib_soname_cups:+false} :; then :
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13235 $as_echo "not found" >&6; }
13237 else
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13239 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13241 cat >>confdefs.h <<_ACEOF
13242 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13243 _ACEOF
13245 CUPS_CFLAGS="$ac_cups_cflags"
13247 for ac_header in cups/ppd.h
13248 do :
13249 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define HAVE_CUPS_PPD_H 1
13253 _ACEOF
13257 done
13261 done
13263 CPPFLAGS="$ac_save_CPPFLAGS"
13265 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13266 case "x$with_cups" in
13267 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13268 xno) ;;
13269 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13270 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13271 esac
13275 if test "x$with_fontconfig" != "xno"
13276 then
13277 if ${FONTCONFIG_CFLAGS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13282 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13283 if ${FONTCONFIG_LIBS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13288 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13290 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13292 ac_save_CPPFLAGS=$CPPFLAGS
13293 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13294 for ac_header in fontconfig/fontconfig.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13300 _ACEOF
13304 done
13306 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13307 then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13309 $as_echo_n "checking for -lfontconfig... " >&6; }
13310 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_soname_save_LIBS=$LIBS
13314 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char FcInit ();
13326 main ()
13328 return FcInit ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 case "$LIBEXT" in
13335 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13336 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'` ;;
13337 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13338 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13339 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13340 fi ;;
13341 esac
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_soname_save_LIBS
13347 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13349 $as_echo "not found" >&6; }
13350 FONTCONFIG_CFLAGS=""
13351 else
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13353 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13355 cat >>confdefs.h <<_ACEOF
13356 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13357 _ACEOF
13361 else
13362 FONTCONFIG_CFLAGS=""
13364 CPPFLAGS=$ac_save_CPPFLAGS
13365 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13366 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13369 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13370 case "x$with_fontconfig" in
13371 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13372 xno) ;;
13373 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13374 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13375 esac
13379 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13380 then
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13382 $as_echo_n "checking for -lgsm... " >&6; }
13383 if ${ac_cv_lib_soname_gsm+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 ac_check_soname_save_LIBS=$LIBS
13387 LIBS="-lgsm $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 #ifdef __cplusplus
13395 extern "C"
13396 #endif
13397 char gsm_create ();
13399 main ()
13401 return gsm_create ();
13403 return 0;
13405 _ACEOF
13406 if ac_fn_c_try_link "$LINENO"; then :
13407 case "$LIBEXT" in
13408 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13409 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'` ;;
13410 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13411 if ${ac_cv_lib_soname_gsm:+false} :; then :
13412 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13413 fi ;;
13414 esac
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 LIBS=$ac_check_soname_save_LIBS
13420 if ${ac_cv_lib_soname_gsm:+false} :; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13422 $as_echo "not found" >&6; }
13424 else
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13426 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13428 cat >>confdefs.h <<_ACEOF
13429 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13430 _ACEOF
13435 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13436 case "x$with_gsm" in
13437 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13438 xno) ;;
13439 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13440 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13441 esac
13445 if test "x$with_jpeg" != "xno"
13446 then
13447 if ${JPEG_CFLAGS:+false} :; then :
13448 if ${PKG_CONFIG+:} false; then :
13449 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13453 if ${JPEG_LIBS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13460 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13461 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13462 ac_save_CPPFLAGS=$CPPFLAGS
13463 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13464 for ac_header in jpeglib.h
13465 do :
13466 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13467 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13468 cat >>confdefs.h <<_ACEOF
13469 #define HAVE_JPEGLIB_H 1
13470 _ACEOF
13474 done
13476 if test "$ac_cv_header_jpeglib_h" = "yes"
13477 then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13479 $as_echo_n "checking for -ljpeg... " >&6; }
13480 if ${ac_cv_lib_soname_jpeg+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 char jpeg_start_decompress ();
13496 main ()
13498 return jpeg_start_decompress ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13508 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13509 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_soname_save_LIBS
13517 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13519 $as_echo "not found" >&6; }
13520 JPEG_CFLAGS=""
13521 else
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13523 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13527 _ACEOF
13531 else
13532 JPEG_CFLAGS=""
13534 CPPFLAGS=$ac_save_CPPFLAGS
13535 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13536 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13539 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13540 case "x$with_jpeg" in
13541 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13542 xno) ;;
13543 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13544 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13545 esac
13549 if test "x$with_png" != "xno"
13550 then
13551 if ${PNG_CFLAGS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13556 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13557 if ${PNG_LIBS:+false} :; then :
13558 if ${PKG_CONFIG+:} false; then :
13559 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13562 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13564 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13565 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13566 ac_save_CPPFLAGS=$CPPFLAGS
13567 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13568 for ac_header in png.h
13569 do :
13570 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13571 if test "x$ac_cv_header_png_h" = xyes; then :
13572 cat >>confdefs.h <<_ACEOF
13573 #define HAVE_PNG_H 1
13574 _ACEOF
13578 done
13580 if test "$ac_cv_header_png_h" = "yes"
13581 then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13583 $as_echo_n "checking for -lpng... " >&6; }
13584 if ${ac_cv_lib_soname_png+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_check_soname_save_LIBS=$LIBS
13588 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 /* Override any GCC internal prototype to avoid an error.
13593 Use char because int might match the return type of a GCC
13594 builtin and then its argument prototype would still apply. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 char png_create_read_struct ();
13600 main ()
13602 return png_create_read_struct ();
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 case "$LIBEXT" in
13609 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13610 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'` ;;
13611 *) 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'`
13612 if ${ac_cv_lib_soname_png:+false} :; then :
13613 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13614 fi ;;
13615 esac
13617 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_soname_save_LIBS
13621 if ${ac_cv_lib_soname_png:+false} :; then :
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13623 $as_echo "not found" >&6; }
13624 PNG_CFLAGS=""
13625 else
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13627 $as_echo "$ac_cv_lib_soname_png" >&6; }
13629 cat >>confdefs.h <<_ACEOF
13630 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13631 _ACEOF
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <png.h>
13637 main ()
13639 typeof(png_set_expand_gray_1_2_4_to_8) *p
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_compile "$LINENO"; then :
13646 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13651 else
13652 PNG_CFLAGS=""
13654 CPPFLAGS=$ac_save_CPPFLAGS
13655 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13656 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13659 if test "x$ac_cv_lib_soname_png" = "x"; then :
13660 case "x$with_png" in
13661 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13662 xno) ;;
13663 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13664 This is an error since --with-png was requested." "$LINENO" 5 ;;
13665 esac
13669 if test "x$with_tiff" != "xno"
13670 then
13671 if ${TIFF_CFLAGS:+false} :; then :
13672 if ${PKG_CONFIG+:} false; then :
13673 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13677 if ${TIFF_LIBS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13686 ac_save_CPPFLAGS=$CPPFLAGS
13687 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13688 for ac_header in tiffio.h
13689 do :
13690 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13691 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define HAVE_TIFFIO_H 1
13694 _ACEOF
13698 done
13700 if test "$ac_cv_header_tiffio_h" = "yes"
13701 then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13703 $as_echo_n "checking for -ltiff... " >&6; }
13704 if ${ac_cv_lib_soname_tiff+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_check_soname_save_LIBS=$LIBS
13708 LIBS="-ltiff $TIFF_LIBS $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13715 #ifdef __cplusplus
13716 extern "C"
13717 #endif
13718 char TIFFClientOpen ();
13720 main ()
13722 return TIFFClientOpen ();
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 case "$LIBEXT" in
13729 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13730 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'` ;;
13731 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13732 if ${ac_cv_lib_soname_tiff:+false} :; then :
13733 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13734 fi ;;
13735 esac
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 LIBS=$ac_check_soname_save_LIBS
13741 if ${ac_cv_lib_soname_tiff:+false} :; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13743 $as_echo "not found" >&6; }
13745 else
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13747 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13749 cat >>confdefs.h <<_ACEOF
13750 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13751 _ACEOF
13756 CPPFLAGS=$ac_save_CPPFLAGS
13757 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13758 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13761 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13762 case "x$with_tiff" in
13763 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13764 xno) ;;
13765 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13766 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13767 esac
13771 if test "x$with_mpg123" != "xno"
13772 then
13773 if ${MPG123_CFLAGS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13779 if ${MPG123_LIBS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13785 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13786 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13787 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13788 ac_save_CPPFLAGS=$CPPFLAGS
13789 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13790 for ac_header in mpg123.h
13791 do :
13792 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13793 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_MPG123_H 1
13796 _ACEOF
13800 done
13802 if test "$ac_cv_header_mpg123_h" = "yes"
13803 then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13805 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13806 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_check_lib_save_LIBS=$LIBS
13810 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13814 /* Override any GCC internal prototype to avoid an error.
13815 Use char because int might match the return type of a GCC
13816 builtin and then its argument prototype would still apply. */
13817 #ifdef __cplusplus
13818 extern "C"
13819 #endif
13820 char mpg123_feed ();
13822 main ()
13824 return mpg123_feed ();
13826 return 0;
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_lib_mpg123_mpg123_feed=yes
13831 else
13832 ac_cv_lib_mpg123_mpg123_feed=no
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LIBS=$ac_check_lib_save_LIBS
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13839 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13840 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13842 else
13843 MPG123_LIBS=""
13846 else
13847 MPG123_CFLAGS=""
13848 MPG123_LIBS=""
13850 CPPFLAGS=$ac_save_CPPFLAGS
13851 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13852 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13855 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13856 case "x$with_mpg123" in
13857 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13858 xno) ;;
13859 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13860 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13861 esac
13862 enable_winemp3_acm=${enable_winemp3_acm:-no}
13865 if test "$ac_cv_header_AL_al_h" = "yes"
13866 then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13868 $as_echo_n "checking for -lopenal... " >&6; }
13869 if ${ac_cv_lib_soname_openal+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_soname_save_LIBS=$LIBS
13873 LIBS="-lopenal $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char alGetSource3i ();
13885 main ()
13887 return alGetSource3i ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 case "$LIBEXT" in
13894 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13895 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'` ;;
13896 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13897 if ${ac_cv_lib_soname_openal:+false} :; then :
13898 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13899 fi ;;
13900 esac
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_soname_save_LIBS
13906 if ${ac_cv_lib_soname_openal:+false} :; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13908 $as_echo "not found" >&6; }
13910 else
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13912 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13914 cat >>confdefs.h <<_ACEOF
13915 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13916 _ACEOF
13918 OPENAL_LIBS="-lopenal"
13920 ac_cv_lib_openal=yes
13922 cat >>confdefs.h <<_ACEOF
13923 #define HAVE_OPENAL 1
13924 _ACEOF
13928 if test "x$ac_cv_lib_openal" != xyes; then :
13929 case "x$with_openal" in
13930 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13931 xno) ;;
13932 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13933 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13934 esac
13935 enable_openal32=${enable_openal32:-no}
13938 if test "x$ac_cv_lib_openal" = xyes
13939 then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13941 $as_echo_n "checking for openal-soft... " >&6; }
13942 if ${ac_cv_have_openalsoft+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 #include <AL/al.h>
13948 #include <AL/alc.h>
13949 #include <AL/alext.h>
13950 LPALCRENDERSAMPLESSOFT x;
13952 main ()
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_compile "$LINENO"; then :
13960 ac_cv_have_openalsoft=yes
13961 else
13962 ac_cv_have_openalsoft=no
13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13967 $as_echo "$ac_cv_have_openalsoft" >&6; }
13969 if test "x$ac_cv_have_openalsoft" != xyes
13970 then
13971 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13972 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13973 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13974 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13975 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13976 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13977 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13978 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13979 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13980 enable_xapofx1_1=${enable_xapofx1_1:-no}
13981 enable_xapofx1_2=${enable_xapofx1_2:-no}
13982 enable_xapofx1_3=${enable_xapofx1_3:-no}
13983 enable_xapofx1_4=${enable_xapofx1_4:-no}
13984 enable_xapofx1_5=${enable_xapofx1_5:-no}
13985 enable_xaudio2_0=${enable_xaudio2_0:-no}
13986 enable_xaudio2_1=${enable_xaudio2_1:-no}
13987 enable_xaudio2_2=${enable_xaudio2_2:-no}
13988 enable_xaudio2_3=${enable_xaudio2_3:-no}
13989 enable_xaudio2_4=${enable_xaudio2_4:-no}
13990 enable_xaudio2_5=${enable_xaudio2_5:-no}
13991 enable_xaudio2_6=${enable_xaudio2_6:-no}
13992 enable_xaudio2_7=${enable_xaudio2_7:-no}
13993 enable_xaudio2_8=${enable_xaudio2_8:-no}
13994 enable_xaudio2_9=${enable_xaudio2_9:-no}
13997 if test "$ac_cv_header_kstat_h" = "yes"
13998 then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14000 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14001 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-lkstat $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char kstat_open ();
14017 main ()
14019 return kstat_open ();
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 ac_cv_lib_kstat_kstat_open=yes
14026 else
14027 ac_cv_lib_kstat_kstat_open=no
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_lib_save_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14034 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14035 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14037 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14039 KSTAT_LIBS="-lkstat"
14045 if test "$ac_cv_header_libprocstat_h" = "yes"
14046 then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14048 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14049 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_check_lib_save_LIBS=$LIBS
14053 LIBS="-lprocstat $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 #ifdef __cplusplus
14061 extern "C"
14062 #endif
14063 char procstat_open_sysctl ();
14065 main ()
14067 return procstat_open_sysctl ();
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_lib_procstat_procstat_open_sysctl=yes
14074 else
14075 ac_cv_lib_procstat_procstat_open_sysctl=no
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 LIBS=$ac_check_lib_save_LIBS
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14082 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14083 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14085 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14087 PROCSTAT_LIBS="-lprocstat"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14094 $as_echo_n "checking for -lodbc... " >&6; }
14095 if ${ac_cv_lib_soname_odbc+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_check_soname_save_LIBS=$LIBS
14099 LIBS="-lodbc $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 #ifdef __cplusplus
14107 extern "C"
14108 #endif
14109 char SQLConnect ();
14111 main ()
14113 return SQLConnect ();
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 case "$LIBEXT" in
14120 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14121 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'` ;;
14122 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14123 if ${ac_cv_lib_soname_odbc:+false} :; then :
14124 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14125 fi ;;
14126 esac
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_soname_save_LIBS
14132 if ${ac_cv_lib_soname_odbc:+false} :; then :
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14134 $as_echo "not found" >&6; }
14135 cat >>confdefs.h <<_ACEOF
14136 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14137 _ACEOF
14139 else
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14141 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14143 cat >>confdefs.h <<_ACEOF
14144 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14145 _ACEOF
14150 if test "x$with_netapi" != "xno"
14151 then
14152 if ${NETAPI_CFLAGS:+false} :; then :
14153 if ${PKG_CONFIG+:} false; then :
14154 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14158 if ${NETAPI_LIBS:+false} :; then :
14159 if ${PKG_CONFIG+:} false; then :
14160 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14165 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14166 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14167 ac_save_CPPFLAGS=$CPPFLAGS
14168 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14170 $as_echo_n "checking for -lnetapi... " >&6; }
14171 if ${ac_cv_lib_soname_netapi+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_soname_save_LIBS=$LIBS
14175 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char libnetapi_init ();
14187 main ()
14189 return libnetapi_init ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 case "$LIBEXT" in
14196 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14197 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'` ;;
14198 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14199 if ${ac_cv_lib_soname_netapi:+false} :; then :
14200 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14201 fi ;;
14202 esac
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_soname_save_LIBS
14208 if ${ac_cv_lib_soname_netapi:+false} :; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14210 $as_echo "not found" >&6; }
14211 cat >>confdefs.h <<_ACEOF
14212 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14213 _ACEOF
14215 else
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14217 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14219 cat >>confdefs.h <<_ACEOF
14220 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14221 _ACEOF
14225 CPPFLAGS=$ac_save_CPPFLAGS
14226 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14227 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14231 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14232 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14233 then
14234 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14238 EXTRACFLAGS=""
14240 if test "x${GCC}" = "xyes"
14241 then
14242 EXTRACFLAGS="-Wall -pipe"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14245 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14246 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 if test "$cross_compiling" = yes; then :
14250 ac_cv_c_gcc_strength_bug="no"
14251 else
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int L[4] = {0,1,2,3};
14256 main ()
14258 static int Array[3];
14259 unsigned int B = 3;
14260 int i;
14261 for(i=0; i<B; i++) Array[i] = i - 3;
14262 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14263 L[i] = 4;
14264 return (Array[1] != -2 || L[2] != 3)
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_run "$LINENO"; then :
14270 ac_cv_c_gcc_strength_bug="no"
14271 else
14272 ac_cv_c_gcc_strength_bug="yes"
14274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14275 conftest.$ac_objext conftest.beam conftest.$ac_ext
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14280 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14281 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14282 then
14283 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14287 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14288 if ${ac_cv_cflags__fno_builtin+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 ac_wine_try_cflags_saved=$CFLAGS
14292 CFLAGS="$CFLAGS -fno-builtin"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 int main(int argc, char **argv) { return 0; }
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 ac_cv_cflags__fno_builtin=yes
14299 else
14300 ac_cv_cflags__fno_builtin=no
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14304 CFLAGS=$ac_wine_try_cflags_saved
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14307 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14308 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14309 BUILTINFLAG="-fno-builtin"
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14313 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14314 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 ac_wine_try_cflags_saved=$CFLAGS
14318 CFLAGS="$CFLAGS -fno-strict-aliasing"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14321 int main(int argc, char **argv) { return 0; }
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_cflags__fno_strict_aliasing=yes
14325 else
14326 ac_cv_cflags__fno_strict_aliasing=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 CFLAGS=$ac_wine_try_cflags_saved
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14333 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14334 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14335 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14338 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14339 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -fexcess-precision=standard"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__fexcess_precision_standard=yes
14350 else
14351 ac_cv_cflags__fexcess_precision_standard=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14358 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14359 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14360 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14363 saved_CFLAGS=$CFLAGS
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14365 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14366 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_wine_try_cflags_saved=$CFLAGS
14370 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"; then :
14376 ac_cv_cflags__Werror_unknown_warning_option=yes
14377 else
14378 ac_cv_cflags__Werror_unknown_warning_option=no
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 CFLAGS=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14385 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14386 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14387 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14390 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14391 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Wdeclaration_after_statement=yes
14402 else
14403 ac_cv_cflags__Wdeclaration_after_statement=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14410 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14411 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14412 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14415 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14416 if ${ac_cv_cflags__Wempty_body+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wempty-body"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wempty_body=yes
14427 else
14428 ac_cv_cflags__Wempty_body=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14435 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14436 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14440 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14441 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Wignored-qualifiers"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Wignored_qualifiers=yes
14452 else
14453 ac_cv_cflags__Wignored_qualifiers=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14460 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14461 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14465 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14466 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -Wshift-overflow=2"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__Wshift_overflow_2=yes
14477 else
14478 ac_cv_cflags__Wshift_overflow_2=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14485 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14486 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14490 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14491 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Wstrict-prototypes"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Wstrict_prototypes=yes
14502 else
14503 ac_cv_cflags__Wstrict_prototypes=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14510 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14511 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14512 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14515 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14516 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wtype-limits"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wtype_limits=yes
14527 else
14528 ac_cv_cflags__Wtype_limits=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14535 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14536 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14540 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14541 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wunused_but_set_parameter=yes
14552 else
14553 ac_cv_cflags__Wunused_but_set_parameter=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14560 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14561 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14565 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14566 if ${ac_cv_cflags__Wvla+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wvla"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__Wvla=yes
14577 else
14578 ac_cv_cflags__Wvla=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14585 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14586 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14590 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14591 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -Wwrite-strings"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__Wwrite_strings=yes
14602 else
14603 ac_cv_cflags__Wwrite_strings=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14610 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14611 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14612 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14616 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14617 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 ac_wine_try_cflags_saved=$CFLAGS
14621 CFLAGS="$CFLAGS -Wpointer-arith"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int main(int argc, char **argv) { return 0; }
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_cflags__Wpointer_arith=yes
14628 else
14629 ac_cv_cflags__Wpointer_arith=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 CFLAGS=$ac_wine_try_cflags_saved
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14636 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14637 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14638 saved_string_h_CFLAGS=$CFLAGS
14639 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14641 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14642 if ${ac_cv_c_string_h_warnings+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 #include <string.h>
14649 main ()
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 ac_cv_c_string_h_warnings=no
14658 else
14659 ac_cv_c_string_h_warnings=yes
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14664 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14665 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14666 CFLAGS=$saved_string_h_CFLAGS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14670 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14671 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 ac_wine_try_cflags_saved=$CFLAGS
14675 CFLAGS="$CFLAGS -Wlogical-op"
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_cflags__Wlogical_op=yes
14682 else
14683 ac_cv_cflags__Wlogical_op=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 CFLAGS=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14690 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14691 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14692 saved_string_h_CFLAGS=$CFLAGS
14693 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14695 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14696 if ${ac_cv_c_logicalop_noisy+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 #include <string.h>
14702 char*f(const char *h,char n) {return strchr(h,n);}
14704 main ()
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_compile "$LINENO"; then :
14712 ac_cv_c_logicalop_noisy=no
14713 else
14714 ac_cv_c_logicalop_noisy=yes
14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14719 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14720 CFLAGS=$saved_string_h_CFLAGS
14721 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14724 CFLAGS=$saved_CFLAGS
14726 for ac_flag in $CFLAGS; do
14727 case $ac_flag in
14728 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14729 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14730 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14731 $as_echo_n "(cached) " >&6
14732 else
14733 ac_wine_try_cflags_saved=$CFLAGS
14734 CFLAGS="$CFLAGS -gdwarf-2"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14737 int main(int argc, char **argv) { return 0; }
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_cflags__gdwarf_2=yes
14741 else
14742 ac_cv_cflags__gdwarf_2=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 CFLAGS=$ac_wine_try_cflags_saved
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14749 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14750 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14751 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14754 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14755 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -gstrict-dwarf"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 int main(int argc, char **argv) { return 0; }
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_cflags__gstrict_dwarf=yes
14766 else
14767 ac_cv_cflags__gstrict_dwarf=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 CFLAGS=$ac_wine_try_cflags_saved
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14774 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14775 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14776 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14777 fi ;;
14778 esac
14779 done
14781 case $host_cpu in
14782 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14783 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14784 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_wine_try_cflags_saved=$CFLAGS
14788 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 int main(int argc, char **argv) { return 0; }
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_cflags__fno_omit_frame_pointer=yes
14795 else
14796 ac_cv_cflags__fno_omit_frame_pointer=no
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 CFLAGS=$ac_wine_try_cflags_saved
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14803 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14804 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14805 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14806 fi ;;
14807 esac
14809 case $host in
14810 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14811 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14812 if ${ac_cv_cflags__Wno_format+:} false; then :
14813 $as_echo_n "(cached) " >&6
14814 else
14815 ac_wine_try_cflags_saved=$CFLAGS
14816 CFLAGS="$CFLAGS -Wno-format"
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 int main(int argc, char **argv) { return 0; }
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_cflags__Wno_format=yes
14823 else
14824 ac_cv_cflags__Wno_format=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 CFLAGS=$ac_wine_try_cflags_saved
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14831 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14832 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14833 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14834 fi ;;
14835 esac
14837 if test "x$enable_maintainer_mode" = "xyes"
14838 then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14840 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14841 if ${ac_cv_cflags__Werror+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 ac_wine_try_cflags_saved=$CFLAGS
14845 CFLAGS="$CFLAGS -Werror"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 int main(int argc, char **argv) { return 0; }
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_cflags__Werror=yes
14852 else
14853 ac_cv_cflags__Werror=no
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14857 CFLAGS=$ac_wine_try_cflags_saved
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14860 $as_echo "$ac_cv_cflags__Werror" >&6; }
14861 if test "x$ac_cv_cflags__Werror" = xyes; then :
14862 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14866 saved_CFLAGS="$CFLAGS"
14867 CFLAGS="$CFLAGS -Werror"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14869 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14870 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14877 main ()
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_compile "$LINENO"; then :
14885 ac_cv_have_ms_hook_prologue="yes"
14886 else
14887 ac_cv_have_ms_hook_prologue="no"
14889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14892 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14893 CFLAGS="$saved_CFLAGS"
14894 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14895 then
14897 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14899 else
14900 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14907 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14908 if ${ac_cv_c_fortify_enabled+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 #include <string.h>
14915 main ()
14917 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14918 #error Fortify enabled
14919 #endif
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_compile "$LINENO"; then :
14925 ac_cv_c_fortify_enabled=no
14926 else
14927 ac_cv_c_fortify_enabled=yes
14929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14932 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14933 if test "$ac_cv_c_fortify_enabled" = yes
14934 then
14935 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14940 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14941 if ${ac_cv_c_extern_prefix+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14946 extern int ac_test;
14948 main ()
14950 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_c_extern_prefix="yes"
14957 else
14958 ac_cv_c_extern_prefix="no"
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14964 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14966 case $host_cpu in
14967 *i[3456789]86*)
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14969 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14970 if ${ac_cv_c_stdcall_suffix+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 #ifndef _MSC_VER
14976 #define __stdcall __attribute__((__stdcall__))
14977 #endif
14978 int __stdcall ac_test(int i) { return i; }
14980 main ()
14982 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 ac_cv_c_stdcall_suffix="yes"
14989 else
14990 ac_cv_c_stdcall_suffix="no"
14992 rm -f core conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14996 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14997 *) ac_cv_c_stdcall_suffix="no" ;;
14998 esac
15001 if test "$ac_cv_c_extern_prefix" = "yes"
15002 then
15003 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15005 asm_name_prefix="_"
15006 else
15007 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15009 asm_name_prefix=""
15013 if test "$ac_cv_c_stdcall_suffix" = "yes"
15014 then
15015 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15017 else
15018 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15024 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15025 if ${ac_cv_asm_func_def+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15032 main ()
15034 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_asm_func_def=".def"
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15046 main ()
15048 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15050 return 0;
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 ac_cv_asm_func_def=".type @function"
15055 else
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15060 main ()
15062 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_asm_func_def=".type 2"
15069 else
15070 ac_cv_asm_func_def="unknown"
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15082 $as_echo "$ac_cv_asm_func_def" >&6; }
15085 case "$ac_cv_asm_func_def" in
15086 ".def")
15087 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15089 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15090 ".type @function")
15091 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15093 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15094 ".type 2")
15095 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15097 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15099 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15101 asm_func_header="" ;;
15102 esac
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15105 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15106 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 asm(".text\n\t.long 0");
15113 main ()
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"; then :
15121 ac_cv_c_asm_outside_funcs="yes"
15122 else
15123 ac_cv_c_asm_outside_funcs="no"
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15128 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15131 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15132 if ${ac_cv_c_dot_previous+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15139 main ()
15141 asm(".text\nac_test:\t.long 0\n\t.previous");
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 ac_cv_c_dot_previous="yes"
15148 else
15149 ac_cv_c_dot_previous="no"
15151 rm -f core conftest.err conftest.$ac_objext \
15152 conftest$ac_exeext conftest.$ac_ext
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15155 $as_echo "$ac_cv_c_dot_previous" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15158 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15159 if ${ac_cv_c_cfi_support+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15166 main ()
15170 return 0;
15172 _ACEOF
15173 if ac_fn_c_try_compile "$LINENO"; then :
15174 ac_cv_c_cfi_support="yes"
15175 else
15176 ac_cv_c_cfi_support="no"
15178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15181 $as_echo "$ac_cv_c_cfi_support" >&6; }
15183 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15184 asm_func_trailer=""
15185 if test "$ac_cv_c_dot_previous" = "yes"
15186 then
15187 asm_func_trailer="\\n\\t.previous"
15189 if test "$ac_cv_c_cfi_support" = "yes"
15190 then
15191 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15192 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15194 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15196 UNWINDFLAGS=-fasynchronous-unwind-tables
15198 else
15199 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15201 if test "x$enable_win64" = "xyes"
15202 then
15203 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15207 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15210 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15211 then
15212 cat >>confdefs.h <<_ACEOF
15213 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15214 _ACEOF
15216 else
15217 cat >>confdefs.h <<_ACEOF
15218 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15219 _ACEOF
15223 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15226 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15230 case $build_os in
15231 cygwin*|mingw32*) TOOLSEXT=".exe"
15233 esac
15235 case $host_os in
15236 linux*)
15237 case $host_cpu in
15238 *i[3456789]86*|x86_64*)
15239 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15240 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15242 esac
15244 esac
15247 ac_save_CFLAGS="$CFLAGS"
15248 CFLAGS="$CFLAGS $BUILTINFLAG"
15249 for ac_func in \
15250 __res_get_state \
15251 __res_getservers \
15252 _finite \
15253 _isnan \
15254 _pclose \
15255 _popen \
15256 _snprintf \
15257 _spawnvp \
15258 _strdup \
15259 _stricmp \
15260 _strnicmp \
15261 _strtoi64 \
15262 _strtoui64 \
15263 _vsnprintf \
15264 asctime_r \
15265 chsize \
15266 dlopen \
15267 epoll_create \
15268 ffs \
15269 finitef \
15270 fnmatch \
15271 fork \
15272 fpclass \
15273 fstatfs \
15274 fstatvfs \
15275 ftruncate \
15276 futimens \
15277 futimes \
15278 futimesat \
15279 getattrlist \
15280 getauxval \
15281 getopt_long_only \
15282 getpwuid \
15283 gettimeofday \
15284 getuid \
15285 if_nameindex \
15286 isnanf \
15287 kqueue \
15288 lstat \
15289 memmove \
15290 mmap \
15291 pclose \
15292 pipe2 \
15293 poll \
15294 popen \
15295 port_create \
15296 prctl \
15297 pread \
15298 proc_pidinfo \
15299 pwrite \
15300 readdir \
15301 readlink \
15302 sched_yield \
15303 select \
15304 setproctitle \
15305 setprogname \
15306 setrlimit \
15307 settimeofday \
15308 sigaltstack \
15309 sigprocmask \
15310 snprintf \
15311 statfs \
15312 statvfs \
15313 strcasecmp \
15314 strdup \
15315 strerror \
15316 strncasecmp \
15317 strtold \
15318 strtoll \
15319 strtoull \
15320 symlink \
15321 sysinfo \
15322 tcdrain \
15323 thr_kill2 \
15324 timegm \
15325 usleep \
15326 vsnprintf
15328 do :
15329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15334 _ACEOF
15337 done
15339 CFLAGS="$ac_save_CFLAGS"
15341 if test "$ac_cv_func_dlopen" = no
15342 then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15345 if ${ac_cv_lib_dl_dlopen+:} false; then :
15346 $as_echo_n "(cached) " >&6
15347 else
15348 ac_check_lib_save_LIBS=$LIBS
15349 LIBS="-ldl $LIBS"
15350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15353 /* Override any GCC internal prototype to avoid an error.
15354 Use char because int might match the return type of a GCC
15355 builtin and then its argument prototype would still apply. */
15356 #ifdef __cplusplus
15357 extern "C"
15358 #endif
15359 char dlopen ();
15361 main ()
15363 return dlopen ();
15365 return 0;
15367 _ACEOF
15368 if ac_fn_c_try_link "$LINENO"; then :
15369 ac_cv_lib_dl_dlopen=yes
15370 else
15371 ac_cv_lib_dl_dlopen=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15375 LIBS=$ac_check_lib_save_LIBS
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15379 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15380 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15381 DL_LIBS="-ldl"
15386 ac_wine_check_funcs_save_LIBS="$LIBS"
15387 LIBS="$LIBS $DL_LIBS"
15388 for ac_func in dladdr
15389 do :
15390 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15391 if test "x$ac_cv_func_dladdr" = xyes; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define HAVE_DLADDR 1
15394 _ACEOF
15397 done
15399 LIBS="$ac_wine_check_funcs_save_LIBS"
15401 if test "$ac_cv_func_poll" = no
15402 then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15404 $as_echo_n "checking for poll in -lpoll... " >&6; }
15405 if ${ac_cv_lib_poll_poll+:} false; then :
15406 $as_echo_n "(cached) " >&6
15407 else
15408 ac_check_lib_save_LIBS=$LIBS
15409 LIBS="-lpoll $LIBS"
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15413 /* Override any GCC internal prototype to avoid an error.
15414 Use char because int might match the return type of a GCC
15415 builtin and then its argument prototype would still apply. */
15416 #ifdef __cplusplus
15417 extern "C"
15418 #endif
15419 char poll ();
15421 main ()
15423 return poll ();
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 ac_cv_lib_poll_poll=yes
15430 else
15431 ac_cv_lib_poll_poll=no
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15435 LIBS=$ac_check_lib_save_LIBS
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15438 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15439 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15440 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15441 POLL_LIBS="-lpoll"
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15448 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15449 if ${ac_cv_search_gethostbyname+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 ac_func_search_save_LIBS=$LIBS
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 #ifdef __cplusplus
15460 extern "C"
15461 #endif
15462 char gethostbyname ();
15464 main ()
15466 return gethostbyname ();
15468 return 0;
15470 _ACEOF
15471 for ac_lib in '' nsl; do
15472 if test -z "$ac_lib"; then
15473 ac_res="none required"
15474 else
15475 ac_res=-l$ac_lib
15476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15478 if ac_fn_c_try_link "$LINENO"; then :
15479 ac_cv_search_gethostbyname=$ac_res
15481 rm -f core conftest.err conftest.$ac_objext \
15482 conftest$ac_exeext
15483 if ${ac_cv_search_gethostbyname+:} false; then :
15484 break
15486 done
15487 if ${ac_cv_search_gethostbyname+:} false; then :
15489 else
15490 ac_cv_search_gethostbyname=no
15492 rm conftest.$ac_ext
15493 LIBS=$ac_func_search_save_LIBS
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15496 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15497 ac_res=$ac_cv_search_gethostbyname
15498 if test "$ac_res" != no; then :
15499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15505 $as_echo_n "checking for library containing connect... " >&6; }
15506 if ${ac_cv_search_connect+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509 ac_func_search_save_LIBS=$LIBS
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char connect ();
15521 main ()
15523 return connect ();
15525 return 0;
15527 _ACEOF
15528 for ac_lib in '' socket; do
15529 if test -z "$ac_lib"; then
15530 ac_res="none required"
15531 else
15532 ac_res=-l$ac_lib
15533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_search_connect=$ac_res
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext
15540 if ${ac_cv_search_connect+:} false; then :
15541 break
15543 done
15544 if ${ac_cv_search_connect+:} false; then :
15546 else
15547 ac_cv_search_connect=no
15549 rm conftest.$ac_ext
15550 LIBS=$ac_func_search_save_LIBS
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15553 $as_echo "$ac_cv_search_connect" >&6; }
15554 ac_res=$ac_cv_search_connect
15555 if test "$ac_res" != no; then :
15556 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15562 $as_echo_n "checking for library containing inet_aton... " >&6; }
15563 if ${ac_cv_search_inet_aton+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 ac_func_search_save_LIBS=$LIBS
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15570 /* Override any GCC internal prototype to avoid an error.
15571 Use char because int might match the return type of a GCC
15572 builtin and then its argument prototype would still apply. */
15573 #ifdef __cplusplus
15574 extern "C"
15575 #endif
15576 char inet_aton ();
15578 main ()
15580 return inet_aton ();
15582 return 0;
15584 _ACEOF
15585 for ac_lib in '' resolv; do
15586 if test -z "$ac_lib"; then
15587 ac_res="none required"
15588 else
15589 ac_res=-l$ac_lib
15590 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 ac_cv_search_inet_aton=$ac_res
15595 rm -f core conftest.err conftest.$ac_objext \
15596 conftest$ac_exeext
15597 if ${ac_cv_search_inet_aton+:} false; then :
15598 break
15600 done
15601 if ${ac_cv_search_inet_aton+:} false; then :
15603 else
15604 ac_cv_search_inet_aton=no
15606 rm conftest.$ac_ext
15607 LIBS=$ac_func_search_save_LIBS
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15610 $as_echo "$ac_cv_search_inet_aton" >&6; }
15611 ac_res=$ac_cv_search_inet_aton
15612 if test "$ac_res" != no; then :
15613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15618 for ac_func in \
15619 getaddrinfo \
15620 getnameinfo \
15621 getnetbyname \
15622 getprotobyname \
15623 getprotobynumber \
15624 getservbyport \
15625 inet_addr \
15626 inet_network \
15627 inet_ntop \
15628 inet_pton \
15629 sendmsg \
15630 socketpair \
15632 do :
15633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15635 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15638 _ACEOF
15641 done
15644 ac_save_LIBS=$LIBS
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15646 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15647 if ${ac_cv_search_clock_gettime+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 ac_func_search_save_LIBS=$LIBS
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15654 /* Override any GCC internal prototype to avoid an error.
15655 Use char because int might match the return type of a GCC
15656 builtin and then its argument prototype would still apply. */
15657 #ifdef __cplusplus
15658 extern "C"
15659 #endif
15660 char clock_gettime ();
15662 main ()
15664 return clock_gettime ();
15666 return 0;
15668 _ACEOF
15669 for ac_lib in '' rt; do
15670 if test -z "$ac_lib"; then
15671 ac_res="none required"
15672 else
15673 ac_res=-l$ac_lib
15674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15676 if ac_fn_c_try_link "$LINENO"; then :
15677 ac_cv_search_clock_gettime=$ac_res
15679 rm -f core conftest.err conftest.$ac_objext \
15680 conftest$ac_exeext
15681 if ${ac_cv_search_clock_gettime+:} false; then :
15682 break
15684 done
15685 if ${ac_cv_search_clock_gettime+:} false; then :
15687 else
15688 ac_cv_search_clock_gettime=no
15690 rm conftest.$ac_ext
15691 LIBS=$ac_func_search_save_LIBS
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15694 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15695 ac_res=$ac_cv_search_clock_gettime
15696 if test "$ac_res" != no; then :
15697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15699 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15701 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15705 LIBS=$ac_save_LIBS
15707 LDAP_LIBS=""
15709 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15710 then
15711 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15713 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15715 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15716 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_check_lib_save_LIBS=$LIBS
15720 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15727 #ifdef __cplusplus
15728 extern "C"
15729 #endif
15730 char ldap_initialize ();
15732 main ()
15734 return ldap_initialize ();
15736 return 0;
15738 _ACEOF
15739 if ac_fn_c_try_link "$LINENO"; then :
15740 ac_cv_lib_ldap_r_ldap_initialize=yes
15741 else
15742 ac_cv_lib_ldap_r_ldap_initialize=no
15744 rm -f core conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746 LIBS=$ac_check_lib_save_LIBS
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15749 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15750 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15752 $as_echo_n "checking for ber_init in -llber... " >&6; }
15753 if ${ac_cv_lib_lber_ber_init+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 ac_check_lib_save_LIBS=$LIBS
15757 LIBS="-llber $PTHREAD_LIBS $LIBS"
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 #ifdef __cplusplus
15765 extern "C"
15766 #endif
15767 char ber_init ();
15769 main ()
15771 return ber_init ();
15773 return 0;
15775 _ACEOF
15776 if ac_fn_c_try_link "$LINENO"; then :
15777 ac_cv_lib_lber_ber_init=yes
15778 else
15779 ac_cv_lib_lber_ber_init=no
15781 rm -f core conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783 LIBS=$ac_check_lib_save_LIBS
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15786 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15787 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15789 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15791 LDAP_LIBS="-lldap_r -llber"
15798 ac_wine_check_funcs_save_LIBS="$LIBS"
15799 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15800 for ac_func in \
15801 ldap_count_references \
15802 ldap_first_reference \
15803 ldap_next_reference \
15804 ldap_parse_reference \
15805 ldap_parse_sort_control \
15806 ldap_parse_sortresponse_control \
15807 ldap_parse_vlv_control \
15808 ldap_parse_vlvresponse_control
15809 do :
15810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15815 _ACEOF
15818 done
15820 LIBS="$ac_wine_check_funcs_save_LIBS"
15822 if test "x$LDAP_LIBS" = "x"; then :
15823 case "x$with_ldap" in
15824 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15825 xno) ;;
15826 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15827 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15828 esac
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15833 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15834 if ${wine_cv_one_arg_mkdir+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15839 #include <sys/stat.h>
15841 main ()
15843 mkdir("foo");
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_compile "$LINENO"; then :
15849 wine_cv_one_arg_mkdir=yes
15850 else
15851 wine_cv_one_arg_mkdir=no
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15856 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15857 if test "$wine_cv_one_arg_mkdir" = "yes"
15858 then
15860 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15865 $as_echo_n "checking for sched_setaffinity... " >&6; }
15866 if ${wine_cv_have_sched_setaffinity+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE
15872 #include <sched.h>
15874 main ()
15876 sched_setaffinity(0, 0, 0);
15878 return 0;
15880 _ACEOF
15881 if ac_fn_c_try_link "$LINENO"; then :
15882 wine_cv_have_sched_setaffinity=yes
15883 else
15884 wine_cv_have_sched_setaffinity=no
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15890 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15891 if test "$wine_cv_have_sched_setaffinity" = "yes"
15892 then
15894 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15899 $as_echo_n "checking for fallocate... " >&6; }
15900 if ${wine_cv_have_fallocate+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #define _GNU_SOURCE
15906 #include <fcntl.h>
15908 main ()
15910 fallocate(-1, 0, 0, 0);
15912 return 0;
15914 _ACEOF
15915 if ac_fn_c_try_link "$LINENO"; then :
15916 wine_cv_have_fallocate=yes
15917 else
15918 wine_cv_have_fallocate=no
15920 rm -f core conftest.err conftest.$ac_objext \
15921 conftest$ac_exeext conftest.$ac_ext
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15924 $as_echo "$wine_cv_have_fallocate" >&6; }
15925 if test "$wine_cv_have_fallocate" = "yes"
15926 then
15928 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15934 $as_echo_n "checking for inline... " >&6; }
15935 if ${ac_cv_c_inline+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_cv_c_inline=no
15939 for ac_kw in inline __inline__ __inline; do
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #ifndef __cplusplus
15943 typedef int foo_t;
15944 static $ac_kw foo_t static_foo () {return 0; }
15945 $ac_kw foo_t foo () {return 0; }
15946 #endif
15948 _ACEOF
15949 if ac_fn_c_try_compile "$LINENO"; then :
15950 ac_cv_c_inline=$ac_kw
15952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15953 test "$ac_cv_c_inline" != no && break
15954 done
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15958 $as_echo "$ac_cv_c_inline" >&6; }
15960 case $ac_cv_c_inline in
15961 inline | yes) ;;
15963 case $ac_cv_c_inline in
15964 no) ac_val=;;
15965 *) ac_val=$ac_cv_c_inline;;
15966 esac
15967 cat >>confdefs.h <<_ACEOF
15968 #ifndef __cplusplus
15969 #define inline $ac_val
15970 #endif
15971 _ACEOF
15973 esac
15975 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15976 if test "x$ac_cv_type_mode_t" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_MODE_T 1
15980 _ACEOF
15984 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15985 if test "x$ac_cv_type_off_t" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_OFF_T 1
15989 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_pid_t" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_PID_T 1
15998 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16003 if test "x$ac_cv_type_size_t" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_SIZE_T 1
16007 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16012 if test "x$ac_cv_type_ssize_t" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_SSIZE_T 1
16016 _ACEOF
16020 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16021 if test "x$ac_cv_type_long_long" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_LONG_LONG 1
16025 _ACEOF
16029 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16030 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_FSBLKCNT_T 1
16034 _ACEOF
16038 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16039 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_FSFILCNT_T 1
16043 _ACEOF
16048 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16049 #include <signal.h>
16051 if test "x$ac_cv_type_sigset_t" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_SIGSET_T 1
16055 _ACEOF
16060 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16062 if test "x$ac_cv_type_request_sense" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_REQUEST_SENSE 1
16066 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16073 #ifdef HAVE_SYS_SOCKET_H
16074 #include <sys/socket.h>
16075 #endif
16076 #ifdef HAVE_SYS_SOCKETVAR_H
16077 #include <sys/socketvar.h>
16078 #endif
16079 #ifdef HAVE_NET_ROUTE_H
16080 #include <net/route.h>
16081 #endif
16082 #ifdef HAVE_NETINET_IN_H
16083 #include <netinet/in.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_SYSTM_H
16086 #include <netinet/in_systm.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IP_H
16089 #include <netinet/ip.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_PCB_H
16092 #include <netinet/in_pcb.h>
16093 #endif
16095 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_XINPGEN 1
16099 _ACEOF
16105 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16106 #include <link.h>
16107 #endif
16108 #ifdef HAVE_SYS_LINK_H
16109 #include <sys/link.h>
16110 #endif
16112 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_R_DEBUG 1
16116 _ACEOF
16120 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16121 #include <link.h>
16122 #endif
16123 #ifdef HAVE_SYS_LINK_H
16124 #include <sys/link.h>
16125 #endif
16127 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_LINK_MAP 1
16131 _ACEOF
16137 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16138 #include <linux/input.h>
16139 #endif
16141 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16145 _ACEOF
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16152 $as_echo_n "checking for sigaddset... " >&6; }
16153 if ${wine_cv_have_sigaddset+:} false; then :
16154 $as_echo_n "(cached) " >&6
16155 else
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 #include <signal.h>
16160 main ()
16162 sigset_t set; sigaddset(&set,SIGTERM);
16164 return 0;
16166 _ACEOF
16167 if ac_fn_c_try_link "$LINENO"; then :
16168 wine_cv_have_sigaddset=yes
16169 else
16170 wine_cv_have_sigaddset=no
16172 rm -f core conftest.err conftest.$ac_objext \
16173 conftest$ac_exeext conftest.$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16176 $as_echo "$wine_cv_have_sigaddset" >&6; }
16177 if test "$wine_cv_have_sigaddset" = "yes"
16178 then
16180 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16186 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16187 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <netdb.h>
16194 main ()
16197 char *name=0;
16198 struct hostent he;
16199 struct hostent *result;
16200 char *buf=0;
16201 int bufsize=0;
16202 int errnr;
16203 char *addr=0;
16204 int addrlen=0;
16205 int addrtype=0;
16206 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16207 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16210 return 0;
16212 _ACEOF
16213 if ac_fn_c_try_link "$LINENO"; then :
16214 wine_cv_linux_gethostbyname_r_6=yes
16215 else
16216 wine_cv_linux_gethostbyname_r_6=no
16219 rm -f core conftest.err conftest.$ac_objext \
16220 conftest$ac_exeext conftest.$ac_ext
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16224 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16225 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16226 then
16228 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16232 if test "$ac_cv_header_linux_joystick_h" = "yes"
16233 then
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16235 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16236 if ${wine_cv_linux_joystick_22_api+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16242 #include <sys/ioctl.h>
16243 #include <sys/types.h>
16244 #include <linux/joystick.h>
16246 struct js_event blub;
16247 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16248 #error "no 2.2 header"
16249 #endif
16252 main ()
16254 /*empty*/
16256 return 0;
16258 _ACEOF
16259 if ac_fn_c_try_compile "$LINENO"; then :
16260 wine_cv_linux_joystick_22_api=yes
16261 else
16262 wine_cv_linux_joystick_22_api=no
16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16268 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16269 if test "$wine_cv_linux_joystick_22_api" = "yes"
16270 then
16272 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16278 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16279 #ifdef HAVE_SYS_PARAM_H
16280 # include <sys/param.h>
16281 #endif
16282 #ifdef HAVE_SYS_MOUNT_H
16283 # include <sys/mount.h>
16284 #endif
16285 #ifdef HAVE_SYS_VFS_H
16286 # include <sys/vfs.h>
16287 #endif
16288 #ifdef HAVE_SYS_STATFS_H
16289 # include <sys/statfs.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_STATFS_F_BFREE 1
16296 _ACEOF
16300 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16301 #ifdef HAVE_SYS_PARAM_H
16302 # include <sys/param.h>
16303 #endif
16304 #ifdef HAVE_SYS_MOUNT_H
16305 # include <sys/mount.h>
16306 #endif
16307 #ifdef HAVE_SYS_VFS_H
16308 # include <sys/vfs.h>
16309 #endif
16310 #ifdef HAVE_SYS_STATFS_H
16311 # include <sys/statfs.h>
16312 #endif
16314 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16318 _ACEOF
16322 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16323 #ifdef HAVE_SYS_PARAM_H
16324 # include <sys/param.h>
16325 #endif
16326 #ifdef HAVE_SYS_MOUNT_H
16327 # include <sys/mount.h>
16328 #endif
16329 #ifdef HAVE_SYS_VFS_H
16330 # include <sys/vfs.h>
16331 #endif
16332 #ifdef HAVE_SYS_STATFS_H
16333 # include <sys/statfs.h>
16334 #endif
16336 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16340 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16345 #ifdef HAVE_SYS_PARAM_H
16346 # include <sys/param.h>
16347 #endif
16348 #ifdef HAVE_SYS_MOUNT_H
16349 # include <sys/mount.h>
16350 #endif
16351 #ifdef HAVE_SYS_VFS_H
16352 # include <sys/vfs.h>
16353 #endif
16354 #ifdef HAVE_SYS_STATFS_H
16355 # include <sys/statfs.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_STATFS_F_FFREE 1
16362 _ACEOF
16366 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16367 #ifdef HAVE_SYS_PARAM_H
16368 # include <sys/param.h>
16369 #endif
16370 #ifdef HAVE_SYS_MOUNT_H
16371 # include <sys/mount.h>
16372 #endif
16373 #ifdef HAVE_SYS_VFS_H
16374 # include <sys/vfs.h>
16375 #endif
16376 #ifdef HAVE_SYS_STATFS_H
16377 # include <sys/statfs.h>
16378 #endif
16380 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16384 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16389 #ifdef HAVE_SYS_PARAM_H
16390 # include <sys/param.h>
16391 #endif
16392 #ifdef HAVE_SYS_MOUNT_H
16393 # include <sys/mount.h>
16394 #endif
16395 #ifdef HAVE_SYS_VFS_H
16396 # include <sys/vfs.h>
16397 #endif
16398 #ifdef HAVE_SYS_STATFS_H
16399 # include <sys/statfs.h>
16400 #endif
16402 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16406 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16413 #include <sys/statvfs.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16420 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16427 #include <dirent.h>
16428 #endif
16430 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16434 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16441 #ifdef HAVE_SYS_SOCKET_H
16442 # include <sys/socket.h>
16443 #endif
16444 #ifdef HAVE_SYS_UN_H
16445 # include <sys/un.h>
16446 #endif
16448 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16452 _ACEOF
16456 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16457 #ifdef HAVE_SYS_SOCKET_H
16458 # include <sys/socket.h>
16459 #endif
16460 #ifdef HAVE_SYS_UN_H
16461 # include <sys/un.h>
16462 #endif
16464 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16468 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16473 #ifdef HAVE_SYS_SOCKET_H
16474 # include <sys/socket.h>
16475 #endif
16476 #ifdef HAVE_SYS_UN_H
16477 # include <sys/un.h>
16478 #endif
16480 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16484 _ACEOF
16490 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16491 #ifdef HAVE_SCSI_SG_H
16492 #include <scsi/sg.h>
16493 #endif
16495 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_SCSIREQ_T_CMD 1
16499 _ACEOF
16503 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>
16504 #ifdef HAVE_SCSI_SG_H
16505 #include <scsi/sg.h>
16506 #endif
16508 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16512 _ACEOF
16518 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16520 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_SIGINFO_T_SI_FD 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16531 #ifdef HAVE_SYS_MTIO_H
16532 #include <sys/mtio.h>
16533 #endif
16535 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16539 _ACEOF
16543 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16544 #ifdef HAVE_SYS_MTIO_H
16545 #include <sys/mtio.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16552 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16557 #ifdef HAVE_SYS_MTIO_H
16558 #include <sys/mtio.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16572 #include <getopt.h>
16573 #endif
16575 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_OPTION_NAME 1
16579 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16586 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16590 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_MTIM 1
16599 _ACEOF
16603 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16608 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_CTIM 1
16617 _ACEOF
16621 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_ATIM 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16658 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16662 _ACEOF
16666 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16667 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16671 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16676 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16680 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16685 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16689 _ACEOF
16695 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
16696 #include <sys/types.h>
16697 #endif
16698 #ifdef HAVE_NETINET_IN_H
16699 #include <netinet/in.h>
16700 #endif
16702 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16706 _ACEOF
16712 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16713 #include <sys/types.h>
16714 #endif
16715 #ifdef HAVE_NETINET_IN_H
16716 #include <netinet/in.h>
16717 #endif
16718 #ifdef HAVE_RESOLV_H
16719 #include <resolv.h>
16720 #endif
16722 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT___RES_STATE 1
16726 _ACEOF
16732 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
16733 #include <resolv.h>
16734 #endif
16736 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16740 _ACEOF
16746 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16747 #include <sys/types.h>
16748 #endif
16749 #ifdef HAVE_NETINET_IN_H
16750 # include <netinet/in.h>
16751 #endif
16752 #ifdef HAVE_ARPA_NAMESER_H
16753 # include <arpa/nameser.h>
16754 #endif
16756 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16758 cat >>confdefs.h <<_ACEOF
16759 #define HAVE_NS_MSG__MSG_PTR 1
16760 _ACEOF
16766 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16767 #include <sys/types.h>
16768 #endif
16769 #ifdef HAVE_NETINET_IN_H
16770 #include <netinet/in.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IP_H
16773 #include <netinet/ip.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IP_ICMP_H
16776 #include <netinet/ip_icmp.h>
16777 #endif
16778 #ifdef HAVE_NETINET_ICMP_VAR_H
16779 #include <netinet/icmp_var.h>
16780 #endif
16782 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16786 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16793 #include <sys/types.h>
16794 #endif
16795 #ifdef HAVE_ALIAS_H
16796 #include <alias.h>
16797 #endif
16798 #ifdef HAVE_SYS_SOCKET_H
16799 #include <sys/socket.h>
16800 #endif
16801 #ifdef HAVE_SYS_SOCKETVAR_H
16802 #include <sys/socketvar.h>
16803 #endif
16804 #ifdef HAVE_SYS_TIMEOUT_H
16805 #include <sys/timeout.h>
16806 #endif
16807 #ifdef HAVE_NETINET_IN_H
16808 #include <netinet/in.h>
16809 #endif
16810 #ifdef HAVE_NETINET_IN_SYSTM_H
16811 #include <netinet/in_systm.h>
16812 #endif
16813 #ifdef HAVE_NETINET_IP_H
16814 #include <netinet/ip.h>
16815 #endif
16816 #ifdef HAVE_NETINET_IP_VAR_H
16817 #include <netinet/ip_var.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IP_ICMP_H
16820 #include <netinet/ip_icmp.h>
16821 #endif
16822 #ifdef HAVE_NETINET_ICMP_VAR_H
16823 #include <netinet/icmp_var.h>
16824 #endif
16826 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16830 _ACEOF
16836 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16837 #include <sys/types.h>
16838 #endif
16839 #ifdef HAVE_SYS_SOCKETVAR_H
16840 #include <sys/socketvar.h>
16841 #endif
16842 #ifdef HAVE_NETINET_IN_H
16843 #include <netinet/in.h>
16844 #endif
16845 #ifdef HAVE_NETINET_IP_VAR_H
16846 #include <netinet/ip_var.h>
16847 #endif
16849 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16853 _ACEOF
16859 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
16860 #include <netinet/ip_var.h>
16861 #endif
16863 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16867 _ACEOF
16873 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16874 #include <sys/types.h>
16875 #endif
16876 #ifdef HAVE_SYS_SOCKETVAR_H
16877 #include <sys/socketvar.h>
16878 #endif
16879 #ifdef HAVE_NETINET_IN_H
16880 #include <netinet/in.h>
16881 #endif
16882 #ifdef HAVE_NETINET_TCP_H
16883 #include <netinet/tcp.h>
16884 #endif
16885 #ifdef HAVE_NETINET_TCP_VAR_H
16886 #include <netinet/tcp_var.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16893 _ACEOF
16899 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
16900 #include <netinet/tcp_var.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16907 _ACEOF
16913 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16914 #include <sys/types.h>
16915 #endif
16916 #ifdef HAVE_NETINET_IN_H
16917 #include <netinet/in.h>
16918 #endif
16919 #ifdef HAVE_NETINET_IP_VAR_H
16920 #include <netinet/ip_var.h>
16921 #endif
16922 #ifdef HAVE_NETINET_UDP_H
16923 #include <netinet/udp.h>
16924 #endif
16925 #ifdef HAVE_NETINET_UDP_VAR_H
16926 #include <netinet/udp_var.h>
16927 #endif
16929 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16933 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16940 #include <sys/types.h>
16941 #endif
16942 #ifdef HAVE_NET_IF_H
16943 # include <net/if.h>
16944 #endif
16946 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16948 cat >>confdefs.h <<_ACEOF
16949 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16950 _ACEOF
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16957 $as_echo_n "checking for timezone variable... " >&6; }
16958 if ${ac_cv_have_timezone+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <time.h>
16965 main ()
16967 timezone = 1
16969 return 0;
16971 _ACEOF
16972 if ac_fn_c_try_link "$LINENO"; then :
16973 ac_cv_have_timezone="yes"
16974 else
16975 ac_cv_have_timezone="no"
16977 rm -f core conftest.err conftest.$ac_objext \
16978 conftest$ac_exeext conftest.$ac_ext
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16981 $as_echo "$ac_cv_have_timezone" >&6; }
16982 if test "$ac_cv_have_timezone" = "yes"
16983 then
16985 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16989 $as_echo_n "checking for daylight variable... " >&6; }
16990 if ${ac_cv_have_daylight+:} false; then :
16991 $as_echo_n "(cached) " >&6
16992 else
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #include <time.h>
16997 main ()
16999 daylight = 1
17001 return 0;
17003 _ACEOF
17004 if ac_fn_c_try_link "$LINENO"; then :
17005 ac_cv_have_daylight="yes"
17006 else
17007 ac_cv_have_daylight="no"
17009 rm -f core conftest.err conftest.$ac_objext \
17010 conftest$ac_exeext conftest.$ac_ext
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17013 $as_echo "$ac_cv_have_daylight" >&6; }
17014 if test "$ac_cv_have_daylight" = "yes"
17015 then
17017 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17021 ac_save_LIBS="$LIBS"
17022 LIBS="$LIBS -lm"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17024 $as_echo_n "checking for isfinite... " >&6; }
17025 if ${ac_cv_have_isfinite+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #define _GNU_SOURCE
17031 #include <math.h>
17033 main ()
17035 float f = 0.0; return isfinite(f)
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_have_isfinite="yes"
17042 else
17043 ac_cv_have_isfinite="no"
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17049 $as_echo "$ac_cv_have_isfinite" >&6; }
17050 if test "$ac_cv_have_isfinite" = "yes"
17051 then
17053 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17058 $as_echo_n "checking for isinf... " >&6; }
17059 if ${ac_cv_have_isinf+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <math.h>
17066 main ()
17068 float f = 0.0; return isinf(f)
17070 return 0;
17072 _ACEOF
17073 if ac_fn_c_try_link "$LINENO"; then :
17074 ac_cv_have_isinf="yes"
17075 else
17076 ac_cv_have_isinf="no"
17078 rm -f core conftest.err conftest.$ac_objext \
17079 conftest$ac_exeext conftest.$ac_ext
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17082 $as_echo "$ac_cv_have_isinf" >&6; }
17083 if test "$ac_cv_have_isinf" = "yes"
17084 then
17086 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17091 $as_echo_n "checking for isnan... " >&6; }
17092 if ${ac_cv_have_isnan+:} false; then :
17093 $as_echo_n "(cached) " >&6
17094 else
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17097 #include <math.h>
17099 main ()
17101 float f = 0.0; return isnan(f)
17103 return 0;
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_have_isnan="yes"
17108 else
17109 ac_cv_have_isnan="no"
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17115 $as_echo "$ac_cv_have_isnan" >&6; }
17116 if test "$ac_cv_have_isnan" = "yes"
17117 then
17119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17123 for ac_func in \
17124 asinh \
17125 asinhf \
17126 cbrt \
17127 cbrtf \
17128 erf \
17129 erff \
17130 exp2 \
17131 exp2f \
17132 lgamma \
17133 lgammaf \
17134 llrint \
17135 llrintf \
17136 llround \
17137 llroundf \
17138 log2 \
17139 log2f \
17140 lrint \
17141 lrintf \
17142 lround \
17143 lroundf \
17144 nearbyint \
17145 nearbyintf \
17146 powl \
17147 remainder \
17148 remainderf \
17149 rint \
17150 rintf \
17151 round \
17152 roundf \
17153 trunc \
17154 truncf
17156 do :
17157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17160 cat >>confdefs.h <<_ACEOF
17161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17162 _ACEOF
17165 done
17167 LIBS="$ac_save_LIBS"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17170 $as_echo_n "checking for __builtin_clz... " >&6; }
17171 if ${ac_cv_have___builtin_clz+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17178 main ()
17180 return __builtin_clz(1)
17182 return 0;
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_have___builtin_clz="yes"
17187 else
17188 ac_cv_have___builtin_clz="no"
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17194 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17195 if test "$ac_cv_have___builtin_clz" = "yes"
17196 then
17198 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17203 $as_echo_n "checking for __builtin_popcount... " >&6; }
17204 if ${ac_cv_have___builtin_popcount+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17211 main ()
17213 return __builtin_popcount(1)
17215 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_have___builtin_popcount="yes"
17220 else
17221 ac_cv_have___builtin_popcount="no"
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17227 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17228 if test "$ac_cv_have___builtin_popcount" = "yes"
17229 then
17231 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17236 case $host_cpu in
17237 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17238 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17239 if ${ac_cv_cpp_def___i386__+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244 #ifndef __i386__
17246 #endif
17247 _ACEOF
17248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17249 $EGREP "yes" >/dev/null 2>&1; then :
17250 ac_cv_cpp_def___i386__=yes
17251 else
17252 ac_cv_cpp_def___i386__=no
17254 rm -f conftest*
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17258 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17259 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17260 CFLAGS="$CFLAGS -D__i386__"
17261 LINTFLAGS="$LINTFLAGS -D__i386__"
17262 fi ;;
17263 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17264 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17265 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #ifndef __x86_64__
17272 #endif
17273 _ACEOF
17274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17275 $EGREP "yes" >/dev/null 2>&1; then :
17276 ac_cv_cpp_def___x86_64__=yes
17277 else
17278 ac_cv_cpp_def___x86_64__=no
17280 rm -f conftest*
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17284 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17285 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17286 CFLAGS="$CFLAGS -D__x86_64__"
17287 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17288 fi ;;
17289 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17290 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17291 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #ifndef __sparc64__
17298 #endif
17299 _ACEOF
17300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17301 $EGREP "yes" >/dev/null 2>&1; then :
17302 ac_cv_cpp_def___sparc64__=yes
17303 else
17304 ac_cv_cpp_def___sparc64__=no
17306 rm -f conftest*
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17310 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17311 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17312 CFLAGS="$CFLAGS -D__sparc64__"
17313 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17314 fi ;;
17315 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17316 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17317 if ${ac_cv_cpp_def___sparc__+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #ifndef __sparc__
17324 #endif
17325 _ACEOF
17326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17327 $EGREP "yes" >/dev/null 2>&1; then :
17328 ac_cv_cpp_def___sparc__=yes
17329 else
17330 ac_cv_cpp_def___sparc__=no
17332 rm -f conftest*
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17336 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17337 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17338 CFLAGS="$CFLAGS -D__sparc__"
17339 LINTFLAGS="$LINTFLAGS -D__sparc__"
17340 fi ;;
17341 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17342 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17343 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17344 $as_echo_n "(cached) " >&6
17345 else
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 #ifndef __powerpc64__
17350 #endif
17351 _ACEOF
17352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17353 $EGREP "yes" >/dev/null 2>&1; then :
17354 ac_cv_cpp_def___powerpc64__=yes
17355 else
17356 ac_cv_cpp_def___powerpc64__=no
17358 rm -f conftest*
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17362 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17363 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17364 CFLAGS="$CFLAGS -D__powerpc64__"
17365 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17366 fi ;;
17367 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17368 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17369 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17374 #ifndef __powerpc__
17376 #endif
17377 _ACEOF
17378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17379 $EGREP "yes" >/dev/null 2>&1; then :
17380 ac_cv_cpp_def___powerpc__=yes
17381 else
17382 ac_cv_cpp_def___powerpc__=no
17384 rm -f conftest*
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17388 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17389 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17390 CFLAGS="$CFLAGS -D__powerpc__"
17391 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17392 fi ;;
17393 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17394 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17395 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #ifndef __aarch64__
17402 #endif
17403 _ACEOF
17404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17405 $EGREP "yes" >/dev/null 2>&1; then :
17406 ac_cv_cpp_def___aarch64__=yes
17407 else
17408 ac_cv_cpp_def___aarch64__=no
17410 rm -f conftest*
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17414 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17415 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17416 CFLAGS="$CFLAGS -D__aarch64__"
17417 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17418 fi ;;
17419 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17420 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17421 if ${ac_cv_cpp_def___arm__+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #ifndef __arm__
17428 #endif
17429 _ACEOF
17430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17431 $EGREP "yes" >/dev/null 2>&1; then :
17432 ac_cv_cpp_def___arm__=yes
17433 else
17434 ac_cv_cpp_def___arm__=no
17436 rm -f conftest*
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17440 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17441 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17442 CFLAGS="$CFLAGS -D__arm__"
17443 LINTFLAGS="$LINTFLAGS -D__arm__"
17444 fi ;;
17445 esac
17447 case $host_vendor in
17448 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17449 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17450 if ${ac_cv_cpp_def___sun__+:} false; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 #ifndef __sun__
17457 #endif
17458 _ACEOF
17459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17460 $EGREP "yes" >/dev/null 2>&1; then :
17461 ac_cv_cpp_def___sun__=yes
17462 else
17463 ac_cv_cpp_def___sun__=no
17465 rm -f conftest*
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17469 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17470 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17471 CFLAGS="$CFLAGS -D__sun__"
17472 LINTFLAGS="$LINTFLAGS -D__sun__"
17473 fi ;;
17474 esac
17480 ac_config_commands="$ac_config_commands include/stamp-h"
17482 $as_echo_n "creating Makefile rules..." >&6
17484 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17485 SOCKET_LIBS = $SOCKET_LIBS
17486 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17487 IOKIT_LIBS = $IOKIT_LIBS
17488 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17489 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17490 CORESERVICES_LIBS = $CORESERVICES_LIBS
17491 APPKIT_LIBS = $APPKIT_LIBS
17492 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17493 SECURITY_LIBS = $SECURITY_LIBS
17494 COREAUDIO_LIBS = $COREAUDIO_LIBS
17495 OPENAL_LIBS = $OPENAL_LIBS
17496 OPENCL_LIBS = $OPENCL_LIBS
17497 QUICKTIME_LIBS = $QUICKTIME_LIBS
17498 CARBON_LIBS = $CARBON_LIBS
17499 PTHREAD_LIBS = $PTHREAD_LIBS
17500 X_CFLAGS = $X_CFLAGS
17501 X_PRE_LIBS = $X_PRE_LIBS
17502 X_LIBS = $X_LIBS
17503 X_EXTRA_LIBS = $X_EXTRA_LIBS
17504 PCAP_LIBS = $PCAP_LIBS
17505 XML2_CFLAGS = $XML2_CFLAGS
17506 XML2_LIBS = $XML2_LIBS
17507 XSLT_CFLAGS = $XSLT_CFLAGS
17508 XSLT_LIBS = $XSLT_LIBS
17509 DBUS_CFLAGS = $DBUS_CFLAGS
17510 DBUS_LIBS = $DBUS_LIBS
17511 HAL_CFLAGS = $HAL_CFLAGS
17512 HAL_LIBS = $HAL_LIBS
17513 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17514 GNUTLS_LIBS = $GNUTLS_LIBS
17515 SANE_CFLAGS = $SANE_CFLAGS
17516 SANE_LIBS = $SANE_LIBS
17517 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17518 GPHOTO2_LIBS = $GPHOTO2_LIBS
17519 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17520 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17521 RESOLV_LIBS = $RESOLV_LIBS
17522 LCMS2_CFLAGS = $LCMS2_CFLAGS
17523 LCMS2_LIBS = $LCMS2_LIBS
17524 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17525 FREETYPE_LIBS = $FREETYPE_LIBS
17526 Z_LIBS = $Z_LIBS
17527 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17528 PULSE_CFLAGS = $PULSE_CFLAGS
17529 PULSE_LIBS = $PULSE_LIBS
17530 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17531 GSTREAMER_LIBS = $GSTREAMER_LIBS
17532 ALSA_LIBS = $ALSA_LIBS
17533 OSS4_CFLAGS = $OSS4_CFLAGS
17534 UDEV_CFLAGS = $UDEV_CFLAGS
17535 UDEV_LIBS = $UDEV_LIBS
17536 CAPI20_CFLAGS = $CAPI20_CFLAGS
17537 CAPI20_LIBS = $CAPI20_LIBS
17538 CUPS_CFLAGS = $CUPS_CFLAGS
17539 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17540 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17541 JPEG_CFLAGS = $JPEG_CFLAGS
17542 JPEG_LIBS = $JPEG_LIBS
17543 PNG_CFLAGS = $PNG_CFLAGS
17544 PNG_LIBS = $PNG_LIBS
17545 TIFF_CFLAGS = $TIFF_CFLAGS
17546 TIFF_LIBS = $TIFF_LIBS
17547 MPG123_CFLAGS = $MPG123_CFLAGS
17548 MPG123_LIBS = $MPG123_LIBS
17549 KSTAT_LIBS = $KSTAT_LIBS
17550 PROCSTAT_LIBS = $PROCSTAT_LIBS
17551 NETAPI_CFLAGS = $NETAPI_CFLAGS
17552 NETAPI_LIBS = $NETAPI_LIBS
17553 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17554 DL_LIBS = $DL_LIBS
17555 POLL_LIBS = $POLL_LIBS
17556 RT_LIBS = $RT_LIBS
17557 LDAP_LIBS = $LDAP_LIBS
17562 wine_fn_append_rule "
17563 # Rules automatically generated by configure
17565 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17567 .INIT: Makefile
17568 .MAKEFILEDEPS:
17569 all: Makefile
17570 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17571 @./config.status Make.tmp Makefile
17572 depend: \$(MAKEDEP) dummy
17573 \$(MAKEDEP)"
17575 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17576 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17578 if test "x$enable_fonts" != xno; then
17579 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17580 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17581 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17582 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17583 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17584 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17586 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17587 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17588 ac_config_links="$ac_config_links wine:tools/winewrapper"
17589 wine_fn_config_symlink wine
17590 if test "x$enable_win64" != xno; then
17591 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17592 wine_fn_config_symlink wine64
17595 wine_fn_config_dll acledit enable_acledit
17596 wine_fn_config_dll aclui enable_aclui implib
17597 wine_fn_config_dll activeds enable_activeds implib
17598 wine_fn_config_dll actxprxy enable_actxprxy clean
17599 wine_fn_config_lib adsiid
17600 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17601 wine_fn_config_test dlls/advapi32/tests advapi32_test
17602 wine_fn_config_dll advpack enable_advpack implib
17603 wine_fn_config_test dlls/advpack/tests advpack_test
17604 wine_fn_config_dll amstream enable_amstream clean
17605 wine_fn_config_test dlls/amstream/tests amstream_test
17606 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17607 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17608 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17618 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17627 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17631 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17632 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17633 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17634 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17642 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17644 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17646 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17650 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17651 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17653 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17654 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17655 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17657 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17662 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17669 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17674 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17681 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17684 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17689 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17693 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17695 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17696 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17698 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17710 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17711 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17718 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17720 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17721 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17722 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17723 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17724 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17725 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17726 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17727 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17732 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17733 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17734 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17735 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17736 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17737 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17738 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17739 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17740 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17741 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17742 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17743 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17744 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17745 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17746 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17747 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17748 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17749 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17750 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17751 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17752 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17753 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17754 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17755 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17756 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17757 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17758 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17759 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17760 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17761 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17762 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17763 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17764 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17765 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17766 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17767 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17768 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17769 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17770 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17771 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17772 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17773 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17774 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17775 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17776 wine_fn_config_dll apphelp enable_apphelp
17777 wine_fn_config_test dlls/apphelp/tests apphelp_test
17778 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17779 wine_fn_config_dll atl enable_atl clean,implib
17780 wine_fn_config_test dlls/atl/tests atl_test
17781 wine_fn_config_dll atl100 enable_atl100 clean,implib
17782 wine_fn_config_test dlls/atl100/tests atl100_test
17783 wine_fn_config_dll atl110 enable_atl110 clean
17784 wine_fn_config_dll atl80 enable_atl80 clean,implib
17785 wine_fn_config_test dlls/atl80/tests atl80_test
17786 wine_fn_config_dll atl90 enable_atl90 clean
17787 wine_fn_config_dll authz enable_authz
17788 wine_fn_config_dll avicap32 enable_avicap32 implib
17789 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17790 wine_fn_config_test dlls/avifil32/tests avifil32_test
17791 wine_fn_config_dll avifile.dll16 enable_win16
17792 wine_fn_config_dll avrt enable_avrt implib
17793 wine_fn_config_dll bcrypt enable_bcrypt implib
17794 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17795 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17796 wine_fn_config_dll browseui enable_browseui clean
17797 wine_fn_config_test dlls/browseui/tests browseui_test
17798 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17799 wine_fn_config_dll cabinet enable_cabinet implib
17800 wine_fn_config_test dlls/cabinet/tests cabinet_test
17801 wine_fn_config_dll capi2032 enable_capi2032 implib
17802 wine_fn_config_dll cards enable_cards implib
17803 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17804 wine_fn_config_dll clusapi enable_clusapi implib
17805 wine_fn_config_dll combase enable_combase
17806 wine_fn_config_test dlls/combase/tests combase_test
17807 wine_fn_config_dll comcat enable_comcat
17808 wine_fn_config_test dlls/comcat/tests comcat_test
17809 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17810 wine_fn_config_test dlls/comctl32/tests comctl32_test
17811 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17812 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17813 wine_fn_config_dll comm.drv16 enable_win16
17814 wine_fn_config_dll commdlg.dll16 enable_win16
17815 wine_fn_config_dll compobj.dll16 enable_win16
17816 wine_fn_config_dll compstui enable_compstui implib
17817 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17818 wine_fn_config_dll concrt140 enable_concrt140
17819 wine_fn_config_dll connect enable_connect
17820 wine_fn_config_dll credui enable_credui clean,implib
17821 wine_fn_config_test dlls/credui/tests credui_test
17822 wine_fn_config_dll crtdll enable_crtdll
17823 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17824 wine_fn_config_test dlls/crypt32/tests crypt32_test
17825 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17826 wine_fn_config_dll cryptdll enable_cryptdll implib
17827 wine_fn_config_dll cryptext enable_cryptext
17828 wine_fn_config_dll cryptnet enable_cryptnet implib
17829 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17830 wine_fn_config_dll cryptui enable_cryptui clean,implib
17831 wine_fn_config_test dlls/cryptui/tests cryptui_test
17832 wine_fn_config_dll ctapi32 enable_ctapi32
17833 wine_fn_config_dll ctl3d.dll16 enable_win16
17834 wine_fn_config_dll ctl3d32 enable_ctl3d32
17835 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17836 wine_fn_config_dll d2d1 enable_d2d1 implib
17837 wine_fn_config_test dlls/d2d1/tests d2d1_test
17838 wine_fn_config_dll d3d10 enable_d3d10 implib
17839 wine_fn_config_test dlls/d3d10/tests d3d10_test
17840 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17841 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17842 wine_fn_config_dll d3d10core enable_d3d10core implib
17843 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17844 wine_fn_config_dll d3d11 enable_d3d11 implib
17845 wine_fn_config_test dlls/d3d11/tests d3d11_test
17846 wine_fn_config_dll d3d8 enable_d3d8 implib
17847 wine_fn_config_test dlls/d3d8/tests d3d8_test
17848 wine_fn_config_dll d3d9 enable_d3d9 implib
17849 wine_fn_config_test dlls/d3d9/tests d3d9_test
17850 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17851 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17852 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17853 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17854 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17855 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17856 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17857 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17858 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17859 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17860 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17861 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17862 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17863 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17864 wine_fn_config_dll d3dim enable_d3dim
17865 wine_fn_config_dll d3drm enable_d3drm implib
17866 wine_fn_config_test dlls/d3drm/tests d3drm_test
17867 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17868 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17869 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17870 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17871 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17872 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17873 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17874 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17875 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17876 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17877 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17878 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17879 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17880 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17881 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17882 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17883 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17884 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17885 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17886 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17887 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17888 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17889 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17890 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17891 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17892 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17893 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17894 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17895 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17896 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17897 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17898 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17899 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17900 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17901 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17902 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17903 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17904 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17905 wine_fn_config_dll davclnt enable_davclnt
17906 wine_fn_config_dll dbgeng enable_dbgeng implib
17907 wine_fn_config_dll dbghelp enable_dbghelp implib
17908 wine_fn_config_dll dciman32 enable_dciman32 implib
17909 wine_fn_config_dll ddeml.dll16 enable_win16
17910 wine_fn_config_dll ddraw enable_ddraw clean,implib
17911 wine_fn_config_test dlls/ddraw/tests ddraw_test
17912 wine_fn_config_dll ddrawex enable_ddrawex clean
17913 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17914 wine_fn_config_dll devenum enable_devenum clean
17915 wine_fn_config_test dlls/devenum/tests devenum_test
17916 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17917 wine_fn_config_dll difxapi enable_difxapi
17918 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17919 wine_fn_config_test dlls/dinput/tests dinput_test
17920 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17921 wine_fn_config_test dlls/dinput8/tests dinput8_test
17922 wine_fn_config_dll dispdib.dll16 enable_win16
17923 wine_fn_config_dll dispex enable_dispex clean
17924 wine_fn_config_test dlls/dispex/tests dispex_test
17925 wine_fn_config_dll display.drv16 enable_win16
17926 wine_fn_config_dll dmband enable_dmband clean
17927 wine_fn_config_test dlls/dmband/tests dmband_test
17928 wine_fn_config_dll dmcompos enable_dmcompos clean
17929 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17930 wine_fn_config_dll dmime enable_dmime clean
17931 wine_fn_config_test dlls/dmime/tests dmime_test
17932 wine_fn_config_dll dmloader enable_dmloader clean
17933 wine_fn_config_test dlls/dmloader/tests dmloader_test
17934 wine_fn_config_dll dmscript enable_dmscript clean
17935 wine_fn_config_test dlls/dmscript/tests dmscript_test
17936 wine_fn_config_dll dmstyle enable_dmstyle clean
17937 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17938 wine_fn_config_dll dmsynth enable_dmsynth clean
17939 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17940 wine_fn_config_dll dmusic enable_dmusic clean
17941 wine_fn_config_test dlls/dmusic/tests dmusic_test
17942 wine_fn_config_dll dmusic32 enable_dmusic32
17943 wine_fn_config_dll dnsapi enable_dnsapi implib
17944 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17945 wine_fn_config_dll dplay enable_dplay
17946 wine_fn_config_dll dplayx enable_dplayx clean,implib
17947 wine_fn_config_test dlls/dplayx/tests dplayx_test
17948 wine_fn_config_dll dpnaddr enable_dpnaddr
17949 wine_fn_config_dll dpnet enable_dpnet clean,implib
17950 wine_fn_config_test dlls/dpnet/tests dpnet_test
17951 wine_fn_config_dll dpnhpast enable_dpnhpast
17952 wine_fn_config_dll dpnlobby enable_dpnlobby
17953 wine_fn_config_dll dpvoice enable_dpvoice clean
17954 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17955 wine_fn_config_dll dpwsockx enable_dpwsockx
17956 wine_fn_config_dll drmclien enable_drmclien
17957 wine_fn_config_dll dsound enable_dsound clean,implib
17958 wine_fn_config_test dlls/dsound/tests dsound_test
17959 wine_fn_config_dll dssenh enable_dssenh
17960 wine_fn_config_test dlls/dssenh/tests dssenh_test
17961 wine_fn_config_dll dswave enable_dswave clean
17962 wine_fn_config_test dlls/dswave/tests dswave_test
17963 wine_fn_config_dll dwmapi enable_dwmapi implib
17964 wine_fn_config_dll dwrite enable_dwrite implib
17965 wine_fn_config_test dlls/dwrite/tests dwrite_test
17966 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17967 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17968 wine_fn_config_lib dxerr8
17969 wine_fn_config_lib dxerr9
17970 wine_fn_config_dll dxgi enable_dxgi implib
17971 wine_fn_config_test dlls/dxgi/tests dxgi_test
17972 wine_fn_config_lib dxguid
17973 wine_fn_config_dll dxva2 enable_dxva2
17974 wine_fn_config_dll esent enable_esent
17975 wine_fn_config_dll evr enable_evr
17976 wine_fn_config_dll explorerframe enable_explorerframe clean
17977 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17978 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17979 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17980 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17981 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17982 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17983 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17984 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17985 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17986 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17987 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17988 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17989 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17990 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17991 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17992 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
17993 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17994 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17995 wine_fn_config_dll faultrep enable_faultrep implib
17996 wine_fn_config_test dlls/faultrep/tests faultrep_test
17997 wine_fn_config_dll fltlib enable_fltlib
17998 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17999 wine_fn_config_dll fntcache enable_fntcache
18000 wine_fn_config_dll fontsub enable_fontsub
18001 wine_fn_config_dll fusion enable_fusion
18002 wine_fn_config_test dlls/fusion/tests fusion_test
18003 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18004 wine_fn_config_dll gameux enable_gameux clean
18005 wine_fn_config_test dlls/gameux/tests gameux_test
18006 wine_fn_config_dll gdi.exe16 enable_win16
18007 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18008 wine_fn_config_test dlls/gdi32/tests gdi32_test
18009 wine_fn_config_dll gdiplus enable_gdiplus implib
18010 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18011 wine_fn_config_dll glu32 enable_glu32 implib
18012 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18013 wine_fn_config_dll gpkcsp enable_gpkcsp
18014 wine_fn_config_dll hal enable_hal
18015 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18016 wine_fn_config_dll hid enable_hid implib
18017 wine_fn_config_test dlls/hid/tests hid_test
18018 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18019 wine_fn_config_dll hlink enable_hlink clean,implib
18020 wine_fn_config_test dlls/hlink/tests hlink_test
18021 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18022 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18023 wine_fn_config_dll httpapi enable_httpapi
18024 wine_fn_config_dll iccvid enable_iccvid clean
18025 wine_fn_config_dll icmp enable_icmp
18026 wine_fn_config_dll ieframe enable_ieframe clean,implib
18027 wine_fn_config_test dlls/ieframe/tests ieframe_test
18028 wine_fn_config_dll ifsmgr.vxd enable_win16
18029 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18030 wine_fn_config_dll imagehlp enable_imagehlp implib
18031 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18032 wine_fn_config_dll imm.dll16 enable_win16
18033 wine_fn_config_dll imm32 enable_imm32 implib
18034 wine_fn_config_test dlls/imm32/tests imm32_test
18035 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18036 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18037 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18038 wine_fn_config_dll inetmib1 enable_inetmib1
18039 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18040 wine_fn_config_dll infosoft enable_infosoft clean
18041 wine_fn_config_test dlls/infosoft/tests infosoft_test
18042 wine_fn_config_dll initpki enable_initpki
18043 wine_fn_config_dll inkobj enable_inkobj
18044 wine_fn_config_dll inseng enable_inseng clean
18045 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18046 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18047 wine_fn_config_dll iprop enable_iprop
18048 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18049 wine_fn_config_dll itircl enable_itircl
18050 wine_fn_config_dll itss enable_itss clean
18051 wine_fn_config_test dlls/itss/tests itss_test
18052 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18053 wine_fn_config_dll jscript enable_jscript clean
18054 wine_fn_config_test dlls/jscript/tests jscript_test
18055 wine_fn_config_dll jsproxy enable_jsproxy implib
18056 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18057 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18058 wine_fn_config_test dlls/kernel32/tests kernel32_test
18059 wine_fn_config_dll kernelbase enable_kernelbase
18060 wine_fn_config_dll keyboard.drv16 enable_win16
18061 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18062 wine_fn_config_dll ksuser enable_ksuser
18063 wine_fn_config_dll ktmw32 enable_ktmw32
18064 wine_fn_config_dll loadperf enable_loadperf implib
18065 wine_fn_config_dll localspl enable_localspl clean
18066 wine_fn_config_test dlls/localspl/tests localspl_test
18067 wine_fn_config_dll localui enable_localui clean
18068 wine_fn_config_test dlls/localui/tests localui_test
18069 wine_fn_config_dll lz32 enable_lz32 implib
18070 wine_fn_config_test dlls/lz32/tests lz32_test
18071 wine_fn_config_dll lzexpand.dll16 enable_win16
18072 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18073 wine_fn_config_test dlls/mapi32/tests mapi32_test
18074 wine_fn_config_dll mapistub enable_mapistub
18075 wine_fn_config_dll mciavi32 enable_mciavi32
18076 wine_fn_config_dll mcicda enable_mcicda
18077 wine_fn_config_dll mciqtz32 enable_mciqtz32
18078 wine_fn_config_dll mciseq enable_mciseq
18079 wine_fn_config_dll mciwave enable_mciwave
18080 wine_fn_config_dll mf enable_mf
18081 wine_fn_config_dll mf3216 enable_mf3216
18082 wine_fn_config_dll mfplat enable_mfplat
18083 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18084 wine_fn_config_dll mgmtapi enable_mgmtapi
18085 wine_fn_config_dll midimap enable_midimap
18086 wine_fn_config_dll mlang enable_mlang clean,implib
18087 wine_fn_config_test dlls/mlang/tests mlang_test
18088 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18089 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18090 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18091 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18092 wine_fn_config_dll mmdevldr.vxd enable_win16
18093 wine_fn_config_dll mmsystem.dll16 enable_win16
18094 wine_fn_config_dll monodebg.vxd enable_win16
18095 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18096 wine_fn_config_dll mouse.drv16 enable_win16
18097 wine_fn_config_dll mpr enable_mpr clean,implib
18098 wine_fn_config_test dlls/mpr/tests mpr_test
18099 wine_fn_config_dll mprapi enable_mprapi implib
18100 wine_fn_config_dll msacm.dll16 enable_win16
18101 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18102 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18103 wine_fn_config_test dlls/msacm32/tests msacm32_test
18104 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18105 wine_fn_config_dll msasn1 enable_msasn1 implib
18106 wine_fn_config_dll mscat32 enable_mscat32
18107 wine_fn_config_dll mscms enable_mscms implib
18108 wine_fn_config_test dlls/mscms/tests mscms_test
18109 wine_fn_config_dll mscoree enable_mscoree clean
18110 wine_fn_config_test dlls/mscoree/tests mscoree_test
18111 wine_fn_config_dll msctf enable_msctf clean
18112 wine_fn_config_test dlls/msctf/tests msctf_test
18113 wine_fn_config_dll msctfp enable_msctfp clean
18114 wine_fn_config_dll msdaps enable_msdaps clean
18115 wine_fn_config_dll msdelta enable_msdelta
18116 wine_fn_config_dll msdmo enable_msdmo implib
18117 wine_fn_config_test dlls/msdmo/tests msdmo_test
18118 wine_fn_config_dll msdrm enable_msdrm
18119 wine_fn_config_dll msftedit enable_msftedit
18120 wine_fn_config_dll msg711.acm enable_msg711_acm
18121 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18122 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18123 wine_fn_config_dll mshtml enable_mshtml clean,implib
18124 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18125 wine_fn_config_dll msi enable_msi clean,implib
18126 wine_fn_config_test dlls/msi/tests msi_test
18127 wine_fn_config_dll msident enable_msident clean
18128 wine_fn_config_dll msimg32 enable_msimg32 implib
18129 wine_fn_config_dll msimsg enable_msimsg
18130 wine_fn_config_dll msimtf enable_msimtf clean
18131 wine_fn_config_dll msisip enable_msisip
18132 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18133 wine_fn_config_dll msls31 enable_msls31
18134 wine_fn_config_dll msnet32 enable_msnet32
18135 wine_fn_config_dll mspatcha enable_mspatcha implib
18136 wine_fn_config_dll msports enable_msports
18137 wine_fn_config_dll msrle32 enable_msrle32 clean
18138 wine_fn_config_test dlls/msrle32/tests msrle32_test
18139 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18140 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18141 wine_fn_config_dll mssign32 enable_mssign32
18142 wine_fn_config_dll mssip32 enable_mssip32
18143 wine_fn_config_dll mstask enable_mstask clean
18144 wine_fn_config_test dlls/mstask/tests mstask_test
18145 wine_fn_config_dll msvcirt enable_msvcirt
18146 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18147 wine_fn_config_dll msvcm80 enable_msvcm80
18148 wine_fn_config_dll msvcm90 enable_msvcm90
18149 wine_fn_config_dll msvcp100 enable_msvcp100
18150 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18151 wine_fn_config_dll msvcp110 enable_msvcp110
18152 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18153 wine_fn_config_dll msvcp120 enable_msvcp120
18154 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18155 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18156 wine_fn_config_dll msvcp140 enable_msvcp140
18157 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18158 wine_fn_config_dll msvcp60 enable_msvcp60
18159 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18160 wine_fn_config_dll msvcp70 enable_msvcp70
18161 wine_fn_config_dll msvcp71 enable_msvcp71
18162 wine_fn_config_dll msvcp80 enable_msvcp80
18163 wine_fn_config_dll msvcp90 enable_msvcp90
18164 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18165 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18166 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18167 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18168 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18169 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18170 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18171 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18172 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18173 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18174 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18175 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18176 wine_fn_config_dll msvcrt enable_msvcrt implib
18177 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18178 wine_fn_config_dll msvcrt20 enable_msvcrt20
18179 wine_fn_config_dll msvcrt40 enable_msvcrt40
18180 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18181 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18182 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18183 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18184 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18185 wine_fn_config_dll msvideo.dll16 enable_win16
18186 wine_fn_config_dll mswsock enable_mswsock implib
18187 wine_fn_config_dll msxml enable_msxml clean
18188 wine_fn_config_dll msxml2 enable_msxml2 clean
18189 wine_fn_config_dll msxml3 enable_msxml3 clean
18190 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18191 wine_fn_config_dll msxml4 enable_msxml4 clean
18192 wine_fn_config_dll msxml6 enable_msxml6 clean
18193 wine_fn_config_dll mtxdm enable_mtxdm
18194 wine_fn_config_dll ncrypt enable_ncrypt
18195 wine_fn_config_dll nddeapi enable_nddeapi implib
18196 wine_fn_config_dll ndis.sys enable_ndis_sys
18197 wine_fn_config_dll netapi32 enable_netapi32 implib
18198 wine_fn_config_test dlls/netapi32/tests netapi32_test
18199 wine_fn_config_dll netcfgx enable_netcfgx clean
18200 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18201 wine_fn_config_dll netprofm enable_netprofm clean
18202 wine_fn_config_test dlls/netprofm/tests netprofm_test
18203 wine_fn_config_dll newdev enable_newdev implib
18204 wine_fn_config_dll normaliz enable_normaliz implib
18205 wine_fn_config_dll npmshtml enable_npmshtml
18206 wine_fn_config_dll npptools enable_npptools
18207 wine_fn_config_dll ntdll enable_ntdll implib
18208 wine_fn_config_test dlls/ntdll/tests ntdll_test
18209 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18210 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18211 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18212 wine_fn_config_dll ntprint enable_ntprint
18213 wine_fn_config_test dlls/ntprint/tests ntprint_test
18214 wine_fn_config_dll objsel enable_objsel clean
18215 wine_fn_config_dll odbc32 enable_odbc32 implib
18216 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18217 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18218 wine_fn_config_dll odbccu32 enable_odbccu32
18219 wine_fn_config_dll ole2.dll16 enable_win16
18220 wine_fn_config_dll ole2conv.dll16 enable_win16
18221 wine_fn_config_dll ole2disp.dll16 enable_win16
18222 wine_fn_config_dll ole2nls.dll16 enable_win16
18223 wine_fn_config_dll ole2prox.dll16 enable_win16
18224 wine_fn_config_dll ole2thk.dll16 enable_win16
18225 wine_fn_config_dll ole32 enable_ole32 clean,implib
18226 wine_fn_config_test dlls/ole32/tests ole32_test
18227 wine_fn_config_dll oleacc enable_oleacc clean,implib
18228 wine_fn_config_test dlls/oleacc/tests oleacc_test
18229 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18230 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18231 wine_fn_config_dll olecli.dll16 enable_win16
18232 wine_fn_config_dll olecli32 enable_olecli32 implib
18233 wine_fn_config_dll oledb32 enable_oledb32 clean
18234 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18235 wine_fn_config_dll oledlg enable_oledlg clean,implib
18236 wine_fn_config_test dlls/oledlg/tests oledlg_test
18237 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18238 wine_fn_config_dll olesvr.dll16 enable_win16
18239 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18240 wine_fn_config_dll olethk32 enable_olethk32
18241 wine_fn_config_dll openal32 enable_openal32
18242 wine_fn_config_dll opencl enable_opencl
18243 wine_fn_config_dll opengl32 enable_opengl32 implib
18244 wine_fn_config_test dlls/opengl32/tests opengl32_test
18245 wine_fn_config_dll packager enable_packager clean
18246 wine_fn_config_test dlls/packager/tests packager_test
18247 wine_fn_config_dll pdh enable_pdh implib
18248 wine_fn_config_test dlls/pdh/tests pdh_test
18249 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18250 wine_fn_config_dll pidgen enable_pidgen
18251 wine_fn_config_dll powrprof enable_powrprof implib
18252 wine_fn_config_dll printui enable_printui
18253 wine_fn_config_dll prntvpt enable_prntvpt
18254 wine_fn_config_dll propsys enable_propsys clean,implib
18255 wine_fn_config_test dlls/propsys/tests propsys_test
18256 wine_fn_config_dll psapi enable_psapi implib
18257 wine_fn_config_test dlls/psapi/tests psapi_test
18258 wine_fn_config_dll pstorec enable_pstorec clean
18259 wine_fn_config_test dlls/pstorec/tests pstorec_test
18260 wine_fn_config_dll qcap enable_qcap
18261 wine_fn_config_test dlls/qcap/tests qcap_test
18262 wine_fn_config_dll qedit enable_qedit clean
18263 wine_fn_config_test dlls/qedit/tests qedit_test
18264 wine_fn_config_dll qmgr enable_qmgr clean
18265 wine_fn_config_test dlls/qmgr/tests qmgr_test
18266 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18267 wine_fn_config_dll quartz enable_quartz clean,implib
18268 wine_fn_config_test dlls/quartz/tests quartz_test clean
18269 wine_fn_config_dll query enable_query
18270 wine_fn_config_dll rasapi16.dll16 enable_win16
18271 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18272 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18273 wine_fn_config_dll rasdlg enable_rasdlg implib
18274 wine_fn_config_dll regapi enable_regapi
18275 wine_fn_config_dll resutils enable_resutils implib
18276 wine_fn_config_dll riched20 enable_riched20 clean,implib
18277 wine_fn_config_test dlls/riched20/tests riched20_test
18278 wine_fn_config_dll riched32 enable_riched32
18279 wine_fn_config_test dlls/riched32/tests riched32_test
18280 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18281 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18282 wine_fn_config_dll rsabase enable_rsabase
18283 wine_fn_config_dll rsaenh enable_rsaenh implib
18284 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18285 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18286 wine_fn_config_dll rtutils enable_rtutils implib
18287 wine_fn_config_dll samlib enable_samlib
18288 wine_fn_config_dll sane.ds enable_sane_ds clean
18289 wine_fn_config_dll scarddlg enable_scarddlg
18290 wine_fn_config_dll sccbase enable_sccbase
18291 wine_fn_config_dll schannel enable_schannel
18292 wine_fn_config_test dlls/schannel/tests schannel_test
18293 wine_fn_config_dll schedsvc enable_schedsvc clean
18294 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18295 wine_fn_config_dll scrobj enable_scrobj clean
18296 wine_fn_config_dll scrrun enable_scrrun clean
18297 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18298 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18299 wine_fn_config_dll secur32 enable_secur32 implib
18300 wine_fn_config_test dlls/secur32/tests secur32_test
18301 wine_fn_config_dll security enable_security
18302 wine_fn_config_dll sensapi enable_sensapi implib
18303 wine_fn_config_dll serialui enable_serialui clean
18304 wine_fn_config_test dlls/serialui/tests serialui_test
18305 wine_fn_config_dll setupapi enable_setupapi clean,implib
18306 wine_fn_config_test dlls/setupapi/tests setupapi_test
18307 wine_fn_config_dll setupx.dll16 enable_win16
18308 wine_fn_config_dll sfc enable_sfc implib
18309 wine_fn_config_dll sfc_os enable_sfc_os implib
18310 wine_fn_config_dll shdoclc enable_shdoclc clean
18311 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18312 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18313 wine_fn_config_dll shell.dll16 enable_win16
18314 wine_fn_config_dll shell32 enable_shell32 clean,implib
18315 wine_fn_config_test dlls/shell32/tests shell32_test
18316 wine_fn_config_dll shfolder enable_shfolder implib
18317 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18318 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18319 wine_fn_config_dll slbcsp enable_slbcsp
18320 wine_fn_config_dll slc enable_slc implib
18321 wine_fn_config_test dlls/slc/tests slc_test
18322 wine_fn_config_dll snmpapi enable_snmpapi implib
18323 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18324 wine_fn_config_dll softpub enable_softpub
18325 wine_fn_config_dll sound.drv16 enable_win16
18326 wine_fn_config_dll spoolss enable_spoolss implib
18327 wine_fn_config_test dlls/spoolss/tests spoolss_test
18328 wine_fn_config_dll sspicli enable_sspicli
18329 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18330 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18331 wine_fn_config_dll sti enable_sti clean,implib
18332 wine_fn_config_test dlls/sti/tests sti_test
18333 wine_fn_config_dll storage.dll16 enable_win16
18334 wine_fn_config_dll stress.dll16 enable_win16
18335 wine_fn_config_lib strmbase
18336 wine_fn_config_lib strmiids
18337 wine_fn_config_dll svrapi enable_svrapi
18338 wine_fn_config_dll sxs enable_sxs implib
18339 wine_fn_config_test dlls/sxs/tests sxs_test
18340 wine_fn_config_dll system.drv16 enable_win16
18341 wine_fn_config_dll t2embed enable_t2embed implib
18342 wine_fn_config_test dlls/t2embed/tests t2embed_test
18343 wine_fn_config_dll tapi32 enable_tapi32 implib
18344 wine_fn_config_dll taskschd enable_taskschd clean
18345 wine_fn_config_test dlls/taskschd/tests taskschd_test
18346 wine_fn_config_dll tdi.sys enable_tdi_sys
18347 wine_fn_config_dll toolhelp.dll16 enable_win16
18348 wine_fn_config_dll traffic enable_traffic
18349 wine_fn_config_dll twain.dll16 enable_win16
18350 wine_fn_config_dll twain_32 enable_twain_32
18351 wine_fn_config_test dlls/twain_32/tests twain_32_test
18352 wine_fn_config_dll typelib.dll16 enable_win16
18353 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18354 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18355 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18356 wine_fn_config_dll unicows enable_unicows implib
18357 wine_fn_config_dll updspapi enable_updspapi
18358 wine_fn_config_dll url enable_url implib
18359 wine_fn_config_dll urlmon enable_urlmon clean,implib
18360 wine_fn_config_test dlls/urlmon/tests urlmon_test
18361 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18362 wine_fn_config_dll user.exe16 enable_win16
18363 wine_fn_config_dll user32 enable_user32 clean,implib
18364 wine_fn_config_test dlls/user32/tests user32_test
18365 wine_fn_config_dll userenv enable_userenv implib
18366 wine_fn_config_test dlls/userenv/tests userenv_test
18367 wine_fn_config_dll usp10 enable_usp10 implib
18368 wine_fn_config_test dlls/usp10/tests usp10_test
18369 wine_fn_config_lib uuid
18370 wine_fn_config_dll uxtheme enable_uxtheme implib
18371 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18372 wine_fn_config_dll vbscript enable_vbscript clean
18373 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18374 wine_fn_config_dll vcomp enable_vcomp
18375 wine_fn_config_test dlls/vcomp/tests vcomp_test
18376 wine_fn_config_dll vcomp100 enable_vcomp100
18377 wine_fn_config_dll vcomp110 enable_vcomp110
18378 wine_fn_config_dll vcomp120 enable_vcomp120
18379 wine_fn_config_dll vcomp140 enable_vcomp140
18380 wine_fn_config_dll vcomp90 enable_vcomp90
18381 wine_fn_config_dll vcruntime140 enable_vcruntime140
18382 wine_fn_config_dll vdhcp.vxd enable_win16
18383 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18384 wine_fn_config_dll ver.dll16 enable_win16
18385 wine_fn_config_dll version enable_version implib
18386 wine_fn_config_test dlls/version/tests version_test
18387 wine_fn_config_dll virtdisk enable_virtdisk
18388 wine_fn_config_dll vmm.vxd enable_win16
18389 wine_fn_config_dll vnbt.vxd enable_win16
18390 wine_fn_config_dll vnetbios.vxd enable_win16
18391 wine_fn_config_dll vssapi enable_vssapi
18392 wine_fn_config_dll vtdapi.vxd enable_win16
18393 wine_fn_config_dll vwin32.vxd enable_win16
18394 wine_fn_config_dll w32skrnl enable_win16
18395 wine_fn_config_dll w32sys.dll16 enable_win16
18396 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18397 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18398 wine_fn_config_dll wbemprox enable_wbemprox clean
18399 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18400 wine_fn_config_dll webservices enable_webservices implib
18401 wine_fn_config_test dlls/webservices/tests webservices_test
18402 wine_fn_config_dll wer enable_wer implib
18403 wine_fn_config_test dlls/wer/tests wer_test
18404 wine_fn_config_dll wevtapi enable_wevtapi
18405 wine_fn_config_dll wiaservc enable_wiaservc clean
18406 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18407 wine_fn_config_dll wimgapi enable_wimgapi
18408 wine_fn_config_dll win32s16.dll16 enable_win16
18409 wine_fn_config_dll win87em.dll16 enable_win16
18410 wine_fn_config_dll winaspi.dll16 enable_win16
18411 wine_fn_config_dll windebug.dll16 enable_win16
18412 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18413 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18414 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18415 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18416 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18417 wine_fn_config_dll winebus.sys enable_winebus_sys
18418 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18419 wine_fn_config_lib winecrt0
18420 wine_fn_config_dll wined3d enable_wined3d implib
18421 wine_fn_config_dll winegstreamer enable_winegstreamer
18422 wine_fn_config_dll winehid.sys enable_winehid_sys
18423 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18424 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18425 wine_fn_config_dll winemapi enable_winemapi
18426 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18427 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18428 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18429 wine_fn_config_dll wineps16.drv16 enable_win16
18430 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18431 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18432 wine_fn_config_dll winex11.drv enable_winex11_drv
18433 wine_fn_config_dll wing.dll16 enable_win16
18434 wine_fn_config_dll wing32 enable_wing32
18435 wine_fn_config_dll winhttp enable_winhttp clean,implib
18436 wine_fn_config_test dlls/winhttp/tests winhttp_test
18437 wine_fn_config_dll wininet enable_wininet clean,implib
18438 wine_fn_config_test dlls/wininet/tests wininet_test
18439 wine_fn_config_dll winmm enable_winmm clean,implib
18440 wine_fn_config_test dlls/winmm/tests winmm_test
18441 wine_fn_config_dll winnls.dll16 enable_win16
18442 wine_fn_config_dll winnls32 enable_winnls32 implib
18443 wine_fn_config_dll winscard enable_winscard implib
18444 wine_fn_config_dll winsock.dll16 enable_win16
18445 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18446 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18447 wine_fn_config_dll winsta enable_winsta
18448 wine_fn_config_dll wintab.dll16 enable_win16
18449 wine_fn_config_dll wintab32 enable_wintab32 implib
18450 wine_fn_config_test dlls/wintab32/tests wintab32_test
18451 wine_fn_config_dll wintrust enable_wintrust implib
18452 wine_fn_config_test dlls/wintrust/tests wintrust_test
18453 wine_fn_config_dll winusb enable_winusb
18454 wine_fn_config_dll wlanapi enable_wlanapi implib
18455 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18456 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18457 wine_fn_config_test dlls/wldap32/tests wldap32_test
18458 wine_fn_config_dll wmasf enable_wmasf
18459 wine_fn_config_dll wmi enable_wmi
18460 wine_fn_config_dll wmiutils enable_wmiutils clean
18461 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18462 wine_fn_config_dll wmp enable_wmp clean
18463 wine_fn_config_test dlls/wmp/tests wmp_test
18464 wine_fn_config_dll wmvcore enable_wmvcore implib
18465 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18466 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18467 wine_fn_config_dll wow32 enable_win16 implib
18468 wine_fn_config_dll wpc enable_wpc clean
18469 wine_fn_config_test dlls/wpc/tests wpc_test
18470 wine_fn_config_dll wpcap enable_wpcap
18471 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18472 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18473 wine_fn_config_dll wsdapi enable_wsdapi implib
18474 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18475 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18476 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18477 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18478 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18479 wine_fn_config_dll wsock32 enable_wsock32 implib
18480 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18481 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18482 wine_fn_config_dll wuapi enable_wuapi clean
18483 wine_fn_config_dll wuaueng enable_wuaueng
18484 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18485 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18486 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18487 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18488 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18489 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18490 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18491 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18492 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18493 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18494 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18495 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18496 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18497 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18498 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18499 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18500 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18501 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18502 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18503 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18504 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18505 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18506 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18507 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18508 wine_fn_config_dll xinput1_1 enable_xinput1_1
18509 wine_fn_config_dll xinput1_2 enable_xinput1_2
18510 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18511 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18512 wine_fn_config_dll xinput1_4 enable_xinput1_4
18513 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18514 wine_fn_config_dll xmllite enable_xmllite implib
18515 wine_fn_config_test dlls/xmllite/tests xmllite_test
18516 wine_fn_config_dll xolehlp enable_xolehlp
18517 wine_fn_config_dll xpsprint enable_xpsprint
18518 wine_fn_config_dll xpssvcs enable_xpssvcs
18519 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18520 wine_fn_config_makefile include enable_include clean,install-dev
18521 wine_fn_config_makefile libs/port enable_libs_port
18522 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18523 wine_fn_config_makefile libs/wpp enable_libs_wpp
18524 wine_fn_config_makefile loader enable_loader clean,install-lib
18525 wine_fn_config_makefile po enable_po clean
18526 wine_fn_config_program arp enable_arp install
18527 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18528 wine_fn_config_program attrib enable_attrib clean,install
18529 wine_fn_config_program cabarc enable_cabarc install
18530 wine_fn_config_program cacls enable_cacls install
18531 wine_fn_config_program clock enable_clock clean,install
18532 wine_fn_config_program cmd enable_cmd clean,install
18533 wine_fn_config_test programs/cmd/tests cmd.exe_test
18534 wine_fn_config_program conhost enable_conhost install
18535 wine_fn_config_program control enable_control install
18536 wine_fn_config_program cscript enable_cscript clean,install
18537 wine_fn_config_program dpnsvr enable_dpnsvr install
18538 wine_fn_config_program dxdiag enable_dxdiag clean,install
18539 wine_fn_config_program eject enable_eject install
18540 wine_fn_config_program expand enable_expand install
18541 wine_fn_config_program explorer enable_explorer clean,install
18542 wine_fn_config_program extrac32 enable_extrac32 install
18543 wine_fn_config_program findstr enable_findstr install
18544 wine_fn_config_program fsutil enable_fsutil install
18545 wine_fn_config_program hh enable_hh install
18546 wine_fn_config_program hostname enable_hostname clean,install
18547 wine_fn_config_program icacls enable_icacls install
18548 wine_fn_config_program icinfo enable_icinfo install
18549 wine_fn_config_program iexplore enable_iexplore install
18550 wine_fn_config_program ipconfig enable_ipconfig clean,install
18551 wine_fn_config_program lodctr enable_lodctr install
18552 wine_fn_config_program mofcomp enable_mofcomp install
18553 wine_fn_config_program mshta enable_mshta install
18554 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18555 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18556 wine_fn_config_program net enable_net clean,install
18557 wine_fn_config_program netsh enable_netsh install
18558 wine_fn_config_program netstat enable_netstat clean,install
18559 wine_fn_config_program ngen enable_ngen install
18560 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18561 wine_fn_config_program oleview enable_oleview clean,install
18562 wine_fn_config_program ping enable_ping install
18563 wine_fn_config_program plugplay enable_plugplay install
18564 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18565 wine_fn_config_program progman enable_progman clean,install
18566 wine_fn_config_program reg enable_reg clean,install
18567 wine_fn_config_test programs/reg/tests reg.exe_test
18568 wine_fn_config_program regasm enable_regasm install
18569 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18570 wine_fn_config_test programs/regedit/tests regedit.exe_test
18571 wine_fn_config_program regsvcs enable_regsvcs install
18572 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18573 wine_fn_config_program rpcss enable_rpcss clean,install
18574 wine_fn_config_program rundll.exe16 enable_win16 install
18575 wine_fn_config_program rundll32 enable_rundll32 install
18576 wine_fn_config_program sc enable_sc install
18577 wine_fn_config_program schtasks enable_schtasks install
18578 wine_fn_config_program sdbinst enable_sdbinst install
18579 wine_fn_config_program secedit enable_secedit install
18580 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18581 wine_fn_config_program services enable_services clean,install
18582 wine_fn_config_test programs/services/tests services.exe_test
18583 wine_fn_config_program shutdown enable_shutdown install
18584 wine_fn_config_program spoolsv enable_spoolsv install
18585 wine_fn_config_program start enable_start clean,install
18586 wine_fn_config_program subst enable_subst install
18587 wine_fn_config_program svchost enable_svchost install
18588 wine_fn_config_program systeminfo enable_systeminfo install
18589 wine_fn_config_program taskkill enable_taskkill clean,install
18590 wine_fn_config_program tasklist enable_tasklist install
18591 wine_fn_config_program taskmgr enable_taskmgr clean,install
18592 wine_fn_config_program termsv enable_termsv install
18593 wine_fn_config_program uninstaller enable_uninstaller clean,install
18594 wine_fn_config_program unlodctr enable_unlodctr install
18595 wine_fn_config_program view enable_view clean,install
18596 wine_fn_config_program wevtutil enable_wevtutil install
18597 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18598 wine_fn_config_program winebrowser enable_winebrowser install
18599 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18600 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18601 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18602 wine_fn_config_program winedevice enable_winedevice install
18603 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18604 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18605 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18606 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18607 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18608 wine_fn_config_program winetest enable_winetest clean
18609 wine_fn_config_program winevdm enable_win16 install
18610 wine_fn_config_program winhelp.exe16 enable_win16 install
18611 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18612 wine_fn_config_program winoldap.mod16 enable_win16 install
18613 wine_fn_config_program winver enable_winver install
18614 wine_fn_config_program wmic enable_wmic clean,install
18615 wine_fn_config_program wmplayer enable_wmplayer install
18616 wine_fn_config_program wordpad enable_wordpad clean,install
18617 wine_fn_config_program write enable_write clean,install
18618 wine_fn_config_program wscript enable_wscript clean,install
18619 wine_fn_config_test programs/wscript/tests wscript.exe_test
18620 wine_fn_config_program wusa enable_wusa install
18621 wine_fn_config_program xcopy enable_xcopy clean,install
18622 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18623 wine_fn_config_makefile server enable_server clean,install-lib
18624 wine_fn_config_tool tools clean
18625 wine_fn_config_tool tools/sfnt2fon clean
18626 wine_fn_config_tool tools/widl clean,install-dev
18627 wine_fn_config_tool tools/winebuild clean,install-dev
18628 wine_fn_config_tool tools/winedump clean,install-dev
18629 wine_fn_config_tool tools/winegcc clean,install-dev
18630 wine_fn_config_tool tools/winemaker clean,install-dev
18631 wine_fn_config_tool tools/wmc clean,install-dev
18632 wine_fn_config_tool tools/wrc clean,install-dev
18635 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18636 wine_fn_append_file CONFIGURE_TARGETS "tags"
18637 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18638 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18639 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18640 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18641 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18642 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18644 if test "x$enable_tools" != xno
18645 then
18646 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18647 ac_config_commands="$ac_config_commands tools/makedep"
18651 ac_config_commands="$ac_config_commands Makefile"
18654 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18658 if test "x$enable_maintainer_mode" = xyes
18659 then
18660 wine_fn_append_rule "configure: configure.ac aclocal.m4
18661 autoconf --warnings=all
18662 include/config.h.in: include/stamp-h.in
18663 include/stamp-h.in: configure.ac aclocal.m4
18664 autoheader --warnings=all
18665 @echo timestamp > \$@"
18668 if test "x$enable_tools" != xno
18669 then
18670 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18671 @./config.status tools/makedep
18672 Makefile: tools/makedep$ac_exeext"
18673 else
18674 wine_fn_append_rule "\$(MAKEDEP):
18675 @echo \"You need to run make in $TOOLSDIR first\" && false"
18678 if test -n "$with_wine64"
18679 then
18680 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18681 fonts server:
18682 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18683 $with_wine64/loader/wine:
18684 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18685 $with_wine64/loader/wine-preloader:
18686 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18687 clean::
18688 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18689 else
18690 WINELOADER_INSTALL="wine.inf"
18692 wine_fn_append_rule "install install-lib::
18693 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18694 uninstall::
18695 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18696 case $host_os in
18697 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18698 *) wine_fn_append_rule "install install-lib::
18699 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18700 uninstall::
18701 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18702 esac
18705 $as_echo " done" >&6
18706 cat >confcache <<\_ACEOF
18707 # This file is a shell script that caches the results of configure
18708 # tests run on this system so they can be shared between configure
18709 # scripts and configure runs, see configure's option --config-cache.
18710 # It is not useful on other systems. If it contains results you don't
18711 # want to keep, you may remove or edit it.
18713 # config.status only pays attention to the cache file if you give it
18714 # the --recheck option to rerun configure.
18716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18718 # following values.
18720 _ACEOF
18722 # The following way of writing the cache mishandles newlines in values,
18723 # but we know of no workaround that is simple, portable, and efficient.
18724 # So, we kill variables containing newlines.
18725 # Ultrix sh set writes to stderr and can't be redirected directly,
18726 # and sets the high bit in the cache file unless we assign to the vars.
18728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18729 eval ac_val=\$$ac_var
18730 case $ac_val in #(
18731 *${as_nl}*)
18732 case $ac_var in #(
18733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18735 esac
18736 case $ac_var in #(
18737 _ | IFS | as_nl) ;; #(
18738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18739 *) { eval $ac_var=; unset $ac_var;} ;;
18740 esac ;;
18741 esac
18742 done
18744 (set) 2>&1 |
18745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18746 *${as_nl}ac_space=\ *)
18747 # `set' does not quote correctly, so add quotes: double-quote
18748 # substitution turns \\\\ into \\, and sed turns \\ into \.
18749 sed -n \
18750 "s/'/'\\\\''/g;
18751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18752 ;; #(
18754 # `set' quotes correctly as required by POSIX, so do not add quotes.
18755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18757 esac |
18758 sort
18760 sed '
18761 /^ac_cv_env_/b end
18762 t clear
18763 :clear
18764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18765 t end
18766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18767 :end' >>confcache
18768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18769 if test -w "$cache_file"; then
18770 if test "x$cache_file" != "x/dev/null"; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18772 $as_echo "$as_me: updating cache $cache_file" >&6;}
18773 if test ! -f "$cache_file" || test -h "$cache_file"; then
18774 cat confcache >"$cache_file"
18775 else
18776 case $cache_file in #(
18777 */* | ?:*)
18778 mv -f confcache "$cache_file"$$ &&
18779 mv -f "$cache_file"$$ "$cache_file" ;; #(
18781 mv -f confcache "$cache_file" ;;
18782 esac
18785 else
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18790 rm -f confcache
18792 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18793 # Let make expand exec_prefix.
18794 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18796 DEFS=-DHAVE_CONFIG_H
18798 ac_libobjs=
18799 ac_ltlibobjs=
18801 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18802 # 1. Remove the extension, and $U if already installed.
18803 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18804 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18806 # will be set to the directory where LIBOBJS objects are built.
18807 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18808 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18809 done
18810 LIBOBJS=$ac_libobjs
18812 LTLIBOBJS=$ac_ltlibobjs
18816 : "${CONFIG_STATUS=./config.status}"
18817 ac_write_fail=0
18818 ac_clean_files_save=$ac_clean_files
18819 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18821 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18822 as_write_fail=0
18823 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18824 #! $SHELL
18825 # Generated by $as_me.
18826 # Run this file to recreate the current configuration.
18827 # Compiler output produced by configure, useful for debugging
18828 # configure, is in config.log if it exists.
18830 debug=false
18831 ac_cs_recheck=false
18832 ac_cs_silent=false
18834 SHELL=\${CONFIG_SHELL-$SHELL}
18835 export SHELL
18836 _ASEOF
18837 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18838 ## -------------------- ##
18839 ## M4sh Initialization. ##
18840 ## -------------------- ##
18842 # Be more Bourne compatible
18843 DUALCASE=1; export DUALCASE # for MKS sh
18844 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18845 emulate sh
18846 NULLCMD=:
18847 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18848 # is contrary to our usage. Disable this feature.
18849 alias -g '${1+"$@"}'='"$@"'
18850 setopt NO_GLOB_SUBST
18851 else
18852 case `(set -o) 2>/dev/null` in #(
18853 *posix*) :
18854 set -o posix ;; #(
18855 *) :
18857 esac
18861 as_nl='
18863 export as_nl
18864 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18865 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18866 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18867 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18868 # Prefer a ksh shell builtin over an external printf program on Solaris,
18869 # but without wasting forks for bash or zsh.
18870 if test -z "$BASH_VERSION$ZSH_VERSION" \
18871 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18872 as_echo='print -r --'
18873 as_echo_n='print -rn --'
18874 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18875 as_echo='printf %s\n'
18876 as_echo_n='printf %s'
18877 else
18878 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18879 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18880 as_echo_n='/usr/ucb/echo -n'
18881 else
18882 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18883 as_echo_n_body='eval
18884 arg=$1;
18885 case $arg in #(
18886 *"$as_nl"*)
18887 expr "X$arg" : "X\\(.*\\)$as_nl";
18888 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18889 esac;
18890 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18892 export as_echo_n_body
18893 as_echo_n='sh -c $as_echo_n_body as_echo'
18895 export as_echo_body
18896 as_echo='sh -c $as_echo_body as_echo'
18899 # The user is always right.
18900 if test "${PATH_SEPARATOR+set}" != set; then
18901 PATH_SEPARATOR=:
18902 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18903 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18904 PATH_SEPARATOR=';'
18909 # IFS
18910 # We need space, tab and new line, in precisely that order. Quoting is
18911 # there to prevent editors from complaining about space-tab.
18912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18913 # splitting by setting IFS to empty value.)
18914 IFS=" "" $as_nl"
18916 # Find who we are. Look in the path if we contain no directory separator.
18917 as_myself=
18918 case $0 in #((
18919 *[\\/]* ) as_myself=$0 ;;
18920 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18921 for as_dir in $PATH
18923 IFS=$as_save_IFS
18924 test -z "$as_dir" && as_dir=.
18925 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18926 done
18927 IFS=$as_save_IFS
18930 esac
18931 # We did not find ourselves, most probably we were run as `sh COMMAND'
18932 # in which case we are not to be found in the path.
18933 if test "x$as_myself" = x; then
18934 as_myself=$0
18936 if test ! -f "$as_myself"; then
18937 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18938 exit 1
18941 # Unset variables that we do not need and which cause bugs (e.g. in
18942 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18943 # suppresses any "Segmentation fault" message there. '((' could
18944 # trigger a bug in pdksh 5.2.14.
18945 for as_var in BASH_ENV ENV MAIL MAILPATH
18946 do eval test x\${$as_var+set} = xset \
18947 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18948 done
18949 PS1='$ '
18950 PS2='> '
18951 PS4='+ '
18953 # NLS nuisances.
18954 LC_ALL=C
18955 export LC_ALL
18956 LANGUAGE=C
18957 export LANGUAGE
18959 # CDPATH.
18960 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18963 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18964 # ----------------------------------------
18965 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18966 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18967 # script with STATUS, using 1 if that was 0.
18968 as_fn_error ()
18970 as_status=$1; test $as_status -eq 0 && as_status=1
18971 if test "$4"; then
18972 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18973 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18975 $as_echo "$as_me: error: $2" >&2
18976 as_fn_exit $as_status
18977 } # as_fn_error
18980 # as_fn_set_status STATUS
18981 # -----------------------
18982 # Set $? to STATUS, without forking.
18983 as_fn_set_status ()
18985 return $1
18986 } # as_fn_set_status
18988 # as_fn_exit STATUS
18989 # -----------------
18990 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18991 as_fn_exit ()
18993 set +e
18994 as_fn_set_status $1
18995 exit $1
18996 } # as_fn_exit
18998 # as_fn_unset VAR
18999 # ---------------
19000 # Portably unset VAR.
19001 as_fn_unset ()
19003 { eval $1=; unset $1;}
19005 as_unset=as_fn_unset
19006 # as_fn_append VAR VALUE
19007 # ----------------------
19008 # Append the text in VALUE to the end of the definition contained in VAR. Take
19009 # advantage of any shell optimizations that allow amortized linear growth over
19010 # repeated appends, instead of the typical quadratic growth present in naive
19011 # implementations.
19012 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19013 eval 'as_fn_append ()
19015 eval $1+=\$2
19017 else
19018 as_fn_append ()
19020 eval $1=\$$1\$2
19022 fi # as_fn_append
19024 # as_fn_arith ARG...
19025 # ------------------
19026 # Perform arithmetic evaluation on the ARGs, and store the result in the
19027 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19028 # must be portable across $(()) and expr.
19029 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19030 eval 'as_fn_arith ()
19032 as_val=$(( $* ))
19034 else
19035 as_fn_arith ()
19037 as_val=`expr "$@" || test $? -eq 1`
19039 fi # as_fn_arith
19042 if expr a : '\(a\)' >/dev/null 2>&1 &&
19043 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19044 as_expr=expr
19045 else
19046 as_expr=false
19049 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19050 as_basename=basename
19051 else
19052 as_basename=false
19055 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19056 as_dirname=dirname
19057 else
19058 as_dirname=false
19061 as_me=`$as_basename -- "$0" ||
19062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19063 X"$0" : 'X\(//\)$' \| \
19064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19065 $as_echo X/"$0" |
19066 sed '/^.*\/\([^/][^/]*\)\/*$/{
19067 s//\1/
19070 /^X\/\(\/\/\)$/{
19071 s//\1/
19074 /^X\/\(\/\).*/{
19075 s//\1/
19078 s/.*/./; q'`
19080 # Avoid depending upon Character Ranges.
19081 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19082 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19083 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19084 as_cr_digits='0123456789'
19085 as_cr_alnum=$as_cr_Letters$as_cr_digits
19087 ECHO_C= ECHO_N= ECHO_T=
19088 case `echo -n x` in #(((((
19089 -n*)
19090 case `echo 'xy\c'` in
19091 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19092 xy) ECHO_C='\c';;
19093 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19094 ECHO_T=' ';;
19095 esac;;
19097 ECHO_N='-n';;
19098 esac
19100 rm -f conf$$ conf$$.exe conf$$.file
19101 if test -d conf$$.dir; then
19102 rm -f conf$$.dir/conf$$.file
19103 else
19104 rm -f conf$$.dir
19105 mkdir conf$$.dir 2>/dev/null
19107 if (echo >conf$$.file) 2>/dev/null; then
19108 if ln -s conf$$.file conf$$ 2>/dev/null; then
19109 as_ln_s='ln -s'
19110 # ... but there are two gotchas:
19111 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19112 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19113 # In both cases, we have to default to `cp -pR'.
19114 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19115 as_ln_s='cp -pR'
19116 elif ln conf$$.file conf$$ 2>/dev/null; then
19117 as_ln_s=ln
19118 else
19119 as_ln_s='cp -pR'
19121 else
19122 as_ln_s='cp -pR'
19124 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19125 rmdir conf$$.dir 2>/dev/null
19128 # as_fn_mkdir_p
19129 # -------------
19130 # Create "$as_dir" as a directory, including parents if necessary.
19131 as_fn_mkdir_p ()
19134 case $as_dir in #(
19135 -*) as_dir=./$as_dir;;
19136 esac
19137 test -d "$as_dir" || eval $as_mkdir_p || {
19138 as_dirs=
19139 while :; do
19140 case $as_dir in #(
19141 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19142 *) as_qdir=$as_dir;;
19143 esac
19144 as_dirs="'$as_qdir' $as_dirs"
19145 as_dir=`$as_dirname -- "$as_dir" ||
19146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19147 X"$as_dir" : 'X\(//\)[^/]' \| \
19148 X"$as_dir" : 'X\(//\)$' \| \
19149 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19150 $as_echo X"$as_dir" |
19151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19152 s//\1/
19155 /^X\(\/\/\)[^/].*/{
19156 s//\1/
19159 /^X\(\/\/\)$/{
19160 s//\1/
19163 /^X\(\/\).*/{
19164 s//\1/
19167 s/.*/./; q'`
19168 test -d "$as_dir" && break
19169 done
19170 test -z "$as_dirs" || eval "mkdir $as_dirs"
19171 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19174 } # as_fn_mkdir_p
19175 if mkdir -p . 2>/dev/null; then
19176 as_mkdir_p='mkdir -p "$as_dir"'
19177 else
19178 test -d ./-p && rmdir ./-p
19179 as_mkdir_p=false
19183 # as_fn_executable_p FILE
19184 # -----------------------
19185 # Test if FILE is an executable regular file.
19186 as_fn_executable_p ()
19188 test -f "$1" && test -x "$1"
19189 } # as_fn_executable_p
19190 as_test_x='test -x'
19191 as_executable_p=as_fn_executable_p
19193 # Sed expression to map a string onto a valid CPP name.
19194 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19196 # Sed expression to map a string onto a valid variable name.
19197 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19200 exec 6>&1
19201 ## ----------------------------------- ##
19202 ## Main body of $CONFIG_STATUS script. ##
19203 ## ----------------------------------- ##
19204 _ASEOF
19205 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19208 # Save the log message, to keep $0 and so on meaningful, and to
19209 # report actual input values of CONFIG_FILES etc. instead of their
19210 # values after options handling.
19211 ac_log="
19212 This file was extended by Wine $as_me 2.6, which was
19213 generated by GNU Autoconf 2.69. Invocation command line was
19215 CONFIG_FILES = $CONFIG_FILES
19216 CONFIG_HEADERS = $CONFIG_HEADERS
19217 CONFIG_LINKS = $CONFIG_LINKS
19218 CONFIG_COMMANDS = $CONFIG_COMMANDS
19219 $ $0 $@
19221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19224 _ACEOF
19226 case $ac_config_files in *"
19227 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19228 esac
19230 case $ac_config_headers in *"
19231 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19232 esac
19235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19236 # Files that config.status was made for.
19237 config_files="$ac_config_files"
19238 config_headers="$ac_config_headers"
19239 config_links="$ac_config_links"
19240 config_commands="$ac_config_commands"
19242 _ACEOF
19244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19245 ac_cs_usage="\
19246 \`$as_me' instantiates files and other configuration actions
19247 from templates according to the current configuration. Unless the files
19248 and actions are specified as TAGs, all are instantiated by default.
19250 Usage: $0 [OPTION]... [TAG]...
19252 -h, --help print this help, then exit
19253 -V, --version print version number and configuration settings, then exit
19254 --config print configuration, then exit
19255 -q, --quiet, --silent
19256 do not print progress messages
19257 -d, --debug don't remove temporary files
19258 --recheck update $as_me by reconfiguring in the same conditions
19259 --file=FILE[:TEMPLATE]
19260 instantiate the configuration file FILE
19261 --header=FILE[:TEMPLATE]
19262 instantiate the configuration header FILE
19264 Configuration files:
19265 $config_files
19267 Configuration headers:
19268 $config_headers
19270 Configuration links:
19271 $config_links
19273 Configuration commands:
19274 $config_commands
19276 Report bugs to <wine-devel@winehq.org>.
19277 Wine home page: <http://www.winehq.org>."
19279 _ACEOF
19280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19282 ac_cs_version="\\
19283 Wine config.status 2.6
19284 configured by $0, generated by GNU Autoconf 2.69,
19285 with options \\"\$ac_cs_config\\"
19287 Copyright (C) 2012 Free Software Foundation, Inc.
19288 This config.status script is free software; the Free Software Foundation
19289 gives unlimited permission to copy, distribute and modify it."
19291 ac_pwd='$ac_pwd'
19292 srcdir='$srcdir'
19293 test -n "\$AWK" || AWK=awk
19294 _ACEOF
19296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19297 # The default lists apply if the user does not specify any file.
19298 ac_need_defaults=:
19299 while test $# != 0
19301 case $1 in
19302 --*=?*)
19303 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19304 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19305 ac_shift=:
19307 --*=)
19308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19309 ac_optarg=
19310 ac_shift=:
19313 ac_option=$1
19314 ac_optarg=$2
19315 ac_shift=shift
19317 esac
19319 case $ac_option in
19320 # Handling of the options.
19321 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19322 ac_cs_recheck=: ;;
19323 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19324 $as_echo "$ac_cs_version"; exit ;;
19325 --config | --confi | --conf | --con | --co | --c )
19326 $as_echo "$ac_cs_config"; exit ;;
19327 --debug | --debu | --deb | --de | --d | -d )
19328 debug=: ;;
19329 --file | --fil | --fi | --f )
19330 $ac_shift
19331 case $ac_optarg in
19332 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19333 '') as_fn_error $? "missing file argument" ;;
19334 esac
19335 as_fn_append CONFIG_FILES " '$ac_optarg'"
19336 ac_need_defaults=false;;
19337 --header | --heade | --head | --hea )
19338 $ac_shift
19339 case $ac_optarg in
19340 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19341 esac
19342 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19343 ac_need_defaults=false;;
19344 --he | --h)
19345 # Conflict between --help and --header
19346 as_fn_error $? "ambiguous option: \`$1'
19347 Try \`$0 --help' for more information.";;
19348 --help | --hel | -h )
19349 $as_echo "$ac_cs_usage"; exit ;;
19350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19351 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19352 ac_cs_silent=: ;;
19354 # This is an error.
19355 -*) as_fn_error $? "unrecognized option: \`$1'
19356 Try \`$0 --help' for more information." ;;
19358 *) as_fn_append ac_config_targets " $1"
19359 ac_need_defaults=false ;;
19361 esac
19362 shift
19363 done
19365 ac_configure_extra_args=
19367 if $ac_cs_silent; then
19368 exec 6>/dev/null
19369 ac_configure_extra_args="$ac_configure_extra_args --silent"
19372 _ACEOF
19373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19374 if \$ac_cs_recheck; then
19375 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19376 shift
19377 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19378 CONFIG_SHELL='$SHELL'
19379 export CONFIG_SHELL
19380 exec "\$@"
19383 _ACEOF
19384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19385 exec 5>>config.log
19387 echo
19388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19389 ## Running $as_me. ##
19390 _ASBOX
19391 $as_echo "$ac_log"
19392 } >&5
19394 _ACEOF
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19397 # INIT-COMMANDS
19399 wine_fn_output_makedep ()
19401 as_dir=tools; as_fn_mkdir_p
19402 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19404 wine_fn_output_makefile ()
19406 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19407 `cat $wine_rules_file`
19408 _WINE_EOF
19409 as_fn_error $? "could not create Makefile" "$LINENO" 5
19412 _ACEOF
19414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19416 # Handling of arguments.
19417 for ac_config_target in $ac_config_targets
19419 case $ac_config_target in
19420 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19421 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19422 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19423 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19424 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19425 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19426 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19427 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19428 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19429 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19430 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19431 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19432 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19434 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19435 esac
19436 done
19439 # If the user did not use the arguments to specify the items to instantiate,
19440 # then the envvar interface is used. Set only those that are not.
19441 # We use the long form for the default assignment because of an extremely
19442 # bizarre bug on SunOS 4.1.3.
19443 if $ac_need_defaults; then
19444 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19445 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19446 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19447 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19450 # Have a temporary directory for convenience. Make it in the build tree
19451 # simply because there is no reason against having it here, and in addition,
19452 # creating and moving files from /tmp can sometimes cause problems.
19453 # Hook for its removal unless debugging.
19454 # Note that there is a small window in which the directory will not be cleaned:
19455 # after its creation but before its name has been assigned to `$tmp'.
19456 $debug ||
19458 tmp= ac_tmp=
19459 trap 'exit_status=$?
19460 : "${ac_tmp:=$tmp}"
19461 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19463 trap 'as_fn_exit 1' 1 2 13 15
19465 # Create a (secure) tmp directory for tmp files.
19468 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19469 test -d "$tmp"
19470 } ||
19472 tmp=./conf$$-$RANDOM
19473 (umask 077 && mkdir "$tmp")
19474 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19475 ac_tmp=$tmp
19477 # Set up the scripts for CONFIG_FILES section.
19478 # No need to generate them if there are no CONFIG_FILES.
19479 # This happens for instance with `./config.status config.h'.
19480 if test -n "$CONFIG_FILES"; then
19483 ac_cr=`echo X | tr X '\015'`
19484 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19485 # But we know of no other shell where ac_cr would be empty at this
19486 # point, so we can use a bashism as a fallback.
19487 if test "x$ac_cr" = x; then
19488 eval ac_cr=\$\'\\r\'
19490 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19491 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19492 ac_cs_awk_cr='\\r'
19493 else
19494 ac_cs_awk_cr=$ac_cr
19497 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19498 _ACEOF
19502 echo "cat >conf$$subs.awk <<_ACEOF" &&
19503 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19504 echo "_ACEOF"
19505 } >conf$$subs.sh ||
19506 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19508 ac_delim='%!_!# '
19509 for ac_last_try in false false false false false :; do
19510 . ./conf$$subs.sh ||
19511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19513 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19514 if test $ac_delim_n = $ac_delim_num; then
19515 break
19516 elif $ac_last_try; then
19517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19518 else
19519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19521 done
19522 rm -f conf$$subs.sh
19524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19525 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19526 _ACEOF
19527 sed -n '
19529 s/^/S["/; s/!.*/"]=/
19532 s/^[^!]*!//
19533 :repl
19534 t repl
19535 s/'"$ac_delim"'$//
19536 t delim
19539 s/\(.\{148\}\)..*/\1/
19540 t more1
19541 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19544 b repl
19545 :more1
19546 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19549 s/.\{148\}//
19550 t nl
19551 :delim
19553 s/\(.\{148\}\)..*/\1/
19554 t more2
19555 s/["\\]/\\&/g; s/^/"/; s/$/"/
19558 :more2
19559 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19562 s/.\{148\}//
19563 t delim
19564 ' <conf$$subs.awk | sed '
19565 /^[^""]/{
19567 s/\n//
19569 ' >>$CONFIG_STATUS || ac_write_fail=1
19570 rm -f conf$$subs.awk
19571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19572 _ACAWK
19573 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19574 for (key in S) S_is_set[key] = 1
19575 FS = "\a"
19579 line = $ 0
19580 nfields = split(line, field, "@")
19581 substed = 0
19582 len = length(field[1])
19583 for (i = 2; i < nfields; i++) {
19584 key = field[i]
19585 keylen = length(key)
19586 if (S_is_set[key]) {
19587 value = S[key]
19588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19589 len += length(value) + length(field[++i])
19590 substed = 1
19591 } else
19592 len += 1 + keylen
19595 print line
19598 _ACAWK
19599 _ACEOF
19600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19601 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19602 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19603 else
19605 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19606 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19607 _ACEOF
19609 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19610 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19611 # trailing colons and then remove the whole line if VPATH becomes empty
19612 # (actually we leave an empty line to preserve line numbers).
19613 if test "x$srcdir" = x.; then
19614 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19616 s///
19617 s/^/:/
19618 s/[ ]*$/:/
19619 s/:\$(srcdir):/:/g
19620 s/:\${srcdir}:/:/g
19621 s/:@srcdir@:/:/g
19622 s/^:*//
19623 s/:*$//
19625 s/\(=[ ]*\).*/\1/
19627 s/\n//
19628 s/^[^=]*=[ ]*$//
19632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19633 fi # test -n "$CONFIG_FILES"
19635 # Set up the scripts for CONFIG_HEADERS section.
19636 # No need to generate them if there are no CONFIG_HEADERS.
19637 # This happens for instance with `./config.status Makefile'.
19638 if test -n "$CONFIG_HEADERS"; then
19639 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19640 BEGIN {
19641 _ACEOF
19643 # Transform confdefs.h into an awk script `defines.awk', embedded as
19644 # here-document in config.status, that substitutes the proper values into
19645 # config.h.in to produce config.h.
19647 # Create a delimiter string that does not exist in confdefs.h, to ease
19648 # handling of long lines.
19649 ac_delim='%!_!# '
19650 for ac_last_try in false false :; do
19651 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19652 if test -z "$ac_tt"; then
19653 break
19654 elif $ac_last_try; then
19655 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19656 else
19657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19659 done
19661 # For the awk script, D is an array of macro values keyed by name,
19662 # likewise P contains macro parameters if any. Preserve backslash
19663 # newline sequences.
19665 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19666 sed -n '
19667 s/.\{148\}/&'"$ac_delim"'/g
19668 t rset
19669 :rset
19670 s/^[ ]*#[ ]*define[ ][ ]*/ /
19671 t def
19673 :def
19674 s/\\$//
19675 t bsnl
19676 s/["\\]/\\&/g
19677 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19678 D["\1"]=" \3"/p
19679 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19681 :bsnl
19682 s/["\\]/\\&/g
19683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19684 D["\1"]=" \3\\\\\\n"\\/p
19685 t cont
19686 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19687 t cont
19689 :cont
19691 s/.\{148\}/&'"$ac_delim"'/g
19692 t clear
19693 :clear
19694 s/\\$//
19695 t bsnlc
19696 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19698 :bsnlc
19699 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19700 b cont
19701 ' <confdefs.h | sed '
19702 s/'"$ac_delim"'/"\\\
19703 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19706 for (key in D) D_is_set[key] = 1
19707 FS = "\a"
19709 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19710 line = \$ 0
19711 split(line, arg, " ")
19712 if (arg[1] == "#") {
19713 defundef = arg[2]
19714 mac1 = arg[3]
19715 } else {
19716 defundef = substr(arg[1], 2)
19717 mac1 = arg[2]
19719 split(mac1, mac2, "(") #)
19720 macro = mac2[1]
19721 prefix = substr(line, 1, index(line, defundef) - 1)
19722 if (D_is_set[macro]) {
19723 # Preserve the white space surrounding the "#".
19724 print prefix "define", macro P[macro] D[macro]
19725 next
19726 } else {
19727 # Replace #undef with comments. This is necessary, for example,
19728 # in the case of _POSIX_SOURCE, which is predefined and required
19729 # on some systems where configure will not decide to define it.
19730 if (defundef == "undef") {
19731 print "/*", prefix defundef, macro, "*/"
19732 next
19736 { print }
19737 _ACAWK
19738 _ACEOF
19739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19740 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19741 fi # test -n "$CONFIG_HEADERS"
19744 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19745 shift
19746 for ac_tag
19748 case $ac_tag in
19749 :[FHLC]) ac_mode=$ac_tag; continue;;
19750 esac
19751 case $ac_mode$ac_tag in
19752 :[FHL]*:*);;
19753 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19754 :[FH]-) ac_tag=-:-;;
19755 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19756 esac
19757 ac_save_IFS=$IFS
19758 IFS=:
19759 set x $ac_tag
19760 IFS=$ac_save_IFS
19761 shift
19762 ac_file=$1
19763 shift
19765 case $ac_mode in
19766 :L) ac_source=$1;;
19767 :[FH])
19768 ac_file_inputs=
19769 for ac_f
19771 case $ac_f in
19772 -) ac_f="$ac_tmp/stdin";;
19773 *) # Look for the file first in the build tree, then in the source tree
19774 # (if the path is not absolute). The absolute path cannot be DOS-style,
19775 # because $ac_f cannot contain `:'.
19776 test -f "$ac_f" ||
19777 case $ac_f in
19778 [\\/$]*) false;;
19779 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19780 esac ||
19781 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19782 esac
19783 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19784 as_fn_append ac_file_inputs " '$ac_f'"
19785 done
19787 # Let's still pretend it is `configure' which instantiates (i.e., don't
19788 # use $as_me), people would be surprised to read:
19789 # /* config.h. Generated by config.status. */
19790 configure_input='Generated from '`
19791 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19792 `' by configure.'
19793 if test x"$ac_file" != x-; then
19794 configure_input="$ac_file. $configure_input"
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19796 $as_echo "$as_me: creating $ac_file" >&6;}
19798 # Neutralize special characters interpreted by sed in replacement strings.
19799 case $configure_input in #(
19800 *\&* | *\|* | *\\* )
19801 ac_sed_conf_input=`$as_echo "$configure_input" |
19802 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19803 *) ac_sed_conf_input=$configure_input;;
19804 esac
19806 case $ac_tag in
19807 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19809 esac
19811 esac
19813 ac_dir=`$as_dirname -- "$ac_file" ||
19814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19815 X"$ac_file" : 'X\(//\)[^/]' \| \
19816 X"$ac_file" : 'X\(//\)$' \| \
19817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19818 $as_echo X"$ac_file" |
19819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19820 s//\1/
19823 /^X\(\/\/\)[^/].*/{
19824 s//\1/
19827 /^X\(\/\/\)$/{
19828 s//\1/
19831 /^X\(\/\).*/{
19832 s//\1/
19835 s/.*/./; q'`
19836 as_dir="$ac_dir"; as_fn_mkdir_p
19837 ac_builddir=.
19839 case "$ac_dir" in
19840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19843 # A ".." for each directory in $ac_dir_suffix.
19844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19845 case $ac_top_builddir_sub in
19846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19848 esac ;;
19849 esac
19850 ac_abs_top_builddir=$ac_pwd
19851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19852 # for backward compatibility:
19853 ac_top_builddir=$ac_top_build_prefix
19855 case $srcdir in
19856 .) # We are building in place.
19857 ac_srcdir=.
19858 ac_top_srcdir=$ac_top_builddir_sub
19859 ac_abs_top_srcdir=$ac_pwd ;;
19860 [\\/]* | ?:[\\/]* ) # Absolute name.
19861 ac_srcdir=$srcdir$ac_dir_suffix;
19862 ac_top_srcdir=$srcdir
19863 ac_abs_top_srcdir=$srcdir ;;
19864 *) # Relative name.
19865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19866 ac_top_srcdir=$ac_top_build_prefix$srcdir
19867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19868 esac
19869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19872 case $ac_mode in
19875 # CONFIG_FILE
19878 _ACEOF
19880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19881 # If the template does not know about datarootdir, expand it.
19882 # FIXME: This hack should be removed a few years after 2.60.
19883 ac_datarootdir_hack=; ac_datarootdir_seen=
19884 ac_sed_dataroot='
19885 /datarootdir/ {
19889 /@datadir@/p
19890 /@docdir@/p
19891 /@infodir@/p
19892 /@localedir@/p
19893 /@mandir@/p'
19894 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19895 *datarootdir*) ac_datarootdir_seen=yes;;
19896 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19898 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19899 _ACEOF
19900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19901 ac_datarootdir_hack='
19902 s&@datadir@&$datadir&g
19903 s&@docdir@&$docdir&g
19904 s&@infodir@&$infodir&g
19905 s&@localedir@&$localedir&g
19906 s&@mandir@&$mandir&g
19907 s&\\\${datarootdir}&$datarootdir&g' ;;
19908 esac
19909 _ACEOF
19911 # Neutralize VPATH when `$srcdir' = `.'.
19912 # Shell code in configure.ac might set extrasub.
19913 # FIXME: do we really want to maintain this feature?
19914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19915 ac_sed_extra="$ac_vpsub
19916 $extrasub
19917 _ACEOF
19918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19921 s|@configure_input@|$ac_sed_conf_input|;t t
19922 s&@top_builddir@&$ac_top_builddir_sub&;t t
19923 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19924 s&@srcdir@&$ac_srcdir&;t t
19925 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19926 s&@top_srcdir@&$ac_top_srcdir&;t t
19927 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19928 s&@builddir@&$ac_builddir&;t t
19929 s&@abs_builddir@&$ac_abs_builddir&;t t
19930 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19931 $ac_datarootdir_hack
19933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19934 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19937 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19938 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19939 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19941 which seems to be undefined. Please make sure it is defined" >&5
19942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19943 which seems to be undefined. Please make sure it is defined" >&2;}
19945 rm -f "$ac_tmp/stdin"
19946 case $ac_file in
19947 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19948 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19949 esac \
19950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19954 # CONFIG_HEADER
19956 if test x"$ac_file" != x-; then
19958 $as_echo "/* $configure_input */" \
19959 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19960 } >"$ac_tmp/config.h" \
19961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19962 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19964 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19965 else
19966 rm -f "$ac_file"
19967 mv "$ac_tmp/config.h" "$ac_file" \
19968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19970 else
19971 $as_echo "/* $configure_input */" \
19972 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19973 || as_fn_error $? "could not create -" "$LINENO" 5
19978 # CONFIG_LINK
19981 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19983 else
19984 # Prefer the file from the source tree if names are identical.
19985 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19986 ac_source=$srcdir/$ac_source
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19990 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19992 if test ! -r "$ac_source"; then
19993 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19995 rm -f "$ac_file"
19997 # Try a relative symlink, then a hard link, then a copy.
19998 case $ac_source in
19999 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20000 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20001 esac
20002 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20003 ln "$ac_source" "$ac_file" 2>/dev/null ||
20004 cp -p "$ac_source" "$ac_file" ||
20005 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20008 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20009 $as_echo "$as_me: executing $ac_file commands" >&6;}
20011 esac
20014 case $ac_file$ac_mode in
20015 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20016 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20017 "Makefile":C) wine_fn_output_makefile Makefile ;;
20019 esac
20020 done # for ac_tag
20023 as_fn_exit 0
20024 _ACEOF
20025 ac_clean_files=$ac_clean_files_save
20027 test $ac_write_fail = 0 ||
20028 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20031 # configure is writing to config.log, and then calls config.status.
20032 # config.status does its own redirection, appending to config.log.
20033 # Unfortunately, on DOS this fails, as config.log is still kept open
20034 # by configure, so config.status won't be able to write to it; its
20035 # output is simply discarded. So we exec the FD to /dev/null,
20036 # effectively closing config.log, so it can be properly (re)opened and
20037 # appended to by config.status. When coming back to configure, we
20038 # need to make the FD available again.
20039 if test "$no_create" != yes; then
20040 ac_cs_success=:
20041 ac_config_status_args=
20042 test "$silent" = yes &&
20043 ac_config_status_args="$ac_config_status_args --quiet"
20044 exec 5>/dev/null
20045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20046 exec 5>>config.log
20047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20048 # would make configure fail if this is the last instruction.
20049 $ac_cs_success || as_fn_exit 1
20051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20053 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20057 if test "$no_create" = "yes"
20058 then
20059 exit 0
20062 ac_save_IFS="$IFS"
20063 if test "x$wine_notices" != x; then
20064 echo >&6
20065 IFS="|"
20066 for msg in $wine_notices; do
20067 IFS="$ac_save_IFS"
20068 if ${msg:+false} :; then :
20070 else
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20072 $as_echo "$as_me: $msg" >&6;}
20074 done
20076 IFS="|"
20077 for msg in $wine_warnings; do
20078 IFS="$ac_save_IFS"
20079 if ${msg:+false} :; then :
20081 else
20082 echo >&2
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20084 $as_echo "$as_me: WARNING: $msg" >&2;}
20086 done
20087 IFS="$ac_save_IFS"
20089 $as_echo "
20090 $as_me: Finished. Do '${ac_make}' to compile Wine.
20091 " >&6