winex11: Initialize the length of each side of the color cube to 1.
[wine.git] / configure
blob6bf0887acc1bf6724a330ab28ce2735dcb19f212
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.54.
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='1.7.54'
584 PACKAGE_STRING='Wine 1.7.54'
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 LINGUAS
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 PROCSTAT_LIBS
639 KSTAT_LIBS
640 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 PNG_LIBS
645 PNG_CFLAGS
646 JPEG_LIBS
647 JPEG_CFLAGS
648 FONTCONFIG_LIBS
649 FONTCONFIG_CFLAGS
650 CUPS_CFLAGS
651 CAPI20_LIBS
652 CAPI20_CFLAGS
653 OSS4_CFLAGS
654 ALSA_LIBS
655 GSTREAMER_LIBS
656 GSTREAMER_CFLAGS
657 GETTEXTPO_LIBS
658 Z_LIBS
659 FREETYPE_LIBS
660 FREETYPE_CFLAGS
661 LCMS2_LIBS
662 LCMS2_CFLAGS
663 RESOLV_LIBS
664 GPHOTO2_PORT_LIBS
665 GPHOTO2_PORT_CFLAGS
666 GPHOTO2_LIBS
667 GPHOTO2_CFLAGS
668 SANE_LIBS
669 SANE_CFLAGS
670 GNUTLS_LIBS
671 GNUTLS_CFLAGS
672 HAL_LIBS
673 HAL_CFLAGS
674 DBUS_LIBS
675 DBUS_CFLAGS
676 XSLT_LIBS
677 XSLT_CFLAGS
678 XML2_LIBS
679 XML2_CFLAGS
680 PCAP_LIBS
681 X_EXTRA_LIBS
682 X_LIBS
683 X_PRE_LIBS
684 X_CFLAGS
685 XMKMF
686 PTHREAD_LIBS
687 CROSSCC
688 CROSSTARGET
689 PRELINK
690 CARBON_LIBS
691 QUICKTIME_LIBS
692 OPENCL_LIBS
693 OPENAL_LIBS
694 COREAUDIO_LIBS
695 SECURITY_LIBS
696 DISKARBITRATION_LIBS
697 APPKIT_LIBS
698 CORESERVICES_LIBS
699 APPLICATIONSERVICES_LIBS
700 FORCEFEEDBACK_LIBS
701 IOKIT_LIBS
702 COREFOUNDATION_LIBS
703 LIBWINE_RULES
704 SOCKET_LIBS
705 DLLTOOL
706 LOADER_RULES
707 ALL_TEST_RESOURCES
708 READELF
709 OTOOL
711 LDRPATH_LOCAL
712 LDRPATH_INSTALL
713 DLLFLAGS
714 DLLPREFIX
715 dlldir
717 OPENGL_LIBS
718 ICOTOOL
719 CONVERT
720 RSVG
721 FONTFORGE
722 PKG_CONFIG
723 MSGFMT
724 LDCONFIG
725 EGREP
726 GREP
727 LN_S
728 RANLIB
729 ARFLAGS
730 STRIP
731 ac_ct_AR
733 BISON
734 FLEX
735 TOOLSDIR
736 TARGETFLAGS
738 CPPBIN
739 ac_ct_CXX
740 CXXFLAGS
742 OBJEXT
743 EXEEXT
744 ac_ct_CC
745 CPPFLAGS
746 LDFLAGS
747 CFLAGS
749 SET_MAKE
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 runstatedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_win16
801 enable_win64
802 enable_tests
803 enable_maintainer_mode
804 with_alsa
805 with_capi
806 with_cms
807 with_coreaudio
808 with_cups
809 with_curses
810 with_dbus
811 with_fontconfig
812 with_freetype
813 with_gettext
814 with_gettextpo
815 with_gphoto
816 with_glu
817 with_gnutls
818 with_gsm
819 with_gstreamer
820 with_hal
821 with_jpeg
822 with_ldap
823 with_mpg123
824 with_netapi
825 with_openal
826 with_opencl
827 with_opengl
828 with_osmesa
829 with_oss
830 with_pcap
831 with_png
832 with_pthread
833 with_sane
834 with_tiff
835 with_v4l
836 with_xcomposite
837 with_xcursor
838 with_xinerama
839 with_xinput
840 with_xinput2
841 with_xml
842 with_xrandr
843 with_xrender
844 with_xshape
845 with_xshm
846 with_xslt
847 with_xxf86vm
848 with_zlib
849 with_wine_tools
850 with_wine64
851 enable_largefile
852 with_x
853 enable_acledit
854 enable_aclui
855 enable_activeds
856 enable_actxprxy
857 enable_advapi32
858 enable_advpack
859 enable_amstream
860 enable_api_ms_win_core_com_l1_1_0
861 enable_api_ms_win_core_console_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_0
863 enable_api_ms_win_core_datetime_l1_1_1
864 enable_api_ms_win_core_debug_l1_1_0
865 enable_api_ms_win_core_debug_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_0
867 enable_api_ms_win_core_errorhandling_l1_1_1
868 enable_api_ms_win_core_errorhandling_l1_1_2
869 enable_api_ms_win_core_fibers_l1_1_0
870 enable_api_ms_win_core_fibers_l1_1_1
871 enable_api_ms_win_core_file_l1_1_0
872 enable_api_ms_win_core_file_l1_2_0
873 enable_api_ms_win_core_file_l2_1_0
874 enable_api_ms_win_core_file_l2_1_1
875 enable_api_ms_win_core_handle_l1_1_0
876 enable_api_ms_win_core_heap_l1_1_0
877 enable_api_ms_win_core_heap_l1_2_0
878 enable_api_ms_win_core_heap_obsolete_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_1_0
880 enable_api_ms_win_core_interlocked_l1_2_0
881 enable_api_ms_win_core_io_l1_1_1
882 enable_api_ms_win_core_kernel32_legacy_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_0
884 enable_api_ms_win_core_libraryloader_l1_1_1
885 enable_api_ms_win_core_localization_l1_2_0
886 enable_api_ms_win_core_localization_l1_2_1
887 enable_api_ms_win_core_localization_obsolete_l1_1_0
888 enable_api_ms_win_core_localregistry_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_0
890 enable_api_ms_win_core_memory_l1_1_1
891 enable_api_ms_win_core_misc_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_1_0
893 enable_api_ms_win_core_namedpipe_l1_2_0
894 enable_api_ms_win_core_processenvironment_l1_1_0
895 enable_api_ms_win_core_processenvironment_l1_2_0
896 enable_api_ms_win_core_processthreads_l1_1_0
897 enable_api_ms_win_core_processthreads_l1_1_1
898 enable_api_ms_win_core_processthreads_l1_1_2
899 enable_api_ms_win_core_profile_l1_1_0
900 enable_api_ms_win_core_psapi_l1_1_0
901 enable_api_ms_win_core_registry_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_1_0
903 enable_api_ms_win_core_rtlsupport_l1_2_0
904 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
905 enable_api_ms_win_core_string_l1_1_0
906 enable_api_ms_win_core_synch_l1_1_0
907 enable_api_ms_win_core_synch_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_1_0
909 enable_api_ms_win_core_sysinfo_l1_2_0
910 enable_api_ms_win_core_sysinfo_l1_2_1
911 enable_api_ms_win_core_threadpool_legacy_l1_1_0
912 enable_api_ms_win_core_timezone_l1_1_0
913 enable_api_ms_win_core_url_l1_1_0
914 enable_api_ms_win_core_util_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_0
916 enable_api_ms_win_core_winrt_error_l1_1_1
917 enable_api_ms_win_core_winrt_l1_1_0
918 enable_api_ms_win_core_winrt_string_l1_1_0
919 enable_api_ms_win_core_xstate_l2_1_0
920 enable_api_ms_win_crt_conio_l1_1_0
921 enable_api_ms_win_crt_convert_l1_1_0
922 enable_api_ms_win_crt_environment_l1_1_0
923 enable_api_ms_win_crt_filesystem_l1_1_0
924 enable_api_ms_win_crt_heap_l1_1_0
925 enable_api_ms_win_crt_locale_l1_1_0
926 enable_api_ms_win_crt_math_l1_1_0
927 enable_api_ms_win_crt_multibyte_l1_1_0
928 enable_api_ms_win_crt_private_l1_1_0
929 enable_api_ms_win_crt_process_l1_1_0
930 enable_api_ms_win_crt_runtime_l1_1_0
931 enable_api_ms_win_crt_stdio_l1_1_0
932 enable_api_ms_win_crt_string_l1_1_0
933 enable_api_ms_win_crt_time_l1_1_0
934 enable_api_ms_win_crt_utility_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l1_1_0
936 enable_api_ms_win_downlevel_advapi32_l2_1_0
937 enable_api_ms_win_downlevel_normaliz_l1_1_0
938 enable_api_ms_win_downlevel_ole32_l1_1_0
939 enable_api_ms_win_downlevel_shell32_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l1_1_0
941 enable_api_ms_win_downlevel_shlwapi_l2_1_0
942 enable_api_ms_win_downlevel_user32_l1_1_0
943 enable_api_ms_win_downlevel_version_l1_1_0
944 enable_api_ms_win_eventing_provider_l1_1_0
945 enable_api_ms_win_ntuser_dc_access_l1_1_0
946 enable_api_ms_win_security_base_l1_1_0
947 enable_api_ms_win_security_base_l1_2_0
948 enable_api_ms_win_security_sddl_l1_1_0
949 enable_api_ms_win_service_core_l1_1_1
950 enable_api_ms_win_service_management_l1_1_0
951 enable_api_ms_win_service_winsvc_l1_2_0
952 enable_apphelp
953 enable_appwiz_cpl
954 enable_atl
955 enable_atl100
956 enable_atl110
957 enable_atl80
958 enable_atl90
959 enable_authz
960 enable_avicap32
961 enable_avifil32
962 enable_avrt
963 enable_bcrypt
964 enable_browseui
965 enable_cabinet
966 enable_capi2032
967 enable_cards
968 enable_cfgmgr32
969 enable_clusapi
970 enable_combase
971 enable_comcat
972 enable_comctl32
973 enable_comdlg32
974 enable_compstui
975 enable_comsvcs
976 enable_connect
977 enable_credui
978 enable_crtdll
979 enable_crypt32
980 enable_cryptdlg
981 enable_cryptdll
982 enable_cryptext
983 enable_cryptnet
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d8
993 enable_d3d9
994 enable_d3dcompiler_33
995 enable_d3dcompiler_34
996 enable_d3dcompiler_35
997 enable_d3dcompiler_36
998 enable_d3dcompiler_37
999 enable_d3dcompiler_38
1000 enable_d3dcompiler_39
1001 enable_d3dcompiler_40
1002 enable_d3dcompiler_41
1003 enable_d3dcompiler_42
1004 enable_d3dcompiler_43
1005 enable_d3dcompiler_46
1006 enable_d3dcompiler_47
1007 enable_d3dim
1008 enable_d3drm
1009 enable_d3dx10_33
1010 enable_d3dx10_34
1011 enable_d3dx10_35
1012 enable_d3dx10_36
1013 enable_d3dx10_37
1014 enable_d3dx10_38
1015 enable_d3dx10_39
1016 enable_d3dx10_40
1017 enable_d3dx10_41
1018 enable_d3dx10_42
1019 enable_d3dx10_43
1020 enable_d3dx11_42
1021 enable_d3dx11_43
1022 enable_d3dx9_24
1023 enable_d3dx9_25
1024 enable_d3dx9_26
1025 enable_d3dx9_27
1026 enable_d3dx9_28
1027 enable_d3dx9_29
1028 enable_d3dx9_30
1029 enable_d3dx9_31
1030 enable_d3dx9_32
1031 enable_d3dx9_33
1032 enable_d3dx9_34
1033 enable_d3dx9_35
1034 enable_d3dx9_36
1035 enable_d3dx9_37
1036 enable_d3dx9_38
1037 enable_d3dx9_39
1038 enable_d3dx9_40
1039 enable_d3dx9_41
1040 enable_d3dx9_42
1041 enable_d3dx9_43
1042 enable_d3dxof
1043 enable_davclnt
1044 enable_dbgeng
1045 enable_dbghelp
1046 enable_dciman32
1047 enable_ddraw
1048 enable_ddrawex
1049 enable_devenum
1050 enable_dhcpcsvc
1051 enable_difxapi
1052 enable_dinput
1053 enable_dinput8
1054 enable_dispex
1055 enable_dmband
1056 enable_dmcompos
1057 enable_dmime
1058 enable_dmloader
1059 enable_dmscript
1060 enable_dmstyle
1061 enable_dmsynth
1062 enable_dmusic
1063 enable_dmusic32
1064 enable_dnsapi
1065 enable_dplay
1066 enable_dplayx
1067 enable_dpnaddr
1068 enable_dpnet
1069 enable_dpnhpast
1070 enable_dpnlobby
1071 enable_dpvoice
1072 enable_dpwsockx
1073 enable_drmclien
1074 enable_dsound
1075 enable_dssenh
1076 enable_dswave
1077 enable_dwmapi
1078 enable_dwrite
1079 enable_dxdiagn
1080 enable_dxgi
1081 enable_dxva2
1082 enable_esent
1083 enable_evr
1084 enable_explorerframe
1085 enable_ext_ms_win_gdi_devcaps_l1_1_0
1086 enable_faultrep
1087 enable_fltlib
1088 enable_fltmgr_sys
1089 enable_fntcache
1090 enable_fontsub
1091 enable_fusion
1092 enable_fwpuclnt
1093 enable_gameux
1094 enable_gdi32
1095 enable_gdiplus
1096 enable_glu32
1097 enable_gphoto2_ds
1098 enable_gpkcsp
1099 enable_hal
1100 enable_hhctrl_ocx
1101 enable_hid
1102 enable_hidclass_sys
1103 enable_hlink
1104 enable_hnetcfg
1105 enable_httpapi
1106 enable_iccvid
1107 enable_icmp
1108 enable_ieframe
1109 enable_imaadp32_acm
1110 enable_imagehlp
1111 enable_imm32
1112 enable_inetcomm
1113 enable_inetcpl_cpl
1114 enable_inetmib1
1115 enable_infosoft
1116 enable_initpki
1117 enable_inkobj
1118 enable_inseng
1119 enable_iphlpapi
1120 enable_itircl
1121 enable_itss
1122 enable_joy_cpl
1123 enable_jscript
1124 enable_jsproxy
1125 enable_kernel32
1126 enable_ksuser
1127 enable_ktmw32
1128 enable_loadperf
1129 enable_localspl
1130 enable_localui
1131 enable_lz32
1132 enable_mapi32
1133 enable_mapistub
1134 enable_mciavi32
1135 enable_mcicda
1136 enable_mciqtz32
1137 enable_mciseq
1138 enable_mciwave
1139 enable_mf
1140 enable_mfplat
1141 enable_mfreadwrite
1142 enable_mgmtapi
1143 enable_midimap
1144 enable_mlang
1145 enable_mmcndmgr
1146 enable_mmdevapi
1147 enable_mountmgr_sys
1148 enable_mpr
1149 enable_mprapi
1150 enable_msacm32_drv
1151 enable_msacm32
1152 enable_msadp32_acm
1153 enable_msasn1
1154 enable_mscat32
1155 enable_mscms
1156 enable_mscoree
1157 enable_msctf
1158 enable_msctfp
1159 enable_msdaps
1160 enable_msdelta
1161 enable_msdmo
1162 enable_msftedit
1163 enable_msg711_acm
1164 enable_msgsm32_acm
1165 enable_mshtml_tlb
1166 enable_mshtml
1167 enable_msi
1168 enable_msident
1169 enable_msimg32
1170 enable_msimsg
1171 enable_msimtf
1172 enable_msisip
1173 enable_msisys_ocx
1174 enable_msls31
1175 enable_msnet32
1176 enable_mspatcha
1177 enable_msrle32
1178 enable_msscript_ocx
1179 enable_mssign32
1180 enable_mssip32
1181 enable_mstask
1182 enable_msvcirt
1183 enable_msvcm80
1184 enable_msvcm90
1185 enable_msvcp100
1186 enable_msvcp110
1187 enable_msvcp120
1188 enable_msvcp120_app
1189 enable_msvcp60
1190 enable_msvcp70
1191 enable_msvcp71
1192 enable_msvcp80
1193 enable_msvcp90
1194 enable_msvcr100
1195 enable_msvcr110
1196 enable_msvcr120
1197 enable_msvcr120_app
1198 enable_msvcr70
1199 enable_msvcr71
1200 enable_msvcr80
1201 enable_msvcr90
1202 enable_msvcrt
1203 enable_msvcrt20
1204 enable_msvcrt40
1205 enable_msvcrtd
1206 enable_msvfw32
1207 enable_msvidc32
1208 enable_mswsock
1209 enable_msxml
1210 enable_msxml2
1211 enable_msxml3
1212 enable_msxml4
1213 enable_msxml6
1214 enable_nddeapi
1215 enable_ndis_sys
1216 enable_netapi32
1217 enable_netcfgx
1218 enable_netprofm
1219 enable_newdev
1220 enable_normaliz
1221 enable_npmshtml
1222 enable_npptools
1223 enable_ntdll
1224 enable_ntdsapi
1225 enable_ntoskrnl_exe
1226 enable_ntprint
1227 enable_objsel
1228 enable_odbc32
1229 enable_odbccp32
1230 enable_odbccu32
1231 enable_ole32
1232 enable_oleacc
1233 enable_oleaut32
1234 enable_olecli32
1235 enable_oledb32
1236 enable_oledlg
1237 enable_olepro32
1238 enable_olesvr32
1239 enable_olethk32
1240 enable_openal32
1241 enable_opencl
1242 enable_opengl32
1243 enable_packager
1244 enable_pdh
1245 enable_photometadatahandler
1246 enable_pidgen
1247 enable_powrprof
1248 enable_printui
1249 enable_prntvpt
1250 enable_propsys
1251 enable_psapi
1252 enable_pstorec
1253 enable_qcap
1254 enable_qedit
1255 enable_qmgr
1256 enable_qmgrprxy
1257 enable_quartz
1258 enable_query
1259 enable_rasapi32
1260 enable_rasdlg
1261 enable_regapi
1262 enable_resutils
1263 enable_riched20
1264 enable_riched32
1265 enable_rpcrt4
1266 enable_rsabase
1267 enable_rsaenh
1268 enable_rstrtmgr
1269 enable_rtutils
1270 enable_samlib
1271 enable_sane_ds
1272 enable_scarddlg
1273 enable_sccbase
1274 enable_schannel
1275 enable_schedsvc
1276 enable_scrrun
1277 enable_scsiport_sys
1278 enable_secur32
1279 enable_security
1280 enable_sensapi
1281 enable_serialui
1282 enable_setupapi
1283 enable_sfc
1284 enable_sfc_os
1285 enable_shdoclc
1286 enable_shdocvw
1287 enable_shell32
1288 enable_shfolder
1289 enable_shlwapi
1290 enable_slbcsp
1291 enable_slc
1292 enable_snmpapi
1293 enable_softpub
1294 enable_spoolss
1295 enable_stdole2_tlb
1296 enable_stdole32_tlb
1297 enable_sti
1298 enable_svrapi
1299 enable_sxs
1300 enable_t2embed
1301 enable_tapi32
1302 enable_taskschd
1303 enable_traffic
1304 enable_twain_32
1305 enable_ucrtbase
1306 enable_unicows
1307 enable_updspapi
1308 enable_url
1309 enable_urlmon
1310 enable_usbd_sys
1311 enable_user32
1312 enable_userenv
1313 enable_usp10
1314 enable_uxtheme
1315 enable_vbscript
1316 enable_vcomp
1317 enable_vcomp100
1318 enable_vcomp110
1319 enable_vcomp120
1320 enable_vcomp90
1321 enable_vcruntime140
1322 enable_vdmdbg
1323 enable_version
1324 enable_vssapi
1325 enable_wbemdisp
1326 enable_wbemprox
1327 enable_webservices
1328 enable_wer
1329 enable_wevtapi
1330 enable_wiaservc
1331 enable_wimgapi
1332 enable_windowscodecs
1333 enable_windowscodecsext
1334 enable_winealsa_drv
1335 enable_winecoreaudio_drv
1336 enable_wined3d
1337 enable_winegstreamer
1338 enable_winejoystick_drv
1339 enable_winemac_drv
1340 enable_winemapi
1341 enable_winemp3_acm
1342 enable_wineoss_drv
1343 enable_wineps_drv
1344 enable_wineqtdecoder
1345 enable_winex11_drv
1346 enable_wing32
1347 enable_winhttp
1348 enable_wininet
1349 enable_winmm
1350 enable_winnls32
1351 enable_winscard
1352 enable_winspool_drv
1353 enable_winsta
1354 enable_wintab32
1355 enable_wintrust
1356 enable_wlanapi
1357 enable_wldap32
1358 enable_wmi
1359 enable_wmiutils
1360 enable_wmp
1361 enable_wmvcore
1362 enable_wnaspi32
1363 enable_wpcap
1364 enable_ws2_32
1365 enable_wshom_ocx
1366 enable_wsnmp32
1367 enable_wsock32
1368 enable_wtsapi32
1369 enable_wuapi
1370 enable_wuaueng
1371 enable_x3daudio1_0
1372 enable_x3daudio1_1
1373 enable_x3daudio1_2
1374 enable_x3daudio1_3
1375 enable_x3daudio1_4
1376 enable_x3daudio1_5
1377 enable_x3daudio1_6
1378 enable_x3daudio1_7
1379 enable_xapofx1_1
1380 enable_xapofx1_2
1381 enable_xapofx1_3
1382 enable_xapofx1_4
1383 enable_xapofx1_5
1384 enable_xaudio2_0
1385 enable_xaudio2_1
1386 enable_xaudio2_2
1387 enable_xaudio2_3
1388 enable_xaudio2_4
1389 enable_xaudio2_5
1390 enable_xaudio2_6
1391 enable_xaudio2_7
1392 enable_xaudio2_8
1393 enable_xinput1_1
1394 enable_xinput1_2
1395 enable_xinput1_3
1396 enable_xinput1_4
1397 enable_xinput9_1_0
1398 enable_xmllite
1399 enable_xolehlp
1400 enable_xpsprint
1401 enable_xpssvcs
1402 enable_documentation
1403 enable_fonts
1404 enable_include
1405 enable_libs_port
1406 enable_libs_wine
1407 enable_libs_wpp
1408 enable_loader
1409 enable_arp
1410 enable_aspnet_regiis
1411 enable_attrib
1412 enable_cabarc
1413 enable_cacls
1414 enable_clock
1415 enable_cmd
1416 enable_conhost
1417 enable_control
1418 enable_cscript
1419 enable_dpnsvr
1420 enable_dxdiag
1421 enable_eject
1422 enable_expand
1423 enable_explorer
1424 enable_extrac32
1425 enable_findstr
1426 enable_hh
1427 enable_hostname
1428 enable_icinfo
1429 enable_iexplore
1430 enable_ipconfig
1431 enable_lodctr
1432 enable_mofcomp
1433 enable_mshta
1434 enable_msiexec
1435 enable_net
1436 enable_netsh
1437 enable_netstat
1438 enable_ngen
1439 enable_notepad
1440 enable_oleview
1441 enable_ping
1442 enable_plugplay
1443 enable_presentationfontcache
1444 enable_progman
1445 enable_reg
1446 enable_regasm
1447 enable_regedit
1448 enable_regsvcs
1449 enable_regsvr32
1450 enable_rpcss
1451 enable_rundll32
1452 enable_sc
1453 enable_schtasks
1454 enable_sdbinst
1455 enable_secedit
1456 enable_servicemodelreg
1457 enable_services
1458 enable_spoolsv
1459 enable_start
1460 enable_svchost
1461 enable_systeminfo
1462 enable_taskkill
1463 enable_tasklist
1464 enable_taskmgr
1465 enable_termsv
1466 enable_uninstaller
1467 enable_unlodctr
1468 enable_view
1469 enable_wevtutil
1470 enable_wineboot
1471 enable_winebrowser
1472 enable_winecfg
1473 enable_wineconsole
1474 enable_winedbg
1475 enable_winedevice
1476 enable_winefile
1477 enable_winemenubuilder
1478 enable_winemine
1479 enable_winemsibuilder
1480 enable_winepath
1481 enable_winetest
1482 enable_winhlp32
1483 enable_winver
1484 enable_wmic
1485 enable_wordpad
1486 enable_write
1487 enable_wscript
1488 enable_wusa
1489 enable_xcopy
1490 enable_server
1491 enable_tools
1493 ac_precious_vars='build_alias
1494 host_alias
1495 target_alias
1497 CFLAGS
1498 LDFLAGS
1499 LIBS
1500 CPPFLAGS
1502 CXXFLAGS
1505 XMKMF
1506 XML2_CFLAGS
1507 XML2_LIBS
1508 XSLT_CFLAGS
1509 XSLT_LIBS
1510 DBUS_CFLAGS
1511 DBUS_LIBS
1512 HAL_CFLAGS
1513 HAL_LIBS
1514 GNUTLS_CFLAGS
1515 GNUTLS_LIBS
1516 SANE_CFLAGS
1517 SANE_LIBS
1518 GPHOTO2_CFLAGS
1519 GPHOTO2_LIBS
1520 GPHOTO2_PORT_CFLAGS
1521 GPHOTO2_PORT_LIBS
1522 LCMS2_CFLAGS
1523 LCMS2_LIBS
1524 FREETYPE_CFLAGS
1525 FREETYPE_LIBS
1526 GSTREAMER_CFLAGS
1527 GSTREAMER_LIBS
1528 CAPI20_CFLAGS
1529 CAPI20_LIBS
1530 FONTCONFIG_CFLAGS
1531 FONTCONFIG_LIBS
1532 JPEG_CFLAGS
1533 JPEG_LIBS
1534 PNG_CFLAGS
1535 PNG_LIBS
1536 TIFF_CFLAGS
1537 TIFF_LIBS
1538 MPG123_CFLAGS
1539 MPG123_LIBS'
1542 # Initialize some variables set by options.
1543 ac_init_help=
1544 ac_init_version=false
1545 ac_unrecognized_opts=
1546 ac_unrecognized_sep=
1547 # The variables have the same names as the options, with
1548 # dashes changed to underlines.
1549 cache_file=/dev/null
1550 exec_prefix=NONE
1551 no_create=
1552 no_recursion=
1553 prefix=NONE
1554 program_prefix=NONE
1555 program_suffix=NONE
1556 program_transform_name=s,x,x,
1557 silent=
1558 site=
1559 srcdir=
1560 verbose=
1561 x_includes=NONE
1562 x_libraries=NONE
1564 # Installation directory options.
1565 # These are left unexpanded so users can "make install exec_prefix=/foo"
1566 # and all the variables that are supposed to be based on exec_prefix
1567 # by default will actually change.
1568 # Use braces instead of parens because sh, perl, etc. also accept them.
1569 # (The list follows the same order as the GNU Coding Standards.)
1570 bindir='${exec_prefix}/bin'
1571 sbindir='${exec_prefix}/sbin'
1572 libexecdir='${exec_prefix}/libexec'
1573 datarootdir='${prefix}/share'
1574 datadir='${datarootdir}'
1575 sysconfdir='${prefix}/etc'
1576 sharedstatedir='${prefix}/com'
1577 localstatedir='${prefix}/var'
1578 runstatedir='${localstatedir}/run'
1579 includedir='${prefix}/include'
1580 oldincludedir='/usr/include'
1581 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1582 infodir='${datarootdir}/info'
1583 htmldir='${docdir}'
1584 dvidir='${docdir}'
1585 pdfdir='${docdir}'
1586 psdir='${docdir}'
1587 libdir='${exec_prefix}/lib'
1588 localedir='${datarootdir}/locale'
1589 mandir='${datarootdir}/man'
1591 ac_prev=
1592 ac_dashdash=
1593 for ac_option
1595 # If the previous option needs an argument, assign it.
1596 if test -n "$ac_prev"; then
1597 eval $ac_prev=\$ac_option
1598 ac_prev=
1599 continue
1602 case $ac_option in
1603 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1604 *=) ac_optarg= ;;
1605 *) ac_optarg=yes ;;
1606 esac
1608 # Accept the important Cygnus configure options, so we can diagnose typos.
1610 case $ac_dashdash$ac_option in
1612 ac_dashdash=yes ;;
1614 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1615 ac_prev=bindir ;;
1616 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1617 bindir=$ac_optarg ;;
1619 -build | --build | --buil | --bui | --bu)
1620 ac_prev=build_alias ;;
1621 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1622 build_alias=$ac_optarg ;;
1624 -cache-file | --cache-file | --cache-fil | --cache-fi \
1625 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1626 ac_prev=cache_file ;;
1627 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1628 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1629 cache_file=$ac_optarg ;;
1631 --config-cache | -C)
1632 cache_file=config.cache ;;
1634 -datadir | --datadir | --datadi | --datad)
1635 ac_prev=datadir ;;
1636 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1637 datadir=$ac_optarg ;;
1639 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1640 | --dataroo | --dataro | --datar)
1641 ac_prev=datarootdir ;;
1642 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1643 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1644 datarootdir=$ac_optarg ;;
1646 -disable-* | --disable-*)
1647 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1648 # Reject names that are not valid shell variable names.
1649 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1650 as_fn_error $? "invalid feature name: $ac_useropt"
1651 ac_useropt_orig=$ac_useropt
1652 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1653 case $ac_user_opts in
1655 "enable_$ac_useropt"
1656 "*) ;;
1657 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1658 ac_unrecognized_sep=', ';;
1659 esac
1660 eval enable_$ac_useropt=no ;;
1662 -docdir | --docdir | --docdi | --doc | --do)
1663 ac_prev=docdir ;;
1664 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1665 docdir=$ac_optarg ;;
1667 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1668 ac_prev=dvidir ;;
1669 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1670 dvidir=$ac_optarg ;;
1672 -enable-* | --enable-*)
1673 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1674 # Reject names that are not valid shell variable names.
1675 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1676 as_fn_error $? "invalid feature name: $ac_useropt"
1677 ac_useropt_orig=$ac_useropt
1678 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1679 case $ac_user_opts in
1681 "enable_$ac_useropt"
1682 "*) ;;
1683 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1684 ac_unrecognized_sep=', ';;
1685 esac
1686 eval enable_$ac_useropt=\$ac_optarg ;;
1688 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1689 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1690 | --exec | --exe | --ex)
1691 ac_prev=exec_prefix ;;
1692 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1693 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1694 | --exec=* | --exe=* | --ex=*)
1695 exec_prefix=$ac_optarg ;;
1697 -gas | --gas | --ga | --g)
1698 # Obsolete; use --with-gas.
1699 with_gas=yes ;;
1701 -help | --help | --hel | --he | -h)
1702 ac_init_help=long ;;
1703 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1704 ac_init_help=recursive ;;
1705 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1706 ac_init_help=short ;;
1708 -host | --host | --hos | --ho)
1709 ac_prev=host_alias ;;
1710 -host=* | --host=* | --hos=* | --ho=*)
1711 host_alias=$ac_optarg ;;
1713 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1714 ac_prev=htmldir ;;
1715 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1716 | --ht=*)
1717 htmldir=$ac_optarg ;;
1719 -includedir | --includedir | --includedi | --included | --include \
1720 | --includ | --inclu | --incl | --inc)
1721 ac_prev=includedir ;;
1722 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1723 | --includ=* | --inclu=* | --incl=* | --inc=*)
1724 includedir=$ac_optarg ;;
1726 -infodir | --infodir | --infodi | --infod | --info | --inf)
1727 ac_prev=infodir ;;
1728 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1729 infodir=$ac_optarg ;;
1731 -libdir | --libdir | --libdi | --libd)
1732 ac_prev=libdir ;;
1733 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1734 libdir=$ac_optarg ;;
1736 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1737 | --libexe | --libex | --libe)
1738 ac_prev=libexecdir ;;
1739 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1740 | --libexe=* | --libex=* | --libe=*)
1741 libexecdir=$ac_optarg ;;
1743 -localedir | --localedir | --localedi | --localed | --locale)
1744 ac_prev=localedir ;;
1745 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1746 localedir=$ac_optarg ;;
1748 -localstatedir | --localstatedir | --localstatedi | --localstated \
1749 | --localstate | --localstat | --localsta | --localst | --locals)
1750 ac_prev=localstatedir ;;
1751 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1752 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1753 localstatedir=$ac_optarg ;;
1755 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1756 ac_prev=mandir ;;
1757 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1758 mandir=$ac_optarg ;;
1760 -nfp | --nfp | --nf)
1761 # Obsolete; use --without-fp.
1762 with_fp=no ;;
1764 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1765 | --no-cr | --no-c | -n)
1766 no_create=yes ;;
1768 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1769 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1770 no_recursion=yes ;;
1772 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1773 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1774 | --oldin | --oldi | --old | --ol | --o)
1775 ac_prev=oldincludedir ;;
1776 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1777 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1778 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1779 oldincludedir=$ac_optarg ;;
1781 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1782 ac_prev=prefix ;;
1783 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1784 prefix=$ac_optarg ;;
1786 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1787 | --program-pre | --program-pr | --program-p)
1788 ac_prev=program_prefix ;;
1789 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1790 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1791 program_prefix=$ac_optarg ;;
1793 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1794 | --program-suf | --program-su | --program-s)
1795 ac_prev=program_suffix ;;
1796 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1797 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1798 program_suffix=$ac_optarg ;;
1800 -program-transform-name | --program-transform-name \
1801 | --program-transform-nam | --program-transform-na \
1802 | --program-transform-n | --program-transform- \
1803 | --program-transform | --program-transfor \
1804 | --program-transfo | --program-transf \
1805 | --program-trans | --program-tran \
1806 | --progr-tra | --program-tr | --program-t)
1807 ac_prev=program_transform_name ;;
1808 -program-transform-name=* | --program-transform-name=* \
1809 | --program-transform-nam=* | --program-transform-na=* \
1810 | --program-transform-n=* | --program-transform-=* \
1811 | --program-transform=* | --program-transfor=* \
1812 | --program-transfo=* | --program-transf=* \
1813 | --program-trans=* | --program-tran=* \
1814 | --progr-tra=* | --program-tr=* | --program-t=*)
1815 program_transform_name=$ac_optarg ;;
1817 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1818 ac_prev=pdfdir ;;
1819 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1820 pdfdir=$ac_optarg ;;
1822 -psdir | --psdir | --psdi | --psd | --ps)
1823 ac_prev=psdir ;;
1824 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1825 psdir=$ac_optarg ;;
1827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1828 | -silent | --silent | --silen | --sile | --sil)
1829 silent=yes ;;
1831 -runstatedir | --runstatedir | --runstatedi | --runstated \
1832 | --runstate | --runstat | --runsta | --runst | --runs \
1833 | --run | --ru | --r)
1834 ac_prev=runstatedir ;;
1835 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1836 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1837 | --run=* | --ru=* | --r=*)
1838 runstatedir=$ac_optarg ;;
1840 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1841 ac_prev=sbindir ;;
1842 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1843 | --sbi=* | --sb=*)
1844 sbindir=$ac_optarg ;;
1846 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1847 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1848 | --sharedst | --shareds | --shared | --share | --shar \
1849 | --sha | --sh)
1850 ac_prev=sharedstatedir ;;
1851 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1852 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1853 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1854 | --sha=* | --sh=*)
1855 sharedstatedir=$ac_optarg ;;
1857 -site | --site | --sit)
1858 ac_prev=site ;;
1859 -site=* | --site=* | --sit=*)
1860 site=$ac_optarg ;;
1862 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1863 ac_prev=srcdir ;;
1864 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1865 srcdir=$ac_optarg ;;
1867 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1868 | --syscon | --sysco | --sysc | --sys | --sy)
1869 ac_prev=sysconfdir ;;
1870 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1871 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1872 sysconfdir=$ac_optarg ;;
1874 -target | --target | --targe | --targ | --tar | --ta | --t)
1875 ac_prev=target_alias ;;
1876 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1877 target_alias=$ac_optarg ;;
1879 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1880 verbose=yes ;;
1882 -version | --version | --versio | --versi | --vers | -V)
1883 ac_init_version=: ;;
1885 -with-* | --with-*)
1886 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1887 # Reject names that are not valid shell variable names.
1888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1889 as_fn_error $? "invalid package name: $ac_useropt"
1890 ac_useropt_orig=$ac_useropt
1891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1892 case $ac_user_opts in
1894 "with_$ac_useropt"
1895 "*) ;;
1896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1897 ac_unrecognized_sep=', ';;
1898 esac
1899 eval with_$ac_useropt=\$ac_optarg ;;
1901 -without-* | --without-*)
1902 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1903 # Reject names that are not valid shell variable names.
1904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1905 as_fn_error $? "invalid package name: $ac_useropt"
1906 ac_useropt_orig=$ac_useropt
1907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1908 case $ac_user_opts in
1910 "with_$ac_useropt"
1911 "*) ;;
1912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1913 ac_unrecognized_sep=', ';;
1914 esac
1915 eval with_$ac_useropt=no ;;
1917 --x)
1918 # Obsolete; use --with-x.
1919 with_x=yes ;;
1921 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1922 | --x-incl | --x-inc | --x-in | --x-i)
1923 ac_prev=x_includes ;;
1924 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1925 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1926 x_includes=$ac_optarg ;;
1928 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1929 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1930 ac_prev=x_libraries ;;
1931 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1932 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1933 x_libraries=$ac_optarg ;;
1935 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1936 Try \`$0 --help' for more information"
1939 *=*)
1940 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1941 # Reject names that are not valid shell variable names.
1942 case $ac_envvar in #(
1943 '' | [0-9]* | *[!_$as_cr_alnum]* )
1944 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1945 esac
1946 eval $ac_envvar=\$ac_optarg
1947 export $ac_envvar ;;
1950 # FIXME: should be removed in autoconf 3.0.
1951 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1952 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1953 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1954 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1957 esac
1958 done
1960 if test -n "$ac_prev"; then
1961 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1962 as_fn_error $? "missing argument to $ac_option"
1965 if test -n "$ac_unrecognized_opts"; then
1966 case $enable_option_checking in
1967 no) ;;
1968 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1969 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1970 esac
1973 # Check all directory arguments for consistency.
1974 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1975 datadir sysconfdir sharedstatedir localstatedir includedir \
1976 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1977 libdir localedir mandir runstatedir
1979 eval ac_val=\$$ac_var
1980 # Remove trailing slashes.
1981 case $ac_val in
1982 */ )
1983 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1984 eval $ac_var=\$ac_val;;
1985 esac
1986 # Be sure to have absolute directory names.
1987 case $ac_val in
1988 [\\/$]* | ?:[\\/]* ) continue;;
1989 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1990 esac
1991 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1992 done
1994 # There might be people who depend on the old broken behavior: `$host'
1995 # used to hold the argument of --host etc.
1996 # FIXME: To remove some day.
1997 build=$build_alias
1998 host=$host_alias
1999 target=$target_alias
2001 # FIXME: To remove some day.
2002 if test "x$host_alias" != x; then
2003 if test "x$build_alias" = x; then
2004 cross_compiling=maybe
2005 elif test "x$build_alias" != "x$host_alias"; then
2006 cross_compiling=yes
2010 ac_tool_prefix=
2011 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2013 test "$silent" = yes && exec 6>/dev/null
2016 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2017 ac_ls_di=`ls -di .` &&
2018 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2019 as_fn_error $? "working directory cannot be determined"
2020 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2021 as_fn_error $? "pwd does not report name of working directory"
2024 # Find the source files, if location was not specified.
2025 if test -z "$srcdir"; then
2026 ac_srcdir_defaulted=yes
2027 # Try the directory containing this script, then the parent directory.
2028 ac_confdir=`$as_dirname -- "$as_myself" ||
2029 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2030 X"$as_myself" : 'X\(//\)[^/]' \| \
2031 X"$as_myself" : 'X\(//\)$' \| \
2032 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2033 $as_echo X"$as_myself" |
2034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2035 s//\1/
2038 /^X\(\/\/\)[^/].*/{
2039 s//\1/
2042 /^X\(\/\/\)$/{
2043 s//\1/
2046 /^X\(\/\).*/{
2047 s//\1/
2050 s/.*/./; q'`
2051 srcdir=$ac_confdir
2052 if test ! -r "$srcdir/$ac_unique_file"; then
2053 srcdir=..
2055 else
2056 ac_srcdir_defaulted=no
2058 if test ! -r "$srcdir/$ac_unique_file"; then
2059 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2060 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2062 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2063 ac_abs_confdir=`(
2064 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2065 pwd)`
2066 # When building in place, set srcdir=.
2067 if test "$ac_abs_confdir" = "$ac_pwd"; then
2068 srcdir=.
2070 # Remove unnecessary trailing slashes from srcdir.
2071 # Double slashes in file names in object file debugging info
2072 # mess up M-x gdb in Emacs.
2073 case $srcdir in
2074 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2075 esac
2076 for ac_var in $ac_precious_vars; do
2077 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2078 eval ac_env_${ac_var}_value=\$${ac_var}
2079 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2080 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2081 done
2084 # Report the --help message.
2086 if test "$ac_init_help" = "long"; then
2087 # Omit some internal or obsolete options to make the list less imposing.
2088 # This message is too long to be a string in the A/UX 3.1 sh.
2089 cat <<_ACEOF
2090 \`configure' configures Wine 1.7.54 to adapt to many kinds of systems.
2092 Usage: $0 [OPTION]... [VAR=VALUE]...
2094 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2095 VAR=VALUE. See below for descriptions of some of the useful variables.
2097 Defaults for the options are specified in brackets.
2099 Configuration:
2100 -h, --help display this help and exit
2101 --help=short display options specific to this package
2102 --help=recursive display the short help of all the included packages
2103 -V, --version display version information and exit
2104 -q, --quiet, --silent do not print \`checking ...' messages
2105 --cache-file=FILE cache test results in FILE [disabled]
2106 -C, --config-cache alias for \`--cache-file=config.cache'
2107 -n, --no-create do not create output files
2108 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2110 Installation directories:
2111 --prefix=PREFIX install architecture-independent files in PREFIX
2112 [$ac_default_prefix]
2113 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2114 [PREFIX]
2116 By default, \`make install' will install all the files in
2117 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2118 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2119 for instance \`--prefix=\$HOME'.
2121 For better control, use the options below.
2123 Fine tuning of the installation directories:
2124 --bindir=DIR user executables [EPREFIX/bin]
2125 --sbindir=DIR system admin executables [EPREFIX/sbin]
2126 --libexecdir=DIR program executables [EPREFIX/libexec]
2127 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2128 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2129 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2130 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2131 --libdir=DIR object code libraries [EPREFIX/lib]
2132 --includedir=DIR C header files [PREFIX/include]
2133 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2134 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2135 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2136 --infodir=DIR info documentation [DATAROOTDIR/info]
2137 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2138 --mandir=DIR man documentation [DATAROOTDIR/man]
2139 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2140 --htmldir=DIR html documentation [DOCDIR]
2141 --dvidir=DIR dvi documentation [DOCDIR]
2142 --pdfdir=DIR pdf documentation [DOCDIR]
2143 --psdir=DIR ps documentation [DOCDIR]
2144 _ACEOF
2146 cat <<\_ACEOF
2148 X features:
2149 --x-includes=DIR X include files are in DIR
2150 --x-libraries=DIR X library files are in DIR
2152 System types:
2153 --build=BUILD configure for building on BUILD [guessed]
2154 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2155 _ACEOF
2158 if test -n "$ac_init_help"; then
2159 case $ac_init_help in
2160 short | recursive ) echo "Configuration of Wine 1.7.54:";;
2161 esac
2162 cat <<\_ACEOF
2164 Optional Features:
2165 --disable-option-checking ignore unrecognized --enable/--with options
2166 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2167 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2168 --disable-win16 do not include Win16 support
2169 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2170 binaries)
2171 --disable-tests do not build the regression tests
2172 --enable-maintainer-mode
2173 enable maintainer-specific build rules
2174 --disable-largefile omit support for large files
2176 Optional Packages:
2177 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2178 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2179 --without-alsa do not use the Alsa sound support
2180 --without-capi do not use CAPI (ISDN support)
2181 --without-cms do not use CMS (color management support)
2182 --without-coreaudio do not use the CoreAudio sound support
2183 --without-cups do not use CUPS
2184 --without-curses do not use (n)curses
2185 --without-dbus do not use DBus (dynamic device support)
2186 --without-fontconfig do not use fontconfig
2187 --without-freetype do not use the FreeType library
2188 --without-gettext do not use gettext
2189 --with-gettextpo use the GetTextPO library to rebuild po files
2190 --without-gphoto do not use gphoto (Digital Camera support)
2191 --without-glu do not use the GLU library
2192 --without-gnutls do not use GnuTLS (schannel support)
2193 --without-gsm do not use libgsm (GSM 06.10 codec support)
2194 --without-gstreamer do not use GStreamer (codecs support)
2195 --without-hal do not use HAL (dynamic device support)
2196 --without-jpeg do not use JPEG
2197 --without-ldap do not use LDAP
2198 --without-mpg123 do not use the mpg123 library
2199 --without-netapi do not use the Samba NetAPI library
2200 --without-openal do not use OpenAL
2201 --without-opencl do not use OpenCL
2202 --without-opengl do not use OpenGL
2203 --without-osmesa do not use the OSMesa library
2204 --without-oss do not use the OSS sound support
2205 --without-pcap do not use the Packet Capture library
2206 --without-png do not use PNG
2207 --without-pthread do not use the pthread library
2208 --without-sane do not use SANE (scanner support)
2209 --without-tiff do not use TIFF
2210 --without-v4l do not use v4l1 (v4l support)
2211 --without-xcomposite do not use the Xcomposite extension
2212 --without-xcursor do not use the Xcursor extension
2213 --without-xinerama do not use Xinerama (multi-monitor support)
2214 --without-xinput do not use the Xinput extension
2215 --without-xinput2 do not use the Xinput 2 extension
2216 --without-xml do not use XML
2217 --without-xrandr do not use Xrandr (resolution changes)
2218 --without-xrender do not use the Xrender extension
2219 --without-xshape do not use the Xshape extension
2220 --without-xshm do not use XShm (shared memory extension)
2221 --without-xslt do not use XSLT
2222 --without-xxf86vm do not use XFree video mode extension
2223 --without-zlib do not use Zlib (data compression)
2224 --with-wine-tools=DIR use Wine tools from directory DIR
2225 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2226 --with-x use the X Window System
2228 Some influential environment variables:
2229 CC C compiler command
2230 CFLAGS C compiler flags
2231 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2232 nonstandard directory <lib dir>
2233 LIBS libraries to pass to the linker, e.g. -l<library>
2234 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2235 you have headers in a nonstandard directory <include dir>
2236 CXX C++ compiler command
2237 CXXFLAGS C++ compiler flags
2238 CPP C preprocessor
2239 XMKMF Path to xmkmf, Makefile generator for X Window System
2240 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2241 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2242 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2243 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2244 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2245 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2246 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2247 HAL_LIBS Linker flags for hal, overriding pkg-config
2248 GNUTLS_CFLAGS
2249 C compiler flags for gnutls, overriding pkg-config
2250 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2251 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2252 SANE_LIBS Linker flags for libsane, overriding pkg-config
2253 GPHOTO2_CFLAGS
2254 C compiler flags for libgphoto2, overriding pkg-config
2255 GPHOTO2_LIBS
2256 Linker flags for libgphoto2, overriding pkg-config
2257 GPHOTO2_PORT_CFLAGS
2258 C compiler flags for libgphoto2_port, overriding pkg-config
2259 GPHOTO2_PORT_LIBS
2260 Linker flags for libgphoto2_port, overriding pkg-config
2261 LCMS2_CFLAGS
2262 C compiler flags for lcms2, overriding pkg-config
2263 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2264 FREETYPE_CFLAGS
2265 C compiler flags for freetype2, overriding pkg-config
2266 FREETYPE_LIBS
2267 Linker flags for freetype2, overriding pkg-config
2268 GSTREAMER_CFLAGS
2269 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2270 GSTREAMER_LIBS
2271 Linker flags for gstreamer-app-0.10, overriding pkg-config
2272 CAPI20_CFLAGS
2273 C compiler flags for capi20, overriding pkg-config
2274 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2275 FONTCONFIG_CFLAGS
2276 C compiler flags for fontconfig, overriding pkg-config
2277 FONTCONFIG_LIBS
2278 Linker flags for fontconfig, overriding pkg-config
2279 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2280 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2281 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2282 PNG_LIBS Linker flags for libpng, overriding pkg-config
2283 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2284 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2285 MPG123_CFLAGS
2286 C compiler flags for libmpg123, overriding pkg-config
2287 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2289 Use these variables to override the choices made by `configure' or to help
2290 it to find libraries and programs with nonstandard names/locations.
2292 Report bugs to <wine-devel@winehq.org>.
2293 Wine home page: <http://www.winehq.org>.
2294 _ACEOF
2295 ac_status=$?
2298 if test "$ac_init_help" = "recursive"; then
2299 # If there are subdirs, report their specific --help.
2300 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2301 test -d "$ac_dir" ||
2302 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2303 continue
2304 ac_builddir=.
2306 case "$ac_dir" in
2307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2309 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2310 # A ".." for each directory in $ac_dir_suffix.
2311 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2312 case $ac_top_builddir_sub in
2313 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2314 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2315 esac ;;
2316 esac
2317 ac_abs_top_builddir=$ac_pwd
2318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2319 # for backward compatibility:
2320 ac_top_builddir=$ac_top_build_prefix
2322 case $srcdir in
2323 .) # We are building in place.
2324 ac_srcdir=.
2325 ac_top_srcdir=$ac_top_builddir_sub
2326 ac_abs_top_srcdir=$ac_pwd ;;
2327 [\\/]* | ?:[\\/]* ) # Absolute name.
2328 ac_srcdir=$srcdir$ac_dir_suffix;
2329 ac_top_srcdir=$srcdir
2330 ac_abs_top_srcdir=$srcdir ;;
2331 *) # Relative name.
2332 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2333 ac_top_srcdir=$ac_top_build_prefix$srcdir
2334 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2335 esac
2336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2338 cd "$ac_dir" || { ac_status=$?; continue; }
2339 # Check for guested configure.
2340 if test -f "$ac_srcdir/configure.gnu"; then
2341 echo &&
2342 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2343 elif test -f "$ac_srcdir/configure"; then
2344 echo &&
2345 $SHELL "$ac_srcdir/configure" --help=recursive
2346 else
2347 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2348 fi || ac_status=$?
2349 cd "$ac_pwd" || { ac_status=$?; break; }
2350 done
2353 test -n "$ac_init_help" && exit $ac_status
2354 if $ac_init_version; then
2355 cat <<\_ACEOF
2356 Wine configure 1.7.54
2357 generated by GNU Autoconf 2.69
2359 Copyright (C) 2012 Free Software Foundation, Inc.
2360 This configure script is free software; the Free Software Foundation
2361 gives unlimited permission to copy, distribute and modify it.
2362 _ACEOF
2363 exit
2366 ## ------------------------ ##
2367 ## Autoconf initialization. ##
2368 ## ------------------------ ##
2370 # ac_fn_c_try_compile LINENO
2371 # --------------------------
2372 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2373 ac_fn_c_try_compile ()
2375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2376 rm -f conftest.$ac_objext
2377 if { { ac_try="$ac_compile"
2378 case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2381 esac
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_compile") 2>conftest.err
2385 ac_status=$?
2386 if test -s conftest.err; then
2387 grep -v '^ *+' conftest.err >conftest.er1
2388 cat conftest.er1 >&5
2389 mv -f conftest.er1 conftest.err
2391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392 test $ac_status = 0; } && {
2393 test -z "$ac_c_werror_flag" ||
2394 test ! -s conftest.err
2395 } && test -s conftest.$ac_objext; then :
2396 ac_retval=0
2397 else
2398 $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2401 ac_retval=1
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_status $ac_retval
2406 } # ac_fn_c_try_compile
2408 # ac_fn_cxx_try_compile LINENO
2409 # ----------------------------
2410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_cxx_try_compile ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 rm -f conftest.$ac_objext
2415 if { { ac_try="$ac_compile"
2416 case "(($ac_try" in
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_compile") 2>conftest.err
2423 ac_status=$?
2424 if test -s conftest.err; then
2425 grep -v '^ *+' conftest.err >conftest.er1
2426 cat conftest.er1 >&5
2427 mv -f conftest.er1 conftest.err
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; } && {
2431 test -z "$ac_cxx_werror_flag" ||
2432 test ! -s conftest.err
2433 } && test -s conftest.$ac_objext; then :
2434 ac_retval=0
2435 else
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 ac_retval=1
2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 as_fn_set_status $ac_retval
2444 } # ac_fn_cxx_try_compile
2446 # ac_fn_c_try_link LINENO
2447 # -----------------------
2448 # Try to link conftest.$ac_ext, and return whether this succeeded.
2449 ac_fn_c_try_link ()
2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452 rm -f conftest.$ac_objext conftest$ac_exeext
2453 if { { ac_try="$ac_link"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_link") 2>conftest.err
2461 ac_status=$?
2462 if test -s conftest.err; then
2463 grep -v '^ *+' conftest.err >conftest.er1
2464 cat conftest.er1 >&5
2465 mv -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; } && {
2469 test -z "$ac_c_werror_flag" ||
2470 test ! -s conftest.err
2471 } && test -s conftest$ac_exeext && {
2472 test "$cross_compiling" = yes ||
2473 test -x conftest$ac_exeext
2474 }; then :
2475 ac_retval=0
2476 else
2477 $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 ac_retval=1
2482 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2483 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2484 # interfere with the next link command; also delete a directory that is
2485 # left behind by Apple's compiler. We do this before executing the actions.
2486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488 as_fn_set_status $ac_retval
2490 } # ac_fn_c_try_link
2492 # ac_fn_c_try_cpp LINENO
2493 # ----------------------
2494 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2495 ac_fn_c_try_cpp ()
2497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2498 if { { ac_try="$ac_cpp conftest.$ac_ext"
2499 case "(($ac_try" in
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2502 esac
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2506 ac_status=$?
2507 if test -s conftest.err; then
2508 grep -v '^ *+' conftest.err >conftest.er1
2509 cat conftest.er1 >&5
2510 mv -f conftest.er1 conftest.err
2512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2513 test $ac_status = 0; } > conftest.i && {
2514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2515 test ! -s conftest.err
2516 }; then :
2517 ac_retval=0
2518 else
2519 $as_echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.$ac_ext >&5
2522 ac_retval=1
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2525 as_fn_set_status $ac_retval
2527 } # ac_fn_c_try_cpp
2529 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2530 # -------------------------------------------------------
2531 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2532 # the include files in INCLUDES and setting the cache variable VAR
2533 # accordingly.
2534 ac_fn_c_check_header_mongrel ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 if eval \${$3+:} false; then :
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2539 $as_echo_n "checking for $2... " >&6; }
2540 if eval \${$3+:} false; then :
2541 $as_echo_n "(cached) " >&6
2543 eval ac_res=\$$3
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2545 $as_echo "$ac_res" >&6; }
2546 else
2547 # Is the header compilable?
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2549 $as_echo_n "checking $2 usability... " >&6; }
2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2553 #include <$2>
2554 _ACEOF
2555 if ac_fn_c_try_compile "$LINENO"; then :
2556 ac_header_compiler=yes
2557 else
2558 ac_header_compiler=no
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2562 $as_echo "$ac_header_compiler" >&6; }
2564 # Is the header present?
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2566 $as_echo_n "checking $2 presence... " >&6; }
2567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2568 /* end confdefs.h. */
2569 #include <$2>
2570 _ACEOF
2571 if ac_fn_c_try_cpp "$LINENO"; then :
2572 ac_header_preproc=yes
2573 else
2574 ac_header_preproc=no
2576 rm -f conftest.err conftest.i conftest.$ac_ext
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2578 $as_echo "$ac_header_preproc" >&6; }
2580 # So? What about this header?
2581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2582 yes:no: )
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2584 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2586 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2588 no:yes:* )
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2590 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2592 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2594 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2596 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2598 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2599 ( $as_echo "## ------------------------------------ ##
2600 ## Report this to wine-devel@winehq.org ##
2601 ## ------------------------------------ ##"
2602 ) | sed "s/^/$as_me: WARNING: /" >&2
2604 esac
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2606 $as_echo_n "checking for $2... " >&6; }
2607 if eval \${$3+:} false; then :
2608 $as_echo_n "(cached) " >&6
2609 else
2610 eval "$3=\$ac_header_compiler"
2612 eval ac_res=\$$3
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2614 $as_echo "$ac_res" >&6; }
2616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 } # ac_fn_c_check_header_mongrel
2620 # ac_fn_c_try_run LINENO
2621 # ----------------------
2622 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2623 # that executables *can* be run.
2624 ac_fn_c_try_run ()
2626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2627 if { { ac_try="$ac_link"
2628 case "(($ac_try" in
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2631 esac
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633 $as_echo "$ac_try_echo"; } >&5
2634 (eval "$ac_link") 2>&5
2635 ac_status=$?
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2638 { { case "(($ac_try" in
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2641 esac
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_try") 2>&5
2645 ac_status=$?
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; }; }; then :
2648 ac_retval=0
2649 else
2650 $as_echo "$as_me: program exited with status $ac_status" >&5
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 ac_retval=$ac_status
2656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 as_fn_set_status $ac_retval
2660 } # ac_fn_c_try_run
2662 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2663 # -------------------------------------------------------
2664 # Tests whether HEADER exists and can be compiled using the include files in
2665 # INCLUDES, setting the cache variable VAR accordingly.
2666 ac_fn_c_check_header_compile ()
2668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2670 $as_echo_n "checking for $2... " >&6; }
2671 if eval \${$3+:} false; then :
2672 $as_echo_n "(cached) " >&6
2673 else
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675 /* end confdefs.h. */
2677 #include <$2>
2678 _ACEOF
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 eval "$3=yes"
2681 else
2682 eval "$3=no"
2684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2686 eval ac_res=\$$3
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2688 $as_echo "$ac_res" >&6; }
2689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 } # ac_fn_c_check_header_compile
2693 # ac_fn_c_check_func LINENO FUNC VAR
2694 # ----------------------------------
2695 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2696 ac_fn_c_check_func ()
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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
2703 else
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2706 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2708 #define $2 innocuous_$2
2710 /* System header to define __stub macros and hopefully few prototypes,
2711 which can conflict with char $2 (); below.
2712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2713 <limits.h> exists even on freestanding compilers. */
2715 #ifdef __STDC__
2716 # include <limits.h>
2717 #else
2718 # include <assert.h>
2719 #endif
2721 #undef $2
2723 /* Override any GCC internal prototype to avoid an error.
2724 Use char because int might match the return type of a GCC
2725 builtin and then its argument prototype would still apply. */
2726 #ifdef __cplusplus
2727 extern "C"
2728 #endif
2729 char $2 ();
2730 /* The GNU C library defines this for functions which it implements
2731 to always fail with ENOSYS. Some functions are actually named
2732 something starting with __ and the normal name is an alias. */
2733 #if defined __stub_$2 || defined __stub___$2
2734 choke me
2735 #endif
2738 main ()
2740 return $2 ();
2742 return 0;
2744 _ACEOF
2745 if ac_fn_c_try_link "$LINENO"; then :
2746 eval "$3=yes"
2747 else
2748 eval "$3=no"
2750 rm -f core conftest.err conftest.$ac_objext \
2751 conftest$ac_exeext conftest.$ac_ext
2753 eval ac_res=\$$3
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2755 $as_echo "$ac_res" >&6; }
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 } # ac_fn_c_check_func
2760 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2761 # ----------------------------------------------------
2762 # Tries to find if the field MEMBER exists in type AGGR, after including
2763 # INCLUDES, setting cache variable VAR accordingly.
2764 ac_fn_c_check_member ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2768 $as_echo_n "checking for $2.$3... " >&6; }
2769 if eval \${$4+:} false; then :
2770 $as_echo_n "(cached) " >&6
2771 else
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2776 main ()
2778 static $2 ac_aggr;
2779 if (ac_aggr.$3)
2780 return 0;
2782 return 0;
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"; then :
2786 eval "$4=yes"
2787 else
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2792 main ()
2794 static $2 ac_aggr;
2795 if (sizeof ac_aggr.$3)
2796 return 0;
2798 return 0;
2800 _ACEOF
2801 if ac_fn_c_try_compile "$LINENO"; then :
2802 eval "$4=yes"
2803 else
2804 eval "$4=no"
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 eval ac_res=\$$4
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_member
2817 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2818 # -------------------------------------------
2819 # Tests whether TYPE exists after having included INCLUDES, setting cache
2820 # variable VAR accordingly.
2821 ac_fn_c_check_type ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2825 $as_echo_n "checking for $2... " >&6; }
2826 if eval \${$3+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 eval "$3=no"
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2834 main ()
2836 if (sizeof ($2))
2837 return 0;
2839 return 0;
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 if (sizeof (($2)))
2850 return 0;
2852 return 0;
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2857 else
2858 eval "$3=yes"
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 eval ac_res=\$$3
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 $as_echo "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_c_check_type
2870 cat >config.log <<_ACEOF
2871 This file contains any messages produced by compilers while
2872 running configure, to aid debugging if configure makes a mistake.
2874 It was created by Wine $as_me 1.7.54, which was
2875 generated by GNU Autoconf 2.69. Invocation command line was
2877 $ $0 $@
2879 _ACEOF
2880 exec 5>>config.log
2882 cat <<_ASUNAME
2883 ## --------- ##
2884 ## Platform. ##
2885 ## --------- ##
2887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2894 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2896 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2897 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2899 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2900 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2901 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2902 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2904 _ASUNAME
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 for as_dir in $PATH
2909 IFS=$as_save_IFS
2910 test -z "$as_dir" && as_dir=.
2911 $as_echo "PATH: $as_dir"
2912 done
2913 IFS=$as_save_IFS
2915 } >&5
2917 cat >&5 <<_ACEOF
2920 ## ----------- ##
2921 ## Core tests. ##
2922 ## ----------- ##
2924 _ACEOF
2927 # Keep a trace of the command line.
2928 # Strip out --no-create and --no-recursion so they do not pile up.
2929 # Strip out --silent because we don't want to record it for future runs.
2930 # Also quote any args containing shell meta-characters.
2931 # Make two passes to allow for proper duplicate-argument suppression.
2932 ac_configure_args=
2933 ac_configure_args0=
2934 ac_configure_args1=
2935 ac_must_keep_next=false
2936 for ac_pass in 1 2
2938 for ac_arg
2940 case $ac_arg in
2941 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2943 | -silent | --silent | --silen | --sile | --sil)
2944 continue ;;
2945 *\'*)
2946 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2947 esac
2948 case $ac_pass in
2949 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2951 as_fn_append ac_configure_args1 " '$ac_arg'"
2952 if test $ac_must_keep_next = true; then
2953 ac_must_keep_next=false # Got value, back to normal.
2954 else
2955 case $ac_arg in
2956 *=* | --config-cache | -C | -disable-* | --disable-* \
2957 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2958 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2959 | -with-* | --with-* | -without-* | --without-* | --x)
2960 case "$ac_configure_args0 " in
2961 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2962 esac
2964 -* ) ac_must_keep_next=true ;;
2965 esac
2967 as_fn_append ac_configure_args " '$ac_arg'"
2969 esac
2970 done
2971 done
2972 { ac_configure_args0=; unset ac_configure_args0;}
2973 { ac_configure_args1=; unset ac_configure_args1;}
2975 # When interrupted or exit'd, cleanup temporary files, and complete
2976 # config.log. We remove comments because anyway the quotes in there
2977 # would cause problems or look ugly.
2978 # WARNING: Use '\'' to represent an apostrophe within the trap.
2979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2980 trap 'exit_status=$?
2981 # Save into config.log some information that might help in debugging.
2983 echo
2985 $as_echo "## ---------------- ##
2986 ## Cache variables. ##
2987 ## ---------------- ##"
2988 echo
2989 # The following way of writing the cache mishandles newlines in values,
2991 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2992 eval ac_val=\$$ac_var
2993 case $ac_val in #(
2994 *${as_nl}*)
2995 case $ac_var in #(
2996 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2998 esac
2999 case $ac_var in #(
3000 _ | IFS | as_nl) ;; #(
3001 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3002 *) { eval $ac_var=; unset $ac_var;} ;;
3003 esac ;;
3004 esac
3005 done
3006 (set) 2>&1 |
3007 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3008 *${as_nl}ac_space=\ *)
3009 sed -n \
3010 "s/'\''/'\''\\\\'\'''\''/g;
3011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3012 ;; #(
3014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3016 esac |
3017 sort
3019 echo
3021 $as_echo "## ----------------- ##
3022 ## Output variables. ##
3023 ## ----------------- ##"
3024 echo
3025 for ac_var in $ac_subst_vars
3027 eval ac_val=\$$ac_var
3028 case $ac_val in
3029 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3030 esac
3031 $as_echo "$ac_var='\''$ac_val'\''"
3032 done | sort
3033 echo
3035 if test -n "$ac_subst_files"; then
3036 $as_echo "## ------------------- ##
3037 ## File substitutions. ##
3038 ## ------------------- ##"
3039 echo
3040 for ac_var in $ac_subst_files
3042 eval ac_val=\$$ac_var
3043 case $ac_val in
3044 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3045 esac
3046 $as_echo "$ac_var='\''$ac_val'\''"
3047 done | sort
3048 echo
3051 if test -s confdefs.h; then
3052 $as_echo "## ----------- ##
3053 ## confdefs.h. ##
3054 ## ----------- ##"
3055 echo
3056 cat confdefs.h
3057 echo
3059 test "$ac_signal" != 0 &&
3060 $as_echo "$as_me: caught signal $ac_signal"
3061 $as_echo "$as_me: exit $exit_status"
3062 } >&5
3063 rm -f core *.core core.conftest.* &&
3064 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3065 exit $exit_status
3067 for ac_signal in 1 2 13 15; do
3068 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3069 done
3070 ac_signal=0
3072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3073 rm -f -r conftest* confdefs.h
3075 $as_echo "/* confdefs.h */" > confdefs.h
3077 # Predefined preprocessor variables.
3079 cat >>confdefs.h <<_ACEOF
3080 #define PACKAGE_NAME "$PACKAGE_NAME"
3081 _ACEOF
3083 cat >>confdefs.h <<_ACEOF
3084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3085 _ACEOF
3087 cat >>confdefs.h <<_ACEOF
3088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3089 _ACEOF
3091 cat >>confdefs.h <<_ACEOF
3092 #define PACKAGE_STRING "$PACKAGE_STRING"
3093 _ACEOF
3095 cat >>confdefs.h <<_ACEOF
3096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3097 _ACEOF
3099 cat >>confdefs.h <<_ACEOF
3100 #define PACKAGE_URL "$PACKAGE_URL"
3101 _ACEOF
3104 # Let the site file select an alternate cache file if it wants to.
3105 # Prefer an explicitly selected file to automatically selected ones.
3106 ac_site_file1=NONE
3107 ac_site_file2=NONE
3108 if test -n "$CONFIG_SITE"; then
3109 # We do not want a PATH search for config.site.
3110 case $CONFIG_SITE in #((
3111 -*) ac_site_file1=./$CONFIG_SITE;;
3112 */*) ac_site_file1=$CONFIG_SITE;;
3113 *) ac_site_file1=./$CONFIG_SITE;;
3114 esac
3115 elif test "x$prefix" != xNONE; then
3116 ac_site_file1=$prefix/share/config.site
3117 ac_site_file2=$prefix/etc/config.site
3118 else
3119 ac_site_file1=$ac_default_prefix/share/config.site
3120 ac_site_file2=$ac_default_prefix/etc/config.site
3122 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3124 test "x$ac_site_file" = xNONE && continue
3125 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3127 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3128 sed 's/^/| /' "$ac_site_file" >&5
3129 . "$ac_site_file" \
3130 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $? "failed to load site script $ac_site_file
3133 See \`config.log' for more details" "$LINENO" 5; }
3135 done
3137 if test -r "$cache_file"; then
3138 # Some versions of bash will fail to source /dev/null (special files
3139 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3140 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3142 $as_echo "$as_me: loading cache $cache_file" >&6;}
3143 case $cache_file in
3144 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3145 *) . "./$cache_file";;
3146 esac
3148 else
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3150 $as_echo "$as_me: creating cache $cache_file" >&6;}
3151 >$cache_file
3154 # Check that the precious variables saved in the cache have kept the same
3155 # value.
3156 ac_cache_corrupted=false
3157 for ac_var in $ac_precious_vars; do
3158 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3159 eval ac_new_set=\$ac_env_${ac_var}_set
3160 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3161 eval ac_new_val=\$ac_env_${ac_var}_value
3162 case $ac_old_set,$ac_new_set in
3163 set,)
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3166 ac_cache_corrupted=: ;;
3167 ,set)
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3170 ac_cache_corrupted=: ;;
3171 ,);;
3173 if test "x$ac_old_val" != "x$ac_new_val"; then
3174 # differences in whitespace do not lead to failure.
3175 ac_old_val_w=`echo x $ac_old_val`
3176 ac_new_val_w=`echo x $ac_new_val`
3177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3180 ac_cache_corrupted=:
3181 else
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3184 eval $ac_var=\$ac_old_val
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3187 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3190 fi;;
3191 esac
3192 # Pass precious variables to config.status.
3193 if test "$ac_new_set" = set; then
3194 case $ac_new_val in
3195 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3196 *) ac_arg=$ac_var=$ac_new_val ;;
3197 esac
3198 case " $ac_configure_args " in
3199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3200 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3201 esac
3203 done
3204 if $ac_cache_corrupted; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3209 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3211 ## -------------------- ##
3212 ## Main body of script. ##
3213 ## -------------------- ##
3215 ac_ext=c
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 ac_config_headers="$ac_config_headers include/config.h"
3225 ac_aux_dir=
3226 for ac_dir in tools "$srcdir"/tools; do
3227 if test -f "$ac_dir/install-sh"; then
3228 ac_aux_dir=$ac_dir
3229 ac_install_sh="$ac_aux_dir/install-sh -c"
3230 break
3231 elif test -f "$ac_dir/install.sh"; then
3232 ac_aux_dir=$ac_dir
3233 ac_install_sh="$ac_aux_dir/install.sh -c"
3234 break
3235 elif test -f "$ac_dir/shtool"; then
3236 ac_aux_dir=$ac_dir
3237 ac_install_sh="$ac_aux_dir/shtool install -c"
3238 break
3240 done
3241 if test -z "$ac_aux_dir"; then
3242 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3245 # These three variables are undocumented and unsupported,
3246 # and are intended to be withdrawn in a future Autoconf release.
3247 # They can cause serious problems if a builder's source tree is in a directory
3248 # whose full name contains unusual characters.
3249 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3250 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3251 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3255 libwine_version="1.0"
3259 # Check whether --enable-win16 was given.
3260 if test "${enable_win16+set}" = set; then :
3261 enableval=$enable_win16;
3264 # Check whether --enable-win64 was given.
3265 if test "${enable_win64+set}" = set; then :
3266 enableval=$enable_win64;
3269 # Check whether --enable-tests was given.
3270 if test "${enable_tests+set}" = set; then :
3271 enableval=$enable_tests;
3274 # Check whether --enable-maintainer-mode was given.
3275 if test "${enable_maintainer_mode+set}" = set; then :
3276 enableval=$enable_maintainer_mode;
3281 # Check whether --with-alsa was given.
3282 if test "${with_alsa+set}" = set; then :
3283 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3287 # Check whether --with-capi was given.
3288 if test "${with_capi+set}" = set; then :
3289 withval=$with_capi;
3293 # Check whether --with-cms was given.
3294 if test "${with_cms+set}" = set; then :
3295 withval=$with_cms;
3299 # Check whether --with-coreaudio was given.
3300 if test "${with_coreaudio+set}" = set; then :
3301 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3305 # Check whether --with-cups was given.
3306 if test "${with_cups+set}" = set; then :
3307 withval=$with_cups;
3311 # Check whether --with-curses was given.
3312 if test "${with_curses+set}" = set; then :
3313 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3317 # Check whether --with-dbus was given.
3318 if test "${with_dbus+set}" = set; then :
3319 withval=$with_dbus;
3323 # Check whether --with-fontconfig was given.
3324 if test "${with_fontconfig+set}" = set; then :
3325 withval=$with_fontconfig;
3329 # Check whether --with-freetype was given.
3330 if test "${with_freetype+set}" = set; then :
3331 withval=$with_freetype;
3335 # Check whether --with-gettext was given.
3336 if test "${with_gettext+set}" = set; then :
3337 withval=$with_gettext;
3341 # Check whether --with-gettextpo was given.
3342 if test "${with_gettextpo+set}" = set; then :
3343 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3347 # Check whether --with-gphoto was given.
3348 if test "${with_gphoto+set}" = set; then :
3349 withval=$with_gphoto;
3353 # Check whether --with-glu was given.
3354 if test "${with_glu+set}" = set; then :
3355 withval=$with_glu;
3359 # Check whether --with-gnutls was given.
3360 if test "${with_gnutls+set}" = set; then :
3361 withval=$with_gnutls;
3365 # Check whether --with-gsm was given.
3366 if test "${with_gsm+set}" = set; then :
3367 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3371 # Check whether --with-gstreamer was given.
3372 if test "${with_gstreamer+set}" = set; then :
3373 withval=$with_gstreamer;
3377 # Check whether --with-hal was given.
3378 if test "${with_hal+set}" = set; then :
3379 withval=$with_hal;
3383 # Check whether --with-jpeg was given.
3384 if test "${with_jpeg+set}" = set; then :
3385 withval=$with_jpeg;
3389 # Check whether --with-ldap was given.
3390 if test "${with_ldap+set}" = set; then :
3391 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3395 # Check whether --with-mpg123 was given.
3396 if test "${with_mpg123+set}" = set; then :
3397 withval=$with_mpg123;
3401 # Check whether --with-netapi was given.
3402 if test "${with_netapi+set}" = set; then :
3403 withval=$with_netapi;
3407 # Check whether --with-openal was given.
3408 if test "${with_openal+set}" = set; then :
3409 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3413 # Check whether --with-opencl was given.
3414 if test "${with_opencl+set}" = set; then :
3415 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3419 # Check whether --with-opengl was given.
3420 if test "${with_opengl+set}" = set; then :
3421 withval=$with_opengl;
3425 # Check whether --with-osmesa was given.
3426 if test "${with_osmesa+set}" = set; then :
3427 withval=$with_osmesa;
3431 # Check whether --with-oss was given.
3432 if test "${with_oss+set}" = set; then :
3433 withval=$with_oss;
3437 # Check whether --with-pcap was given.
3438 if test "${with_pcap+set}" = set; then :
3439 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3443 # Check whether --with-png was given.
3444 if test "${with_png+set}" = set; then :
3445 withval=$with_png;
3449 # Check whether --with-pthread was given.
3450 if test "${with_pthread+set}" = set; then :
3451 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3455 # Check whether --with-sane was given.
3456 if test "${with_sane+set}" = set; then :
3457 withval=$with_sane;
3461 # Check whether --with-tiff was given.
3462 if test "${with_tiff+set}" = set; then :
3463 withval=$with_tiff;
3467 # Check whether --with-v4l was given.
3468 if test "${with_v4l+set}" = set; then :
3469 withval=$with_v4l;
3473 # Check whether --with-xcomposite was given.
3474 if test "${with_xcomposite+set}" = set; then :
3475 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3479 # Check whether --with-xcursor was given.
3480 if test "${with_xcursor+set}" = set; then :
3481 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3485 # Check whether --with-xinerama was given.
3486 if test "${with_xinerama+set}" = set; then :
3487 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3491 # Check whether --with-xinput was given.
3492 if test "${with_xinput+set}" = set; then :
3493 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3497 # Check whether --with-xinput2 was given.
3498 if test "${with_xinput2+set}" = set; then :
3499 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3503 # Check whether --with-xml was given.
3504 if test "${with_xml+set}" = set; then :
3505 withval=$with_xml;
3509 # Check whether --with-xrandr was given.
3510 if test "${with_xrandr+set}" = set; then :
3511 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3515 # Check whether --with-xrender was given.
3516 if test "${with_xrender+set}" = set; then :
3517 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3521 # Check whether --with-xshape was given.
3522 if test "${with_xshape+set}" = set; then :
3523 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3527 # Check whether --with-xshm was given.
3528 if test "${with_xshm+set}" = set; then :
3529 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3533 # Check whether --with-xslt was given.
3534 if test "${with_xslt+set}" = set; then :
3535 withval=$with_xslt;
3539 # Check whether --with-xxf86vm was given.
3540 if test "${with_xxf86vm+set}" = set; then :
3541 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
3545 # Check whether --with-zlib was given.
3546 if test "${with_zlib+set}" = set; then :
3547 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3552 # Check whether --with-wine-tools was given.
3553 if test "${with_wine_tools+set}" = set; then :
3554 withval=$with_wine_tools;
3558 # Check whether --with-wine64 was given.
3559 if test "${with_wine64+set}" = set; then :
3560 withval=$with_wine64;
3564 # Make sure we can run config.sub.
3565 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3566 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3569 $as_echo_n "checking build system type... " >&6; }
3570 if ${ac_cv_build+:} false; then :
3571 $as_echo_n "(cached) " >&6
3572 else
3573 ac_build_alias=$build_alias
3574 test "x$ac_build_alias" = x &&
3575 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3576 test "x$ac_build_alias" = x &&
3577 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3578 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3579 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3583 $as_echo "$ac_cv_build" >&6; }
3584 case $ac_cv_build in
3585 *-*-*) ;;
3586 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3587 esac
3588 build=$ac_cv_build
3589 ac_save_IFS=$IFS; IFS='-'
3590 set x $ac_cv_build
3591 shift
3592 build_cpu=$1
3593 build_vendor=$2
3594 shift; shift
3595 # Remember, the first character of IFS is used to create $*,
3596 # except with old shells:
3597 build_os=$*
3598 IFS=$ac_save_IFS
3599 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3603 $as_echo_n "checking host system type... " >&6; }
3604 if ${ac_cv_host+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test "x$host_alias" = x; then
3608 ac_cv_host=$ac_cv_build
3609 else
3610 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3611 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3616 $as_echo "$ac_cv_host" >&6; }
3617 case $ac_cv_host in
3618 *-*-*) ;;
3619 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3620 esac
3621 host=$ac_cv_host
3622 ac_save_IFS=$IFS; IFS='-'
3623 set x $ac_cv_host
3624 shift
3625 host_cpu=$1
3626 host_vendor=$2
3627 shift; shift
3628 # Remember, the first character of IFS is used to create $*,
3629 # except with old shells:
3630 host_os=$*
3631 IFS=$ac_save_IFS
3632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3636 case "$srcdir" in
3637 .) ;;
3638 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3639 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3640 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3641 fi ;;
3642 esac
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3646 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3647 set x ${MAKE-make}
3648 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3649 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 cat >conftest.make <<\_ACEOF
3653 SHELL = /bin/sh
3654 all:
3655 @echo '@@@%%%=$(MAKE)=@@@%%%'
3656 _ACEOF
3657 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3658 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3659 *@@@%%%=?*=@@@%%%*)
3660 eval ac_cv_prog_make_${ac_make}_set=yes;;
3662 eval ac_cv_prog_make_${ac_make}_set=no;;
3663 esac
3664 rm -f conftest.make
3666 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3668 $as_echo "yes" >&6; }
3669 SET_MAKE=
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 SET_MAKE="MAKE=${MAKE-make}"
3676 ac_ext=c
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 if test -n "$ac_tool_prefix"; then
3682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3683 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3685 $as_echo_n "checking for $ac_word... " >&6; }
3686 if ${ac_cv_prog_CC+:} false; then :
3687 $as_echo_n "(cached) " >&6
3688 else
3689 if test -n "$CC"; then
3690 ac_cv_prog_CC="$CC" # Let the user override the test.
3691 else
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 for as_dir in $PATH
3695 IFS=$as_save_IFS
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 break 2
3703 done
3704 done
3705 IFS=$as_save_IFS
3709 CC=$ac_cv_prog_CC
3710 if test -n "$CC"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3712 $as_echo "$CC" >&6; }
3713 else
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3720 if test -z "$ac_cv_prog_CC"; then
3721 ac_ct_CC=$CC
3722 # Extract the first word of "gcc", so it can be a program name with args.
3723 set dummy gcc; ac_word=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3727 $as_echo_n "(cached) " >&6
3728 else
3729 if test -n "$ac_ct_CC"; then
3730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3731 else
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 for as_dir in $PATH
3735 IFS=$as_save_IFS
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_ac_ct_CC="gcc"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 break 2
3743 done
3744 done
3745 IFS=$as_save_IFS
3749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3750 if test -n "$ac_ct_CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3752 $as_echo "$ac_ct_CC" >&6; }
3753 else
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3758 if test "x$ac_ct_CC" = x; then
3759 CC=""
3760 else
3761 case $cross_compiling:$ac_tool_warned in
3762 yes:)
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3765 ac_tool_warned=yes ;;
3766 esac
3767 CC=$ac_ct_CC
3769 else
3770 CC="$ac_cv_prog_CC"
3773 if test -z "$CC"; then
3774 if test -n "$ac_tool_prefix"; then
3775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3776 set dummy ${ac_tool_prefix}cc; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_CC+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC="$CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_CC="${ac_tool_prefix}cc"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3796 done
3797 done
3798 IFS=$as_save_IFS
3802 CC=$ac_cv_prog_CC
3803 if test -n "$CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3805 $as_echo "$CC" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3814 if test -z "$CC"; then
3815 # Extract the first word of "cc", so it can be a program name with args.
3816 set dummy cc; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CC+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC="$CC" # Let the user override the test.
3824 else
3825 ac_prog_rejected=no
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in $PATH
3829 IFS=$as_save_IFS
3830 test -z "$as_dir" && as_dir=.
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3834 ac_prog_rejected=yes
3835 continue
3837 ac_cv_prog_CC="cc"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 break 2
3841 done
3842 done
3843 IFS=$as_save_IFS
3845 if test $ac_prog_rejected = yes; then
3846 # We found a bogon in the path, so make sure we never use it.
3847 set dummy $ac_cv_prog_CC
3848 shift
3849 if test $# != 0; then
3850 # We chose a different compiler from the bogus one.
3851 # However, it has the same basename, so the bogon will be chosen
3852 # first if we set CC to just the basename; use the full file name.
3853 shift
3854 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3859 CC=$ac_cv_prog_CC
3860 if test -n "$CC"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3862 $as_echo "$CC" >&6; }
3863 else
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3870 if test -z "$CC"; then
3871 if test -n "$ac_tool_prefix"; then
3872 for ac_prog in cl.exe
3874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_CC+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 if test -n "$CC"; then
3882 ac_cv_prog_CC="$CC" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3897 IFS=$as_save_IFS
3901 CC=$ac_cv_prog_CC
3902 if test -n "$CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3904 $as_echo "$CC" >&6; }
3905 else
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3911 test -n "$CC" && break
3912 done
3914 if test -z "$CC"; then
3915 ac_ct_CC=$CC
3916 for ac_prog in cl.exe
3918 # Extract the first word of "$ac_prog", so it can be a program name with args.
3919 set dummy $ac_prog; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 if test -n "$ac_ct_CC"; then
3926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3927 else
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3935 ac_cv_prog_ac_ct_CC="$ac_prog"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 break 2
3939 done
3940 done
3941 IFS=$as_save_IFS
3945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3946 if test -n "$ac_ct_CC"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3948 $as_echo "$ac_ct_CC" >&6; }
3949 else
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3955 test -n "$ac_ct_CC" && break
3956 done
3958 if test "x$ac_ct_CC" = x; then
3959 CC=""
3960 else
3961 case $cross_compiling:$ac_tool_warned in
3962 yes:)
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3966 esac
3967 CC=$ac_ct_CC
3974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 as_fn_error $? "no acceptable C compiler found in \$PATH
3977 See \`config.log' for more details" "$LINENO" 5; }
3979 # Provide some information about the compiler.
3980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3981 set X $ac_compile
3982 ac_compiler=$2
3983 for ac_option in --version -v -V -qversion; do
3984 { { ac_try="$ac_compiler $ac_option >&5"
3985 case "(($ac_try" in
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3988 esac
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3992 ac_status=$?
3993 if test -s conftest.err; then
3994 sed '10a\
3995 ... rest of stderr output deleted ...
3996 10q' conftest.err >conftest.er1
3997 cat conftest.er1 >&5
3999 rm -f conftest.er1 conftest.err
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 done
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4008 main ()
4012 return 0;
4014 _ACEOF
4015 ac_clean_files_save=$ac_clean_files
4016 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4017 # Try to create an executable without -o first, disregard a.out.
4018 # It will help us diagnose broken compilers, and finding out an intuition
4019 # of exeext.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4021 $as_echo_n "checking whether the C compiler works... " >&6; }
4022 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4024 # The possible output files:
4025 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4027 ac_rmfiles=
4028 for ac_file in $ac_files
4030 case $ac_file in
4031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4033 esac
4034 done
4035 rm -f $ac_rmfiles
4037 if { { ac_try="$ac_link_default"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link_default") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4051 # so that the user can short-circuit this test for compilers unknown to
4052 # Autoconf.
4053 for ac_file in $ac_files ''
4055 test -f "$ac_file" || continue
4056 case $ac_file in
4057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4059 [ab].out )
4060 # We found the default executable, but exeext='' is most
4061 # certainly right.
4062 break;;
4063 *.* )
4064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4065 then :; else
4066 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4068 # We set ac_cv_exeext here because the later test for it is not
4069 # safe: cross compilers may not add the suffix if given an `-o'
4070 # argument, so we may need to know it at that point already.
4071 # Even if this section looks crufty: it has the advantage of
4072 # actually working.
4073 break;;
4075 break;;
4076 esac
4077 done
4078 test "$ac_cv_exeext" = no && ac_cv_exeext=
4080 else
4081 ac_file=''
4083 if test -z "$ac_file"; then :
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4086 $as_echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error 77 "C compiler cannot create executables
4092 See \`config.log' for more details" "$LINENO" 5; }
4093 else
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4095 $as_echo "yes" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4098 $as_echo_n "checking for C compiler default output file name... " >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4100 $as_echo "$ac_file" >&6; }
4101 ac_exeext=$ac_cv_exeext
4103 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4104 ac_clean_files=$ac_clean_files_save
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4106 $as_echo_n "checking for suffix of executables... " >&6; }
4107 if { { ac_try="$ac_link"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 $as_echo "$ac_try_echo"; } >&5
4114 (eval "$ac_link") 2>&5
4115 ac_status=$?
4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }; then :
4118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4119 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4120 # work properly (i.e., refer to `conftest.exe'), while it won't with
4121 # `rm'.
4122 for ac_file in conftest.exe conftest conftest.*; do
4123 test -f "$ac_file" || continue
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4127 break;;
4128 * ) break;;
4129 esac
4130 done
4131 else
4132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4135 See \`config.log' for more details" "$LINENO" 5; }
4137 rm -f conftest conftest$ac_cv_exeext
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4139 $as_echo "$ac_cv_exeext" >&6; }
4141 rm -f conftest.$ac_ext
4142 EXEEXT=$ac_cv_exeext
4143 ac_exeext=$EXEEXT
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4146 #include <stdio.h>
4148 main ()
4150 FILE *f = fopen ("conftest.out", "w");
4151 return ferror (f) || fclose (f) != 0;
4154 return 0;
4156 _ACEOF
4157 ac_clean_files="$ac_clean_files conftest.out"
4158 # Check that the compiler produces executables we can run. If not, either
4159 # the compiler is broken, or we cross compile.
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4161 $as_echo_n "checking whether we are cross compiling... " >&6; }
4162 if test "$cross_compiling" != yes; then
4163 { { ac_try="$ac_link"
4164 case "(($ac_try" in
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4167 esac
4168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4169 $as_echo "$ac_try_echo"; } >&5
4170 (eval "$ac_link") 2>&5
4171 ac_status=$?
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }
4174 if { ac_try='./conftest$ac_cv_exeext'
4175 { { case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_try") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; }; then
4185 cross_compiling=no
4186 else
4187 if test "$cross_compiling" = maybe; then
4188 cross_compiling=yes
4189 else
4190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4192 as_fn_error $? "cannot run C compiled programs.
4193 If you meant to cross compile, use \`--host'.
4194 See \`config.log' for more details" "$LINENO" 5; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4199 $as_echo "$cross_compiling" >&6; }
4201 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4202 ac_clean_files=$ac_clean_files_save
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4204 $as_echo_n "checking for suffix of object files... " >&6; }
4205 if ${ac_cv_objext+:} false; then :
4206 $as_echo_n "(cached) " >&6
4207 else
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4212 main ()
4216 return 0;
4218 _ACEOF
4219 rm -f conftest.o conftest.obj
4220 if { { ac_try="$ac_compile"
4221 case "(($ac_try" in
4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4224 esac
4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4226 $as_echo "$ac_try_echo"; } >&5
4227 (eval "$ac_compile") 2>&5
4228 ac_status=$?
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; then :
4231 for ac_file in conftest.o conftest.obj conftest.*; do
4232 test -f "$ac_file" || continue;
4233 case $ac_file in
4234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4236 break;;
4237 esac
4238 done
4239 else
4240 $as_echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4245 as_fn_error $? "cannot compute suffix of object files: cannot compile
4246 See \`config.log' for more details" "$LINENO" 5; }
4248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4251 $as_echo "$ac_cv_objext" >&6; }
4252 OBJEXT=$ac_cv_objext
4253 ac_objext=$OBJEXT
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4255 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4256 if ${ac_cv_c_compiler_gnu+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 main ()
4265 #ifndef __GNUC__
4266 choke me
4267 #endif
4270 return 0;
4272 _ACEOF
4273 if ac_fn_c_try_compile "$LINENO"; then :
4274 ac_compiler_gnu=yes
4275 else
4276 ac_compiler_gnu=no
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4283 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4284 if test $ac_compiler_gnu = yes; then
4285 GCC=yes
4286 else
4287 GCC=
4289 ac_test_CFLAGS=${CFLAGS+set}
4290 ac_save_CFLAGS=$CFLAGS
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4292 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4293 if ${ac_cv_prog_cc_g+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 ac_save_c_werror_flag=$ac_c_werror_flag
4297 ac_c_werror_flag=yes
4298 ac_cv_prog_cc_g=no
4299 CFLAGS="-g"
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4304 main ()
4308 return 0;
4310 _ACEOF
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_g=yes
4313 else
4314 CFLAGS=""
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4319 main ()
4323 return 0;
4325 _ACEOF
4326 if ac_fn_c_try_compile "$LINENO"; then :
4328 else
4329 ac_c_werror_flag=$ac_save_c_werror_flag
4330 CFLAGS="-g"
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4335 main ()
4339 return 0;
4341 _ACEOF
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343 ac_cv_prog_cc_g=yes
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 ac_c_werror_flag=$ac_save_c_werror_flag
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4353 $as_echo "$ac_cv_prog_cc_g" >&6; }
4354 if test "$ac_test_CFLAGS" = set; then
4355 CFLAGS=$ac_save_CFLAGS
4356 elif test $ac_cv_prog_cc_g = yes; then
4357 if test "$GCC" = yes; then
4358 CFLAGS="-g -O2"
4359 else
4360 CFLAGS="-g"
4362 else
4363 if test "$GCC" = yes; then
4364 CFLAGS="-O2"
4365 else
4366 CFLAGS=
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4370 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4371 if ${ac_cv_prog_cc_c89+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 ac_cv_prog_cc_c89=no
4375 ac_save_CC=$CC
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378 #include <stdarg.h>
4379 #include <stdio.h>
4380 struct stat;
4381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4382 struct buf { int x; };
4383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4384 static char *e (p, i)
4385 char **p;
4386 int i;
4388 return p[i];
4390 static char *f (char * (*g) (char **, int), char **p, ...)
4392 char *s;
4393 va_list v;
4394 va_start (v,p);
4395 s = g (p, va_arg (v,int));
4396 va_end (v);
4397 return s;
4400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4401 function prototypes and stuff, but not '\xHH' hex character constants.
4402 These don't provoke an error unfortunately, instead are silently treated
4403 as 'x'. The following induces an error, until -std is added to get
4404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4405 array size at least. It's necessary to write '\x00'==0 to get something
4406 that's true only with -std. */
4407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4409 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4410 inside strings and character constants. */
4411 #define FOO(x) 'x'
4412 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4414 int test (int i, double x);
4415 struct s1 {int (*f) (int a);};
4416 struct s2 {int (*f) (double a);};
4417 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4418 int argc;
4419 char **argv;
4421 main ()
4423 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4425 return 0;
4427 _ACEOF
4428 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4429 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4431 CC="$ac_save_CC $ac_arg"
4432 if ac_fn_c_try_compile "$LINENO"; then :
4433 ac_cv_prog_cc_c89=$ac_arg
4435 rm -f core conftest.err conftest.$ac_objext
4436 test "x$ac_cv_prog_cc_c89" != "xno" && break
4437 done
4438 rm -f conftest.$ac_ext
4439 CC=$ac_save_CC
4442 # AC_CACHE_VAL
4443 case "x$ac_cv_prog_cc_c89" in
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4446 $as_echo "none needed" >&6; } ;;
4447 xno)
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4449 $as_echo "unsupported" >&6; } ;;
4451 CC="$CC $ac_cv_prog_cc_c89"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4453 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4454 esac
4455 if test "x$ac_cv_prog_cc_c89" != xno; then :
4459 ac_ext=c
4460 ac_cpp='$CPP $CPPFLAGS'
4461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4465 ac_ext=cpp
4466 ac_cpp='$CXXCPP $CPPFLAGS'
4467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4470 if test -z "$CXX"; then
4471 if test -n "$CCC"; then
4472 CXX=$CCC
4473 else
4474 if test -n "$ac_tool_prefix"; then
4475 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_CXX+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -n "$CXX"; then
4485 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4486 else
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH
4490 IFS=$as_save_IFS
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 break 2
4498 done
4499 done
4500 IFS=$as_save_IFS
4504 CXX=$ac_cv_prog_CXX
4505 if test -n "$CXX"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4507 $as_echo "$CXX" >&6; }
4508 else
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$CXX" && break
4515 done
4517 if test -z "$CXX"; then
4518 ac_ct_CXX=$CXX
4519 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4521 # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 if test -n "$ac_ct_CXX"; then
4529 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_CXX="$ac_prog"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4544 IFS=$as_save_IFS
4548 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4549 if test -n "$ac_ct_CXX"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4551 $as_echo "$ac_ct_CXX" >&6; }
4552 else
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4558 test -n "$ac_ct_CXX" && break
4559 done
4561 if test "x$ac_ct_CXX" = x; then
4562 CXX="g++"
4563 else
4564 case $cross_compiling:$ac_tool_warned in
4565 yes:)
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4568 ac_tool_warned=yes ;;
4569 esac
4570 CXX=$ac_ct_CXX
4576 # Provide some information about the compiler.
4577 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4578 set X $ac_compile
4579 ac_compiler=$2
4580 for ac_option in --version -v -V -qversion; do
4581 { { ac_try="$ac_compiler $ac_option >&5"
4582 case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4585 esac
4586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4587 $as_echo "$ac_try_echo"; } >&5
4588 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4589 ac_status=$?
4590 if test -s conftest.err; then
4591 sed '10a\
4592 ... rest of stderr output deleted ...
4593 10q' conftest.err >conftest.er1
4594 cat conftest.er1 >&5
4596 rm -f conftest.er1 conftest.err
4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4598 test $ac_status = 0; }
4599 done
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4602 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4603 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4610 main ()
4612 #ifndef __GNUC__
4613 choke me
4614 #endif
4617 return 0;
4619 _ACEOF
4620 if ac_fn_cxx_try_compile "$LINENO"; then :
4621 ac_compiler_gnu=yes
4622 else
4623 ac_compiler_gnu=no
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4630 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4631 if test $ac_compiler_gnu = yes; then
4632 GXX=yes
4633 else
4634 GXX=
4636 ac_test_CXXFLAGS=${CXXFLAGS+set}
4637 ac_save_CXXFLAGS=$CXXFLAGS
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4639 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4640 if ${ac_cv_prog_cxx_g+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4644 ac_cxx_werror_flag=yes
4645 ac_cv_prog_cxx_g=no
4646 CXXFLAGS="-g"
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 main ()
4655 return 0;
4657 _ACEOF
4658 if ac_fn_cxx_try_compile "$LINENO"; then :
4659 ac_cv_prog_cxx_g=yes
4660 else
4661 CXXFLAGS=""
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4666 main ()
4670 return 0;
4672 _ACEOF
4673 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 else
4676 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4677 CXXFLAGS="-g"
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 main ()
4686 return 0;
4688 _ACEOF
4689 if ac_fn_cxx_try_compile "$LINENO"; then :
4690 ac_cv_prog_cxx_g=yes
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4700 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4701 if test "$ac_test_CXXFLAGS" = set; then
4702 CXXFLAGS=$ac_save_CXXFLAGS
4703 elif test $ac_cv_prog_cxx_g = yes; then
4704 if test "$GXX" = yes; then
4705 CXXFLAGS="-g -O2"
4706 else
4707 CXXFLAGS="-g"
4709 else
4710 if test "$GXX" = yes; then
4711 CXXFLAGS="-O2"
4712 else
4713 CXXFLAGS=
4716 ac_ext=c
4717 ac_cpp='$CPP $CPPFLAGS'
4718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4722 if test -n "$ac_tool_prefix"; then
4723 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4724 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if ${ac_cv_prog_CPPBIN+:} false; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -n "$CPPBIN"; then
4731 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4732 else
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 break 2
4744 done
4745 done
4746 IFS=$as_save_IFS
4750 CPPBIN=$ac_cv_prog_CPPBIN
4751 if test -n "$CPPBIN"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4753 $as_echo "$CPPBIN" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4761 if test -z "$ac_cv_prog_CPPBIN"; then
4762 ac_ct_CPPBIN=$CPPBIN
4763 # Extract the first word of "cpp", so it can be a program name with args.
4764 set dummy cpp; ac_word=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 if test -n "$ac_ct_CPPBIN"; then
4771 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4772 else
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4776 IFS=$as_save_IFS
4777 test -z "$as_dir" && as_dir=.
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_ac_ct_CPPBIN="cpp"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 break 2
4784 done
4785 done
4786 IFS=$as_save_IFS
4790 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4791 if test -n "$ac_ct_CPPBIN"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4793 $as_echo "$ac_ct_CPPBIN" >&6; }
4794 else
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4799 if test "x$ac_ct_CPPBIN" = x; then
4800 CPPBIN="cpp"
4801 else
4802 case $cross_compiling:$ac_tool_warned in
4803 yes:)
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4806 ac_tool_warned=yes ;;
4807 esac
4808 CPPBIN=$ac_ct_CPPBIN
4810 else
4811 CPPBIN="$ac_cv_prog_CPPBIN"
4815 cat >>confdefs.h <<_ACEOF
4816 #define EXEEXT "$ac_exeext"
4817 _ACEOF
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4821 set dummy ${ac_tool_prefix}ld; ac_word=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_LD+:} false; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -n "$LD"; then
4828 ac_cv_prog_LD="$LD" # Let the user override the test.
4829 else
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_LD="${ac_tool_prefix}ld"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4847 LD=$ac_cv_prog_LD
4848 if test -n "$LD"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4850 $as_echo "$LD" >&6; }
4851 else
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_LD"; then
4859 ac_ct_LD=$LD
4860 # Extract the first word of "ld", so it can be a program name with args.
4861 set dummy ld; ac_word=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4865 $as_echo_n "(cached) " >&6
4866 else
4867 if test -n "$ac_ct_LD"; then
4868 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4869 else
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4873 IFS=$as_save_IFS
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_ac_ct_LD="ld"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 break 2
4881 done
4882 done
4883 IFS=$as_save_IFS
4887 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4888 if test -n "$ac_ct_LD"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4890 $as_echo "$ac_ct_LD" >&6; }
4891 else
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_LD" = x; then
4897 LD=""
4898 else
4899 case $cross_compiling:$ac_tool_warned in
4900 yes:)
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned=yes ;;
4904 esac
4905 LD=$ac_ct_LD
4907 else
4908 LD="$ac_cv_prog_LD"
4912 case $host in
4913 *-darwin*)
4914 if test "x$enable_win64" = "xyes"
4915 then
4916 CC="$CC -m64"
4917 CXX="$CXX -m64"
4918 host_cpu="x86_64"
4919 notice_platform="64-bit "
4920 TARGETFLAGS="-m64"
4922 else
4923 CC="$CC -m32"
4924 CXX="$CXX -m32"
4925 host_cpu="i386"
4926 notice_platform="32-bit "
4927 TARGETFLAGS="-m32"
4929 enable_win16=${enable_win16:-yes}
4931 with_fontconfig=${with_fontconfig:-no}
4933 x86_64*|amd64*)
4934 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4935 then
4936 CC="$CC -m32"
4937 CXX="$CXX -m32"
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4939 $as_echo_n "checking whether $CC works... " >&6; }
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_c_try_link "$LINENO"; then :
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4954 $as_echo "yes" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4960 rm -f core conftest.err conftest.$ac_objext \
4961 conftest$ac_exeext conftest.$ac_ext
4962 host_cpu="i386"
4963 notice_platform="32-bit "
4964 TARGETFLAGS="-m32"
4966 enable_win16=${enable_win16:-yes}
4967 else
4968 if test "x${GCC}" = "xyes"
4969 then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4971 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974 #include <stdarg.h>
4976 main ()
4978 void func(__builtin_ms_va_list *args);
4980 return 0;
4982 _ACEOF
4983 if ac_fn_c_try_compile "$LINENO"; then :
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4985 $as_echo "yes" >&6; }
4986 else
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4989 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 host_cpu="x86_64"
4994 TARGETFLAGS="-m64"
4998 arm*)
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5000 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 int ac_test(int i) { return i; }
5005 main ()
5007 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5009 return 0;
5011 _ACEOF
5012 if ac_fn_c_try_link "$LINENO"; then :
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5014 $as_echo "yes" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5018 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5020 rm -f core conftest.err conftest.$ac_objext \
5021 conftest$ac_exeext conftest.$ac_ext
5022 CFLAGS="$CFLAGS -marm"
5023 TARGETFLAGS="-marm"
5026 *-mingw32*|*-cygwin*)
5027 enable_win16=${enable_win16:-no}
5028 CFLAGS="$CFLAGS -D_WIN32"
5030 i[3456789]86*)
5031 enable_win16=${enable_win16:-yes}
5033 esac
5035 enable_win16=${enable_win16:-no}
5036 enable_win64=${enable_win64:-no}
5038 enable_winetest=${enable_winetest:-$enable_tests}
5040 if test -n "$with_wine64"
5041 then
5042 if test "x$enable_win64" = "xyes"
5043 then
5044 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5045 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5047 enable_fonts=${enable_fonts:-no}
5048 enable_server=${enable_server:-no}
5049 elif test "x$enable_win64" = "xyes"
5050 then
5051 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5055 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5056 if ${wine_cv_toolsdir+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 wine_cv_toolsdir="$with_wine_tools"
5060 if test -z "$with_wine_tools"; then
5061 if test "$cross_compiling" = "yes"; then
5062 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5063 elif test -n "$with_wine64"; then
5064 wine_cv_toolsdir="$with_wine64"
5067 if test -z "$wine_cv_toolsdir"; then
5068 wine_makedep=tools/makedep
5069 wine_cv_toolsdir="\$(top_builddir)"
5070 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5071 wine_makedep=$wine_cv_toolsdir/tools/makedep
5072 case "$wine_cv_toolsdir" in
5073 /*) ;;
5074 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5075 esac
5076 enable_tools=${enable_tools:-no}
5077 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5078 else
5079 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5083 $as_echo "$wine_cv_toolsdir" >&6; }
5084 TOOLSDIR=$wine_cv_toolsdir
5086 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5087 then
5088 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5092 for ac_prog in flex
5094 # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy $ac_prog; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_FLEX+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 if test -n "$FLEX"; then
5102 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_FLEX="$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5117 IFS=$as_save_IFS
5121 FLEX=$ac_cv_prog_FLEX
5122 if test -n "$FLEX"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5124 $as_echo "$FLEX" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$FLEX" && break
5132 done
5133 test -n "$FLEX" || FLEX="none"
5135 if test "$FLEX" = "none"
5136 then
5137 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5140 $as_echo_n "checking whether flex is recent enough... " >&6; }
5141 cat >conftest.l <<EOF
5142 %top{
5143 #include "prediluvian.h"
5147 if $FLEX -t conftest.l >/dev/null 2>&5
5148 then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5157 for ac_prog in bison
5159 # Extract the first word of "$ac_prog", so it can be a program name with args.
5160 set dummy $ac_prog; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_BISON+:} false; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 if test -n "$BISON"; then
5167 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_BISON="$ac_prog"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5180 done
5181 done
5182 IFS=$as_save_IFS
5186 BISON=$ac_cv_prog_BISON
5187 if test -n "$BISON"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5189 $as_echo "$BISON" >&6; }
5190 else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5196 test -n "$BISON" && break
5197 done
5198 test -n "$BISON" || BISON="none"
5200 if test "$BISON" = "none"
5201 then
5202 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5205 if test -n "$ac_tool_prefix"; then
5206 for ac_prog in ar gar
5208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_AR+:} false; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$AR"; then
5216 ac_cv_prog_AR="$AR" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 AR=$ac_cv_prog_AR
5236 if test -n "$AR"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5238 $as_echo "$AR" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5245 test -n "$AR" && break
5246 done
5248 if test -z "$AR"; then
5249 ac_ct_AR=$AR
5250 for ac_prog in ar gar
5252 # Extract the first word of "$ac_prog", so it can be a program name with args.
5253 set dummy $ac_prog; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$ac_ct_AR"; then
5260 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_AR="$ac_prog"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5280 if test -n "$ac_ct_AR"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5282 $as_echo "$ac_ct_AR" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$ac_ct_AR" && break
5290 done
5292 if test "x$ac_ct_AR" = x; then
5293 AR="ar"
5294 else
5295 case $cross_compiling:$ac_tool_warned in
5296 yes:)
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned=yes ;;
5300 esac
5301 AR=$ac_ct_AR
5305 if test -n "$ac_tool_prefix"; then
5306 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5307 set dummy ${ac_tool_prefix}strip; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_STRIP+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$STRIP"; then
5314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 STRIP=$ac_cv_prog_STRIP
5334 if test -n "$STRIP"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5336 $as_echo "$STRIP" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5344 if test -z "$ac_cv_prog_STRIP"; then
5345 ac_ct_STRIP=$STRIP
5346 # Extract the first word of "strip", so it can be a program name with args.
5347 set dummy strip; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if test -n "$ac_ct_STRIP"; then
5354 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_ac_ct_STRIP="strip"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5369 IFS=$as_save_IFS
5373 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5374 if test -n "$ac_ct_STRIP"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5376 $as_echo "$ac_ct_STRIP" >&6; }
5377 else
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5382 if test "x$ac_ct_STRIP" = x; then
5383 STRIP="strip"
5384 else
5385 case $cross_compiling:$ac_tool_warned in
5386 yes:)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5389 ac_tool_warned=yes ;;
5390 esac
5391 STRIP=$ac_ct_STRIP
5393 else
5394 STRIP="$ac_cv_prog_STRIP"
5397 ARFLAGS=rc
5399 if test -n "$ac_tool_prefix"; then
5400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5401 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_RANLIB+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$RANLIB"; then
5408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 RANLIB=$ac_cv_prog_RANLIB
5428 if test -n "$RANLIB"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5430 $as_echo "$RANLIB" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5438 if test -z "$ac_cv_prog_RANLIB"; then
5439 ac_ct_RANLIB=$RANLIB
5440 # Extract the first word of "ranlib", so it can be a program name with args.
5441 set dummy ranlib; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5445 $as_echo_n "(cached) " >&6
5446 else
5447 if test -n "$ac_ct_RANLIB"; then
5448 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_ac_ct_RANLIB="ranlib"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5468 if test -n "$ac_ct_RANLIB"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5470 $as_echo "$ac_ct_RANLIB" >&6; }
5471 else
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5476 if test "x$ac_ct_RANLIB" = x; then
5477 RANLIB=":"
5478 else
5479 case $cross_compiling:$ac_tool_warned in
5480 yes:)
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5483 ac_tool_warned=yes ;;
5484 esac
5485 RANLIB=$ac_ct_RANLIB
5487 else
5488 RANLIB="$ac_cv_prog_RANLIB"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5492 $as_echo_n "checking whether ln -s works... " >&6; }
5493 LN_S=$as_ln_s
5494 if test "$LN_S" = "ln -s"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5496 $as_echo "yes" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5499 $as_echo "no, using $LN_S" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5503 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5504 if ${ac_cv_path_GREP+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -z "$GREP"; then
5508 ac_path_GREP_found=false
5509 # Loop through the user's path and test for each of PROGNAME-LIST
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_prog in grep ggrep; do
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5518 as_fn_executable_p "$ac_path_GREP" || continue
5519 # Check for GNU ac_path_GREP and select it if it is found.
5520 # Check for GNU $ac_path_GREP
5521 case `"$ac_path_GREP" --version 2>&1` in
5522 *GNU*)
5523 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5525 ac_count=0
5526 $as_echo_n 0123456789 >"conftest.in"
5527 while :
5529 cat "conftest.in" "conftest.in" >"conftest.tmp"
5530 mv "conftest.tmp" "conftest.in"
5531 cp "conftest.in" "conftest.nl"
5532 $as_echo 'GREP' >> "conftest.nl"
5533 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5534 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5535 as_fn_arith $ac_count + 1 && ac_count=$as_val
5536 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5537 # Best one so far, save it but keep looking for a better one
5538 ac_cv_path_GREP="$ac_path_GREP"
5539 ac_path_GREP_max=$ac_count
5541 # 10*(2^10) chars as input seems more than enough
5542 test $ac_count -gt 10 && break
5543 done
5544 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5545 esac
5547 $ac_path_GREP_found && break 3
5548 done
5549 done
5550 done
5551 IFS=$as_save_IFS
5552 if test -z "$ac_cv_path_GREP"; then
5553 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5555 else
5556 ac_cv_path_GREP=$GREP
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5561 $as_echo "$ac_cv_path_GREP" >&6; }
5562 GREP="$ac_cv_path_GREP"
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5566 $as_echo_n "checking for egrep... " >&6; }
5567 if ${ac_cv_path_EGREP+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5571 then ac_cv_path_EGREP="$GREP -E"
5572 else
5573 if test -z "$EGREP"; then
5574 ac_path_EGREP_found=false
5575 # Loop through the user's path and test for each of PROGNAME-LIST
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_prog in egrep; do
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5584 as_fn_executable_p "$ac_path_EGREP" || continue
5585 # Check for GNU ac_path_EGREP and select it if it is found.
5586 # Check for GNU $ac_path_EGREP
5587 case `"$ac_path_EGREP" --version 2>&1` in
5588 *GNU*)
5589 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5591 ac_count=0
5592 $as_echo_n 0123456789 >"conftest.in"
5593 while :
5595 cat "conftest.in" "conftest.in" >"conftest.tmp"
5596 mv "conftest.tmp" "conftest.in"
5597 cp "conftest.in" "conftest.nl"
5598 $as_echo 'EGREP' >> "conftest.nl"
5599 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5600 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5601 as_fn_arith $ac_count + 1 && ac_count=$as_val
5602 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5603 # Best one so far, save it but keep looking for a better one
5604 ac_cv_path_EGREP="$ac_path_EGREP"
5605 ac_path_EGREP_max=$ac_count
5607 # 10*(2^10) chars as input seems more than enough
5608 test $ac_count -gt 10 && break
5609 done
5610 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5611 esac
5613 $ac_path_EGREP_found && break 3
5614 done
5615 done
5616 done
5617 IFS=$as_save_IFS
5618 if test -z "$ac_cv_path_EGREP"; then
5619 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5621 else
5622 ac_cv_path_EGREP=$EGREP
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5628 $as_echo "$ac_cv_path_EGREP" >&6; }
5629 EGREP="$ac_cv_path_EGREP"
5632 # Extract the first word of "ldconfig", so it can be a program name with args.
5633 set dummy ldconfig; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_path_LDCONFIG+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 case $LDCONFIG in
5640 [\\/]* | ?:[\\/]*)
5641 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in /sbin /usr/sbin $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5659 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5661 esac
5663 LDCONFIG=$ac_cv_path_LDCONFIG
5664 if test -n "$LDCONFIG"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5666 $as_echo "$LDCONFIG" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 for ac_prog in msgfmt
5675 # Extract the first word of "$ac_prog", so it can be a program name with args.
5676 set dummy $ac_prog; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_MSGFMT+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 if test -n "$MSGFMT"; then
5683 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_MSGFMT="$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 MSGFMT=$ac_cv_prog_MSGFMT
5703 if test -n "$MSGFMT"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5705 $as_echo "$MSGFMT" >&6; }
5706 else
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 test -n "$MSGFMT" && break
5713 done
5714 test -n "$MSGFMT" || MSGFMT="false"
5716 if ${ac_tool_prefix+:} false; then :
5717 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$PKG_CONFIG"; then
5725 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5738 done
5739 done
5740 IFS=$as_save_IFS
5744 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5745 if test -n "$PKG_CONFIG"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5747 $as_echo "$PKG_CONFIG" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5755 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5756 if test "x$cross_compiling" = xyes; then :
5758 else
5759 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5760 # Extract the first word of "pkg-config", so it can be a program name with args.
5761 set dummy pkg-config; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$PKG_CONFIG"; then
5768 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_PKG_CONFIG="pkg-config"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5781 done
5782 done
5783 IFS=$as_save_IFS
5787 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5788 if test -n "$PKG_CONFIG"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5790 $as_echo "$PKG_CONFIG" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5798 else
5799 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5802 if test "x$enable_maintainer_mode" != "xyes"
5803 then
5804 FONTFORGE=""
5805 RSVG=""
5806 CONVERT=""
5807 ICOTOOL=""
5808 else
5809 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5810 for ac_prog in fontforge
5812 # Extract the first word of "$ac_prog", so it can be a program name with args.
5813 set dummy $ac_prog; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_FONTFORGE+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$FONTFORGE"; then
5820 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_FONTFORGE="$ac_prog"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 FONTFORGE=$ac_cv_prog_FONTFORGE
5840 if test -n "$FONTFORGE"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5842 $as_echo "$FONTFORGE" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5849 test -n "$FONTFORGE" && break
5850 done
5851 test -n "$FONTFORGE" || FONTFORGE="false"
5853 for ac_prog in rsvg-convert rsvg
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_RSVG+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$RSVG"; then
5863 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_RSVG="$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 RSVG=$ac_cv_prog_RSVG
5883 if test -n "$RSVG"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5885 $as_echo "$RSVG" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$RSVG" && break
5893 done
5894 test -n "$RSVG" || RSVG="false"
5896 for ac_prog in convert
5898 # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_CONVERT+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$CONVERT"; then
5906 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_CONVERT="$ac_prog"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 CONVERT=$ac_cv_prog_CONVERT
5926 if test -n "$CONVERT"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5928 $as_echo "$CONVERT" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5935 test -n "$CONVERT" && break
5936 done
5937 test -n "$CONVERT" || CONVERT="false"
5939 for ac_prog in icotool
5941 # Extract the first word of "$ac_prog", so it can be a program name with args.
5942 set dummy $ac_prog; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_ICOTOOL+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$ICOTOOL"; then
5949 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_ICOTOOL="$ac_prog"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 ICOTOOL=$ac_cv_prog_ICOTOOL
5969 if test -n "$ICOTOOL"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5971 $as_echo "$ICOTOOL" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5978 test -n "$ICOTOOL" && break
5979 done
5980 test -n "$ICOTOOL" || ICOTOOL="false"
5982 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5983 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5985 if test "$CONVERT" = false
5986 then
5987 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5990 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5991 convert_version=`convert --version | head -n1`
5992 if test "x$convert_version" != "x"
5993 then
5994 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5995 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5996 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5997 then
5998 CONVERT=false
6001 if test "$CONVERT" = false
6002 then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6004 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6005 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6008 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6012 if test "$ICOTOOL" = false
6013 then
6014 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6015 else
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6017 $as_echo_n "checking for recent enough icotool... " >&6; }
6018 icotool_version=`icotool --version | head -n1`
6019 if test "x$icotool_version" != "x"
6020 then
6021 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6022 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6023 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6024 then
6025 ICOTOOL=false
6026 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6029 if test "$ICOTOOL" = false
6030 then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6032 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6033 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6036 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6040 with_gettext=yes
6041 with_gettextpo=yes
6042 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6045 test "x$with_gettext" != xno || MSGFMT=false
6046 if test "$MSGFMT" != "false"
6047 then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6049 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6050 cat >conftest.po <<EOF
6051 # comment
6052 msgctxt "ctxt"
6053 msgid "id"
6054 msgstr "str"
6056 if $MSGFMT -o /dev/null conftest.po 2>&5
6057 then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6059 $as_echo "yes" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6063 MSGFMT=false
6066 if test "$MSGFMT" = false; then :
6067 case "x$with_gettext" in
6068 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6069 xno) ;;
6070 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6071 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6072 esac
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6077 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6078 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 ac_check_lib_save_LIBS=$LIBS
6082 LIBS="-li386 $LIBS"
6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6086 /* Override any GCC internal prototype to avoid an error.
6087 Use char because int might match the return type of a GCC
6088 builtin and then its argument prototype would still apply. */
6089 #ifdef __cplusplus
6090 extern "C"
6091 #endif
6092 char i386_set_ldt ();
6094 main ()
6096 return i386_set_ldt ();
6098 return 0;
6100 _ACEOF
6101 if ac_fn_c_try_link "$LINENO"; then :
6102 ac_cv_lib_i386_i386_set_ldt=yes
6103 else
6104 ac_cv_lib_i386_i386_set_ldt=no
6106 rm -f core conftest.err conftest.$ac_objext \
6107 conftest$ac_exeext conftest.$ac_ext
6108 LIBS=$ac_check_lib_save_LIBS
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6111 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6112 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6113 cat >>confdefs.h <<_ACEOF
6114 #define HAVE_LIBI386 1
6115 _ACEOF
6117 LIBS="-li386 $LIBS"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6122 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6123 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 ac_check_lib_save_LIBS=$LIBS
6127 LIBS="-lossaudio $LIBS"
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6131 /* Override any GCC internal prototype to avoid an error.
6132 Use char because int might match the return type of a GCC
6133 builtin and then its argument prototype would still apply. */
6134 #ifdef __cplusplus
6135 extern "C"
6136 #endif
6137 char _oss_ioctl ();
6139 main ()
6141 return _oss_ioctl ();
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_link "$LINENO"; then :
6147 ac_cv_lib_ossaudio__oss_ioctl=yes
6148 else
6149 ac_cv_lib_ossaudio__oss_ioctl=no
6151 rm -f core conftest.err conftest.$ac_objext \
6152 conftest$ac_exeext conftest.$ac_ext
6153 LIBS=$ac_check_lib_save_LIBS
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6156 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6157 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6158 cat >>confdefs.h <<_ACEOF
6159 #define HAVE_LIBOSSAUDIO 1
6160 _ACEOF
6162 LIBS="-lossaudio $LIBS"
6167 OPENGL_LIBS=""
6171 # Check whether --enable-largefile was given.
6172 if test "${enable_largefile+set}" = set; then :
6173 enableval=$enable_largefile;
6176 if test "$enable_largefile" != no; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6179 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6180 if ${ac_cv_sys_largefile_CC+:} false; then :
6181 $as_echo_n "(cached) " >&6
6182 else
6183 ac_cv_sys_largefile_CC=no
6184 if test "$GCC" != yes; then
6185 ac_save_CC=$CC
6186 while :; do
6187 # IRIX 6.2 and later do not support large files by default,
6188 # so use the C compiler's -n32 option if that helps.
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6191 #include <sys/types.h>
6192 /* Check that off_t can represent 2**63 - 1 correctly.
6193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6194 since some C++ compilers masquerading as C compilers
6195 incorrectly reject 9223372036854775807. */
6196 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6198 && LARGE_OFF_T % 2147483647 == 1)
6199 ? 1 : -1];
6201 main ()
6205 return 0;
6207 _ACEOF
6208 if ac_fn_c_try_compile "$LINENO"; then :
6209 break
6211 rm -f core conftest.err conftest.$ac_objext
6212 CC="$CC -n32"
6213 if ac_fn_c_try_compile "$LINENO"; then :
6214 ac_cv_sys_largefile_CC=' -n32'; break
6216 rm -f core conftest.err conftest.$ac_objext
6217 break
6218 done
6219 CC=$ac_save_CC
6220 rm -f conftest.$ac_ext
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6224 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6225 if test "$ac_cv_sys_largefile_CC" != no; then
6226 CC=$CC$ac_cv_sys_largefile_CC
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6230 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6231 if ${ac_cv_sys_file_offset_bits+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 while :; do
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6237 #include <sys/types.h>
6238 /* Check that off_t can represent 2**63 - 1 correctly.
6239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6240 since some C++ compilers masquerading as C compilers
6241 incorrectly reject 9223372036854775807. */
6242 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6244 && LARGE_OFF_T % 2147483647 == 1)
6245 ? 1 : -1];
6247 main ()
6251 return 0;
6253 _ACEOF
6254 if ac_fn_c_try_compile "$LINENO"; then :
6255 ac_cv_sys_file_offset_bits=no; break
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #define _FILE_OFFSET_BITS 64
6261 #include <sys/types.h>
6262 /* Check that off_t can represent 2**63 - 1 correctly.
6263 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6264 since some C++ compilers masquerading as C compilers
6265 incorrectly reject 9223372036854775807. */
6266 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6267 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6268 && LARGE_OFF_T % 2147483647 == 1)
6269 ? 1 : -1];
6271 main ()
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_compile "$LINENO"; then :
6279 ac_cv_sys_file_offset_bits=64; break
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6282 ac_cv_sys_file_offset_bits=unknown
6283 break
6284 done
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6287 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6288 case $ac_cv_sys_file_offset_bits in #(
6289 no | unknown) ;;
6291 cat >>confdefs.h <<_ACEOF
6292 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6293 _ACEOF
6295 esac
6296 rm -rf conftest*
6297 if test $ac_cv_sys_file_offset_bits = unknown; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6299 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6300 if ${ac_cv_sys_large_files+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 while :; do
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <sys/types.h>
6307 /* Check that off_t can represent 2**63 - 1 correctly.
6308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6309 since some C++ compilers masquerading as C compilers
6310 incorrectly reject 9223372036854775807. */
6311 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6313 && LARGE_OFF_T % 2147483647 == 1)
6314 ? 1 : -1];
6316 main ()
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_compile "$LINENO"; then :
6324 ac_cv_sys_large_files=no; break
6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #define _LARGE_FILES 1
6330 #include <sys/types.h>
6331 /* Check that off_t can represent 2**63 - 1 correctly.
6332 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6333 since some C++ compilers masquerading as C compilers
6334 incorrectly reject 9223372036854775807. */
6335 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6336 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6337 && LARGE_OFF_T % 2147483647 == 1)
6338 ? 1 : -1];
6340 main ()
6344 return 0;
6346 _ACEOF
6347 if ac_fn_c_try_compile "$LINENO"; then :
6348 ac_cv_sys_large_files=1; break
6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 ac_cv_sys_large_files=unknown
6352 break
6353 done
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6356 $as_echo "$ac_cv_sys_large_files" >&6; }
6357 case $ac_cv_sys_large_files in #(
6358 no | unknown) ;;
6360 cat >>confdefs.h <<_ACEOF
6361 #define _LARGE_FILES $ac_cv_sys_large_files
6362 _ACEOF
6364 esac
6365 rm -rf conftest*
6372 ac_ext=c
6373 ac_cpp='$CPP $CPPFLAGS'
6374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6378 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6379 # On Suns, sometimes $CPP names a directory.
6380 if test -n "$CPP" && test -d "$CPP"; then
6381 CPP=
6383 if test -z "$CPP"; then
6384 if ${ac_cv_prog_CPP+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 # Double quotes because CPP needs to be expanded
6388 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6390 ac_preproc_ok=false
6391 for ac_c_preproc_warn_flag in '' yes
6393 # Use a header file that comes with gcc, so configuring glibc
6394 # with a fresh cross-compiler works.
6395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396 # <limits.h> exists even on freestanding compilers.
6397 # On the NeXT, cc -E runs the code through the compiler's parser,
6398 # not just through cpp. "Syntax error" is here to catch this case.
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #ifdef __STDC__
6402 # include <limits.h>
6403 #else
6404 # include <assert.h>
6405 #endif
6406 Syntax error
6407 _ACEOF
6408 if ac_fn_c_try_cpp "$LINENO"; then :
6410 else
6411 # Broken: fails on valid input.
6412 continue
6414 rm -f conftest.err conftest.i conftest.$ac_ext
6416 # OK, works on sane cases. Now check whether nonexistent headers
6417 # can be detected and how.
6418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 #include <ac_nonexistent.h>
6421 _ACEOF
6422 if ac_fn_c_try_cpp "$LINENO"; then :
6423 # Broken: success on invalid input.
6424 continue
6425 else
6426 # Passes both tests.
6427 ac_preproc_ok=:
6428 break
6430 rm -f conftest.err conftest.i conftest.$ac_ext
6432 done
6433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6434 rm -f conftest.i conftest.err conftest.$ac_ext
6435 if $ac_preproc_ok; then :
6436 break
6439 done
6440 ac_cv_prog_CPP=$CPP
6443 CPP=$ac_cv_prog_CPP
6444 else
6445 ac_cv_prog_CPP=$CPP
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6448 $as_echo "$CPP" >&6; }
6449 ac_preproc_ok=false
6450 for ac_c_preproc_warn_flag in '' yes
6452 # Use a header file that comes with gcc, so configuring glibc
6453 # with a fresh cross-compiler works.
6454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6455 # <limits.h> exists even on freestanding compilers.
6456 # On the NeXT, cc -E runs the code through the compiler's parser,
6457 # not just through cpp. "Syntax error" is here to catch this case.
6458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #ifdef __STDC__
6461 # include <limits.h>
6462 #else
6463 # include <assert.h>
6464 #endif
6465 Syntax error
6466 _ACEOF
6467 if ac_fn_c_try_cpp "$LINENO"; then :
6469 else
6470 # Broken: fails on valid input.
6471 continue
6473 rm -f conftest.err conftest.i conftest.$ac_ext
6475 # OK, works on sane cases. Now check whether nonexistent headers
6476 # can be detected and how.
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #include <ac_nonexistent.h>
6480 _ACEOF
6481 if ac_fn_c_try_cpp "$LINENO"; then :
6482 # Broken: success on invalid input.
6483 continue
6484 else
6485 # Passes both tests.
6486 ac_preproc_ok=:
6487 break
6489 rm -f conftest.err conftest.i conftest.$ac_ext
6491 done
6492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6493 rm -f conftest.i conftest.err conftest.$ac_ext
6494 if $ac_preproc_ok; then :
6496 else
6497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6499 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6500 See \`config.log' for more details" "$LINENO" 5; }
6503 ac_ext=c
6504 ac_cpp='$CPP $CPPFLAGS'
6505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6511 $as_echo_n "checking for ANSI C header files... " >&6; }
6512 if ${ac_cv_header_stdc+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #include <stdlib.h>
6518 #include <stdarg.h>
6519 #include <string.h>
6520 #include <float.h>
6523 main ()
6527 return 0;
6529 _ACEOF
6530 if ac_fn_c_try_compile "$LINENO"; then :
6531 ac_cv_header_stdc=yes
6532 else
6533 ac_cv_header_stdc=no
6535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6537 if test $ac_cv_header_stdc = yes; then
6538 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <string.h>
6543 _ACEOF
6544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6545 $EGREP "memchr" >/dev/null 2>&1; then :
6547 else
6548 ac_cv_header_stdc=no
6550 rm -f conftest*
6554 if test $ac_cv_header_stdc = yes; then
6555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6558 #include <stdlib.h>
6560 _ACEOF
6561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6562 $EGREP "free" >/dev/null 2>&1; then :
6564 else
6565 ac_cv_header_stdc=no
6567 rm -f conftest*
6571 if test $ac_cv_header_stdc = yes; then
6572 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6573 if test "$cross_compiling" = yes; then :
6575 else
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <ctype.h>
6579 #include <stdlib.h>
6580 #if ((' ' & 0x0FF) == 0x020)
6581 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6582 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6583 #else
6584 # define ISLOWER(c) \
6585 (('a' <= (c) && (c) <= 'i') \
6586 || ('j' <= (c) && (c) <= 'r') \
6587 || ('s' <= (c) && (c) <= 'z'))
6588 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6589 #endif
6591 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 main ()
6595 int i;
6596 for (i = 0; i < 256; i++)
6597 if (XOR (islower (i), ISLOWER (i))
6598 || toupper (i) != TOUPPER (i))
6599 return 2;
6600 return 0;
6602 _ACEOF
6603 if ac_fn_c_try_run "$LINENO"; then :
6605 else
6606 ac_cv_header_stdc=no
6608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6609 conftest.$ac_objext conftest.beam conftest.$ac_ext
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6615 $as_echo "$ac_cv_header_stdc" >&6; }
6616 if test $ac_cv_header_stdc = yes; then
6618 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6622 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6623 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6624 inttypes.h stdint.h unistd.h
6625 do :
6626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6627 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6629 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6630 cat >>confdefs.h <<_ACEOF
6631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6632 _ACEOF
6636 done
6639 for ac_header in \
6640 AL/al.h \
6641 ApplicationServices/ApplicationServices.h \
6642 AudioToolbox/AudioConverter.h \
6643 AudioUnit/AudioUnit.h \
6644 AudioUnit/AudioComponent.h \
6645 CL/cl.h \
6646 Carbon/Carbon.h \
6647 CoreAudio/CoreAudio.h \
6648 CoreServices/CoreServices.h \
6649 DiskArbitration/DiskArbitration.h \
6650 IOKit/IOKitLib.h \
6651 IOKit/hid/IOHIDLib.h \
6652 OpenAL/al.h \
6653 OpenCL/opencl.h \
6654 QuickTime/ImageCompression.h \
6655 Security/Security.h \
6656 alias.h \
6657 alsa/asoundlib.h \
6658 arpa/inet.h \
6659 arpa/nameser.h \
6660 asm/types.h \
6661 asm/user.h \
6662 curses.h \
6663 direct.h \
6664 dirent.h \
6665 dlfcn.h \
6666 elf.h \
6667 float.h \
6668 fnmatch.h \
6669 getopt.h \
6670 gettext-po.h \
6671 grp.h \
6672 gsm.h \
6673 gsm/gsm.h \
6674 ieeefp.h \
6675 inet/mib2.h \
6676 io.h \
6677 kstat.h \
6678 lber.h \
6679 ldap.h \
6680 libproc.h \
6681 link.h \
6682 linux/cdrom.h \
6683 linux/compiler.h \
6684 linux/filter.h \
6685 linux/hdreg.h \
6686 linux/input.h \
6687 linux/ioctl.h \
6688 linux/joystick.h \
6689 linux/major.h \
6690 linux/param.h \
6691 linux/serial.h \
6692 linux/types.h \
6693 linux/ucdrom.h \
6694 lwp.h \
6695 mach-o/nlist.h \
6696 mach-o/loader.h \
6697 mach/mach.h \
6698 mach/machine.h \
6699 machine/cpu.h \
6700 machine/limits.h \
6701 machine/sysarch.h \
6702 mntent.h \
6703 ncurses.h \
6704 netdb.h \
6705 netinet/in.h \
6706 netinet/in_systm.h \
6707 netinet/tcp.h \
6708 netinet/tcp_fsm.h \
6709 pcap/pcap.h \
6710 poll.h \
6711 port.h \
6712 process.h \
6713 pthread.h \
6714 pwd.h \
6715 sched.h \
6716 scsi/scsi.h \
6717 scsi/scsi_ioctl.h \
6718 scsi/sg.h \
6719 stdbool.h \
6720 stdint.h \
6721 stropts.h \
6722 sys/asoundlib.h \
6723 sys/attr.h \
6724 sys/cdio.h \
6725 sys/elf32.h \
6726 sys/epoll.h \
6727 sys/event.h \
6728 sys/exec_elf.h \
6729 sys/filio.h \
6730 sys/inotify.h \
6731 sys/ioctl.h \
6732 sys/ipc.h \
6733 sys/limits.h \
6734 sys/link.h \
6735 sys/mman.h \
6736 sys/modem.h \
6737 sys/msg.h \
6738 sys/mtio.h \
6739 sys/param.h \
6740 sys/poll.h \
6741 sys/prctl.h \
6742 sys/protosw.h \
6743 sys/ptrace.h \
6744 sys/queue.h \
6745 sys/resource.h \
6746 sys/scsiio.h \
6747 sys/shm.h \
6748 sys/signal.h \
6749 sys/socket.h \
6750 sys/socketvar.h \
6751 sys/sockio.h \
6752 sys/statvfs.h \
6753 sys/strtio.h \
6754 sys/syscall.h \
6755 sys/tihdr.h \
6756 sys/time.h \
6757 sys/timeout.h \
6758 sys/times.h \
6759 sys/uio.h \
6760 sys/user.h \
6761 sys/utsname.h \
6762 sys/vm86.h \
6763 sys/vnode.h \
6764 sys/wait.h \
6765 syscall.h \
6766 termios.h \
6767 unistd.h \
6768 utime.h \
6769 valgrind/memcheck.h \
6770 valgrind/valgrind.h \
6771 zlib.h
6773 do :
6774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6777 cat >>confdefs.h <<_ACEOF
6778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 _ACEOF
6783 done
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6786 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6787 if ${ac_cv_header_stat_broken+:} false; then :
6788 $as_echo_n "(cached) " >&6
6789 else
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 #include <sys/types.h>
6793 #include <sys/stat.h>
6795 #if defined S_ISBLK && defined S_IFDIR
6796 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6797 #endif
6799 #if defined S_ISBLK && defined S_IFCHR
6800 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6801 #endif
6803 #if defined S_ISLNK && defined S_IFREG
6804 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6805 #endif
6807 #if defined S_ISSOCK && defined S_IFREG
6808 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6809 #endif
6811 _ACEOF
6812 if ac_fn_c_try_compile "$LINENO"; then :
6813 ac_cv_header_stat_broken=no
6814 else
6815 ac_cv_header_stat_broken=yes
6817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6820 $as_echo "$ac_cv_header_stat_broken" >&6; }
6821 if test $ac_cv_header_stat_broken = yes; then
6823 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6829 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6830 do :
6831 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6833 #ifdef HAVE_SYS_PARAM_H
6834 # include <sys/param.h>
6835 #endif
6837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 _ACEOF
6844 done
6847 for ac_header in \
6848 netinet/ip.h \
6849 net/if.h \
6850 net/if_arp.h \
6851 net/if_dl.h \
6852 net/if_types.h \
6853 net/route.h \
6854 netinet/if_ether.h \
6855 netinet/if_inarp.h \
6856 netinet/in_pcb.h \
6857 netinet/ip_icmp.h \
6858 netinet/ip_var.h \
6859 netinet/udp.h \
6860 netipx/ipx.h \
6861 sys/un.h \
6863 do :
6864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6866 #ifdef HAVE_SYS_SOCKET_H
6867 # include <sys/socket.h>
6868 #endif
6869 #ifdef HAVE_SYS_SOCKETVAR_H
6870 # include <sys/socketvar.h>
6871 #endif
6872 #ifdef HAVE_NET_ROUTE_H
6873 # include <net/route.h>
6874 #endif
6875 #ifdef HAVE_NETINET_IN_H
6876 # include <netinet/in.h>
6877 #endif
6878 #ifdef HAVE_NETINET_IN_SYSTM_H
6879 # include <netinet/in_systm.h>
6880 #endif
6881 #ifdef HAVE_NET_IF_H
6882 # include <net/if.h>
6883 #endif
6884 #ifdef HAVE_NETINET_IP_H
6885 # include <netinet/ip.h>
6886 #endif
6888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 _ACEOF
6895 done
6898 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6899 do :
6900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6902 #ifdef HAVE_ALIAS_H
6903 # include <alias.h>
6904 #endif
6905 #ifdef HAVE_SYS_SOCKET_H
6906 # include <sys/socket.h>
6907 #endif
6908 #ifdef HAVE_SYS_SOCKETVAR_H
6909 # include <sys/socketvar.h>
6910 #endif
6911 #ifdef HAVE_SYS_TIMEOUT_H
6912 # include <sys/timeout.h>
6913 #endif
6914 #ifdef HAVE_NETINET_IN_H
6915 # include <netinet/in.h>
6916 #endif
6917 #ifdef HAVE_NETINET_IN_SYSTM_H
6918 # include <netinet/in_systm.h>
6919 #endif
6920 #ifdef HAVE_NETINET_IP_H
6921 # include <netinet/ip.h>
6922 #endif
6923 #ifdef HAVE_NETINET_IP_VAR_H
6924 # include <netinet/ip_var.h>
6925 #endif
6926 #ifdef HAVE_NETINET_IP_ICMP_H
6927 # include <netinet/ip_icmp.h>
6928 #endif
6929 #ifdef HAVE_NETINET_UDP_H
6930 # include <netinet/udp.h>
6931 #endif
6932 #ifdef HAVE_NETINET_TCP_H
6933 # include <netinet/tcp.h>
6934 #endif
6935 #ifdef HAVE_NETINET_TCP_TIMER_H
6936 #include <netinet/tcp_timer.h>
6937 #endif
6939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6940 cat >>confdefs.h <<_ACEOF
6941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 _ACEOF
6946 done
6949 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6950 do :
6951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6952 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6953 #ifdef HAVE_ASM_TYPES_H
6954 # include <asm/types.h>
6955 #endif
6956 #ifdef HAVE_SYS_SOCKET_H
6957 # include <sys/socket.h>
6958 #endif
6959 #ifdef HAVE_LINUX_TYPES_H
6960 # include <linux/types.h>
6961 #endif
6963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6964 cat >>confdefs.h <<_ACEOF
6965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 _ACEOF
6970 done
6973 for ac_header in mach-o/dyld_images.h
6974 do :
6975 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6976 # include <stdbool.h>
6977 #endif
6978 #ifdef HAVE_STDINT_H
6979 # include <stdint.h>
6980 #endif
6982 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6983 cat >>confdefs.h <<_ACEOF
6984 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6985 _ACEOF
6989 done
6992 for ac_header in resolv.h
6993 do :
6994 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6995 #ifdef HAVE_SYS_SOCKET_H
6996 # include <sys/socket.h>
6997 #endif
6998 #ifdef HAVE_NETINET_IN_H
6999 # include <netinet/in.h>
7000 #endif
7001 #ifdef HAVE_ARPA_NAMESER_H
7002 # include <arpa/nameser.h>
7003 #endif
7005 if test "x$ac_cv_header_resolv_h" = xyes; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_RESOLV_H 1
7008 _ACEOF
7012 done
7015 for ac_header in ifaddrs.h
7016 do :
7017 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7019 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7020 cat >>confdefs.h <<_ACEOF
7021 #define HAVE_IFADDRS_H 1
7022 _ACEOF
7026 done
7029 for ac_header in sys/ucontext.h
7030 do :
7031 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7033 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7034 cat >>confdefs.h <<_ACEOF
7035 #define HAVE_SYS_UCONTEXT_H 1
7036 _ACEOF
7040 done
7043 for ac_header in sys/thr.h
7044 do :
7045 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7046 #ifdef HAVE_SYS_UCONTEXT_H
7047 #include <sys/ucontext.h>
7048 #endif
7050 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7051 cat >>confdefs.h <<_ACEOF
7052 #define HAVE_SYS_THR_H 1
7053 _ACEOF
7057 done
7060 for ac_header in pthread_np.h
7061 do :
7062 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7063 #include <pthread.h>
7064 #endif
7066 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7067 cat >>confdefs.h <<_ACEOF
7068 #define HAVE_PTHREAD_NP_H 1
7069 _ACEOF
7073 done
7076 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7077 do :
7078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7080 #include <sys/time.h>
7081 #endif
7082 #include <sys/types.h>
7083 #ifdef HAVE_ASM_TYPES_H
7084 #include <asm/types.h>
7085 #endif
7087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 _ACEOF
7094 done
7097 for ac_header in libprocstat.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7100 #include <sys/param.h>
7101 #endif
7102 #ifdef HAVE_SYS_QUEUE_H
7103 #include <sys/queue.h>
7104 #endif
7105 #ifdef HAVE_SYS_SOCKET_H
7106 #include <sys/socket.h>
7107 #endif
7109 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define HAVE_LIBPROCSTAT_H 1
7112 _ACEOF
7116 done
7120 dlldir="\${libdir}/wine"
7122 DLLPREFIX=""
7124 DLLFLAGS="-D_REENTRANT"
7126 LDRPATH_INSTALL=""
7128 LDRPATH_LOCAL=""
7130 LIBEXT="so"
7131 DLLEXT=".so"
7132 IMPLIBEXT="def"
7133 STATIC_IMPLIBEXT="def.a"
7134 # Extract the first word of "ldd", so it can be a program name with args.
7135 set dummy ldd; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if ${ac_cv_path_LDD+:} false; then :
7139 $as_echo_n "(cached) " >&6
7140 else
7141 case $LDD in
7142 [\\/]* | ?:[\\/]*)
7143 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 as_dummy="/sbin:/usr/sbin:$PATH"
7148 for as_dir in $as_dummy
7150 IFS=$as_save_IFS
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 break 2
7158 done
7159 done
7160 IFS=$as_save_IFS
7162 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7164 esac
7166 LDD=$ac_cv_path_LDD
7167 if test -n "$LDD"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7169 $as_echo "$LDD" >&6; }
7170 else
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}otool; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_OTOOL+:} false; then :
7182 $as_echo_n "(cached) " >&6
7183 else
7184 if test -n "$OTOOL"; then
7185 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7190 IFS=$as_save_IFS
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 break 2
7198 done
7199 done
7200 IFS=$as_save_IFS
7204 OTOOL=$ac_cv_prog_OTOOL
7205 if test -n "$OTOOL"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7207 $as_echo "$OTOOL" >&6; }
7208 else
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_OTOOL"; then
7216 ac_ct_OTOOL=$OTOOL
7217 # Extract the first word of "otool", so it can be a program name with args.
7218 set dummy otool; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7222 $as_echo_n "(cached) " >&6
7223 else
7224 if test -n "$ac_ct_OTOOL"; then
7225 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230 IFS=$as_save_IFS
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_ac_ct_OTOOL="otool"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7245 if test -n "$ac_ct_OTOOL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7247 $as_echo "$ac_ct_OTOOL" >&6; }
7248 else
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253 if test "x$ac_ct_OTOOL" = x; then
7254 OTOOL="otool"
7255 else
7256 case $cross_compiling:$ac_tool_warned in
7257 yes:)
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7261 esac
7262 OTOOL=$ac_ct_OTOOL
7264 else
7265 OTOOL="$ac_cv_prog_OTOOL"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_READELF+:} false; then :
7274 $as_echo_n "(cached) " >&6
7275 else
7276 if test -n "$READELF"; then
7277 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 break 2
7290 done
7291 done
7292 IFS=$as_save_IFS
7296 READELF=$ac_cv_prog_READELF
7297 if test -n "$READELF"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7299 $as_echo "$READELF" >&6; }
7300 else
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_READELF"; then
7308 ac_ct_READELF=$READELF
7309 # Extract the first word of "readelf", so it can be a program name with args.
7310 set dummy readelf; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7314 $as_echo_n "(cached) " >&6
7315 else
7316 if test -n "$ac_ct_READELF"; then
7317 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_ac_ct_READELF="readelf"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7337 if test -n "$ac_ct_READELF"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7339 $as_echo "$ac_ct_READELF" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_READELF" = x; then
7346 READELF="true"
7347 else
7348 case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354 READELF=$ac_ct_READELF
7356 else
7357 READELF="$ac_cv_prog_READELF"
7360 wine_rules_file=conf$$rules.make
7361 rm -f $wine_rules_file
7362 ALL_POT_FILES=""
7363 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7364 ALL_TEST_RESOURCES=""
7367 wine_fn_append_file ()
7369 as_fn_append $1 " \\$as_nl $2"
7372 wine_fn_ignore_file ()
7374 case "$1" in
7375 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7376 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7377 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7378 esac
7381 wine_fn_append_rule ()
7383 $as_echo "$1" >>$wine_rules_file
7386 wine_fn_has_flag ()
7388 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7391 wine_fn_depend_rules ()
7393 if wine_fn_has_flag config
7394 then
7395 wine_fn_append_rule \
7396 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile config.status \$(MAKEDEP)
7397 @./config.status --file $ac_dir/Makefile && \$(MAKEDEP) -iMakefile $ac_dir
7398 depend: $ac_dir/depend
7399 .PHONY: $ac_dir/depend
7400 $ac_dir/depend: \$(MAKEDEP) dummy
7401 @./config.status --file $ac_dir/Makefile && \$(MAKEDEP) -iMakefile $ac_dir"
7402 else
7403 wine_fn_append_rule \
7404 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7405 \$(MAKEDEP) $ac_dir
7406 depend: $ac_dir/depend
7407 .PHONY: $ac_dir/depend
7408 $ac_dir/depend: \$(MAKEDEP) dummy
7409 \$(MAKEDEP) $ac_dir"
7413 wine_fn_pot_rules ()
7415 test "x$with_gettextpo" = xyes || return
7417 if wine_fn_has_flag mc
7418 then
7419 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7420 wine_fn_append_rule \
7421 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7422 @cd $ac_dir && \$(MAKE) msg.pot
7423 $ac_dir/msg.pot: tools/wmc include"
7425 if wine_fn_has_flag po
7426 then
7427 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7428 wine_fn_append_rule \
7429 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7430 @cd $ac_dir && \$(MAKE) rsrc.pot
7431 $ac_dir/rsrc.pot: tools/wrc include"
7435 wine_fn_all_rules ()
7437 wine_fn_depend_rules
7438 wine_fn_append_rule \
7439 "all: $ac_dir
7440 .PHONY: $ac_dir
7441 $ac_dir: $ac_dir/Makefile dummy
7442 @cd $ac_dir && \$(MAKE)"
7445 wine_fn_install_rules ()
7447 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7449 wine_fn_append_rule \
7450 ".PHONY: $ac_dir/install $ac_dir/uninstall
7451 $ac_dir/install:: $ac_dir
7452 @cd $ac_dir && \$(MAKE) install
7453 $ac_dir/uninstall:: $ac_dir/Makefile
7454 @cd $ac_dir && \$(MAKE) uninstall
7455 install:: $ac_dir/install
7456 __uninstall__: $ac_dir/uninstall"
7458 if wine_fn_has_flag install-lib
7459 then
7460 wine_fn_append_rule \
7461 ".PHONY: $ac_dir/install-lib
7462 $ac_dir/install-lib:: $ac_dir
7463 @cd $ac_dir && \$(MAKE) install-lib
7464 install-lib:: $ac_dir/install-lib"
7467 if wine_fn_has_flag install-dev
7468 then
7469 wine_fn_append_rule \
7470 ".PHONY: $ac_dir/install-dev
7471 $ac_dir/install-dev:: $ac_dir
7472 @cd $ac_dir && \$(MAKE) install-dev
7473 install-dev:: $ac_dir/install-dev"
7477 wine_fn_clean_rules ()
7479 ac_clean=$@
7480 ac_extraclean="$ac_dir/Makefile"
7481 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7482 case $ac_dir in
7483 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7484 esac
7486 if wine_fn_has_flag clean
7487 then
7488 wine_fn_append_rule \
7489 "__clean__: $ac_dir/clean
7490 .PHONY: $ac_dir/clean
7491 $ac_dir/clean: $ac_dir/Makefile
7492 @cd $ac_dir && \$(MAKE) clean
7493 \$(RM) $ac_extraclean"
7494 else
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean
7498 $ac_dir/clean: dummy
7499 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7503 wine_fn_disabled_rules ()
7505 ac_clean=$@
7506 ac_extraclean="$ac_dir/Makefile"
7507 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7509 wine_fn_append_rule \
7510 "__clean__: $ac_dir/clean
7511 .PHONY: $ac_dir/clean
7512 $ac_dir/clean: dummy
7513 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7516 wine_fn_config_makefile ()
7518 ac_dir=$1
7519 ac_enable=$2
7520 ac_flags=$3
7522 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7523 wine_fn_disabled_rules; return
7525 wine_fn_all_rules
7526 wine_fn_install_rules
7527 wine_fn_clean_rules
7530 wine_fn_config_lib ()
7532 ac_name=$1
7533 ac_flags=$2
7534 ac_dir=dlls/$ac_name
7535 ac_deps="include"
7537 if test "x$enable_tools" = xno; then :
7539 else
7540 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7542 wine_fn_all_rules
7543 wine_fn_clean_rules
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7549 $ac_dir/uninstall::
7550 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7551 install install-dev:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall
7553 __builddeps__: $ac_dir
7554 $ac_dir: $ac_deps"
7557 wine_fn_config_dll ()
7559 ac_name=$1
7560 ac_dir=dlls/$ac_name
7561 ac_enable=$2
7562 ac_flags=$3
7563 ac_implib=${4:-$ac_name}
7564 ac_file=$ac_dir/lib$ac_implib
7565 ac_dll=$ac_name
7566 ac_deps="include"
7567 ac_implibflags=""
7569 if test "x$enable_tools" = xno; then :
7571 else
7572 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7574 case $ac_name in
7575 *16) ac_implibflags=" -m16" ;;
7576 *.*) ;;
7577 *) ac_dll=$ac_dll.dll ;;
7578 esac
7580 ac_clean=
7581 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7582 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7583 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7584 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7586 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7587 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7588 then
7589 wine_fn_depend_rules
7590 wine_fn_clean_rules $ac_clean
7591 else
7592 wine_fn_disabled_rules $ac_clean
7593 return
7595 else
7596 wine_fn_all_rules
7597 wine_fn_clean_rules $ac_clean
7598 wine_fn_append_rule \
7599 "$ac_dir: __builddeps__
7600 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7601 @cd $ac_dir && \$(MAKE) \$@
7602 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7603 install install-lib:: $ac_dir/install-lib
7604 __uninstall__: $ac_dir/uninstall"
7605 if test -n "$DLLEXT"
7606 then
7607 wine_fn_append_rule \
7608 "$ac_dir/install-lib:: $ac_dir
7609 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7610 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7611 $ac_dir/uninstall::
7612 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7613 else
7614 wine_fn_append_rule \
7615 "$ac_dir/install-lib:: $ac_dir
7616 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7621 wine_fn_pot_rules
7624 if wine_fn_has_flag staticimplib
7625 then
7626 wine_fn_append_rule \
7627 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7628 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7629 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7630 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7631 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7632 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7633 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7634 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7635 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7636 $ac_dir/uninstall::
7637 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7638 install install-dev:: $ac_dir/install-dev
7639 __uninstall__: $ac_dir/uninstall"
7641 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7642 then
7643 wine_fn_append_rule \
7644 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7645 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7646 $ac_dir/uninstall::
7647 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7650 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7651 then
7652 wine_fn_append_rule \
7653 "__builddeps__: $ac_file.cross.a
7654 $ac_file.cross.a: $ac_dir/Makefile dummy
7655 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7658 elif wine_fn_has_flag implib
7659 then
7660 wine_fn_append_rule \
7661 "__builddeps__: $ac_file.$IMPLIBEXT
7662 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7663 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7664 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7665 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7666 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7667 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7668 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7669 $ac_dir/uninstall::
7670 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7671 install install-dev:: $ac_dir/install-dev
7672 __uninstall__: $ac_dir/uninstall"
7673 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7674 then
7675 wine_fn_append_rule \
7676 "__builddeps__: $ac_file.cross.a
7677 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7678 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7681 if test "$ac_name" != "$ac_implib"
7682 then
7683 wine_fn_append_rule \
7684 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7685 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7686 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7687 clean::
7688 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7689 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7690 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7691 then
7692 wine_fn_append_rule \
7693 "__builddeps__: dlls/lib$ac_implib.cross.a
7694 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7695 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7696 clean::
7697 \$(RM) dlls/lib$ac_implib.cross.a"
7698 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7704 wine_fn_config_program ()
7706 ac_name=$1
7707 ac_dir=programs/$ac_name
7708 ac_enable=$2
7709 ac_flags=$3
7710 ac_program=$ac_name
7712 case $ac_name in
7713 *.*) ;;
7714 *) ac_program=$ac_program.exe ;;
7715 esac
7717 ac_clean=
7718 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7719 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7720 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7721 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7723 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7724 wine_fn_disabled_rules $ac_clean; return
7727 wine_fn_all_rules
7728 wine_fn_clean_rules $ac_clean
7729 wine_fn_append_rule "$ac_dir: __builddeps__"
7730 wine_fn_pot_rules
7732 wine_fn_has_flag install || return
7733 wine_fn_append_rule \
7734 ".PHONY: $ac_dir/install $ac_dir/uninstall
7735 install install-lib:: $ac_dir/install
7736 __uninstall__: $ac_dir/uninstall"
7738 if test -n "$DLLEXT"
7739 then
7740 wine_fn_append_rule \
7741 "$ac_dir/install:: $ac_dir
7742 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7743 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7744 $ac_dir/uninstall::
7745 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7747 if test -z "$with_wine64" && wine_fn_has_flag installbin
7748 then
7749 wine_fn_append_rule \
7750 "$ac_dir/install:: __tooldeps__
7751 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7752 $ac_dir/uninstall::
7753 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7755 else
7756 wine_fn_append_rule \
7757 "$ac_dir/install:: $ac_dir
7758 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7763 if test -z "$with_wine64" && wine_fn_has_flag manpage
7764 then
7765 wine_fn_append_rule \
7766 "$ac_dir/install:: $ac_dir
7767 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7768 $ac_dir/uninstall::
7769 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7773 wine_fn_config_test ()
7775 ac_dir=$1
7776 ac_name=$2
7777 ac_flags=$3
7779 ac_clean=
7780 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7781 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7783 if test "x$enable_tests" = xno; then :
7784 wine_fn_disabled_rules $ac_clean; return
7787 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7788 wine_fn_all_rules
7789 wine_fn_clean_rules $ac_clean
7791 wine_fn_append_rule \
7792 "$ac_dir: programs/winetest/Makefile __builddeps__
7793 programs/winetest: $ac_dir
7794 check test: $ac_dir/test
7795 .PHONY: $ac_dir/test
7796 $ac_dir/test: dummy
7797 @cd $ac_dir && \$(MAKE) test
7798 testclean::
7799 \$(RM) $ac_dir/*.ok"
7801 if test -n "$CROSSTARGET"
7802 then
7803 wine_fn_append_rule \
7804 "crosstest: $ac_dir/crosstest
7805 .PHONY: $ac_dir/crosstest
7806 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7807 @cd $ac_dir && \$(MAKE) crosstest"
7811 wine_fn_config_tool ()
7813 ac_dir=$1
7814 ac_flags=$2
7815 if test "x$enable_tools" = xno; then :
7816 return
7819 wine_fn_all_rules
7820 wine_fn_install_rules
7821 wine_fn_clean_rules
7823 wine_fn_append_rule "__tooldeps__: $ac_dir"
7824 wine_fn_append_rule "$ac_dir: libs/port"
7825 case $ac_dir in
7826 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7827 esac
7830 wine_fn_config_symlink ()
7832 ac_linkdir=
7833 if test "x$1" = "x-d"
7834 then
7835 ac_linkdir=$2
7836 shift; shift
7838 ac_links=$@
7839 wine_fn_append_rule \
7840 "$ac_links:
7841 @./config.status \$@
7842 distclean::
7843 \$(RM) $ac_links"
7844 for f in $ac_links; do wine_fn_ignore_file $f; done
7845 test -n "$ac_linkdir" || return
7846 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7849 wine_binary="wine"
7850 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7851 loader_programs="$wine_binary"
7852 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7854 LOADER_RULES="
7855 all: wine.inf
7859 case $host_os in
7860 cygwin*|mingw32*)
7861 if test -n "$ac_tool_prefix"; then
7862 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7863 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if ${ac_cv_prog_DLLTOOL+:} false; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 if test -n "$DLLTOOL"; then
7870 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7871 else
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 for as_dir in $PATH
7875 IFS=$as_save_IFS
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 break 2
7883 done
7884 done
7885 IFS=$as_save_IFS
7889 DLLTOOL=$ac_cv_prog_DLLTOOL
7890 if test -n "$DLLTOOL"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7892 $as_echo "$DLLTOOL" >&6; }
7893 else
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7900 if test -z "$ac_cv_prog_DLLTOOL"; then
7901 ac_ct_DLLTOOL=$DLLTOOL
7902 # Extract the first word of "dlltool", so it can be a program name with args.
7903 set dummy dlltool; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7905 $as_echo_n "checking for $ac_word... " >&6; }
7906 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7907 $as_echo_n "(cached) " >&6
7908 else
7909 if test -n "$ac_ct_DLLTOOL"; then
7910 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7911 else
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 for as_dir in $PATH
7915 IFS=$as_save_IFS
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 break 2
7923 done
7924 done
7925 IFS=$as_save_IFS
7929 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7930 if test -n "$ac_ct_DLLTOOL"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7932 $as_echo "$ac_ct_DLLTOOL" >&6; }
7933 else
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7938 if test "x$ac_ct_DLLTOOL" = x; then
7939 DLLTOOL="false"
7940 else
7941 case $cross_compiling:$ac_tool_warned in
7942 yes:)
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7945 ac_tool_warned=yes ;;
7946 esac
7947 DLLTOOL=$ac_ct_DLLTOOL
7949 else
7950 DLLTOOL="$ac_cv_prog_DLLTOOL"
7953 LIBEXT="dll"
7954 DLLEXT=""
7955 IMPLIBEXT="a"
7956 STATIC_IMPLIBEXT="a"
7957 enable_iphlpapi=${enable_iphlpapi:-no}
7958 enable_kernel32=${enable_kernel32:-no}
7959 enable_msvcrt=${enable_msvcrt:-no}
7960 enable_ntdll=${enable_ntdll:-no}
7961 enable_ws2_32=${enable_ws2_32:-no}
7962 enable_loader=${enable_loader:-no}
7963 enable_server=${enable_server:-no}
7964 with_x=${with_x:-no}
7965 with_pthread=${with_pthread:-no}
7967 crtlibs=""
7968 case $host_os in
7969 mingw32*)
7970 crtlibs="-lmsvcrt"
7971 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7973 esac
7975 libwine_targets="libwine.dll libwine.a"
7976 LIBWINE_RULES="
7977 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7979 all: libwine.dll libwine.a
7981 libwine.a: \$(srcdir)/wine.def
7982 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7984 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7985 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7987 install install-lib:: libwine.dll
7988 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7990 install install-dev:: libwine.a
7991 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7993 uninstall::
7994 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7999 darwin*|macosx*)
8000 for ac_header in libunwind.h
8001 do :
8002 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_LIBUNWIND_H 1
8006 _ACEOF
8010 done
8012 LIBEXT="dylib"
8013 DLLFLAGS="$DLLFLAGS -fPIC"
8014 LIBWINE_LDFLAGS="-multiply_defined suppress"
8015 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8016 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8017 COREFOUNDATION_LIBS="-framework CoreFoundation"
8019 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8021 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8023 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8025 CORESERVICES_LIBS="-framework CoreServices"
8027 APPKIT_LIBS="-framework AppKit"
8029 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8031 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8032 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 ac_wine_try_cflags_saved=$CFLAGS
8036 CFLAGS="$CFLAGS -Wl,-no_pie"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 int main(int argc, char **argv) { return 0; }
8040 _ACEOF
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_cflags__Wl__no_pie=yes
8043 else
8044 ac_cv_cflags__Wl__no_pie=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 CFLAGS=$ac_wine_try_cflags_saved
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8051 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8052 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8053 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8055 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8056 then
8057 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8060 if test "$ac_cv_header_Security_Security_h" = "yes"
8061 then
8062 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8064 ac_save_LIBS="$LIBS"
8065 LIBS="$LIBS $SECURITY_LIBS"
8066 for ac_func in SSLCopyPeerCertificates
8067 do :
8068 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8069 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8072 _ACEOF
8075 done
8077 LIBS="$ac_save_LIBS"
8078 with_gnutls=${with_gnutls:-no}
8080 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8081 then
8082 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8083 then
8084 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8086 else
8087 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8090 ac_save_LIBS="$LIBS"
8091 LIBS="$LIBS $COREAUDIO_LIBS"
8092 for ac_func in AUGraphAddNode
8093 do :
8094 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8095 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_AUGRAPHADDNODE 1
8098 _ACEOF
8101 done
8103 LIBS="$ac_save_LIBS"
8105 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8106 then
8107 OPENAL_LIBS="-framework OpenAL"
8110 cat >>confdefs.h <<_ACEOF
8111 #define HAVE_OPENAL 1
8112 _ACEOF
8114 ac_cv_lib_openal=yes
8116 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8117 then
8118 OPENCL_LIBS="-framework OpenCL"
8120 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8122 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8123 then
8124 ac_save_LIBS="$LIBS"
8125 LIBS="$LIBS $IOKIT_LIBS"
8126 for ac_func in IOHIDManagerCreate
8127 do :
8128 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8129 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8130 cat >>confdefs.h <<_ACEOF
8131 #define HAVE_IOHIDMANAGERCREATE 1
8132 _ACEOF
8135 done
8137 LIBS="$ac_save_LIBS"
8139 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8140 then
8141 ac_save_LIBS="$LIBS"
8142 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8144 $as_echo_n "checking for the QuickTime framework... " >&6; }
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 #include <QuickTime/ImageCompression.h>
8149 main ()
8151 CodecManagerVersion(NULL);
8153 return 0;
8155 _ACEOF
8156 if ac_fn_c_try_link "$LINENO"; then :
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8158 $as_echo "yes" >&6; }
8159 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8161 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8162 else
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8165 ac_cv_header_QuickTime_ImageCompression_h=no
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 LIBS="$ac_save_LIBS"
8171 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8172 then
8173 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8175 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8176 then
8177 CARBON_LIBS="-framework Carbon"
8181 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8182 then
8183 ac_save_LIBS="$LIBS"
8184 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8185 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8186 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8187 enable_winemac_drv=${enable_winemac_drv:-yes}
8190 LIBS="$ac_save_LIBS"
8193 if test "x$enable_win16" = "xyes"
8194 then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8196 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8197 if test "$cross_compiling" = yes; then :
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8199 $as_echo "cross-compiling, assuming yes" >&6; }
8200 else
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 asm(".text\n"
8204 "bad:\tnop;nop\n"
8205 "good:\tnop;nop\n\t"
8206 ".globl _testfunc\n"
8207 "_testfunc:\tcallw good");
8208 extern void testfunc();
8210 main ()
8212 unsigned short *p = (unsigned short *)testfunc;
8213 return p[0] != 0xe866 || p[1] != 0xfffa
8215 return 0;
8217 _ACEOF
8218 if ac_fn_c_try_run "$LINENO"; then :
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8220 $as_echo "yes" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8224 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
8226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8227 conftest.$ac_objext conftest.beam conftest.$ac_ext
8232 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8233 LIBWINE_RULES="
8234 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8236 all: libwine.dylib
8238 libwine.$libwine_version.dylib: \$(OBJS)
8239 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8241 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8242 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8244 libwine.dylib: libwine.$libwine_soversion.dylib
8245 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8247 install install-lib:: libwine.$libwine_version.dylib
8248 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8249 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8251 install install-dev::
8252 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8254 uninstall::
8255 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8259 as_fn_append LOADER_RULES "
8260 ${wine_binary}_OBJS = main.o
8261 ${wine_binary}_LDFLAGS = $LDEXECFLAGS -lwine \$(PTHREAD_LIBS)
8262 $wine_binary $wine_binary-installed: wine_info.plist
8266 linux-android*)
8267 DLLFLAGS="$DLLFLAGS -fPIC"
8268 DLLPREFIX="lib"
8269 LDEXECFLAGS=""
8270 dlldir="\${libdir}"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8273 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8284 else
8285 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8292 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8293 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8294 LDEXECFLAGS="-Wl,--export-dynamic"
8296 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8298 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8299 if eval \${$as_ac_var+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 eval "$as_ac_var=yes"
8310 else
8311 eval "$as_ac_var=no"
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 eval ac_res=\$$as_ac_var
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8319 $as_echo "$ac_res" >&6; }
8320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8321 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8322 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8323 else
8324 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8326 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8327 if eval \${$as_ac_var+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 ac_wine_try_cflags_saved=$CFLAGS
8331 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 int main(int argc, char **argv) { return 0; }
8335 _ACEOF
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 eval "$as_ac_var=yes"
8338 else
8339 eval "$as_ac_var=no"
8341 rm -f core conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 CFLAGS=$ac_wine_try_cflags_saved
8345 eval ac_res=\$$as_ac_var
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8347 $as_echo "$ac_res" >&6; }
8348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8349 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8350 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8355 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8356 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_cflags__Wl___enable_new_dtags=yes
8367 else
8368 ac_cv_cflags__Wl___enable_new_dtags=no
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8375 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8376 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8377 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8380 case $host_cpu in
8381 *i[3456789]86* | x86_64)
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8383 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8384 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 ac_wine_try_cflags_saved=$CFLAGS
8388 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 int main(int argc, char **argv) { return 0; }
8392 _ACEOF
8393 if ac_fn_c_try_link "$LINENO"; then :
8394 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8395 else
8396 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8398 rm -f core conftest.err conftest.$ac_objext \
8399 conftest$ac_exeext conftest.$ac_ext
8400 CFLAGS=$ac_wine_try_cflags_saved
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8403 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8404 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8405 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8408 esac
8410 libwine_targets="libwine.so"
8411 LIBWINE_RULES="
8412 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8414 all: libwine.so
8416 libwine.so: \$(OBJS)
8417 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8419 install install-lib:: libwine.so
8420 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8422 uninstall::
8423 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8427 as_fn_append LOADER_RULES "
8428 ${wine_binary}_OBJS = main.o
8429 ${wine_binary}_LDFLAGS = $LDEXECFLAGS -lwine \$(PTHREAD_LIBS)
8434 DLLFLAGS="$DLLFLAGS -fPIC"
8435 LDEXECFLAGS=""
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8437 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8438 if ${ac_cv_c_dll_gnuelf+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 void myfunc() {}
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 ac_cv_c_dll_gnuelf="yes"
8449 else
8450 ac_cv_c_dll_gnuelf="no"
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8457 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8458 if test "$ac_cv_c_dll_gnuelf" = "yes"
8459 then
8460 LDSHARED="\$(CC) -shared"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8462 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8463 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_wine_try_cflags_saved=$CFLAGS
8467 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8474 else
8475 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8477 rm -f core conftest.err conftest.$ac_objext \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8482 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8483 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8484 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8485 else
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8487 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8488 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 int main(int argc, char **argv) { return 0; }
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8499 else
8500 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 CFLAGS=$ac_wine_try_cflags_saved
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8507 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8508 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8509 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8513 echo '{ global: *; };' >conftest.map
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8516 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8527 else
8528 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8535 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8536 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8537 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8539 rm -f conftest.map
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8542 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8543 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 ac_wine_try_cflags_saved=$CFLAGS
8547 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8550 int main(int argc, char **argv) { return 0; }
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8554 else
8555 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8557 rm -f core conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8562 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8563 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8564 LDEXECFLAGS="-Wl,--export-dynamic"
8567 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8569 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8570 if eval \${$as_ac_var+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 ac_wine_try_cflags_saved=$CFLAGS
8574 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 int main(int argc, char **argv) { return 0; }
8578 _ACEOF
8579 if ac_fn_c_try_link "$LINENO"; then :
8580 eval "$as_ac_var=yes"
8581 else
8582 eval "$as_ac_var=no"
8584 rm -f core conftest.err conftest.$ac_objext \
8585 conftest$ac_exeext conftest.$ac_ext
8586 CFLAGS=$ac_wine_try_cflags_saved
8588 eval ac_res=\$$as_ac_var
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8590 $as_echo "$ac_res" >&6; }
8591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8592 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8593 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8594 else
8595 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8597 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8598 if eval \${$as_ac_var+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_wine_try_cflags_saved=$CFLAGS
8602 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 int main(int argc, char **argv) { return 0; }
8606 _ACEOF
8607 if ac_fn_c_try_link "$LINENO"; then :
8608 eval "$as_ac_var=yes"
8609 else
8610 eval "$as_ac_var=no"
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 CFLAGS=$ac_wine_try_cflags_saved
8616 eval ac_res=\$$as_ac_var
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8618 $as_echo "$ac_res" >&6; }
8619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8620 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8621 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8626 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8627 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 ac_wine_try_cflags_saved=$CFLAGS
8631 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 int main(int argc, char **argv) { return 0; }
8635 _ACEOF
8636 if ac_fn_c_try_link "$LINENO"; then :
8637 ac_cv_cflags__Wl___enable_new_dtags=yes
8638 else
8639 ac_cv_cflags__Wl___enable_new_dtags=no
8641 rm -f core conftest.err conftest.$ac_objext \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8646 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8647 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8648 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8651 case $host_cpu in
8652 *i[3456789]86* | x86_64)
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8654 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8655 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8666 else
8667 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8674 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8675 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8676 case $host_os in
8677 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8678 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8679 esac
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8683 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8684 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8692 _ACEOF
8693 if ac_fn_c_try_link "$LINENO"; then :
8694 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8695 else
8696 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8698 rm -f core conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8703 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8704 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8706 else
8707 # Extract the first word of "prelink", so it can be a program name with args.
8708 set dummy prelink; ac_word=$2
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8710 $as_echo_n "checking for $ac_word... " >&6; }
8711 if ${ac_cv_path_PRELINK+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 case $PRELINK in
8715 [\\/]* | ?:[\\/]*)
8716 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8720 for as_dir in /sbin /usr/sbin $PATH
8722 IFS=$as_save_IFS
8723 test -z "$as_dir" && as_dir=.
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8726 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8728 break 2
8730 done
8731 done
8732 IFS=$as_save_IFS
8734 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8736 esac
8738 PRELINK=$ac_cv_path_PRELINK
8739 if test -n "$PRELINK"; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8741 $as_echo "$PRELINK" >&6; }
8742 else
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8744 $as_echo "no" >&6; }
8748 if test "x$PRELINK" = xfalse
8749 then
8750 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8754 esac
8756 else
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8758 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8759 if ${ac_cv_c_dll_unixware+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 void myfunc() {}
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_c_dll_unixware="yes"
8770 else
8771 ac_cv_c_dll_unixware="no"
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8778 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8779 if test "$ac_cv_c_dll_unixware" = "yes"
8780 then
8781 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8784 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8785 LIBWINE_RULES="
8786 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8788 all: libwine.so
8790 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8791 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8793 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8794 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8796 libwine.so: libwine.so.$libwine_soversion
8797 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8799 install install-lib:: libwine.so.$libwine_version
8800 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8801 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8803 install install-dev::
8804 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8806 uninstall::
8807 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8811 as_fn_append LOADER_RULES "
8812 ${wine_binary}_OBJS = main.o
8813 ${wine_binary}_LDFLAGS = $LDEXECFLAGS -lwine \$(PTHREAD_LIBS)
8815 if test -z "$with_wine64"
8816 then
8817 as_fn_append LOADER_RULES "
8818 install install-lib::
8819 \$(INSTALL_DATA) \$(srcdir)/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
8820 uninstall::
8821 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop
8825 esac
8827 as_fn_append LIBWINE_RULES "
8828 EXTRA_TARGETS = $libwine_targets
8831 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8832 enable_winemac_drv=${enable_winemac_drv:-no}
8834 CROSSTARGET=""
8836 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8837 then
8838 case "$host_cpu" in
8839 i[3456789]86*)
8840 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
8841 mingw32-gcc" ;;
8842 x86_64)
8843 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 " ;;
8845 ac_prefix_list="" ;;
8846 esac
8847 for ac_prog in $ac_prefix_list
8849 # Extract the first word of "$ac_prog", so it can be a program name with args.
8850 set dummy $ac_prog; ac_word=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_CROSSCC+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 if test -n "$CROSSCC"; then
8857 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8858 else
8859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860 for as_dir in $PATH
8862 IFS=$as_save_IFS
8863 test -z "$as_dir" && as_dir=.
8864 for ac_exec_ext in '' $ac_executable_extensions; do
8865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8866 ac_cv_prog_CROSSCC="$ac_prog"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 break 2
8870 done
8871 done
8872 IFS=$as_save_IFS
8876 CROSSCC=$ac_cv_prog_CROSSCC
8877 if test -n "$CROSSCC"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8879 $as_echo "$CROSSCC" >&6; }
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8886 test -n "$CROSSCC" && break
8887 done
8888 test -n "$CROSSCC" || CROSSCC="false"
8890 if test "$CROSSCC" != "false"
8891 then
8892 ac_save_CC="$CC"
8893 CC="$CROSSCC"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8895 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8900 main ()
8904 return 0;
8906 _ACEOF
8907 if ac_fn_c_try_compile "$LINENO"; then :
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8909 $as_echo "yes" >&6; }
8910 set x $CROSSCC
8911 shift
8912 while test $# -ge 1
8914 case "$1" in
8915 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8916 esac
8917 shift
8918 done
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 $as_echo "no" >&6; }
8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8924 CC="$ac_save_CC"
8929 if test "$ac_cv_header_pthread_h" = "yes"
8930 then
8931 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8932 if test "x$ac_cv_func_pthread_create" = xyes; then :
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8936 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8937 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 ac_check_lib_save_LIBS=$LIBS
8941 LIBS="-lpthread $LIBS"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8948 #ifdef __cplusplus
8949 extern "C"
8950 #endif
8951 char pthread_create ();
8953 main ()
8955 return pthread_create ();
8957 return 0;
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 ac_cv_lib_pthread_pthread_create=yes
8962 else
8963 ac_cv_lib_pthread_pthread_create=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS=$ac_check_lib_save_LIBS
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8970 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8971 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8972 PTHREAD_LIBS="-lpthread"
8979 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8980 case "x$with_pthread" in
8981 xno) ;;
8982 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8983 Wine cannot support threads without libpthread.
8984 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8985 esac
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8990 $as_echo_n "checking for X... " >&6; }
8993 # Check whether --with-x was given.
8994 if test "${with_x+set}" = set; then :
8995 withval=$with_x;
8998 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8999 if test "x$with_x" = xno; then
9000 # The user explicitly disabled X.
9001 have_x=disabled
9002 else
9003 case $x_includes,$x_libraries in #(
9004 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9005 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 # One or both of the vars are not set, and there is no cached value.
9009 ac_x_includes=no ac_x_libraries=no
9010 rm -f -r conftest.dir
9011 if mkdir conftest.dir; then
9012 cd conftest.dir
9013 cat >Imakefile <<'_ACEOF'
9014 incroot:
9015 @echo incroot='${INCROOT}'
9016 usrlibdir:
9017 @echo usrlibdir='${USRLIBDIR}'
9018 libdir:
9019 @echo libdir='${LIBDIR}'
9020 _ACEOF
9021 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9022 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9023 for ac_var in incroot usrlibdir libdir; do
9024 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9025 done
9026 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9027 for ac_extension in a so sl dylib la dll; do
9028 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9029 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9030 ac_im_usrlibdir=$ac_im_libdir; break
9032 done
9033 # Screen out bogus values from the imake configuration. They are
9034 # bogus both because they are the default anyway, and because
9035 # using them would break gcc on systems where it needs fixed includes.
9036 case $ac_im_incroot in
9037 /usr/include) ac_x_includes= ;;
9038 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9039 esac
9040 case $ac_im_usrlibdir in
9041 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9042 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9043 esac
9045 cd ..
9046 rm -f -r conftest.dir
9049 # Standard set of common directories for X headers.
9050 # Check X11 before X11Rn because it is often a symlink to the current release.
9051 ac_x_header_dirs='
9052 /usr/X11/include
9053 /usr/X11R7/include
9054 /usr/X11R6/include
9055 /usr/X11R5/include
9056 /usr/X11R4/include
9058 /usr/include/X11
9059 /usr/include/X11R7
9060 /usr/include/X11R6
9061 /usr/include/X11R5
9062 /usr/include/X11R4
9064 /usr/local/X11/include
9065 /usr/local/X11R7/include
9066 /usr/local/X11R6/include
9067 /usr/local/X11R5/include
9068 /usr/local/X11R4/include
9070 /usr/local/include/X11
9071 /usr/local/include/X11R7
9072 /usr/local/include/X11R6
9073 /usr/local/include/X11R5
9074 /usr/local/include/X11R4
9076 /usr/X386/include
9077 /usr/x386/include
9078 /usr/XFree86/include/X11
9080 /usr/include
9081 /usr/local/include
9082 /usr/unsupported/include
9083 /usr/athena/include
9084 /usr/local/x11r5/include
9085 /usr/lpp/Xamples/include
9087 /usr/openwin/include
9088 /usr/openwin/share/include'
9090 if test "$ac_x_includes" = no; then
9091 # Guess where to find include files, by looking for Xlib.h.
9092 # First, try using that file with no special directory specified.
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <X11/Xlib.h>
9096 _ACEOF
9097 if ac_fn_c_try_cpp "$LINENO"; then :
9098 # We can compile using X headers with no special include directory.
9099 ac_x_includes=
9100 else
9101 for ac_dir in $ac_x_header_dirs; do
9102 if test -r "$ac_dir/X11/Xlib.h"; then
9103 ac_x_includes=$ac_dir
9104 break
9106 done
9108 rm -f conftest.err conftest.i conftest.$ac_ext
9109 fi # $ac_x_includes = no
9111 if test "$ac_x_libraries" = no; then
9112 # Check for the libraries.
9113 # See if we find them without any special options.
9114 # Don't add to $LIBS permanently.
9115 ac_save_LIBS=$LIBS
9116 LIBS="-lX11 $LIBS"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 #include <X11/Xlib.h>
9121 main ()
9123 XrmInitialize ()
9125 return 0;
9127 _ACEOF
9128 if ac_fn_c_try_link "$LINENO"; then :
9129 LIBS=$ac_save_LIBS
9130 # We can link X programs with no special library path.
9131 ac_x_libraries=
9132 else
9133 LIBS=$ac_save_LIBS
9134 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9136 # Don't even attempt the hair of trying to link an X program!
9137 for ac_extension in a so sl dylib la dll; do
9138 if test -r "$ac_dir/libX11.$ac_extension"; then
9139 ac_x_libraries=$ac_dir
9140 break 2
9142 done
9143 done
9145 rm -f core conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
9147 fi # $ac_x_libraries = no
9149 case $ac_x_includes,$ac_x_libraries in #(
9150 no,* | *,no | *\'*)
9151 # Didn't find X, or a directory has "'" in its name.
9152 ac_cv_have_x="have_x=no";; #(
9154 # Record where we found X for the cache.
9155 ac_cv_have_x="have_x=yes\
9156 ac_x_includes='$ac_x_includes'\
9157 ac_x_libraries='$ac_x_libraries'"
9158 esac
9160 ;; #(
9161 *) have_x=yes;;
9162 esac
9163 eval "$ac_cv_have_x"
9164 fi # $with_x != no
9166 if test "$have_x" != yes; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9168 $as_echo "$have_x" >&6; }
9169 no_x=yes
9170 else
9171 # If each of the values was on the command line, it overrides each guess.
9172 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9173 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9174 # Update the cache value to reflect the command line values.
9175 ac_cv_have_x="have_x=yes\
9176 ac_x_includes='$x_includes'\
9177 ac_x_libraries='$x_libraries'"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9179 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9182 if test "$no_x" = yes; then
9183 # Not all programs may use this symbol, but it does not hurt to define it.
9185 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9187 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9188 else
9189 if test -n "$x_includes"; then
9190 X_CFLAGS="$X_CFLAGS -I$x_includes"
9193 # It would also be nice to do this for all -L options, not just this one.
9194 if test -n "$x_libraries"; then
9195 X_LIBS="$X_LIBS -L$x_libraries"
9196 # For Solaris; some versions of Sun CC require a space after -R and
9197 # others require no space. Words are not sufficient . . . .
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9199 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9200 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9201 ac_xsave_c_werror_flag=$ac_c_werror_flag
9202 ac_c_werror_flag=yes
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9207 main ()
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9217 X_LIBS="$X_LIBS -R$x_libraries"
9218 else
9219 LIBS="$ac_xsave_LIBS -R $x_libraries"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9224 main ()
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9233 $as_echo "yes" >&6; }
9234 X_LIBS="$X_LIBS -R $x_libraries"
9235 else
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9237 $as_echo "neither works" >&6; }
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9242 rm -f core conftest.err conftest.$ac_objext \
9243 conftest$ac_exeext conftest.$ac_ext
9244 ac_c_werror_flag=$ac_xsave_c_werror_flag
9245 LIBS=$ac_xsave_LIBS
9248 # Check for system-dependent libraries X programs must link with.
9249 # Do this before checking for the system-independent R6 libraries
9250 # (-lICE), since we may need -lsocket or whatever for X linking.
9252 if test "$ISC" = yes; then
9253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9254 else
9255 # Martyn Johnson says this is needed for Ultrix, if the X
9256 # libraries were built with DECnet support. And Karl Berry says
9257 # the Alpha needs dnet_stub (dnet does not exist).
9258 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9262 /* Override any GCC internal prototype to avoid an error.
9263 Use char because int might match the return type of a GCC
9264 builtin and then its argument prototype would still apply. */
9265 #ifdef __cplusplus
9266 extern "C"
9267 #endif
9268 char XOpenDisplay ();
9270 main ()
9272 return XOpenDisplay ();
9274 return 0;
9276 _ACEOF
9277 if ac_fn_c_try_link "$LINENO"; then :
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9281 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9282 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_check_lib_save_LIBS=$LIBS
9286 LIBS="-ldnet $LIBS"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9293 #ifdef __cplusplus
9294 extern "C"
9295 #endif
9296 char dnet_ntoa ();
9298 main ()
9300 return dnet_ntoa ();
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_lib_dnet_dnet_ntoa=yes
9307 else
9308 ac_cv_lib_dnet_dnet_ntoa=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LIBS=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9315 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9316 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9317 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9320 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9322 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9323 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_lib_save_LIBS=$LIBS
9327 LIBS="-ldnet_stub $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char dnet_ntoa ();
9339 main ()
9341 return dnet_ntoa ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9348 else
9349 ac_cv_lib_dnet_stub_dnet_ntoa=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9356 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9357 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9358 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 LIBS="$ac_xsave_LIBS"
9367 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9368 # to get the SysV transport functions.
9369 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9370 # needs -lnsl.
9371 # The nsl library prevents programs from opening the X display
9372 # on Irix 5.2, according to T.E. Dickey.
9373 # The functions gethostbyname, getservbyname, and inet_addr are
9374 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9375 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9376 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9380 if test $ac_cv_func_gethostbyname = no; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9382 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9383 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_check_lib_save_LIBS=$LIBS
9387 LIBS="-lnsl $LIBS"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9394 #ifdef __cplusplus
9395 extern "C"
9396 #endif
9397 char gethostbyname ();
9399 main ()
9401 return gethostbyname ();
9403 return 0;
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_lib_nsl_gethostbyname=yes
9408 else
9409 ac_cv_lib_nsl_gethostbyname=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 LIBS=$ac_check_lib_save_LIBS
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9416 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9417 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9418 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9421 if test $ac_cv_lib_nsl_gethostbyname = no; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9423 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9424 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_check_lib_save_LIBS=$LIBS
9428 LIBS="-lbsd $LIBS"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9435 #ifdef __cplusplus
9436 extern "C"
9437 #endif
9438 char gethostbyname ();
9440 main ()
9442 return gethostbyname ();
9444 return 0;
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_lib_bsd_gethostbyname=yes
9449 else
9450 ac_cv_lib_bsd_gethostbyname=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_lib_save_LIBS
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9457 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9458 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9466 # socket/setsockopt and other routines are undefined under SCO ODT
9467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9468 # on later versions), says Simon Leinen: it contains gethostby*
9469 # variants that don't use the name server (or something). -lsocket
9470 # must be given before -lnsl if both are needed. We assume that
9471 # if connect needs -lnsl, so does gethostbyname.
9472 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9473 if test "x$ac_cv_func_connect" = xyes; then :
9477 if test $ac_cv_func_connect = no; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9479 $as_echo_n "checking for connect in -lsocket... " >&6; }
9480 if ${ac_cv_lib_socket_connect+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char connect ();
9496 main ()
9498 return connect ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_socket_connect=yes
9505 else
9506 ac_cv_lib_socket_connect=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9513 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9514 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9515 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9520 # Guillermo Gomez says -lposix is necessary on A/UX.
9521 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9522 if test "x$ac_cv_func_remove" = xyes; then :
9526 if test $ac_cv_func_remove = no; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9528 $as_echo_n "checking for remove in -lposix... " >&6; }
9529 if ${ac_cv_lib_posix_remove+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lposix $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char remove ();
9545 main ()
9547 return remove ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_posix_remove=yes
9554 else
9555 ac_cv_lib_posix_remove=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9562 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9563 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9569 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9570 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9571 if test "x$ac_cv_func_shmat" = xyes; then :
9575 if test $ac_cv_func_shmat = no; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9577 $as_echo_n "checking for shmat in -lipc... " >&6; }
9578 if ${ac_cv_lib_ipc_shmat+:} false; then :
9579 $as_echo_n "(cached) " >&6
9580 else
9581 ac_check_lib_save_LIBS=$LIBS
9582 LIBS="-lipc $LIBS"
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 char shmat ();
9594 main ()
9596 return shmat ();
9598 return 0;
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_lib_ipc_shmat=yes
9603 else
9604 ac_cv_lib_ipc_shmat=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9611 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9612 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9613 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9619 # Check for libraries that X11R6 Xt/Xaw programs need.
9620 ac_save_LDFLAGS=$LDFLAGS
9621 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9622 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9623 # check for ICE first), but we must link in the order -lSM -lICE or
9624 # we get undefined symbols. So assume we have SM if we have ICE.
9625 # These have to be linked with before -lX11, unlike the other
9626 # libraries we check for below, so use a different variable.
9627 # John Interrante, Karl Berry
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9629 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9630 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 ac_check_lib_save_LIBS=$LIBS
9634 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char IceConnectionNumber ();
9646 main ()
9648 return IceConnectionNumber ();
9650 return 0;
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9654 ac_cv_lib_ICE_IceConnectionNumber=yes
9655 else
9656 ac_cv_lib_ICE_IceConnectionNumber=no
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 LIBS=$ac_check_lib_save_LIBS
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9663 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9664 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9665 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9668 LDFLAGS=$ac_save_LDFLAGS
9673 if test "$have_x" = "yes"
9674 then
9675 ac_save_CPPFLAGS="$CPPFLAGS"
9676 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9679 $as_echo_n "checking for -lX11... " >&6; }
9680 if ${ac_cv_lib_soname_X11+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 ac_check_soname_save_LIBS=$LIBS
9684 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char XCreateWindow ();
9696 main ()
9698 return XCreateWindow ();
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 case "$LIBEXT" in
9705 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9706 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'` ;;
9707 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9708 if ${ac_cv_lib_soname_X11:+false} :; then :
9709 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9710 fi ;;
9711 esac
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 LIBS=$ac_check_soname_save_LIBS
9717 if ${ac_cv_lib_soname_X11:+false} :; then :
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9719 $as_echo "not found" >&6; }
9721 else
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9723 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9725 cat >>confdefs.h <<_ACEOF
9726 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9727 _ACEOF
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9732 $as_echo_n "checking for -lXext... " >&6; }
9733 if ${ac_cv_lib_soname_Xext+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_soname_save_LIBS=$LIBS
9737 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char XextCreateExtension ();
9749 main ()
9751 return XextCreateExtension ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 case "$LIBEXT" in
9758 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xext:+false} :; then :
9762 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 fi ;;
9764 esac
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xext:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9774 else
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9776 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9780 _ACEOF
9782 X_LIBS="$X_LIBS -lXext"
9784 X_LIBS="$X_LIBS -lX11"
9786 for ac_header in X11/Xlib.h \
9787 X11/XKBlib.h \
9788 X11/Xutil.h \
9789 X11/Xcursor/Xcursor.h \
9790 X11/extensions/shape.h \
9791 X11/extensions/XInput.h \
9792 X11/extensions/XInput2.h \
9793 X11/extensions/XShm.h \
9794 X11/extensions/Xcomposite.h \
9795 X11/extensions/Xinerama.h \
9796 X11/extensions/Xrandr.h \
9797 X11/extensions/Xrender.h \
9798 X11/extensions/xf86vmode.h \
9799 X11/extensions/xf86vmproto.h
9800 do :
9801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9803 # include <X11/Xlib.h>
9804 #endif
9805 #ifdef HAVE_X11_XUTIL_H
9806 # include <X11/Xutil.h>
9807 #endif
9809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9810 cat >>confdefs.h <<_ACEOF
9811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9812 _ACEOF
9816 done
9819 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9820 then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9822 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9823 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_check_lib_save_LIBS=$LIBS
9827 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XkbQueryExtension ();
9839 main ()
9841 return XkbQueryExtension ();
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 ac_cv_lib_X11_XkbQueryExtension=yes
9848 else
9849 ac_cv_lib_X11_XkbQueryExtension=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 LIBS=$ac_check_lib_save_LIBS
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9856 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9857 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9859 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9865 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9866 then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9868 $as_echo_n "checking for -lXcursor... " >&6; }
9869 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_check_soname_save_LIBS=$LIBS
9873 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9880 #ifdef __cplusplus
9881 extern "C"
9882 #endif
9883 char XcursorImageLoadCursor ();
9885 main ()
9887 return XcursorImageLoadCursor ();
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 case "$LIBEXT" in
9894 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9895 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'` ;;
9896 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9897 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9898 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9899 fi ;;
9900 esac
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_soname_save_LIBS
9906 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9908 $as_echo "not found" >&6; }
9910 else
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9912 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9914 cat >>confdefs.h <<_ACEOF
9915 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9916 _ACEOF
9921 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9922 case "x$with_xcursor" in
9923 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9924 xno) ;;
9925 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9926 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9927 esac
9930 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9931 then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9933 $as_echo_n "checking for -lXi... " >&6; }
9934 if ${ac_cv_lib_soname_Xi+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_check_soname_save_LIBS=$LIBS
9938 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XOpenDevice ();
9950 main ()
9952 return XOpenDevice ();
9954 return 0;
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 case "$LIBEXT" in
9959 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9960 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'` ;;
9961 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9962 if ${ac_cv_lib_soname_Xi:+false} :; then :
9963 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9964 fi ;;
9965 esac
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_soname_save_LIBS
9971 if ${ac_cv_lib_soname_Xi:+false} :; then :
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9973 $as_echo "not found" >&6; }
9975 else
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9977 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9979 cat >>confdefs.h <<_ACEOF
9980 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9981 _ACEOF
9986 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9987 case "x$with_xinput" in
9988 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9989 xno) ;;
9990 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9991 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9992 esac
9995 if test "x$ac_cv_lib_soname_Xi" != x
9996 then
9997 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9998 case "x$with_xinput2" in
9999 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10000 xno) ;;
10001 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10002 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10003 esac
10007 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10008 then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10010 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10011 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_check_lib_save_LIBS=$LIBS
10015 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 #ifdef __cplusplus
10023 extern "C"
10024 #endif
10025 char XShmQueryExtension ();
10027 main ()
10029 return XShmQueryExtension ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_lib_Xext_XShmQueryExtension=yes
10036 else
10037 ac_cv_lib_Xext_XShmQueryExtension=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_lib_save_LIBS
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10044 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10045 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10047 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10052 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10053 case "x$with_xshm" in
10054 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10055 xno) ;;
10056 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10057 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10058 esac
10061 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10062 then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10064 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10065 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XShapeQueryExtension ();
10081 main ()
10083 return XShapeQueryExtension ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_Xext_XShapeQueryExtension=yes
10090 else
10091 ac_cv_lib_Xext_XShapeQueryExtension=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10098 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10099 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10101 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10106 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10107 case "x$with_xshape" in
10108 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10111 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10112 esac
10115 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10116 then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10118 $as_echo_n "checking for -lXxf86vm... " >&6; }
10119 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_soname_save_LIBS=$LIBS
10123 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XF86VidModeQueryExtension ();
10135 main ()
10137 return XF86VidModeQueryExtension ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 case "$LIBEXT" in
10144 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10148 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10149 fi ;;
10150 esac
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_soname_save_LIBS
10156 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10160 else
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10162 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10164 cat >>confdefs.h <<_ACEOF
10165 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10166 _ACEOF
10171 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10172 case "x$with_xxf86vm" in
10173 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10174 xno) ;;
10175 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10176 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10177 esac
10180 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10181 then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10183 $as_echo_n "checking for -lXrender... " >&6; }
10184 if ${ac_cv_lib_soname_Xrender+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_check_soname_save_LIBS=$LIBS
10188 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 char XRenderQueryExtension ();
10200 main ()
10202 return XRenderQueryExtension ();
10204 return 0;
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 case "$LIBEXT" in
10209 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10213 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10214 fi ;;
10215 esac
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 LIBS=$ac_check_soname_save_LIBS
10221 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10223 $as_echo "not found" >&6; }
10225 else
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10227 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10229 cat >>confdefs.h <<_ACEOF
10230 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10231 _ACEOF
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10234 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10235 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_check_lib_save_LIBS=$LIBS
10239 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10246 #ifdef __cplusplus
10247 extern "C"
10248 #endif
10249 char XRenderSetPictureTransform ();
10251 main ()
10253 return XRenderSetPictureTransform ();
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10260 else
10261 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_lib_save_LIBS
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10268 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10269 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10271 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10276 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10277 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_check_lib_save_LIBS=$LIBS
10281 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10288 #ifdef __cplusplus
10289 extern "C"
10290 #endif
10291 char XRenderCreateLinearGradient ();
10293 main ()
10295 return XRenderCreateLinearGradient ();
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10302 else
10303 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10310 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10311 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10313 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10320 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10321 case "x$with_xrender" in
10322 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10323 xno) ;;
10324 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10325 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10326 esac
10329 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10330 then
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 #include <X11/Xlib.h>
10334 #include <X11/extensions/Xrandr.h>
10336 main ()
10338 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_compile "$LINENO"; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10345 $as_echo_n "checking for -lXrandr... " >&6; }
10346 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_check_soname_save_LIBS=$LIBS
10350 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char XRRQueryExtension ();
10362 main ()
10364 return XRRQueryExtension ();
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 case "$LIBEXT" in
10371 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10372 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'` ;;
10373 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10374 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10375 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10376 fi ;;
10377 esac
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 LIBS=$ac_check_soname_save_LIBS
10383 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10385 $as_echo "not found" >&6; }
10387 else
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10389 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10391 cat >>confdefs.h <<_ACEOF
10392 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10393 _ACEOF
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 #include <X11/Xlib.h>
10398 #include <X11/extensions/Xrandr.h>
10400 main ()
10402 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10404 return 0;
10406 _ACEOF
10407 if ac_fn_c_try_compile "$LINENO"; then :
10409 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10417 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10418 case "x$with_xrandr" in
10419 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10420 xno) ;;
10421 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10422 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10423 esac
10426 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10427 then
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10430 #include <X11/Xlib.h>
10431 #include <X11/extensions/Xinerama.h>
10433 main ()
10435 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10437 return 0;
10439 _ACEOF
10440 if ac_fn_c_try_compile "$LINENO"; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10442 $as_echo_n "checking for -lXinerama... " >&6; }
10443 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_check_soname_save_LIBS=$LIBS
10447 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char XineramaQueryScreens ();
10459 main ()
10461 return XineramaQueryScreens ();
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 case "$LIBEXT" in
10468 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10469 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'` ;;
10470 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10471 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10472 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10473 fi ;;
10474 esac
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 LIBS=$ac_check_soname_save_LIBS
10480 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10482 $as_echo "not found" >&6; }
10484 else
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10486 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10488 cat >>confdefs.h <<_ACEOF
10489 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10490 _ACEOF
10495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10497 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10498 case "x$with_xinerama" in
10499 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10500 xno) ;;
10501 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10502 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10503 esac
10506 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10507 then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10509 $as_echo_n "checking for -lXcomposite... " >&6; }
10510 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_check_soname_save_LIBS=$LIBS
10514 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10521 #ifdef __cplusplus
10522 extern "C"
10523 #endif
10524 char XCompositeRedirectWindow ();
10526 main ()
10528 return XCompositeRedirectWindow ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10539 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 fi ;;
10541 esac
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_soname_save_LIBS
10547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10551 else
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10553 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10555 cat >>confdefs.h <<_ACEOF
10556 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10557 _ACEOF
10562 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10563 case "x$with_xcomposite" in
10564 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10565 xno) ;;
10566 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10567 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10568 esac
10571 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10572 #include <X11/Xlib.h>
10573 #endif
10575 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10577 cat >>confdefs.h <<_ACEOF
10578 #define HAVE_XICCALLBACK_CALLBACK 1
10579 _ACEOF
10583 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10584 #include <X11/Xlib.h>
10585 #endif
10587 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10589 cat >>confdefs.h <<_ACEOF
10590 #define HAVE_XEVENT_XCOOKIE 1
10591 _ACEOF
10598 opengl_msg=""
10599 if test "x$with_opengl" != "xno"
10600 then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10602 $as_echo_n "checking for -lGL... " >&6; }
10603 if ${ac_cv_lib_soname_GL+:} false; then :
10604 $as_echo_n "(cached) " >&6
10605 else
10606 ac_check_soname_save_LIBS=$LIBS
10607 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10614 #ifdef __cplusplus
10615 extern "C"
10616 #endif
10617 char glXCreateContext ();
10619 main ()
10621 return glXCreateContext ();
10623 return 0;
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"; then :
10627 case "$LIBEXT" in
10628 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10629 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'` ;;
10630 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10631 if ${ac_cv_lib_soname_GL:+false} :; then :
10632 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10633 fi ;;
10634 esac
10636 rm -f core conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_soname_save_LIBS
10640 if ${ac_cv_lib_soname_GL:+false} :; then :
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10642 $as_echo "not found" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10644 $as_echo_n "checking for -lGL... " >&6; }
10645 if ${ac_cv_lib_soname_GL+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_check_soname_save_LIBS=$LIBS
10649 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"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10656 #ifdef __cplusplus
10657 extern "C"
10658 #endif
10659 char glXCreateContext ();
10661 main ()
10663 return glXCreateContext ();
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 case "$LIBEXT" in
10670 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10671 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'` ;;
10672 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10673 if ${ac_cv_lib_soname_GL:+false} :; then :
10674 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10675 fi ;;
10676 esac
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_soname_save_LIBS
10682 if ${ac_cv_lib_soname_GL:+false} :; then :
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10684 $as_echo "not found" >&6; }
10685 if test -f /usr/X11R6/lib/libGL.a
10686 then
10687 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10688 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10689 else
10690 opengl_msg="No OpenGL library found on this system."
10692 else
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10694 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10698 _ACEOF
10700 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"
10702 else
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10704 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10706 cat >>confdefs.h <<_ACEOF
10707 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10708 _ACEOF
10710 OPENGL_LIBS="-lGL"
10712 if test "x$with_glu" != "xno"
10713 then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10715 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10716 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10717 $as_echo_n "(cached) " >&6
10718 else
10719 ac_check_lib_save_LIBS=$LIBS
10720 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10727 #ifdef __cplusplus
10728 extern "C"
10729 #endif
10730 char gluLookAt ();
10732 main ()
10734 return gluLookAt ();
10736 return 0;
10738 _ACEOF
10739 if ac_fn_c_try_link "$LINENO"; then :
10740 ac_cv_lib_GLU_gluLookAt=yes
10741 else
10742 ac_cv_lib_GLU_gluLookAt=no
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_lib_save_LIBS
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10749 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10750 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10754 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10755 case "x$with_glu" in
10756 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10757 xno) ;;
10758 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10759 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10760 esac
10764 if test "x$with_osmesa" != "xno"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10767 $as_echo_n "checking for -lOSMesa... " >&6; }
10768 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_soname_save_LIBS=$LIBS
10772 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char glAccum ();
10784 main ()
10786 return glAccum ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 case "$LIBEXT" in
10793 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10794 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'` ;;
10795 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10796 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10797 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 fi ;;
10799 esac
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_soname_save_LIBS
10805 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10807 $as_echo "not found" >&6; }
10809 else
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10811 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10813 cat >>confdefs.h <<_ACEOF
10814 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10815 _ACEOF
10819 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10820 case "x$with_osmesa" in
10821 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10824 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10825 esac
10829 if test -n "$opengl_msg"; then :
10830 case "x$with_opengl" in
10831 x) as_fn_append wine_warnings "|$opengl_msg
10832 OpenGL and Direct3D won't be supported." ;;
10833 xno) ;;
10834 *) as_fn_error $? "$opengl_msg
10835 OpenGL and Direct3D won't be supported.
10836 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10837 esac
10840 CPPFLAGS="$ac_save_CPPFLAGS"
10841 else
10842 X_CFLAGS=""
10843 X_LIBS=""
10844 enable_winex11_drv=${enable_winex11_drv:-no}
10846 if test "x$X_LIBS" = "x"; then :
10847 case "x$with_x" in
10848 xno) ;;
10849 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10850 without X support, which probably isn't what you want. You will need
10851 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10852 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10853 esac
10856 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10858 if test "$ac_cv_header_CL_cl_h" = "yes"
10859 then
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10861 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10862 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10863 $as_echo_n "(cached) " >&6
10864 else
10865 ac_check_lib_save_LIBS=$LIBS
10866 LIBS="-lOpenCL $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char clGetPlatformInfo ();
10878 main ()
10880 return clGetPlatformInfo ();
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10887 else
10888 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10895 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10896 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10897 OPENCL_LIBS="-lOpenCL"
10902 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10903 case "x$with_opencl" in
10904 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10905 xno) ;;
10906 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10907 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10908 esac
10910 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10912 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10913 then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10915 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10916 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lpcap $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char pcap_create ();
10932 main ()
10934 return pcap_create ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_pcap_pcap_create=yes
10941 else
10942 ac_cv_lib_pcap_pcap_create=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10949 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10950 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10951 PCAP_LIBS="-lpcap"
10956 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10957 case "x$with_pcap" in
10958 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10959 xno) ;;
10960 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10961 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10962 esac
10964 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10967 if test "x$with_xml" != "xno"
10968 then
10969 if ${XML2_CFLAGS:+false} :; then :
10970 if ${PKG_CONFIG+:} false; then :
10971 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10974 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10975 if ${XML2_LIBS:+false} :; then :
10976 if ${PKG_CONFIG+:} false; then :
10977 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10980 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10981 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10982 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10983 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10984 ac_save_CPPFLAGS=$CPPFLAGS
10985 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10986 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10987 do :
10988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10989 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10991 cat >>confdefs.h <<_ACEOF
10992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10993 _ACEOF
10997 done
10999 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"
11000 then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11002 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11003 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-lxml2 $XML2_LIBS $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char xmlParseMemory ();
11019 main ()
11021 return xmlParseMemory ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 ac_cv_lib_xml2_xmlParseMemory=yes
11028 else
11029 ac_cv_lib_xml2_xmlParseMemory=no
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11036 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11037 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11039 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11041 else
11042 XML2_LIBS=""
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11046 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11047 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11048 $as_echo_n "(cached) " >&6
11049 else
11050 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-lxml2 $XML2_LIBS $LIBS"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11058 #ifdef __cplusplus
11059 extern "C"
11060 #endif
11061 char xmlReadMemory ();
11063 main ()
11065 return xmlReadMemory ();
11067 return 0;
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"; then :
11071 ac_cv_lib_xml2_xmlReadMemory=yes
11072 else
11073 ac_cv_lib_xml2_xmlReadMemory=no
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11080 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11081 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11083 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11088 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11089 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11090 $as_echo_n "(cached) " >&6
11091 else
11092 ac_check_lib_save_LIBS=$LIBS
11093 LIBS="-lxml2 $XML2_LIBS $LIBS"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11097 /* Override any GCC internal prototype to avoid an error.
11098 Use char because int might match the return type of a GCC
11099 builtin and then its argument prototype would still apply. */
11100 #ifdef __cplusplus
11101 extern "C"
11102 #endif
11103 char xmlNewDocPI ();
11105 main ()
11107 return xmlNewDocPI ();
11109 return 0;
11111 _ACEOF
11112 if ac_fn_c_try_link "$LINENO"; then :
11113 ac_cv_lib_xml2_xmlNewDocPI=yes
11114 else
11115 ac_cv_lib_xml2_xmlNewDocPI=no
11117 rm -f core conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11122 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11123 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11125 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11130 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11131 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-lxml2 $XML2_LIBS $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char xmlSchemaSetParserStructuredErrors ();
11147 main ()
11149 return xmlSchemaSetParserStructuredErrors ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11156 else
11157 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11164 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11165 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11167 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11172 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11173 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lxml2 $XML2_LIBS $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char xmlSchemaSetValidStructuredErrors ();
11189 main ()
11191 return xmlSchemaSetValidStructuredErrors ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11198 else
11199 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11206 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11207 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11209 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11214 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11215 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-lxml2 $XML2_LIBS $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char xmlFirstElementChild ();
11231 main ()
11233 return xmlFirstElementChild ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_xml2_xmlFirstElementChild=yes
11240 else
11241 ac_cv_lib_xml2_xmlFirstElementChild=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11248 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11249 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11251 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11255 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11257 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11259 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11263 else
11264 XML2_CFLAGS=""
11265 XML2_LIBS=""
11267 CPPFLAGS=$ac_save_CPPFLAGS
11268 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11269 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11272 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11273 case "x$with_xml" in
11274 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11275 xno) ;;
11276 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11277 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11278 esac
11281 if test "x$with_xslt" != "xno"
11282 then
11283 if ${XSLT_CFLAGS:+false} :; then :
11284 if ${PKG_CONFIG+:} false; then :
11285 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11288 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11289 if ${XSLT_LIBS:+false} :; then :
11290 if ${PKG_CONFIG+:} false; then :
11291 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11294 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11295 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11296 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11297 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11298 ac_save_CPPFLAGS=$CPPFLAGS
11299 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11300 for ac_header in libxslt/pattern.h libxslt/transform.h
11301 do :
11302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11303 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11304 # include <libxslt/pattern.h>
11305 #endif
11307 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11308 cat >>confdefs.h <<_ACEOF
11309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11310 _ACEOF
11314 done
11316 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11317 then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11319 $as_echo_n "checking for -lxslt... " >&6; }
11320 if ${ac_cv_lib_soname_xslt+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_soname_save_LIBS=$LIBS
11324 LIBS="-lxslt $XSLT_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char xsltCompilePattern ();
11336 main ()
11338 return xsltCompilePattern ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 case "$LIBEXT" in
11345 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11346 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'` ;;
11347 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11348 if ${ac_cv_lib_soname_xslt:+false} :; then :
11349 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11350 fi ;;
11351 esac
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_soname_save_LIBS
11357 if ${ac_cv_lib_soname_xslt:+false} :; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11359 $as_echo "not found" >&6; }
11361 else
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11363 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11365 cat >>confdefs.h <<_ACEOF
11366 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11367 _ACEOF
11371 else
11372 XSLT_CFLAGS=""
11374 CPPFLAGS=$ac_save_CPPFLAGS
11375 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11376 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11379 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11380 case "x$with_xslt" in
11381 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11382 xno) ;;
11383 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11384 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11385 esac
11388 if test "x$with_dbus" != "xno"
11389 then
11390 if ${DBUS_CFLAGS:+false} :; then :
11391 if ${PKG_CONFIG+:} false; then :
11392 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11396 if ${DBUS_LIBS:+false} :; then :
11397 if ${PKG_CONFIG+:} false; then :
11398 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11403 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11405 ac_save_CPPFLAGS=$CPPFLAGS
11406 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11407 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11408 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11410 $as_echo_n "checking for -ldbus-1... " >&6; }
11411 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11412 $as_echo_n "(cached) " >&6
11413 else
11414 ac_check_soname_save_LIBS=$LIBS
11415 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11422 #ifdef __cplusplus
11423 extern "C"
11424 #endif
11425 char dbus_connection_close ();
11427 main ()
11429 return dbus_connection_close ();
11431 return 0;
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 case "$LIBEXT" in
11436 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11437 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'` ;;
11438 *) 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'`
11439 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11440 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11441 fi ;;
11442 esac
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_soname_save_LIBS
11448 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11450 $as_echo "not found" >&6; }
11451 DBUS_CFLAGS=""
11452 else
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11454 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11456 cat >>confdefs.h <<_ACEOF
11457 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11458 _ACEOF
11462 else
11463 DBUS_CFLAGS=""
11467 CPPFLAGS=$ac_save_CPPFLAGS
11468 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11469 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11472 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11473 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11474 case "x$with_dbus" in
11475 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11476 xno) ;;
11477 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11478 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11479 esac
11482 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11483 then
11484 if ${HAL_CFLAGS:+false} :; then :
11485 if ${PKG_CONFIG+:} false; then :
11486 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11490 if ${HAL_LIBS:+false} :; then :
11491 if ${PKG_CONFIG+:} false; then :
11492 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11496 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11497 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11498 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11499 ac_save_CPPFLAGS=$CPPFLAGS
11500 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11501 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11502 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11504 $as_echo_n "checking for -lhal... " >&6; }
11505 if ${ac_cv_lib_soname_hal+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lhal $HAL_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char libhal_ctx_new ();
11521 main ()
11523 return libhal_ctx_new ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if ${ac_cv_lib_soname_hal:+false} :; then :
11534 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_hal:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11545 HAL_CFLAGS=""
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11548 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11552 _ACEOF
11556 else
11557 HAL_CFLAGS=""
11561 CPPFLAGS=$ac_save_CPPFLAGS
11562 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11563 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11565 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11566 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11567 case "x$with_hal" in
11568 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11569 xno) ;;
11570 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11571 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11572 esac
11576 if test "x$with_gnutls" != "xno"
11577 then
11578 if ${GNUTLS_CFLAGS:+false} :; then :
11579 if ${PKG_CONFIG+:} false; then :
11580 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11584 if ${GNUTLS_LIBS:+false} :; then :
11585 if ${PKG_CONFIG+:} false; then :
11586 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11591 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11592 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11593 ac_save_CPPFLAGS=$CPPFLAGS
11594 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11595 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11596 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11599 #include <gnutls/gnutls.h>
11600 #include <gnutls/crypto.h>
11602 main ()
11604 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11606 return 0;
11608 _ACEOF
11609 if ac_fn_c_try_compile "$LINENO"; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11611 $as_echo_n "checking for -lgnutls... " >&6; }
11612 if ${ac_cv_lib_soname_gnutls+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_soname_save_LIBS=$LIBS
11616 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char gnutls_global_init ();
11628 main ()
11630 return gnutls_global_init ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 case "$LIBEXT" in
11637 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11638 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'` ;;
11639 *) 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'`
11640 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11641 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'`
11642 fi ;;
11643 esac
11645 rm -f core conftest.err conftest.$ac_objext \
11646 conftest$ac_exeext conftest.$ac_ext
11647 LIBS=$ac_check_soname_save_LIBS
11649 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11652 GNUTLS_CFLAGS=""
11653 else
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11655 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11657 cat >>confdefs.h <<_ACEOF
11658 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11659 _ACEOF
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665 else
11666 GNUTLS_CFLAGS=""
11670 CPPFLAGS=$ac_save_CPPFLAGS
11671 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11672 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11675 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11676 case "x$with_gnutls" in
11677 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11678 xno) ;;
11679 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11680 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11681 esac
11684 CURSES_LIBS=""
11685 if test "$ac_cv_header_ncurses_h" = "yes"
11686 then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11688 $as_echo_n "checking for -lncurses... " >&6; }
11689 if ${ac_cv_lib_soname_ncurses+:} false; then :
11690 $as_echo_n "(cached) " >&6
11691 else
11692 ac_check_soname_save_LIBS=$LIBS
11693 LIBS="-lncurses $LIBS"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 char waddch ();
11705 main ()
11707 return waddch ();
11709 return 0;
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"; then :
11713 case "$LIBEXT" in
11714 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11715 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'` ;;
11716 *) 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'`
11717 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11718 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11719 fi ;;
11720 esac
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_soname_save_LIBS
11726 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11728 $as_echo "not found" >&6; }
11730 else
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11732 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11734 cat >>confdefs.h <<_ACEOF
11735 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11736 _ACEOF
11738 CURSES_LIBS="-lncurses"
11740 elif test "$ac_cv_header_curses_h" = "yes"
11741 then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11743 $as_echo_n "checking for -lcurses... " >&6; }
11744 if ${ac_cv_lib_soname_curses+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_soname_save_LIBS=$LIBS
11748 LIBS="-lcurses $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char waddch ();
11760 main ()
11762 return waddch ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 case "$LIBEXT" in
11769 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11770 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'` ;;
11771 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11772 if ${ac_cv_lib_soname_curses:+false} :; then :
11773 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11774 fi ;;
11775 esac
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_soname_save_LIBS
11781 if ${ac_cv_lib_soname_curses:+false} :; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11783 $as_echo "not found" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11787 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11789 cat >>confdefs.h <<_ACEOF
11790 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11791 _ACEOF
11793 CURSES_LIBS="-lcurses"
11796 ac_save_LIBS="$LIBS"
11797 LIBS="$LIBS $CURSES_LIBS"
11798 for ac_func in mousemask
11799 do :
11800 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11801 if test "x$ac_cv_func_mousemask" = xyes; then :
11802 cat >>confdefs.h <<_ACEOF
11803 #define HAVE_MOUSEMASK 1
11804 _ACEOF
11807 done
11809 LIBS="$ac_save_LIBS"
11810 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11811 case "x$with_curses" in
11812 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11813 xno) ;;
11814 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11815 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11816 esac
11819 if test "x$with_sane" != "xno"
11820 then
11821 if ${SANE_CFLAGS:+false} :; then :
11822 if ${PKG_CONFIG+:} false; then :
11823 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11826 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11827 if ${SANE_LIBS:+false} :; then :
11828 if ${PKG_CONFIG+:} false; then :
11829 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11832 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11834 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11835 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11836 ac_save_CPPFLAGS=$CPPFLAGS
11837 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11838 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11839 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11841 $as_echo_n "checking for -lsane... " >&6; }
11842 if ${ac_cv_lib_soname_sane+:} false; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 ac_check_soname_save_LIBS=$LIBS
11846 LIBS="-lsane $SANE_LIBS $LIBS"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char sane_init ();
11858 main ()
11860 return sane_init ();
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 case "$LIBEXT" in
11867 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11868 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'` ;;
11869 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11870 if ${ac_cv_lib_soname_sane:+false} :; then :
11871 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11872 fi ;;
11873 esac
11875 rm -f core conftest.err conftest.$ac_objext \
11876 conftest$ac_exeext conftest.$ac_ext
11877 LIBS=$ac_check_soname_save_LIBS
11879 if ${ac_cv_lib_soname_sane:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11882 SANE_CFLAGS=""
11883 else
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11885 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11887 cat >>confdefs.h <<_ACEOF
11888 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11889 _ACEOF
11893 else
11894 SANE_CFLAGS=""
11898 CPPFLAGS=$ac_save_CPPFLAGS
11899 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11900 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11903 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11904 case "x$with_sane" in
11905 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11906 xno) ;;
11907 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11908 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11909 esac
11912 if test "x$with_v4l" != "xno"
11913 then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11915 $as_echo_n "checking for -lv4l1... " >&6; }
11916 if ${ac_cv_lib_soname_v4l1+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_soname_save_LIBS=$LIBS
11920 LIBS="-lv4l1 $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char v4l1_open ();
11932 main ()
11934 return v4l1_open ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 case "$LIBEXT" in
11941 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11942 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'` ;;
11943 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11944 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11945 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11946 fi ;;
11947 esac
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_soname_save_LIBS
11953 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11955 $as_echo "not found" >&6; }
11957 else
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11959 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11961 cat >>confdefs.h <<_ACEOF
11962 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11963 _ACEOF
11968 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11969 case "x$with_v4l" in
11970 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11971 xno) ;;
11972 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11973 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11974 esac
11977 if test "x$with_gphoto" != "xno"
11978 then
11979 if ${GPHOTO2_CFLAGS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11984 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11985 if ${GPHOTO2_LIBS:+false} :; then :
11986 if ${PKG_CONFIG+:} false; then :
11987 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11990 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11991 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11994 ac_save_CPPFLAGS=$CPPFLAGS
11995 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11996 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11997 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11999 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12000 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_lib_save_LIBS=$LIBS
12004 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char gp_camera_new ();
12016 main ()
12018 return gp_camera_new ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 ac_cv_lib_gphoto2_gp_camera_new=yes
12025 else
12026 ac_cv_lib_gphoto2_gp_camera_new=no
12028 rm -f core conftest.err conftest.$ac_objext \
12029 conftest$ac_exeext conftest.$ac_ext
12030 LIBS=$ac_check_lib_save_LIBS
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12033 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12034 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12036 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12038 else
12039 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12042 else
12043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12047 CPPFLAGS=$ac_save_CPPFLAGS
12048 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12049 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12051 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12052 if ${PKG_CONFIG+:} false; then :
12053 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12056 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12057 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12058 if ${PKG_CONFIG+:} false; then :
12059 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12062 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12063 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12064 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12065 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12066 ac_save_CPPFLAGS=$CPPFLAGS
12067 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12068 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12069 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12071 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12072 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_check_lib_save_LIBS=$LIBS
12076 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12083 #ifdef __cplusplus
12084 extern "C"
12085 #endif
12086 char gp_port_info_list_new ();
12088 main ()
12090 return gp_port_info_list_new ();
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12097 else
12098 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_lib_save_LIBS
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12105 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12106 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12108 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12110 else
12111 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12114 else
12115 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12119 CPPFLAGS=$ac_save_CPPFLAGS
12120 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12121 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12124 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12125 case "x$with_gphoto" in
12126 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12127 xno) ;;
12128 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12129 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12130 esac
12132 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12133 case "x$with_gphoto" in
12134 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12135 xno) ;;
12136 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12137 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12138 esac
12142 if test "$ac_cv_header_resolv_h" = "yes"
12143 then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12145 $as_echo_n "checking for resolver library... " >&6; }
12146 if ${ac_cv_have_resolv+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_save_LIBS="$LIBS"
12150 for lib in '' -lresolv
12152 LIBS="$lib $ac_save_LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12155 #ifdef HAVE_NETINET_IN_H
12156 #include <netinet/in.h>
12157 #endif
12158 #include <resolv.h>
12160 main ()
12162 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_have_resolv=${lib:-"none required"}
12169 else
12170 ac_cv_have_resolv="not found"
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 test "x$ac_cv_have_resolv" = "xnot found" || break
12175 done
12176 LIBS="$ac_save_LIBS"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12179 $as_echo "$ac_cv_have_resolv" >&6; }
12181 case "$ac_cv_have_resolv" in
12182 "not found") ;;
12183 "none required")
12185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12188 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12190 RESOLV_LIBS=$ac_cv_have_resolv
12192 esac
12195 if test "x$with_cms" != "xno"
12196 then
12197 if ${LCMS2_CFLAGS:+false} :; then :
12198 if ${PKG_CONFIG+:} false; then :
12199 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12203 if ${LCMS2_LIBS:+false} :; then :
12204 if ${PKG_CONFIG+:} false; then :
12205 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12209 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12210 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12211 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12212 ac_save_CPPFLAGS=$CPPFLAGS
12213 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12214 for ac_header in lcms2.h
12215 do :
12216 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12217 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12218 cat >>confdefs.h <<_ACEOF
12219 #define HAVE_LCMS2_H 1
12220 _ACEOF
12224 done
12226 if test "$ac_cv_header_lcms2_h" = "yes"
12227 then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12229 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12230 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 ac_check_lib_save_LIBS=$LIBS
12234 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 /* Override any GCC internal prototype to avoid an error.
12239 Use char because int might match the return type of a GCC
12240 builtin and then its argument prototype would still apply. */
12241 #ifdef __cplusplus
12242 extern "C"
12243 #endif
12244 char cmsOpenProfileFromFile ();
12246 main ()
12248 return cmsOpenProfileFromFile ();
12250 return 0;
12252 _ACEOF
12253 if ac_fn_c_try_link "$LINENO"; then :
12254 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12255 else
12256 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 LIBS=$ac_check_lib_save_LIBS
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12263 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12264 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12266 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12268 else
12269 LCMS2_LIBS=""
12272 else
12273 LCMS2_CFLAGS=""
12274 LCMS2_LIBS=""
12276 CPPFLAGS=$ac_save_CPPFLAGS
12277 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12278 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12281 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12282 case "x$with_cms" in
12283 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12284 xno) ;;
12285 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12286 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12287 esac
12290 if test "x$with_freetype" != "xno"
12291 then
12292 if ${FREETYPE_CFLAGS:+false} :; then :
12293 if ${PKG_CONFIG+:} false; then :
12294 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12297 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12298 if ${FREETYPE_LIBS:+false} :; then :
12299 if ${PKG_CONFIG+:} false; then :
12300 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12303 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12304 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12305 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12306 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12307 ac_save_CPPFLAGS=$CPPFLAGS
12308 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12309 for ac_header in ft2build.h
12310 do :
12311 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12312 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12313 cat >>confdefs.h <<_ACEOF
12314 #define HAVE_FT2BUILD_H 1
12315 _ACEOF
12319 done
12321 if test "$ac_cv_header_ft2build_h" = "yes"
12322 then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12324 $as_echo_n "checking for -lfreetype... " >&6; }
12325 if ${ac_cv_lib_soname_freetype+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 ac_check_soname_save_LIBS=$LIBS
12329 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12336 #ifdef __cplusplus
12337 extern "C"
12338 #endif
12339 char FT_Init_FreeType ();
12341 main ()
12343 return FT_Init_FreeType ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 case "$LIBEXT" in
12350 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12351 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'` ;;
12352 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12353 if ${ac_cv_lib_soname_freetype:+false} :; then :
12354 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12355 fi ;;
12356 esac
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if ${ac_cv_lib_soname_freetype:+false} :; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12364 $as_echo "not found" >&6; }
12365 FREETYPE_LIBS=""
12366 else
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12368 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12370 cat >>confdefs.h <<_ACEOF
12371 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12372 _ACEOF
12375 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12377 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12378 #include FT_MODULE_H
12380 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12382 cat >>confdefs.h <<_ACEOF
12383 #define HAVE_FT_TRUETYPEENGINETYPE 1
12384 _ACEOF
12390 else
12391 FREETYPE_CFLAGS=""
12392 FREETYPE_LIBS=""
12394 CPPFLAGS=$ac_save_CPPFLAGS
12395 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12396 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12399 if test "x$ac_cv_lib_soname_freetype" = x; then :
12400 case "x$with_freetype" in
12401 xno) ;;
12402 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12403 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12404 esac
12406 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12409 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12410 if ${ac_cv_c_ppdev+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 #ifdef HAVE_SYS_IOCTL_H
12416 # include <sys/ioctl.h>
12417 #endif
12418 #include <linux/ppdev.h>
12420 main ()
12422 ioctl (1,PPCLAIM,0)
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_compile "$LINENO"; then :
12428 ac_cv_c_ppdev="yes"
12429 else
12430 ac_cv_c_ppdev="no"
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12435 $as_echo "$ac_cv_c_ppdev" >&6; }
12436 if test "$ac_cv_c_ppdev" = "yes"
12437 then
12439 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12443 ac_wine_check_funcs_save_LIBS="$LIBS"
12444 LIBS="$LIBS $PTHREAD_LIBS"
12445 for ac_func in \
12446 pthread_attr_get_np \
12447 pthread_getattr_np \
12448 pthread_getthreadid_np \
12449 pthread_get_stackaddr_np \
12450 pthread_get_stacksize_np
12451 do :
12452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12455 cat >>confdefs.h <<_ACEOF
12456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12457 _ACEOF
12460 done
12462 LIBS="$ac_wine_check_funcs_save_LIBS"
12464 if test "$ac_cv_header_zlib_h" = "yes"
12465 then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12467 $as_echo_n "checking for inflate in -lz... " >&6; }
12468 if ${ac_cv_lib_z_inflate+:} false; then :
12469 $as_echo_n "(cached) " >&6
12470 else
12471 ac_check_lib_save_LIBS=$LIBS
12472 LIBS="-lz $LIBS"
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12479 #ifdef __cplusplus
12480 extern "C"
12481 #endif
12482 char inflate ();
12484 main ()
12486 return inflate ();
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 ac_cv_lib_z_inflate=yes
12493 else
12494 ac_cv_lib_z_inflate=no
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12498 LIBS=$ac_check_lib_save_LIBS
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12501 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12502 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12504 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12506 Z_LIBS="-lz"
12511 if test "x$Z_LIBS" = "x"; then :
12512 case "x$with_zlib" in
12513 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12514 xno) ;;
12515 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12516 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12517 esac
12520 if test "x$enable_tools" != xno
12521 then
12522 if test "$ac_cv_header_gettext_po_h" = "yes"
12523 then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12525 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12526 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12527 $as_echo_n "(cached) " >&6
12528 else
12529 ac_check_lib_save_LIBS=$LIBS
12530 LIBS="-lgettextpo $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12537 #ifdef __cplusplus
12538 extern "C"
12539 #endif
12540 char po_message_msgctxt ();
12542 main ()
12544 return po_message_msgctxt ();
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12551 else
12552 ac_cv_lib_gettextpo_po_message_msgctxt=no
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12559 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12560 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12562 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12564 GETTEXTPO_LIBS="-lgettextpo"
12569 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12570 case "x$with_gettextpo" in
12571 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12572 xno) ;;
12573 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12574 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12575 esac
12579 if test "x$with_gstreamer" != "xno"
12580 then
12581 if ${GSTREAMER_CFLAGS:+false} :; then :
12582 if ${PKG_CONFIG+:} false; then :
12583 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12587 if ${GSTREAMER_LIBS:+false} :; then :
12588 if ${PKG_CONFIG+:} false; then :
12589 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12594 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12595 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12596 ac_save_CPPFLAGS=$CPPFLAGS
12597 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12598 ac_gst_incl=""
12599 for i in $GSTREAMER_CFLAGS
12601 case "$i" in
12602 -I*) ac_gst_incl="$ac_gst_incl $i";;
12603 esac
12604 done
12605 GSTREAMER_CFLAGS=$ac_gst_incl
12606 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12607 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12609 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12610 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12612 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12615 #include <gst/app/gstappsink.h>
12617 main ()
12619 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_compile "$LINENO"; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12626 $as_echo "yes" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12628 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12629 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-lgstreamer-0.10 $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char gst_pad_get_caps_reffed ();
12645 main ()
12647 return gst_pad_get_caps_reffed ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12654 else
12655 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12662 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12663 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12665 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12666 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_lib_save_LIBS=$LIBS
12670 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char gst_app_buffer_new ();
12682 main ()
12684 return gst_app_buffer_new ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12691 else
12692 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12694 rm -f core conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_lib_save_LIBS
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12699 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12700 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12706 else
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12714 else
12715 GSTREAMER_CFLAGS=""
12719 CPPFLAGS=$ac_save_CPPFLAGS
12720 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12721 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12724 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12725 case "x$with_gstreamer" in
12726 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12727 xno) ;;
12728 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12729 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12730 esac
12732 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12734 ALSA_LIBS=""
12736 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12737 then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12739 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12740 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12741 $as_echo_n "(cached) " >&6
12742 else
12743 ac_check_lib_save_LIBS=$LIBS
12744 LIBS="-lasound $LIBS"
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12751 #ifdef __cplusplus
12752 extern "C"
12753 #endif
12754 char snd_pcm_hw_params_get_access_mask ();
12756 main ()
12758 return snd_pcm_hw_params_get_access_mask ();
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_link "$LINENO"; then :
12764 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12765 else
12766 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12768 rm -f core conftest.err conftest.$ac_objext \
12769 conftest$ac_exeext conftest.$ac_ext
12770 LIBS=$ac_check_lib_save_LIBS
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12773 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12774 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777 #ifdef HAVE_ALSA_ASOUNDLIB_H
12778 #include <alsa/asoundlib.h>
12779 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12780 #include <sys/asoundlib.h>
12781 #endif
12783 main ()
12785 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_compile "$LINENO"; then :
12791 ALSA_LIBS="-lasound"
12793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12798 if test "x$with_oss" != xno
12799 then
12800 ac_save_CPPFLAGS="$CPPFLAGS"
12801 if test -f /etc/oss.conf
12802 then
12803 . /etc/oss.conf
12805 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12806 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12807 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12808 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12809 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12811 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12813 cat >>confdefs.h <<_ACEOF
12814 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12815 _ACEOF
12817 OSS4_CFLAGS="$ac_oss_incl"
12824 CPPFLAGS="$ac_save_CPPFLAGS"
12825 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12826 then
12827 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12831 if test "x$with_capi" != "xno"
12832 then
12833 if ${CAPI20_CFLAGS:+false} :; then :
12834 if ${PKG_CONFIG+:} false; then :
12835 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12839 if ${CAPI20_LIBS:+false} :; then :
12840 if ${PKG_CONFIG+:} false; then :
12841 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12846 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12847 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12848 ac_save_CPPFLAGS=$CPPFLAGS
12849 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12850 for ac_header in capi20.h linux/capi.h
12851 do :
12852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12856 cat >>confdefs.h <<_ACEOF
12857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12858 _ACEOF
12862 done
12864 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12865 then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12867 $as_echo_n "checking for -lcapi20... " >&6; }
12868 if ${ac_cv_lib_soname_capi20+:} false; then :
12869 $as_echo_n "(cached) " >&6
12870 else
12871 ac_check_soname_save_LIBS=$LIBS
12872 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 /* Override any GCC internal prototype to avoid an error.
12877 Use char because int might match the return type of a GCC
12878 builtin and then its argument prototype would still apply. */
12879 #ifdef __cplusplus
12880 extern "C"
12881 #endif
12882 char capi20_register ();
12884 main ()
12886 return capi20_register ();
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"; then :
12892 case "$LIBEXT" in
12893 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12894 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'` ;;
12895 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12896 if ${ac_cv_lib_soname_capi20:+false} :; then :
12897 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12898 fi ;;
12899 esac
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_soname_save_LIBS
12905 if ${ac_cv_lib_soname_capi20:+false} :; then :
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12907 $as_echo "not found" >&6; }
12909 else
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12911 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12913 cat >>confdefs.h <<_ACEOF
12914 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12915 _ACEOF
12920 CPPFLAGS=$ac_save_CPPFLAGS
12921 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12922 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12925 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12926 case "x$with_capi" in
12927 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12928 xno) ;;
12929 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12930 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12931 esac
12934 CUPS_CFLAGS=""
12936 if test "x$with_cups" != "xno"
12937 then
12938 ac_save_CPPFLAGS="$CPPFLAGS"
12939 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12940 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12941 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12942 for ac_header in cups/cups.h
12943 do :
12944 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12945 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12946 cat >>confdefs.h <<_ACEOF
12947 #define HAVE_CUPS_CUPS_H 1
12948 _ACEOF
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12950 $as_echo_n "checking for -lcups... " >&6; }
12951 if ${ac_cv_lib_soname_cups+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_soname_save_LIBS=$LIBS
12955 LIBS="-lcups $ac_cups_libs $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char cupsGetDefault ();
12967 main ()
12969 return cupsGetDefault ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 case "$LIBEXT" in
12976 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12977 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'` ;;
12978 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12979 if ${ac_cv_lib_soname_cups:+false} :; then :
12980 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12981 fi ;;
12982 esac
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_soname_save_LIBS
12988 if ${ac_cv_lib_soname_cups:+false} :; then :
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12990 $as_echo "not found" >&6; }
12992 else
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12994 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12996 cat >>confdefs.h <<_ACEOF
12997 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12998 _ACEOF
13000 CUPS_CFLAGS="$ac_cups_cflags"
13004 done
13006 CPPFLAGS="$ac_save_CPPFLAGS"
13008 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13009 case "x$with_cups" in
13010 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13011 xno) ;;
13012 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13013 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13014 esac
13017 if test "x$with_fontconfig" != "xno"
13018 then
13019 if ${FONTCONFIG_CFLAGS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13024 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13025 if ${FONTCONFIG_LIBS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13030 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13032 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13033 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13034 ac_save_CPPFLAGS=$CPPFLAGS
13035 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13036 for ac_header in fontconfig/fontconfig.h
13037 do :
13038 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13039 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13040 cat >>confdefs.h <<_ACEOF
13041 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13042 _ACEOF
13046 done
13048 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13049 then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13051 $as_echo_n "checking for -lfontconfig... " >&6; }
13052 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_check_soname_save_LIBS=$LIBS
13056 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13063 #ifdef __cplusplus
13064 extern "C"
13065 #endif
13066 char FcInit ();
13068 main ()
13070 return FcInit ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"; then :
13076 case "$LIBEXT" in
13077 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13078 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'` ;;
13079 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13080 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13081 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13082 fi ;;
13083 esac
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_soname_save_LIBS
13089 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13091 $as_echo "not found" >&6; }
13092 FONTCONFIG_CFLAGS=""
13093 else
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13095 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13097 cat >>confdefs.h <<_ACEOF
13098 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13099 _ACEOF
13103 else
13104 FONTCONFIG_CFLAGS=""
13106 CPPFLAGS=$ac_save_CPPFLAGS
13107 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13108 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13111 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13112 case "x$with_fontconfig" in
13113 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13114 xno) ;;
13115 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13116 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13117 esac
13120 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13121 then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13123 $as_echo_n "checking for -lgsm... " >&6; }
13124 if ${ac_cv_lib_soname_gsm+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_soname_save_LIBS=$LIBS
13128 LIBS="-lgsm $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char gsm_create ();
13140 main ()
13142 return gsm_create ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 case "$LIBEXT" in
13149 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13150 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'` ;;
13151 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13152 if ${ac_cv_lib_soname_gsm:+false} :; then :
13153 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13154 fi ;;
13155 esac
13157 rm -f core conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13159 LIBS=$ac_check_soname_save_LIBS
13161 if ${ac_cv_lib_soname_gsm:+false} :; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13163 $as_echo "not found" >&6; }
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13167 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13169 cat >>confdefs.h <<_ACEOF
13170 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13171 _ACEOF
13176 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13177 case "x$with_gsm" in
13178 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13179 xno) ;;
13180 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13181 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13182 esac
13185 if test "x$with_jpeg" != "xno"
13186 then
13187 if ${JPEG_CFLAGS:+false} :; then :
13188 if ${PKG_CONFIG+:} false; then :
13189 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13193 if ${JPEG_LIBS:+false} :; then :
13194 if ${PKG_CONFIG+:} false; then :
13195 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13200 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13201 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13202 ac_save_CPPFLAGS=$CPPFLAGS
13203 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13204 for ac_header in jpeglib.h
13205 do :
13206 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13207 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13208 cat >>confdefs.h <<_ACEOF
13209 #define HAVE_JPEGLIB_H 1
13210 _ACEOF
13214 done
13216 if test "$ac_cv_header_jpeglib_h" = "yes"
13217 then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13219 $as_echo_n "checking for -ljpeg... " >&6; }
13220 if ${ac_cv_lib_soname_jpeg+:} false; then :
13221 $as_echo_n "(cached) " >&6
13222 else
13223 ac_check_soname_save_LIBS=$LIBS
13224 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13231 #ifdef __cplusplus
13232 extern "C"
13233 #endif
13234 char jpeg_start_decompress ();
13236 main ()
13238 return jpeg_start_decompress ();
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"; then :
13244 case "$LIBEXT" in
13245 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13246 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'` ;;
13247 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13248 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13249 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13250 fi ;;
13251 esac
13253 rm -f core conftest.err conftest.$ac_objext \
13254 conftest$ac_exeext conftest.$ac_ext
13255 LIBS=$ac_check_soname_save_LIBS
13257 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13259 $as_echo "not found" >&6; }
13260 JPEG_CFLAGS=""
13261 else
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13263 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13265 cat >>confdefs.h <<_ACEOF
13266 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13267 _ACEOF
13271 else
13272 JPEG_CFLAGS=""
13274 CPPFLAGS=$ac_save_CPPFLAGS
13275 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13276 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13279 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13280 case "x$with_jpeg" in
13281 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13282 xno) ;;
13283 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13284 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13285 esac
13288 if test "x$with_png" != "xno"
13289 then
13290 if ${PNG_CFLAGS:+false} :; then :
13291 if ${PKG_CONFIG+:} false; then :
13292 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13295 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13296 if ${PNG_LIBS:+false} :; then :
13297 if ${PKG_CONFIG+:} false; then :
13298 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13301 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13303 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13304 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13305 ac_save_CPPFLAGS=$CPPFLAGS
13306 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13307 for ac_header in png.h
13308 do :
13309 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13310 if test "x$ac_cv_header_png_h" = xyes; then :
13311 cat >>confdefs.h <<_ACEOF
13312 #define HAVE_PNG_H 1
13313 _ACEOF
13317 done
13319 if test "$ac_cv_header_png_h" = "yes"
13320 then
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13322 $as_echo_n "checking for -lpng... " >&6; }
13323 if ${ac_cv_lib_soname_png+:} false; then :
13324 $as_echo_n "(cached) " >&6
13325 else
13326 ac_check_soname_save_LIBS=$LIBS
13327 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13331 /* Override any GCC internal prototype to avoid an error.
13332 Use char because int might match the return type of a GCC
13333 builtin and then its argument prototype would still apply. */
13334 #ifdef __cplusplus
13335 extern "C"
13336 #endif
13337 char png_create_read_struct ();
13339 main ()
13341 return png_create_read_struct ();
13343 return 0;
13345 _ACEOF
13346 if ac_fn_c_try_link "$LINENO"; then :
13347 case "$LIBEXT" in
13348 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13349 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'` ;;
13350 *) 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'`
13351 if ${ac_cv_lib_soname_png:+false} :; then :
13352 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13353 fi ;;
13354 esac
13356 rm -f core conftest.err conftest.$ac_objext \
13357 conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_soname_save_LIBS
13360 if ${ac_cv_lib_soname_png:+false} :; then :
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13362 $as_echo "not found" >&6; }
13363 PNG_CFLAGS=""
13364 else
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13366 $as_echo "$ac_cv_lib_soname_png" >&6; }
13368 cat >>confdefs.h <<_ACEOF
13369 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13370 _ACEOF
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #include <png.h>
13376 main ()
13378 typeof(png_set_expand_gray_1_2_4_to_8) *p
13380 return 0;
13382 _ACEOF
13383 if ac_fn_c_try_compile "$LINENO"; then :
13385 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13390 else
13391 PNG_CFLAGS=""
13393 CPPFLAGS=$ac_save_CPPFLAGS
13394 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13395 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13398 if test "x$ac_cv_lib_soname_png" = "x"; then :
13399 case "x$with_png" in
13400 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13401 xno) ;;
13402 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13403 This is an error since --with-png was requested." "$LINENO" 5 ;;
13404 esac
13407 if test "x$with_tiff" != "xno"
13408 then
13409 if ${TIFF_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13415 if ${TIFF_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13422 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13426 for ac_header in tiffio.h
13427 do :
13428 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13429 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13430 cat >>confdefs.h <<_ACEOF
13431 #define HAVE_TIFFIO_H 1
13432 _ACEOF
13436 done
13438 if test "$ac_cv_header_tiffio_h" = "yes"
13439 then
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13441 $as_echo_n "checking for -ltiff... " >&6; }
13442 if ${ac_cv_lib_soname_tiff+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-ltiff $TIFF_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char TIFFClientOpen ();
13458 main ()
13460 return TIFFClientOpen ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 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'` ;;
13469 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13470 if ${ac_cv_lib_soname_tiff:+false} :; then :
13471 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13475 rm -f core conftest.err conftest.$ac_objext \
13476 conftest$ac_exeext conftest.$ac_ext
13477 LIBS=$ac_check_soname_save_LIBS
13479 if ${ac_cv_lib_soname_tiff:+false} :; then :
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13481 $as_echo "not found" >&6; }
13483 else
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13485 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13487 cat >>confdefs.h <<_ACEOF
13488 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13489 _ACEOF
13494 CPPFLAGS=$ac_save_CPPFLAGS
13495 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13496 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13499 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13500 case "x$with_tiff" in
13501 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13502 xno) ;;
13503 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13504 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13505 esac
13508 if test "x$with_mpg123" != "xno"
13509 then
13510 if ${MPG123_CFLAGS:+false} :; then :
13511 if ${PKG_CONFIG+:} false; then :
13512 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13516 if ${MPG123_LIBS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13522 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13523 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13524 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13525 ac_save_CPPFLAGS=$CPPFLAGS
13526 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13527 for ac_header in mpg123.h
13528 do :
13529 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13530 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13531 cat >>confdefs.h <<_ACEOF
13532 #define HAVE_MPG123_H 1
13533 _ACEOF
13537 done
13539 if test "$ac_cv_header_mpg123_h" = "yes"
13540 then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13542 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13543 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13544 $as_echo_n "(cached) " >&6
13545 else
13546 ac_check_lib_save_LIBS=$LIBS
13547 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13551 /* Override any GCC internal prototype to avoid an error.
13552 Use char because int might match the return type of a GCC
13553 builtin and then its argument prototype would still apply. */
13554 #ifdef __cplusplus
13555 extern "C"
13556 #endif
13557 char mpg123_feed ();
13559 main ()
13561 return mpg123_feed ();
13563 return 0;
13565 _ACEOF
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 ac_cv_lib_mpg123_mpg123_feed=yes
13568 else
13569 ac_cv_lib_mpg123_mpg123_feed=no
13571 rm -f core conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_check_lib_save_LIBS
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13576 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13577 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13579 else
13580 MPG123_LIBS=""
13583 else
13584 MPG123_CFLAGS=""
13585 MPG123_LIBS=""
13587 CPPFLAGS=$ac_save_CPPFLAGS
13588 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13589 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13592 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13593 case "x$with_mpg123" in
13594 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13595 xno) ;;
13596 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13597 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13598 esac
13600 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13602 if test "$ac_cv_header_AL_al_h" = "yes"
13603 then
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13605 $as_echo_n "checking for -lopenal... " >&6; }
13606 if ${ac_cv_lib_soname_openal+:} false; then :
13607 $as_echo_n "(cached) " >&6
13608 else
13609 ac_check_soname_save_LIBS=$LIBS
13610 LIBS="-lopenal $LIBS"
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13614 /* Override any GCC internal prototype to avoid an error.
13615 Use char because int might match the return type of a GCC
13616 builtin and then its argument prototype would still apply. */
13617 #ifdef __cplusplus
13618 extern "C"
13619 #endif
13620 char alGetSource3i ();
13622 main ()
13624 return alGetSource3i ();
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"; then :
13630 case "$LIBEXT" in
13631 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13632 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'` ;;
13633 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13634 if ${ac_cv_lib_soname_openal:+false} :; then :
13635 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13636 fi ;;
13637 esac
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_soname_save_LIBS
13643 if ${ac_cv_lib_soname_openal:+false} :; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13645 $as_echo "not found" >&6; }
13647 else
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13649 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13651 cat >>confdefs.h <<_ACEOF
13652 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13653 _ACEOF
13655 OPENAL_LIBS="-lopenal"
13657 ac_cv_lib_openal=yes
13659 cat >>confdefs.h <<_ACEOF
13660 #define HAVE_OPENAL 1
13661 _ACEOF
13665 if test "x$ac_cv_lib_openal" != xyes; then :
13666 case "x$with_openal" in
13667 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13668 xno) ;;
13669 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13670 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13671 esac
13673 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13675 if test "x$ac_cv_lib_openal" = xyes
13676 then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13678 $as_echo_n "checking for openal-soft... " >&6; }
13679 if ${ac_cv_have_openalsoft+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <AL/alext.h>
13685 LPALCRENDERSAMPLESSOFT x;
13687 main ()
13691 return 0;
13693 _ACEOF
13694 if ac_fn_c_try_compile "$LINENO"; then :
13695 ac_cv_have_openalsoft=yes
13696 else
13697 ac_cv_have_openalsoft=no
13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13702 $as_echo "$ac_cv_have_openalsoft" >&6; }
13704 if test "x$ac_cv_have_openalsoft" != xyes
13705 then
13706 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13707 enable_xaudio2_7=${enable_xaudio2_7:-no}
13710 if test "$ac_cv_header_kstat_h" = "yes"
13711 then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13713 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13714 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_check_lib_save_LIBS=$LIBS
13718 LIBS="-lkstat $LIBS"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char kstat_open ();
13730 main ()
13732 return kstat_open ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 ac_cv_lib_kstat_kstat_open=yes
13739 else
13740 ac_cv_lib_kstat_kstat_open=no
13742 rm -f core conftest.err conftest.$ac_objext \
13743 conftest$ac_exeext conftest.$ac_ext
13744 LIBS=$ac_check_lib_save_LIBS
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13747 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13748 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13750 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13752 KSTAT_LIBS="-lkstat"
13758 if test "$ac_cv_header_libprocstat_h" = "yes"
13759 then
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13761 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13762 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_check_lib_save_LIBS=$LIBS
13766 LIBS="-lprocstat $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 #ifdef __cplusplus
13774 extern "C"
13775 #endif
13776 char procstat_open_sysctl ();
13778 main ()
13780 return procstat_open_sysctl ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"; then :
13786 ac_cv_lib_procstat_procstat_open_sysctl=yes
13787 else
13788 ac_cv_lib_procstat_procstat_open_sysctl=no
13790 rm -f core conftest.err conftest.$ac_objext \
13791 conftest$ac_exeext conftest.$ac_ext
13792 LIBS=$ac_check_lib_save_LIBS
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13795 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13796 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13798 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13800 PROCSTAT_LIBS="-lprocstat"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13807 $as_echo_n "checking for -lodbc... " >&6; }
13808 if ${ac_cv_lib_soname_odbc+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-lodbc $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char SQLConnect ();
13824 main ()
13826 return SQLConnect ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13836 if ${ac_cv_lib_soname_odbc:+false} :; then :
13837 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_soname_save_LIBS
13845 if ${ac_cv_lib_soname_odbc:+false} :; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13847 $as_echo "not found" >&6; }
13848 cat >>confdefs.h <<_ACEOF
13849 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13850 _ACEOF
13852 else
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13854 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13856 cat >>confdefs.h <<_ACEOF
13857 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13858 _ACEOF
13863 if test "x$with_netapi" != "xno"
13864 then
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13866 $as_echo_n "checking for -lnetapi... " >&6; }
13867 if ${ac_cv_lib_soname_netapi+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_check_soname_save_LIBS=$LIBS
13871 LIBS="-lnetapi $LIBS"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13875 /* Override any GCC internal prototype to avoid an error.
13876 Use char because int might match the return type of a GCC
13877 builtin and then its argument prototype would still apply. */
13878 #ifdef __cplusplus
13879 extern "C"
13880 #endif
13881 char libnetapi_init ();
13883 main ()
13885 return libnetapi_init ();
13887 return 0;
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 case "$LIBEXT" in
13892 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13893 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'` ;;
13894 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13895 if ${ac_cv_lib_soname_netapi:+false} :; then :
13896 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13897 fi ;;
13898 esac
13900 rm -f core conftest.err conftest.$ac_objext \
13901 conftest$ac_exeext conftest.$ac_ext
13902 LIBS=$ac_check_soname_save_LIBS
13904 if ${ac_cv_lib_soname_netapi:+false} :; then :
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13906 $as_echo "not found" >&6; }
13907 cat >>confdefs.h <<_ACEOF
13908 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13909 _ACEOF
13911 else
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13913 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13915 cat >>confdefs.h <<_ACEOF
13916 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13917 _ACEOF
13923 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13924 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13925 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13926 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13928 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13929 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13930 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13931 then
13932 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13936 EXTRACFLAGS=""
13938 if test "x${GCC}" = "xyes"
13939 then
13940 EXTRACFLAGS="-Wall -pipe"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13943 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13944 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 if test "$cross_compiling" = yes; then :
13948 ac_cv_c_gcc_strength_bug="no"
13949 else
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int L[4] = {0,1,2,3};
13954 main ()
13956 static int Array[3];
13957 unsigned int B = 3;
13958 int i;
13959 for(i=0; i<B; i++) Array[i] = i - 3;
13960 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13961 L[i] = 4;
13962 return (Array[1] != -2 || L[2] != 3)
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_run "$LINENO"; then :
13968 ac_cv_c_gcc_strength_bug="no"
13969 else
13970 ac_cv_c_gcc_strength_bug="yes"
13972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13973 conftest.$ac_objext conftest.beam conftest.$ac_ext
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13978 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13979 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13980 then
13981 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13985 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13986 if ${ac_cv_cflags__fno_builtin+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_wine_try_cflags_saved=$CFLAGS
13990 CFLAGS="$CFLAGS -fno-builtin"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13993 int main(int argc, char **argv) { return 0; }
13994 _ACEOF
13995 if ac_fn_c_try_link "$LINENO"; then :
13996 ac_cv_cflags__fno_builtin=yes
13997 else
13998 ac_cv_cflags__fno_builtin=no
14000 rm -f core conftest.err conftest.$ac_objext \
14001 conftest$ac_exeext conftest.$ac_ext
14002 CFLAGS=$ac_wine_try_cflags_saved
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14005 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14006 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14007 BUILTINFLAG="-fno-builtin"
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14011 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14012 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_wine_try_cflags_saved=$CFLAGS
14016 CFLAGS="$CFLAGS -fno-strict-aliasing"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14019 int main(int argc, char **argv) { return 0; }
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"; then :
14022 ac_cv_cflags__fno_strict_aliasing=yes
14023 else
14024 ac_cv_cflags__fno_strict_aliasing=no
14026 rm -f core conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 CFLAGS=$ac_wine_try_cflags_saved
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14031 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14032 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14033 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14036 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14037 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_wine_try_cflags_saved=$CFLAGS
14041 CFLAGS="$CFLAGS -fexcess-precision=standard"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 int main(int argc, char **argv) { return 0; }
14045 _ACEOF
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 ac_cv_cflags__fexcess_precision_standard=yes
14048 else
14049 ac_cv_cflags__fexcess_precision_standard=no
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 CFLAGS=$ac_wine_try_cflags_saved
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14056 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14057 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14058 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14061 saved_CFLAGS=$CFLAGS
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14063 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14064 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14065 $as_echo_n "(cached) " >&6
14066 else
14067 ac_wine_try_cflags_saved=$CFLAGS
14068 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 int main(int argc, char **argv) { return 0; }
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 ac_cv_cflags__Werror_unknown_warning_option=yes
14075 else
14076 ac_cv_cflags__Werror_unknown_warning_option=no
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 CFLAGS=$ac_wine_try_cflags_saved
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14083 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14084 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14085 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14088 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14089 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 ac_wine_try_cflags_saved=$CFLAGS
14093 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 int main(int argc, char **argv) { return 0; }
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_cflags__Wdeclaration_after_statement=yes
14100 else
14101 ac_cv_cflags__Wdeclaration_after_statement=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 CFLAGS=$ac_wine_try_cflags_saved
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14108 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14109 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14110 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14113 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14114 if ${ac_cv_cflags__Wempty_body+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -Wempty-body"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 int main(int argc, char **argv) { return 0; }
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_cflags__Wempty_body=yes
14125 else
14126 ac_cv_cflags__Wempty_body=no
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 CFLAGS=$ac_wine_try_cflags_saved
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14133 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14134 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14135 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14138 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14139 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_wine_try_cflags_saved=$CFLAGS
14143 CFLAGS="$CFLAGS -Wignored-qualifiers"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_cflags__Wignored_qualifiers=yes
14150 else
14151 ac_cv_cflags__Wignored_qualifiers=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 CFLAGS=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14158 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14159 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14160 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14163 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14164 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_wine_try_cflags_saved=$CFLAGS
14168 CFLAGS="$CFLAGS -Wshift-overflow=2"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int main(int argc, char **argv) { return 0; }
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_cflags__Wshift_overflow_2=yes
14175 else
14176 ac_cv_cflags__Wshift_overflow_2=no
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 CFLAGS=$ac_wine_try_cflags_saved
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14183 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14184 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14185 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14188 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14189 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_wine_try_cflags_saved=$CFLAGS
14193 CFLAGS="$CFLAGS -Wstrict-prototypes"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 int main(int argc, char **argv) { return 0; }
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_cflags__Wstrict_prototypes=yes
14200 else
14201 ac_cv_cflags__Wstrict_prototypes=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 CFLAGS=$ac_wine_try_cflags_saved
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14208 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14209 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14210 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14213 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14214 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_wine_try_cflags_saved=$CFLAGS
14218 CFLAGS="$CFLAGS -Wtype-limits"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int main(int argc, char **argv) { return 0; }
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 ac_cv_cflags__Wtype_limits=yes
14225 else
14226 ac_cv_cflags__Wtype_limits=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 CFLAGS=$ac_wine_try_cflags_saved
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14233 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14234 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14235 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14238 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14239 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_wine_try_cflags_saved=$CFLAGS
14243 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int main(int argc, char **argv) { return 0; }
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_cflags__Wunused_but_set_parameter=yes
14250 else
14251 ac_cv_cflags__Wunused_but_set_parameter=no
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 CFLAGS=$ac_wine_try_cflags_saved
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14258 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14259 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14260 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14263 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14264 if ${ac_cv_cflags__Wvla+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -Wvla"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__Wvla=yes
14275 else
14276 ac_cv_cflags__Wvla=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14283 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14284 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14288 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14289 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -Wwrite-strings"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__Wwrite_strings=yes
14300 else
14301 ac_cv_cflags__Wwrite_strings=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14308 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14309 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14310 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14314 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14315 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 ac_wine_try_cflags_saved=$CFLAGS
14319 CFLAGS="$CFLAGS -Wpointer-arith"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14322 int main(int argc, char **argv) { return 0; }
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_cflags__Wpointer_arith=yes
14326 else
14327 ac_cv_cflags__Wpointer_arith=no
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 CFLAGS=$ac_wine_try_cflags_saved
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14334 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14335 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14336 saved_string_h_CFLAGS=$CFLAGS
14337 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14339 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14340 if ${ac_cv_c_string_h_warnings+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 #include <string.h>
14347 main ()
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_compile "$LINENO"; then :
14355 ac_cv_c_string_h_warnings=no
14356 else
14357 ac_cv_c_string_h_warnings=yes
14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14362 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14363 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14364 CFLAGS=$saved_string_h_CFLAGS
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14368 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14369 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_wine_try_cflags_saved=$CFLAGS
14373 CFLAGS="$CFLAGS -Wlogical-op"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 int main(int argc, char **argv) { return 0; }
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 ac_cv_cflags__Wlogical_op=yes
14380 else
14381 ac_cv_cflags__Wlogical_op=no
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 CFLAGS=$ac_wine_try_cflags_saved
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14388 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14389 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14390 saved_string_h_CFLAGS=$CFLAGS
14391 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14393 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14394 if ${ac_cv_c_logicalop_noisy+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 #include <string.h>
14400 char*f(const char *h,char n) {return strchr(h,n);}
14402 main ()
14406 return 0;
14408 _ACEOF
14409 if ac_fn_c_try_compile "$LINENO"; then :
14410 ac_cv_c_logicalop_noisy=no
14411 else
14412 ac_cv_c_logicalop_noisy=yes
14414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14417 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14418 CFLAGS=$saved_string_h_CFLAGS
14419 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14422 CFLAGS=$saved_CFLAGS
14424 for ac_flag in $CFLAGS; do
14425 case $ac_flag in
14426 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14427 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14428 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_wine_try_cflags_saved=$CFLAGS
14432 CFLAGS="$CFLAGS -gdwarf-2"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 int main(int argc, char **argv) { return 0; }
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_cflags__gdwarf_2=yes
14439 else
14440 ac_cv_cflags__gdwarf_2=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 CFLAGS=$ac_wine_try_cflags_saved
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14447 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14448 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14449 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14452 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14453 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_wine_try_cflags_saved=$CFLAGS
14457 CFLAGS="$CFLAGS -gstrict-dwarf"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 int main(int argc, char **argv) { return 0; }
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_cflags__gstrict_dwarf=yes
14464 else
14465 ac_cv_cflags__gstrict_dwarf=no
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14472 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14473 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14474 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14475 fi ;;
14476 esac
14477 done
14479 case $host_cpu in
14480 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14481 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14482 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_wine_try_cflags_saved=$CFLAGS
14486 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_cflags__fno_omit_frame_pointer=yes
14493 else
14494 ac_cv_cflags__fno_omit_frame_pointer=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 CFLAGS=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14501 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14502 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14503 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14504 fi ;;
14505 esac
14507 case $host in
14508 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14509 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14510 if ${ac_cv_cflags__Wno_format+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_wine_try_cflags_saved=$CFLAGS
14514 CFLAGS="$CFLAGS -Wno-format"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_cflags__Wno_format=yes
14521 else
14522 ac_cv_cflags__Wno_format=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14529 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14530 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14531 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14532 fi ;;
14533 esac
14535 if test "x$enable_maintainer_mode" = "xyes"
14536 then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14538 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14539 if ${ac_cv_cflags__Werror+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_wine_try_cflags_saved=$CFLAGS
14543 CFLAGS="$CFLAGS -Werror"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 int main(int argc, char **argv) { return 0; }
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 ac_cv_cflags__Werror=yes
14550 else
14551 ac_cv_cflags__Werror=no
14553 rm -f core conftest.err conftest.$ac_objext \
14554 conftest$ac_exeext conftest.$ac_ext
14555 CFLAGS=$ac_wine_try_cflags_saved
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14558 $as_echo "$ac_cv_cflags__Werror" >&6; }
14559 if test "x$ac_cv_cflags__Werror" = xyes; then :
14560 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14564 saved_CFLAGS="$CFLAGS"
14565 CFLAGS="$CFLAGS -Werror"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14567 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14568 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14575 main ()
14579 return 0;
14581 _ACEOF
14582 if ac_fn_c_try_compile "$LINENO"; then :
14583 ac_cv_have_ms_hook_prologue="yes"
14584 else
14585 ac_cv_have_ms_hook_prologue="no"
14587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14590 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14591 CFLAGS="$saved_CFLAGS"
14592 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14593 then
14595 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14597 else
14598 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14605 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14606 if ${ac_cv_c_fortify_enabled+:} false; then :
14607 $as_echo_n "(cached) " >&6
14608 else
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611 #include <string.h>
14613 main ()
14615 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14616 #error Fortify enabled
14617 #endif
14619 return 0;
14621 _ACEOF
14622 if ac_fn_c_try_compile "$LINENO"; then :
14623 ac_cv_c_fortify_enabled=no
14624 else
14625 ac_cv_c_fortify_enabled=yes
14627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14630 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14631 if test "$ac_cv_c_fortify_enabled" = yes
14632 then
14633 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14638 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14639 if ${ac_cv_c_extern_prefix+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 extern int ac_test;
14646 main ()
14648 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_c_extern_prefix="yes"
14655 else
14656 ac_cv_c_extern_prefix="no"
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14662 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14664 case $host_cpu in
14665 *i[3456789]86*)
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14667 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14668 if ${ac_cv_c_stdcall_suffix+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #ifndef _MSC_VER
14674 #define __stdcall __attribute__((__stdcall__))
14675 #endif
14676 int __stdcall ac_test(int i) { return i; }
14678 main ()
14680 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 ac_cv_c_stdcall_suffix="yes"
14687 else
14688 ac_cv_c_stdcall_suffix="no"
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14694 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14695 *) ac_cv_c_stdcall_suffix="no" ;;
14696 esac
14699 if test "$ac_cv_c_extern_prefix" = "yes"
14700 then
14701 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14703 asm_name_prefix="_"
14704 else
14705 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14707 asm_name_prefix=""
14711 if test "$ac_cv_c_stdcall_suffix" = "yes"
14712 then
14713 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14715 else
14716 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14722 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14723 if ${ac_cv_asm_func_def+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14730 main ()
14732 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14734 return 0;
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_asm_func_def=".def"
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14744 main ()
14746 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_asm_func_def=".type @function"
14753 else
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14758 main ()
14760 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_asm_func_def=".type 2"
14767 else
14768 ac_cv_asm_func_def="unknown"
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14773 rm -f core conftest.err conftest.$ac_objext \
14774 conftest$ac_exeext conftest.$ac_ext
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14780 $as_echo "$ac_cv_asm_func_def" >&6; }
14783 case "$ac_cv_asm_func_def" in
14784 ".def")
14785 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14787 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14788 ".type @function")
14789 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14791 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14792 ".type 2")
14793 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14795 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14797 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14799 asm_func_header="" ;;
14800 esac
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14803 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14804 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 asm(".text\n\t.long 0");
14811 main ()
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819 ac_cv_c_asm_outside_funcs="yes"
14820 else
14821 ac_cv_c_asm_outside_funcs="no"
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14826 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14829 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14830 if ${ac_cv_c_dot_previous+:} false; then :
14831 $as_echo_n "(cached) " >&6
14832 else
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14837 main ()
14839 asm(".text\nac_test:\t.long 0\n\t.previous");
14841 return 0;
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_c_dot_previous="yes"
14846 else
14847 ac_cv_c_dot_previous="no"
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14853 $as_echo "$ac_cv_c_dot_previous" >&6; }
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14856 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14857 if ${ac_cv_c_cfi_support+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14864 main ()
14868 return 0;
14870 _ACEOF
14871 if ac_fn_c_try_compile "$LINENO"; then :
14872 ac_cv_c_cfi_support="yes"
14873 else
14874 ac_cv_c_cfi_support="no"
14876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14879 $as_echo "$ac_cv_c_cfi_support" >&6; }
14881 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14882 asm_func_trailer=""
14883 if test "$ac_cv_c_dot_previous" = "yes"
14884 then
14885 asm_func_trailer="\\n\\t.previous"
14887 if test "$ac_cv_c_cfi_support" = "yes"
14888 then
14889 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14890 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14892 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14894 UNWINDFLAGS=-fasynchronous-unwind-tables
14896 else
14897 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14899 if test "x$enable_win64" = "xyes"
14900 then
14901 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14905 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14908 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14909 then
14910 cat >>confdefs.h <<_ACEOF
14911 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14912 _ACEOF
14914 else
14915 cat >>confdefs.h <<_ACEOF
14916 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14917 _ACEOF
14921 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14924 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14928 case $build_os in
14929 cygwin*|mingw32*) TOOLSEXT=".exe"
14931 esac
14933 case $host_os in
14934 linux*)
14935 case $host_cpu in
14936 *i[3456789]86*|x86_64*)
14937 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14938 loader_programs="$loader_programs $wine_binary-preloader"
14939 as_fn_append LOADER_RULES "
14940 preloader_EXTRADEFS = $BUILTINFLAG
14941 ${wine_binary}_preloader_OBJS = preloader.o
14942 ${wine_binary}_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000
14943 " ;;
14944 esac
14946 esac
14947 as_fn_append LOADER_RULES "
14948 PROGRAMS = $loader_programs
14949 INSTALL_LIB = $loader_programs
14953 ac_save_CFLAGS="$CFLAGS"
14954 CFLAGS="$CFLAGS $BUILTINFLAG"
14955 for ac_func in \
14956 __res_get_state \
14957 __res_getservers \
14958 _finite \
14959 _isnan \
14960 _pclose \
14961 _popen \
14962 _snprintf \
14963 _spawnvp \
14964 _strdup \
14965 _stricmp \
14966 _strnicmp \
14967 _strtoi64 \
14968 _strtoui64 \
14969 _vsnprintf \
14970 asctime_r \
14971 chsize \
14972 dlopen \
14973 epoll_create \
14974 ffs \
14975 finitef \
14976 fnmatch \
14977 fork \
14978 fpclass \
14979 fstatfs \
14980 fstatvfs \
14981 ftruncate \
14982 futimens \
14983 futimes \
14984 futimesat \
14985 getattrlist \
14986 getdirentries \
14987 getopt_long_only \
14988 getpwuid \
14989 gettimeofday \
14990 getuid \
14991 if_nameindex \
14992 isnanf \
14993 kqueue \
14994 lstat \
14995 memmove \
14996 mmap \
14997 pclose \
14998 pipe2 \
14999 poll \
15000 popen \
15001 port_create \
15002 prctl \
15003 pread \
15004 proc_pidinfo \
15005 pwrite \
15006 readdir \
15007 readlink \
15008 sched_yield \
15009 select \
15010 setproctitle \
15011 setrlimit \
15012 settimeofday \
15013 sigaltstack \
15014 sigprocmask \
15015 snprintf \
15016 statfs \
15017 statvfs \
15018 strcasecmp \
15019 strdup \
15020 strerror \
15021 strncasecmp \
15022 strtold \
15023 strtoll \
15024 strtoull \
15025 symlink \
15026 tcdrain \
15027 thr_kill2 \
15028 timegm \
15029 usleep \
15030 vsnprintf
15032 do :
15033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15035 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15036 cat >>confdefs.h <<_ACEOF
15037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15038 _ACEOF
15041 done
15043 CFLAGS="$ac_save_CFLAGS"
15045 if test "$ac_cv_func_dlopen" = no
15046 then
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15048 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15049 if ${ac_cv_lib_dl_dlopen+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_check_lib_save_LIBS=$LIBS
15053 LIBS="-ldl $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char dlopen ();
15065 main ()
15067 return dlopen ();
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_lib_dl_dlopen=yes
15074 else
15075 ac_cv_lib_dl_dlopen=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_lib_save_LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15082 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15083 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15084 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15085 DL_LIBS="-ldl"
15090 ac_wine_check_funcs_save_LIBS="$LIBS"
15091 LIBS="$LIBS $DL_LIBS"
15092 for ac_func in dladdr
15093 do :
15094 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15095 if test "x$ac_cv_func_dladdr" = xyes; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define HAVE_DLADDR 1
15098 _ACEOF
15101 done
15103 LIBS="$ac_wine_check_funcs_save_LIBS"
15105 if test "$ac_cv_func_poll" = no
15106 then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15108 $as_echo_n "checking for poll in -lpoll... " >&6; }
15109 if ${ac_cv_lib_poll_poll+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_check_lib_save_LIBS=$LIBS
15113 LIBS="-lpoll $LIBS"
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15117 /* Override any GCC internal prototype to avoid an error.
15118 Use char because int might match the return type of a GCC
15119 builtin and then its argument prototype would still apply. */
15120 #ifdef __cplusplus
15121 extern "C"
15122 #endif
15123 char poll ();
15125 main ()
15127 return poll ();
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 ac_cv_lib_poll_poll=yes
15134 else
15135 ac_cv_lib_poll_poll=no
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15139 LIBS=$ac_check_lib_save_LIBS
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15142 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15143 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15144 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15145 POLL_LIBS="-lpoll"
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15152 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15153 if ${ac_cv_search_gethostbyname+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 ac_func_search_save_LIBS=$LIBS
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15160 /* Override any GCC internal prototype to avoid an error.
15161 Use char because int might match the return type of a GCC
15162 builtin and then its argument prototype would still apply. */
15163 #ifdef __cplusplus
15164 extern "C"
15165 #endif
15166 char gethostbyname ();
15168 main ()
15170 return gethostbyname ();
15172 return 0;
15174 _ACEOF
15175 for ac_lib in '' nsl; do
15176 if test -z "$ac_lib"; then
15177 ac_res="none required"
15178 else
15179 ac_res=-l$ac_lib
15180 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 ac_cv_search_gethostbyname=$ac_res
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext
15187 if ${ac_cv_search_gethostbyname+:} false; then :
15188 break
15190 done
15191 if ${ac_cv_search_gethostbyname+:} false; then :
15193 else
15194 ac_cv_search_gethostbyname=no
15196 rm conftest.$ac_ext
15197 LIBS=$ac_func_search_save_LIBS
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15200 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15201 ac_res=$ac_cv_search_gethostbyname
15202 if test "$ac_res" != no; then :
15203 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15209 $as_echo_n "checking for library containing connect... " >&6; }
15210 if ${ac_cv_search_connect+:} false; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213 ac_func_search_save_LIBS=$LIBS
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 #ifdef __cplusplus
15221 extern "C"
15222 #endif
15223 char connect ();
15225 main ()
15227 return connect ();
15229 return 0;
15231 _ACEOF
15232 for ac_lib in '' socket; do
15233 if test -z "$ac_lib"; then
15234 ac_res="none required"
15235 else
15236 ac_res=-l$ac_lib
15237 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15239 if ac_fn_c_try_link "$LINENO"; then :
15240 ac_cv_search_connect=$ac_res
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext
15244 if ${ac_cv_search_connect+:} false; then :
15245 break
15247 done
15248 if ${ac_cv_search_connect+:} false; then :
15250 else
15251 ac_cv_search_connect=no
15253 rm conftest.$ac_ext
15254 LIBS=$ac_func_search_save_LIBS
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15257 $as_echo "$ac_cv_search_connect" >&6; }
15258 ac_res=$ac_cv_search_connect
15259 if test "$ac_res" != no; then :
15260 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15266 $as_echo_n "checking for library containing inet_aton... " >&6; }
15267 if ${ac_cv_search_inet_aton+:} false; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15270 ac_func_search_save_LIBS=$LIBS
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 char inet_aton ();
15282 main ()
15284 return inet_aton ();
15286 return 0;
15288 _ACEOF
15289 for ac_lib in '' resolv; do
15290 if test -z "$ac_lib"; then
15291 ac_res="none required"
15292 else
15293 ac_res=-l$ac_lib
15294 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15296 if ac_fn_c_try_link "$LINENO"; then :
15297 ac_cv_search_inet_aton=$ac_res
15299 rm -f core conftest.err conftest.$ac_objext \
15300 conftest$ac_exeext
15301 if ${ac_cv_search_inet_aton+:} false; then :
15302 break
15304 done
15305 if ${ac_cv_search_inet_aton+:} false; then :
15307 else
15308 ac_cv_search_inet_aton=no
15310 rm conftest.$ac_ext
15311 LIBS=$ac_func_search_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15314 $as_echo "$ac_cv_search_inet_aton" >&6; }
15315 ac_res=$ac_cv_search_inet_aton
15316 if test "$ac_res" != no; then :
15317 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15322 for ac_func in \
15323 getaddrinfo \
15324 getnameinfo \
15325 getnetbyname \
15326 getprotobyname \
15327 getprotobynumber \
15328 getservbyport \
15329 inet_addr \
15330 inet_network \
15331 inet_ntop \
15332 inet_pton \
15333 sendmsg \
15334 socketpair \
15336 do :
15337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15340 cat >>confdefs.h <<_ACEOF
15341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15342 _ACEOF
15345 done
15348 ac_save_LIBS=$LIBS
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15350 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15351 if ${ac_cv_search_clock_gettime+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 ac_func_search_save_LIBS=$LIBS
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15358 /* Override any GCC internal prototype to avoid an error.
15359 Use char because int might match the return type of a GCC
15360 builtin and then its argument prototype would still apply. */
15361 #ifdef __cplusplus
15362 extern "C"
15363 #endif
15364 char clock_gettime ();
15366 main ()
15368 return clock_gettime ();
15370 return 0;
15372 _ACEOF
15373 for ac_lib in '' rt; do
15374 if test -z "$ac_lib"; then
15375 ac_res="none required"
15376 else
15377 ac_res=-l$ac_lib
15378 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 ac_cv_search_clock_gettime=$ac_res
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext
15385 if ${ac_cv_search_clock_gettime+:} false; then :
15386 break
15388 done
15389 if ${ac_cv_search_clock_gettime+:} false; then :
15391 else
15392 ac_cv_search_clock_gettime=no
15394 rm conftest.$ac_ext
15395 LIBS=$ac_func_search_save_LIBS
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15398 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15399 ac_res=$ac_cv_search_clock_gettime
15400 if test "$ac_res" != no; then :
15401 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15403 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15405 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15409 LIBS=$ac_save_LIBS
15411 LDAP_LIBS=""
15413 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15414 then
15415 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15417 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15419 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15420 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15421 $as_echo_n "(cached) " >&6
15422 else
15423 ac_check_lib_save_LIBS=$LIBS
15424 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 char ldap_initialize ();
15436 main ()
15438 return ldap_initialize ();
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"; then :
15444 ac_cv_lib_ldap_r_ldap_initialize=yes
15445 else
15446 ac_cv_lib_ldap_r_ldap_initialize=no
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15450 LIBS=$ac_check_lib_save_LIBS
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15453 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15454 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15456 $as_echo_n "checking for ber_init in -llber... " >&6; }
15457 if ${ac_cv_lib_lber_ber_init+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 ac_check_lib_save_LIBS=$LIBS
15461 LIBS="-llber $PTHREAD_LIBS $LIBS"
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char ber_init ();
15473 main ()
15475 return ber_init ();
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_lib_lber_ber_init=yes
15482 else
15483 ac_cv_lib_lber_ber_init=no
15485 rm -f core conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_lib_save_LIBS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15490 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15491 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15493 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15495 LDAP_LIBS="-lldap_r -llber"
15502 ac_wine_check_funcs_save_LIBS="$LIBS"
15503 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15504 for ac_func in \
15505 ldap_count_references \
15506 ldap_first_reference \
15507 ldap_next_reference \
15508 ldap_parse_reference \
15509 ldap_parse_sort_control \
15510 ldap_parse_sortresponse_control \
15511 ldap_parse_vlv_control \
15512 ldap_parse_vlvresponse_control
15513 do :
15514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15519 _ACEOF
15522 done
15524 LIBS="$ac_wine_check_funcs_save_LIBS"
15526 if test "x$LDAP_LIBS" = "x"; then :
15527 case "x$with_ldap" in
15528 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15529 xno) ;;
15530 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15531 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15532 esac
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15536 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15537 if ${wine_cv_one_arg_mkdir+:} false; then :
15538 $as_echo_n "(cached) " >&6
15539 else
15540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15542 #include <sys/stat.h>
15544 main ()
15546 mkdir("foo");
15548 return 0;
15550 _ACEOF
15551 if ac_fn_c_try_compile "$LINENO"; then :
15552 wine_cv_one_arg_mkdir=yes
15553 else
15554 wine_cv_one_arg_mkdir=no
15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15559 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15560 if test "$wine_cv_one_arg_mkdir" = "yes"
15561 then
15563 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15568 $as_echo_n "checking for sched_setaffinity... " >&6; }
15569 if ${wine_cv_have_sched_setaffinity+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 #define _GNU_SOURCE
15575 #include <sched.h>
15577 main ()
15579 sched_setaffinity(0, 0, 0);
15581 return 0;
15583 _ACEOF
15584 if ac_fn_c_try_link "$LINENO"; then :
15585 wine_cv_have_sched_setaffinity=yes
15586 else
15587 wine_cv_have_sched_setaffinity=no
15589 rm -f core conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext conftest.$ac_ext
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15593 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15594 if test "$wine_cv_have_sched_setaffinity" = "yes"
15595 then
15597 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15602 $as_echo_n "checking for fallocate... " >&6; }
15603 if ${wine_cv_have_fallocate+:} false; then :
15604 $as_echo_n "(cached) " >&6
15605 else
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 #define _GNU_SOURCE
15609 #include <fcntl.h>
15611 main ()
15613 fallocate(-1, 0, 0, 0);
15615 return 0;
15617 _ACEOF
15618 if ac_fn_c_try_link "$LINENO"; then :
15619 wine_cv_have_fallocate=yes
15620 else
15621 wine_cv_have_fallocate=no
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15627 $as_echo "$wine_cv_have_fallocate" >&6; }
15628 if test "$wine_cv_have_fallocate" = "yes"
15629 then
15631 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15637 $as_echo_n "checking for inline... " >&6; }
15638 if ${ac_cv_c_inline+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 ac_cv_c_inline=no
15642 for ac_kw in inline __inline__ __inline; do
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15645 #ifndef __cplusplus
15646 typedef int foo_t;
15647 static $ac_kw foo_t static_foo () {return 0; }
15648 $ac_kw foo_t foo () {return 0; }
15649 #endif
15651 _ACEOF
15652 if ac_fn_c_try_compile "$LINENO"; then :
15653 ac_cv_c_inline=$ac_kw
15655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 test "$ac_cv_c_inline" != no && break
15657 done
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15661 $as_echo "$ac_cv_c_inline" >&6; }
15663 case $ac_cv_c_inline in
15664 inline | yes) ;;
15666 case $ac_cv_c_inline in
15667 no) ac_val=;;
15668 *) ac_val=$ac_cv_c_inline;;
15669 esac
15670 cat >>confdefs.h <<_ACEOF
15671 #ifndef __cplusplus
15672 #define inline $ac_val
15673 #endif
15674 _ACEOF
15676 esac
15678 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15679 if test "x$ac_cv_type_mode_t" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_MODE_T 1
15683 _ACEOF
15687 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15688 if test "x$ac_cv_type_off_t" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_OFF_T 1
15692 _ACEOF
15696 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15697 if test "x$ac_cv_type_pid_t" = xyes; then :
15699 cat >>confdefs.h <<_ACEOF
15700 #define HAVE_PID_T 1
15701 _ACEOF
15705 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15706 if test "x$ac_cv_type_size_t" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_SIZE_T 1
15710 _ACEOF
15714 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15715 if test "x$ac_cv_type_ssize_t" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_SSIZE_T 1
15719 _ACEOF
15723 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15724 if test "x$ac_cv_type_long_long" = xyes; then :
15726 cat >>confdefs.h <<_ACEOF
15727 #define HAVE_LONG_LONG 1
15728 _ACEOF
15732 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15733 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15735 cat >>confdefs.h <<_ACEOF
15736 #define HAVE_FSBLKCNT_T 1
15737 _ACEOF
15741 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15742 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_FSFILCNT_T 1
15746 _ACEOF
15751 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15752 #include <signal.h>
15754 if test "x$ac_cv_type_sigset_t" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_SIGSET_T 1
15758 _ACEOF
15763 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15765 if test "x$ac_cv_type_request_sense" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_REQUEST_SENSE 1
15769 _ACEOF
15775 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15776 #ifdef HAVE_SYS_SOCKET_H
15777 #include <sys/socket.h>
15778 #endif
15779 #ifdef HAVE_SYS_SOCKETVAR_H
15780 #include <sys/socketvar.h>
15781 #endif
15782 #ifdef HAVE_NET_ROUTE_H
15783 #include <net/route.h>
15784 #endif
15785 #ifdef HAVE_NETINET_IN_H
15786 #include <netinet/in.h>
15787 #endif
15788 #ifdef HAVE_NETINET_IN_SYSTM_H
15789 #include <netinet/in_systm.h>
15790 #endif
15791 #ifdef HAVE_NETINET_IP_H
15792 #include <netinet/ip.h>
15793 #endif
15794 #ifdef HAVE_NETINET_IN_PCB_H
15795 #include <netinet/in_pcb.h>
15796 #endif
15798 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_STRUCT_XINPGEN 1
15802 _ACEOF
15808 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15809 #include <link.h>
15810 #endif
15811 #ifdef HAVE_SYS_LINK_H
15812 #include <sys/link.h>
15813 #endif
15815 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_STRUCT_R_DEBUG 1
15819 _ACEOF
15823 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15824 #include <link.h>
15825 #endif
15826 #ifdef HAVE_SYS_LINK_H
15827 #include <sys/link.h>
15828 #endif
15830 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_LINK_MAP 1
15834 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15841 #include <linux/input.h>
15842 #endif
15844 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15848 _ACEOF
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15855 $as_echo_n "checking for sigaddset... " >&6; }
15856 if ${wine_cv_have_sigaddset+:} false; then :
15857 $as_echo_n "(cached) " >&6
15858 else
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15861 #include <signal.h>
15863 main ()
15865 sigset_t set; sigaddset(&set,SIGTERM);
15867 return 0;
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 wine_cv_have_sigaddset=yes
15872 else
15873 wine_cv_have_sigaddset=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15879 $as_echo "$wine_cv_have_sigaddset" >&6; }
15880 if test "$wine_cv_have_sigaddset" = "yes"
15881 then
15883 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15889 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15890 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #include <netdb.h>
15897 main ()
15900 char *name=0;
15901 struct hostent he;
15902 struct hostent *result;
15903 char *buf=0;
15904 int bufsize=0;
15905 int errnr;
15906 char *addr=0;
15907 int addrlen=0;
15908 int addrtype=0;
15909 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15910 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_link "$LINENO"; then :
15917 wine_cv_linux_gethostbyname_r_6=yes
15918 else
15919 wine_cv_linux_gethostbyname_r_6=no
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15927 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15928 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15929 then
15931 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15935 if test "$ac_cv_header_linux_joystick_h" = "yes"
15936 then
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15938 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15939 if ${wine_cv_linux_joystick_22_api+:} false; then :
15940 $as_echo_n "(cached) " >&6
15941 else
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15945 #include <sys/ioctl.h>
15946 #include <sys/types.h>
15947 #include <linux/joystick.h>
15949 struct js_event blub;
15950 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15951 #error "no 2.2 header"
15952 #endif
15955 main ()
15957 /*empty*/
15959 return 0;
15961 _ACEOF
15962 if ac_fn_c_try_compile "$LINENO"; then :
15963 wine_cv_linux_joystick_22_api=yes
15964 else
15965 wine_cv_linux_joystick_22_api=no
15967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15971 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15972 if test "$wine_cv_linux_joystick_22_api" = "yes"
15973 then
15975 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15981 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_PARAM_H
15983 # include <sys/param.h>
15984 #endif
15985 #ifdef HAVE_SYS_MOUNT_H
15986 # include <sys/mount.h>
15987 #endif
15988 #ifdef HAVE_SYS_VFS_H
15989 # include <sys/vfs.h>
15990 #endif
15991 #ifdef HAVE_SYS_STATFS_H
15992 # include <sys/statfs.h>
15993 #endif
15995 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_STRUCT_STATFS_F_BFREE 1
15999 _ACEOF
16003 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16004 #ifdef HAVE_SYS_PARAM_H
16005 # include <sys/param.h>
16006 #endif
16007 #ifdef HAVE_SYS_MOUNT_H
16008 # include <sys/mount.h>
16009 #endif
16010 #ifdef HAVE_SYS_VFS_H
16011 # include <sys/vfs.h>
16012 #endif
16013 #ifdef HAVE_SYS_STATFS_H
16014 # include <sys/statfs.h>
16015 #endif
16017 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16021 _ACEOF
16025 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16026 #ifdef HAVE_SYS_PARAM_H
16027 # include <sys/param.h>
16028 #endif
16029 #ifdef HAVE_SYS_MOUNT_H
16030 # include <sys/mount.h>
16031 #endif
16032 #ifdef HAVE_SYS_VFS_H
16033 # include <sys/vfs.h>
16034 #endif
16035 #ifdef HAVE_SYS_STATFS_H
16036 # include <sys/statfs.h>
16037 #endif
16039 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16043 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16048 #ifdef HAVE_SYS_PARAM_H
16049 # include <sys/param.h>
16050 #endif
16051 #ifdef HAVE_SYS_MOUNT_H
16052 # include <sys/mount.h>
16053 #endif
16054 #ifdef HAVE_SYS_VFS_H
16055 # include <sys/vfs.h>
16056 #endif
16057 #ifdef HAVE_SYS_STATFS_H
16058 # include <sys/statfs.h>
16059 #endif
16061 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_STATFS_F_FFREE 1
16065 _ACEOF
16069 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16070 #ifdef HAVE_SYS_PARAM_H
16071 # include <sys/param.h>
16072 #endif
16073 #ifdef HAVE_SYS_MOUNT_H
16074 # include <sys/mount.h>
16075 #endif
16076 #ifdef HAVE_SYS_VFS_H
16077 # include <sys/vfs.h>
16078 #endif
16079 #ifdef HAVE_SYS_STATFS_H
16080 # include <sys/statfs.h>
16081 #endif
16083 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16092 #ifdef HAVE_SYS_PARAM_H
16093 # include <sys/param.h>
16094 #endif
16095 #ifdef HAVE_SYS_MOUNT_H
16096 # include <sys/mount.h>
16097 #endif
16098 #ifdef HAVE_SYS_VFS_H
16099 # include <sys/vfs.h>
16100 #endif
16101 #ifdef HAVE_SYS_STATFS_H
16102 # include <sys/statfs.h>
16103 #endif
16105 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16109 _ACEOF
16115 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16116 #include <sys/statvfs.h>
16117 #endif
16119 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16123 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16130 #include <dirent.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16137 _ACEOF
16143 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16144 #ifdef HAVE_SYS_SOCKET_H
16145 # include <sys/socket.h>
16146 #endif
16147 #ifdef HAVE_SYS_UN_H
16148 # include <sys/un.h>
16149 #endif
16151 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16155 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16160 #ifdef HAVE_SYS_SOCKET_H
16161 # include <sys/socket.h>
16162 #endif
16163 #ifdef HAVE_SYS_UN_H
16164 # include <sys/un.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16171 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16176 #ifdef HAVE_SYS_SOCKET_H
16177 # include <sys/socket.h>
16178 #endif
16179 #ifdef HAVE_SYS_UN_H
16180 # include <sys/un.h>
16181 #endif
16183 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16187 _ACEOF
16193 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16194 #ifdef HAVE_SCSI_SG_H
16195 #include <scsi/sg.h>
16196 #endif
16198 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_SCSIREQ_T_CMD 1
16202 _ACEOF
16206 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>
16207 #ifdef HAVE_SCSI_SG_H
16208 #include <scsi/sg.h>
16209 #endif
16211 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16215 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16223 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_SIGINFO_T_SI_FD 1
16227 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16234 #ifdef HAVE_SYS_MTIO_H
16235 #include <sys/mtio.h>
16236 #endif
16238 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16242 _ACEOF
16246 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16247 #ifdef HAVE_SYS_MTIO_H
16248 #include <sys/mtio.h>
16249 #endif
16251 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16255 _ACEOF
16259 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16260 #ifdef HAVE_SYS_MTIO_H
16261 #include <sys/mtio.h>
16262 #endif
16264 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16268 _ACEOF
16274 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16275 #include <getopt.h>
16276 #endif
16278 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_OPTION_NAME 1
16282 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16289 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16293 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16298 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_STAT_ST_MTIM 1
16302 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16307 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16311 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16316 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STAT_ST_CTIM 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16325 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16334 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_STRUCT_STAT_ST_ATIM 1
16338 _ACEOF
16342 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16343 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16347 _ACEOF
16351 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16352 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16356 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16361 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16370 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16374 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16379 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16381 cat >>confdefs.h <<_ACEOF
16382 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16383 _ACEOF
16387 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16388 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16392 _ACEOF
16398 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
16399 #include <sys/types.h>
16400 #endif
16401 #ifdef HAVE_NETINET_IN_H
16402 #include <netinet/in.h>
16403 #endif
16405 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16409 _ACEOF
16415 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16416 #include <resolv.h>
16417 #endif
16419 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT___RES_STATE 1
16423 _ACEOF
16429 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
16430 #include <resolv.h>
16431 #endif
16433 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16437 _ACEOF
16443 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16444 #include <sys/types.h>
16445 #endif
16446 #ifdef HAVE_NETINET_IN_H
16447 # include <netinet/in.h>
16448 #endif
16449 #ifdef HAVE_ARPA_NAMESER_H
16450 # include <arpa/nameser.h>
16451 #endif
16453 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_NS_MSG__MSG_PTR 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16464 #include <sys/types.h>
16465 #endif
16466 #ifdef HAVE_NETINET_IP_H
16467 #include <netinet/ip.h>
16468 #endif
16469 #ifdef HAVE_NETINET_IP_ICMP_H
16470 #include <netinet/ip_icmp.h>
16471 #endif
16472 #ifdef HAVE_NETINET_ICMP_VAR_H
16473 #include <netinet/icmp_var.h>
16474 #endif
16476 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16480 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16487 #include <sys/types.h>
16488 #endif
16489 #ifdef HAVE_ALIAS_H
16490 #include <alias.h>
16491 #endif
16492 #ifdef HAVE_SYS_SOCKET_H
16493 #include <sys/socket.h>
16494 #endif
16495 #ifdef HAVE_SYS_SOCKETVAR_H
16496 #include <sys/socketvar.h>
16497 #endif
16498 #ifdef HAVE_SYS_TIMEOUT_H
16499 #include <sys/timeout.h>
16500 #endif
16501 #ifdef HAVE_NETINET_IN_H
16502 #include <netinet/in.h>
16503 #endif
16504 #ifdef HAVE_NETINET_IN_SYSTM_H
16505 #include <netinet/in_systm.h>
16506 #endif
16507 #ifdef HAVE_NETINET_IP_H
16508 #include <netinet/ip.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IP_VAR_H
16511 #include <netinet/ip_var.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IP_ICMP_H
16514 #include <netinet/ip_icmp.h>
16515 #endif
16516 #ifdef HAVE_NETINET_ICMP_VAR_H
16517 #include <netinet/icmp_var.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16531 #include <sys/types.h>
16532 #endif
16533 #ifdef HAVE_SYS_SOCKETVAR_H
16534 #include <sys/socketvar.h>
16535 #endif
16536 #ifdef HAVE_NETINET_IN_H
16537 #include <netinet/in.h>
16538 #endif
16539 #ifdef HAVE_NETINET_IP_VAR_H
16540 #include <netinet/ip_var.h>
16541 #endif
16543 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16547 _ACEOF
16553 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
16554 #include <netinet/ip_var.h>
16555 #endif
16557 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16561 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16568 #include <sys/types.h>
16569 #endif
16570 #ifdef HAVE_SYS_SOCKETVAR_H
16571 #include <sys/socketvar.h>
16572 #endif
16573 #ifdef HAVE_NETINET_IN_H
16574 #include <netinet/in.h>
16575 #endif
16576 #ifdef HAVE_NETINET_TCP_H
16577 #include <netinet/tcp.h>
16578 #endif
16579 #ifdef HAVE_NETINET_TCP_VAR_H
16580 #include <netinet/tcp_var.h>
16581 #endif
16583 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16587 _ACEOF
16593 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
16594 #include <netinet/tcp_var.h>
16595 #endif
16597 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16601 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16608 #include <sys/types.h>
16609 #endif
16610 #ifdef HAVE_NETINET_IN_H
16611 #include <netinet/in.h>
16612 #endif
16613 #ifdef HAVE_NETINET_IP_VAR_H
16614 #include <netinet/ip_var.h>
16615 #endif
16616 #ifdef HAVE_NETINET_UDP_H
16617 #include <netinet/udp.h>
16618 #endif
16619 #ifdef HAVE_NETINET_UDP_VAR_H
16620 #include <netinet/udp_var.h>
16621 #endif
16623 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16625 cat >>confdefs.h <<_ACEOF
16626 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16627 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16634 #include <sys/types.h>
16635 #endif
16636 #ifdef HAVE_NET_IF_H
16637 # include <net/if.h>
16638 #endif
16640 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16644 _ACEOF
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16651 $as_echo_n "checking for timezone variable... " >&6; }
16652 if ${ac_cv_have_timezone+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 #include <time.h>
16659 main ()
16661 timezone = 1
16663 return 0;
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667 ac_cv_have_timezone="yes"
16668 else
16669 ac_cv_have_timezone="no"
16671 rm -f core conftest.err conftest.$ac_objext \
16672 conftest$ac_exeext conftest.$ac_ext
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16675 $as_echo "$ac_cv_have_timezone" >&6; }
16676 if test "$ac_cv_have_timezone" = "yes"
16677 then
16679 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16683 $as_echo_n "checking for daylight variable... " >&6; }
16684 if ${ac_cv_have_daylight+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #include <time.h>
16691 main ()
16693 daylight = 1
16695 return 0;
16697 _ACEOF
16698 if ac_fn_c_try_link "$LINENO"; then :
16699 ac_cv_have_daylight="yes"
16700 else
16701 ac_cv_have_daylight="no"
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16707 $as_echo "$ac_cv_have_daylight" >&6; }
16708 if test "$ac_cv_have_daylight" = "yes"
16709 then
16711 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16715 ac_save_LIBS="$LIBS"
16716 LIBS="$LIBS -lm"
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16718 $as_echo_n "checking for isfinite... " >&6; }
16719 if ${ac_cv_have_isfinite+:} false; then :
16720 $as_echo_n "(cached) " >&6
16721 else
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16724 #define _GNU_SOURCE
16725 #include <math.h>
16727 main ()
16729 float f = 0.0; return isfinite(f)
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_link "$LINENO"; then :
16735 ac_cv_have_isfinite="yes"
16736 else
16737 ac_cv_have_isfinite="no"
16739 rm -f core conftest.err conftest.$ac_objext \
16740 conftest$ac_exeext conftest.$ac_ext
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16743 $as_echo "$ac_cv_have_isfinite" >&6; }
16744 if test "$ac_cv_have_isfinite" = "yes"
16745 then
16747 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16752 $as_echo_n "checking for isinf... " >&6; }
16753 if ${ac_cv_have_isinf+:} false; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #include <math.h>
16760 main ()
16762 float f = 0.0; return isinf(f)
16764 return 0;
16766 _ACEOF
16767 if ac_fn_c_try_link "$LINENO"; then :
16768 ac_cv_have_isinf="yes"
16769 else
16770 ac_cv_have_isinf="no"
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16776 $as_echo "$ac_cv_have_isinf" >&6; }
16777 if test "$ac_cv_have_isinf" = "yes"
16778 then
16780 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16785 $as_echo_n "checking for isnan... " >&6; }
16786 if ${ac_cv_have_isnan+:} false; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #include <math.h>
16793 main ()
16795 float f = 0.0; return isnan(f)
16797 return 0;
16799 _ACEOF
16800 if ac_fn_c_try_link "$LINENO"; then :
16801 ac_cv_have_isnan="yes"
16802 else
16803 ac_cv_have_isnan="no"
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16809 $as_echo "$ac_cv_have_isnan" >&6; }
16810 if test "$ac_cv_have_isnan" = "yes"
16811 then
16813 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16817 for ac_func in \
16818 cbrt \
16819 cbrtf \
16820 erf \
16821 erff \
16822 exp2 \
16823 exp2f \
16824 llrint \
16825 llrintf \
16826 llround \
16827 llroundf \
16828 log2 \
16829 log2f \
16830 lrint \
16831 lrintf \
16832 lround \
16833 lroundf \
16834 rint \
16835 rintf \
16836 round \
16837 roundf \
16838 trunc \
16839 truncf
16841 do :
16842 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16844 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16847 _ACEOF
16850 done
16852 LIBS="$ac_save_LIBS"
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16855 $as_echo_n "checking for __builtin_clz... " >&6; }
16856 if ${ac_cv_have___builtin_clz+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16863 main ()
16865 return __builtin_clz(1)
16867 return 0;
16869 _ACEOF
16870 if ac_fn_c_try_link "$LINENO"; then :
16871 ac_cv_have___builtin_clz="yes"
16872 else
16873 ac_cv_have___builtin_clz="no"
16875 rm -f core conftest.err conftest.$ac_objext \
16876 conftest$ac_exeext conftest.$ac_ext
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16879 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16880 if test "$ac_cv_have___builtin_clz" = "yes"
16881 then
16883 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16888 case $host_cpu in
16889 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16890 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16891 if ${ac_cv_cpp_def___i386__+:} false; then :
16892 $as_echo_n "(cached) " >&6
16893 else
16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16896 #ifndef __i386__
16898 #endif
16899 _ACEOF
16900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16901 $EGREP "yes" >/dev/null 2>&1; then :
16902 ac_cv_cpp_def___i386__=yes
16903 else
16904 ac_cv_cpp_def___i386__=no
16906 rm -f conftest*
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16910 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16911 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16912 CFLAGS="$CFLAGS -D__i386__"
16913 LINTFLAGS="$LINTFLAGS -D__i386__"
16914 fi ;;
16915 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16916 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16917 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #ifndef __x86_64__
16924 #endif
16925 _ACEOF
16926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16927 $EGREP "yes" >/dev/null 2>&1; then :
16928 ac_cv_cpp_def___x86_64__=yes
16929 else
16930 ac_cv_cpp_def___x86_64__=no
16932 rm -f conftest*
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16936 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16937 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16938 CFLAGS="$CFLAGS -D__x86_64__"
16939 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16940 fi ;;
16941 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16942 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16943 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16944 $as_echo_n "(cached) " >&6
16945 else
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #ifndef __sparc64__
16950 #endif
16951 _ACEOF
16952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16953 $EGREP "yes" >/dev/null 2>&1; then :
16954 ac_cv_cpp_def___sparc64__=yes
16955 else
16956 ac_cv_cpp_def___sparc64__=no
16958 rm -f conftest*
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16962 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16963 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16964 CFLAGS="$CFLAGS -D__sparc64__"
16965 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16966 fi ;;
16967 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16968 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16969 if ${ac_cv_cpp_def___sparc__+:} false; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #ifndef __sparc__
16976 #endif
16977 _ACEOF
16978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16979 $EGREP "yes" >/dev/null 2>&1; then :
16980 ac_cv_cpp_def___sparc__=yes
16981 else
16982 ac_cv_cpp_def___sparc__=no
16984 rm -f conftest*
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16988 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16989 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16990 CFLAGS="$CFLAGS -D__sparc__"
16991 LINTFLAGS="$LINTFLAGS -D__sparc__"
16992 fi ;;
16993 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16994 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16995 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 #ifndef __powerpc64__
17002 #endif
17003 _ACEOF
17004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17005 $EGREP "yes" >/dev/null 2>&1; then :
17006 ac_cv_cpp_def___powerpc64__=yes
17007 else
17008 ac_cv_cpp_def___powerpc64__=no
17010 rm -f conftest*
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17014 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17015 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17016 CFLAGS="$CFLAGS -D__powerpc64__"
17017 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17018 fi ;;
17019 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17020 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17021 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #ifndef __powerpc__
17028 #endif
17029 _ACEOF
17030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17031 $EGREP "yes" >/dev/null 2>&1; then :
17032 ac_cv_cpp_def___powerpc__=yes
17033 else
17034 ac_cv_cpp_def___powerpc__=no
17036 rm -f conftest*
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17040 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17041 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17042 CFLAGS="$CFLAGS -D__powerpc__"
17043 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17044 fi ;;
17045 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17046 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17047 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #ifndef __aarch64__
17054 #endif
17055 _ACEOF
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "yes" >/dev/null 2>&1; then :
17058 ac_cv_cpp_def___aarch64__=yes
17059 else
17060 ac_cv_cpp_def___aarch64__=no
17062 rm -f conftest*
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17066 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17067 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17068 CFLAGS="$CFLAGS -D__aarch64__"
17069 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17070 fi ;;
17071 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17072 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17073 if ${ac_cv_cpp_def___arm__+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #ifndef __arm__
17080 #endif
17081 _ACEOF
17082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17083 $EGREP "yes" >/dev/null 2>&1; then :
17084 ac_cv_cpp_def___arm__=yes
17085 else
17086 ac_cv_cpp_def___arm__=no
17088 rm -f conftest*
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17092 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17093 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17094 CFLAGS="$CFLAGS -D__arm__"
17095 LINTFLAGS="$LINTFLAGS -D__arm__"
17096 fi ;;
17097 esac
17099 case $host_vendor in
17100 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17101 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17102 if ${ac_cv_cpp_def___sun__+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #ifndef __sun__
17109 #endif
17110 _ACEOF
17111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17112 $EGREP "yes" >/dev/null 2>&1; then :
17113 ac_cv_cpp_def___sun__=yes
17114 else
17115 ac_cv_cpp_def___sun__=no
17117 rm -f conftest*
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17121 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17122 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17123 CFLAGS="$CFLAGS -D__sun__"
17124 LINTFLAGS="$LINTFLAGS -D__sun__"
17125 fi ;;
17126 esac
17132 ac_config_commands="$ac_config_commands include/stamp-h"
17134 $as_echo_n "creating Makefile rules..." >&6
17136 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17137 SOCKET_LIBS = $SOCKET_LIBS
17138 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17139 IOKIT_LIBS = $IOKIT_LIBS
17140 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17141 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17142 CORESERVICES_LIBS = $CORESERVICES_LIBS
17143 APPKIT_LIBS = $APPKIT_LIBS
17144 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17145 SECURITY_LIBS = $SECURITY_LIBS
17146 COREAUDIO_LIBS = $COREAUDIO_LIBS
17147 OPENAL_LIBS = $OPENAL_LIBS
17148 OPENCL_LIBS = $OPENCL_LIBS
17149 QUICKTIME_LIBS = $QUICKTIME_LIBS
17150 CARBON_LIBS = $CARBON_LIBS
17151 PTHREAD_LIBS = $PTHREAD_LIBS
17152 X_CFLAGS = $X_CFLAGS
17153 X_PRE_LIBS = $X_PRE_LIBS
17154 X_LIBS = $X_LIBS
17155 X_EXTRA_LIBS = $X_EXTRA_LIBS
17156 PCAP_LIBS = $PCAP_LIBS
17157 XML2_CFLAGS = $XML2_CFLAGS
17158 XML2_LIBS = $XML2_LIBS
17159 XSLT_CFLAGS = $XSLT_CFLAGS
17160 XSLT_LIBS = $XSLT_LIBS
17161 DBUS_CFLAGS = $DBUS_CFLAGS
17162 DBUS_LIBS = $DBUS_LIBS
17163 HAL_CFLAGS = $HAL_CFLAGS
17164 HAL_LIBS = $HAL_LIBS
17165 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17166 GNUTLS_LIBS = $GNUTLS_LIBS
17167 SANE_CFLAGS = $SANE_CFLAGS
17168 SANE_LIBS = $SANE_LIBS
17169 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17170 GPHOTO2_LIBS = $GPHOTO2_LIBS
17171 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17172 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17173 RESOLV_LIBS = $RESOLV_LIBS
17174 LCMS2_CFLAGS = $LCMS2_CFLAGS
17175 LCMS2_LIBS = $LCMS2_LIBS
17176 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17177 FREETYPE_LIBS = $FREETYPE_LIBS
17178 Z_LIBS = $Z_LIBS
17179 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17180 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17181 GSTREAMER_LIBS = $GSTREAMER_LIBS
17182 ALSA_LIBS = $ALSA_LIBS
17183 OSS4_CFLAGS = $OSS4_CFLAGS
17184 CAPI20_CFLAGS = $CAPI20_CFLAGS
17185 CAPI20_LIBS = $CAPI20_LIBS
17186 CUPS_CFLAGS = $CUPS_CFLAGS
17187 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17188 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17189 JPEG_CFLAGS = $JPEG_CFLAGS
17190 JPEG_LIBS = $JPEG_LIBS
17191 PNG_CFLAGS = $PNG_CFLAGS
17192 PNG_LIBS = $PNG_LIBS
17193 TIFF_CFLAGS = $TIFF_CFLAGS
17194 TIFF_LIBS = $TIFF_LIBS
17195 MPG123_CFLAGS = $MPG123_CFLAGS
17196 MPG123_LIBS = $MPG123_LIBS
17197 KSTAT_LIBS = $KSTAT_LIBS
17198 PROCSTAT_LIBS = $PROCSTAT_LIBS
17199 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17200 DL_LIBS = $DL_LIBS
17201 POLL_LIBS = $POLL_LIBS
17202 RT_LIBS = $RT_LIBS
17203 LDAP_LIBS = $LDAP_LIBS
17208 wine_fn_append_rule "
17209 # Rules automatically generated by configure
17211 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17213 .INIT: Makefile
17214 .MAKEFILEDEPS:
17215 all: Makefile
17216 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17217 @./config.status Make.tmp Makefile"
17219 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17220 .gitignore: config.status
17221 @./config.status .gitignore"
17223 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17224 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17226 if test "x$enable_fonts" != xno; then
17227 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17228 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17229 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17230 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17231 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17232 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17234 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17235 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17236 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17237 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17238 ac_config_links="$ac_config_links wine:tools/winewrapper"
17239 wine_fn_config_symlink wine
17240 if test "x$enable_win64" != xno; then
17241 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17242 wine_fn_config_symlink wine64
17245 wine_fn_config_dll acledit enable_acledit
17246 wine_fn_config_dll aclui enable_aclui implib
17247 wine_fn_config_dll activeds enable_activeds implib
17248 wine_fn_config_dll actxprxy enable_actxprxy clean
17249 wine_fn_config_lib adsiid
17250 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17251 wine_fn_config_test dlls/advapi32/tests advapi32_test
17252 wine_fn_config_dll advpack enable_advpack implib
17253 wine_fn_config_test dlls/advpack/tests advpack_test
17254 wine_fn_config_dll amstream enable_amstream clean
17255 wine_fn_config_test dlls/amstream/tests amstream_test
17256 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17257 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17258 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17260 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17261 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17262 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17263 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17264 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17265 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17267 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17268 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17269 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17270 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17271 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17272 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17273 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17274 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17275 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17276 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17277 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17278 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17279 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17281 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17282 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17283 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17285 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17286 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17287 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17289 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17290 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17291 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17292 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17294 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17295 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17300 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17304 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17306 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17307 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17313 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17316 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17317 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17318 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17319 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17320 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17321 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17322 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17323 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17324 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17325 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17331 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17332 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17333 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17334 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17335 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17336 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17337 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17338 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17339 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17340 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17341 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17342 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17343 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17344 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17345 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17346 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17347 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17348 wine_fn_config_dll apphelp enable_apphelp
17349 wine_fn_config_test dlls/apphelp/tests apphelp_test
17350 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17351 wine_fn_config_dll atl enable_atl clean,implib
17352 wine_fn_config_test dlls/atl/tests atl_test
17353 wine_fn_config_dll atl100 enable_atl100 clean,implib
17354 wine_fn_config_test dlls/atl100/tests atl100_test
17355 wine_fn_config_dll atl110 enable_atl110 clean
17356 wine_fn_config_dll atl80 enable_atl80 clean,implib
17357 wine_fn_config_test dlls/atl80/tests atl80_test
17358 wine_fn_config_dll atl90 enable_atl90 clean
17359 wine_fn_config_dll authz enable_authz
17360 wine_fn_config_dll avicap32 enable_avicap32 implib
17361 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17362 wine_fn_config_test dlls/avifil32/tests avifil32_test
17363 wine_fn_config_dll avifile.dll16 enable_win16
17364 wine_fn_config_dll avrt enable_avrt implib
17365 wine_fn_config_dll bcrypt enable_bcrypt
17366 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17367 wine_fn_config_dll browseui enable_browseui clean,po
17368 wine_fn_config_test dlls/browseui/tests browseui_test
17369 wine_fn_config_dll cabinet enable_cabinet implib
17370 wine_fn_config_test dlls/cabinet/tests cabinet_test
17371 wine_fn_config_dll capi2032 enable_capi2032 implib
17372 wine_fn_config_dll cards enable_cards implib
17373 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17374 wine_fn_config_dll clusapi enable_clusapi implib
17375 wine_fn_config_dll combase enable_combase
17376 wine_fn_config_test dlls/combase/tests combase_test
17377 wine_fn_config_dll comcat enable_comcat
17378 wine_fn_config_test dlls/comcat/tests comcat_test
17379 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17380 wine_fn_config_test dlls/comctl32/tests comctl32_test
17381 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17382 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17383 wine_fn_config_dll comm.drv16 enable_win16
17384 wine_fn_config_dll commdlg.dll16 enable_win16
17385 wine_fn_config_dll compobj.dll16 enable_win16
17386 wine_fn_config_dll compstui enable_compstui implib
17387 wine_fn_config_dll comsvcs enable_comsvcs implib
17388 wine_fn_config_dll connect enable_connect
17389 wine_fn_config_dll credui enable_credui implib,po
17390 wine_fn_config_test dlls/credui/tests credui_test
17391 wine_fn_config_dll crtdll enable_crtdll implib
17392 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17393 wine_fn_config_test dlls/crypt32/tests crypt32_test
17394 wine_fn_config_dll cryptdlg enable_cryptdlg po
17395 wine_fn_config_dll cryptdll enable_cryptdll implib
17396 wine_fn_config_dll cryptext enable_cryptext
17397 wine_fn_config_dll cryptnet enable_cryptnet implib
17398 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17399 wine_fn_config_dll cryptui enable_cryptui implib,po
17400 wine_fn_config_test dlls/cryptui/tests cryptui_test
17401 wine_fn_config_dll ctapi32 enable_ctapi32
17402 wine_fn_config_dll ctl3d.dll16 enable_win16
17403 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17404 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17405 wine_fn_config_dll d2d1 enable_d2d1 implib
17406 wine_fn_config_test dlls/d2d1/tests d2d1_test
17407 wine_fn_config_dll d3d10 enable_d3d10 implib
17408 wine_fn_config_test dlls/d3d10/tests d3d10_test
17409 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17410 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17411 wine_fn_config_dll d3d10core enable_d3d10core implib
17412 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17413 wine_fn_config_dll d3d11 enable_d3d11 implib
17414 wine_fn_config_test dlls/d3d11/tests d3d11_test
17415 wine_fn_config_dll d3d8 enable_d3d8 implib
17416 wine_fn_config_test dlls/d3d8/tests d3d8_test
17417 wine_fn_config_dll d3d9 enable_d3d9 implib
17418 wine_fn_config_test dlls/d3d9/tests d3d9_test
17419 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17420 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17421 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17422 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17423 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17424 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17425 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17426 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17427 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17428 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17429 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17430 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17431 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17432 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17433 wine_fn_config_dll d3dim enable_d3dim implib
17434 wine_fn_config_dll d3drm enable_d3drm implib
17435 wine_fn_config_test dlls/d3drm/tests d3drm_test
17436 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17437 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17438 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17439 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17440 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17441 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17442 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17443 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17444 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17445 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17446 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17447 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17448 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17449 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17450 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17451 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17452 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17453 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17454 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17455 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17456 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17457 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17458 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17459 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17460 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17461 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17462 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17463 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17464 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17465 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17466 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17467 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17468 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17469 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17470 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17471 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17472 wine_fn_config_dll davclnt enable_davclnt
17473 wine_fn_config_dll dbgeng enable_dbgeng implib
17474 wine_fn_config_dll dbghelp enable_dbghelp implib
17475 wine_fn_config_dll dciman32 enable_dciman32 implib
17476 wine_fn_config_dll ddeml.dll16 enable_win16
17477 wine_fn_config_dll ddraw enable_ddraw clean,implib
17478 wine_fn_config_test dlls/ddraw/tests ddraw_test
17479 wine_fn_config_dll ddrawex enable_ddrawex clean
17480 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17481 wine_fn_config_dll devenum enable_devenum clean,po
17482 wine_fn_config_test dlls/devenum/tests devenum_test
17483 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17484 wine_fn_config_dll difxapi enable_difxapi
17485 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17486 wine_fn_config_test dlls/dinput/tests dinput_test
17487 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17488 wine_fn_config_test dlls/dinput8/tests dinput8_test
17489 wine_fn_config_dll dispdib.dll16 enable_win16
17490 wine_fn_config_dll dispex enable_dispex clean
17491 wine_fn_config_test dlls/dispex/tests dispex_test
17492 wine_fn_config_dll display.drv16 enable_win16
17493 wine_fn_config_dll dmband enable_dmband clean
17494 wine_fn_config_test dlls/dmband/tests dmband_test
17495 wine_fn_config_dll dmcompos enable_dmcompos clean
17496 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17497 wine_fn_config_dll dmime enable_dmime clean
17498 wine_fn_config_test dlls/dmime/tests dmime_test
17499 wine_fn_config_dll dmloader enable_dmloader clean
17500 wine_fn_config_test dlls/dmloader/tests dmloader_test
17501 wine_fn_config_dll dmscript enable_dmscript clean
17502 wine_fn_config_test dlls/dmscript/tests dmscript_test
17503 wine_fn_config_dll dmstyle enable_dmstyle clean
17504 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17505 wine_fn_config_dll dmsynth enable_dmsynth clean
17506 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17507 wine_fn_config_dll dmusic enable_dmusic clean
17508 wine_fn_config_test dlls/dmusic/tests dmusic_test
17509 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17510 wine_fn_config_dll dnsapi enable_dnsapi implib
17511 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17512 wine_fn_config_dll dplay enable_dplay implib
17513 wine_fn_config_dll dplayx enable_dplayx clean,implib
17514 wine_fn_config_test dlls/dplayx/tests dplayx_test
17515 wine_fn_config_dll dpnaddr enable_dpnaddr
17516 wine_fn_config_dll dpnet enable_dpnet clean,implib
17517 wine_fn_config_test dlls/dpnet/tests dpnet_test
17518 wine_fn_config_dll dpnhpast enable_dpnhpast
17519 wine_fn_config_dll dpnlobby enable_dpnlobby
17520 wine_fn_config_dll dpvoice enable_dpvoice clean
17521 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17522 wine_fn_config_dll dpwsockx enable_dpwsockx
17523 wine_fn_config_dll drmclien enable_drmclien
17524 wine_fn_config_dll dsound enable_dsound clean,implib
17525 wine_fn_config_test dlls/dsound/tests dsound_test
17526 wine_fn_config_dll dssenh enable_dssenh
17527 wine_fn_config_test dlls/dssenh/tests dssenh_test
17528 wine_fn_config_dll dswave enable_dswave clean
17529 wine_fn_config_test dlls/dswave/tests dswave_test
17530 wine_fn_config_dll dwmapi enable_dwmapi implib
17531 wine_fn_config_dll dwrite enable_dwrite implib
17532 wine_fn_config_test dlls/dwrite/tests dwrite_test
17533 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17534 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17535 wine_fn_config_lib dxerr8
17536 wine_fn_config_lib dxerr9
17537 wine_fn_config_dll dxgi enable_dxgi implib
17538 wine_fn_config_test dlls/dxgi/tests dxgi_test
17539 wine_fn_config_lib dxguid
17540 wine_fn_config_dll dxva2 enable_dxva2
17541 wine_fn_config_dll esent enable_esent
17542 wine_fn_config_dll evr enable_evr
17543 wine_fn_config_dll explorerframe enable_explorerframe clean
17544 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17545 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17546 wine_fn_config_dll faultrep enable_faultrep implib
17547 wine_fn_config_test dlls/faultrep/tests faultrep_test
17548 wine_fn_config_dll fltlib enable_fltlib
17549 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17550 wine_fn_config_dll fntcache enable_fntcache
17551 wine_fn_config_dll fontsub enable_fontsub
17552 wine_fn_config_dll fusion enable_fusion
17553 wine_fn_config_test dlls/fusion/tests fusion_test
17554 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17555 wine_fn_config_dll gameux enable_gameux clean
17556 wine_fn_config_test dlls/gameux/tests gameux_test
17557 wine_fn_config_dll gdi.exe16 enable_win16
17558 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17559 wine_fn_config_test dlls/gdi32/tests gdi32_test
17560 wine_fn_config_dll gdiplus enable_gdiplus implib
17561 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17562 wine_fn_config_dll glu32 enable_glu32 implib
17563 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17564 wine_fn_config_dll gpkcsp enable_gpkcsp
17565 wine_fn_config_dll hal enable_hal
17566 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17567 wine_fn_config_dll hid enable_hid implib
17568 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17569 wine_fn_config_dll hlink enable_hlink clean,implib
17570 wine_fn_config_test dlls/hlink/tests hlink_test
17571 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17572 wine_fn_config_dll httpapi enable_httpapi
17573 wine_fn_config_dll iccvid enable_iccvid po
17574 wine_fn_config_dll icmp enable_icmp
17575 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17576 wine_fn_config_test dlls/ieframe/tests ieframe_test
17577 wine_fn_config_dll ifsmgr.vxd enable_win16
17578 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17579 wine_fn_config_dll imagehlp enable_imagehlp implib
17580 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17581 wine_fn_config_dll imm.dll16 enable_win16
17582 wine_fn_config_dll imm32 enable_imm32 implib
17583 wine_fn_config_test dlls/imm32/tests imm32_test
17584 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17585 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17586 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17587 wine_fn_config_dll inetmib1 enable_inetmib1
17588 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17589 wine_fn_config_dll infosoft enable_infosoft clean
17590 wine_fn_config_test dlls/infosoft/tests infosoft_test
17591 wine_fn_config_dll initpki enable_initpki
17592 wine_fn_config_dll inkobj enable_inkobj
17593 wine_fn_config_dll inseng enable_inseng clean
17594 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17595 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17596 wine_fn_config_dll itircl enable_itircl
17597 wine_fn_config_dll itss enable_itss clean
17598 wine_fn_config_test dlls/itss/tests itss_test
17599 wine_fn_config_dll joy.cpl enable_joy_cpl po
17600 wine_fn_config_dll jscript enable_jscript clean,po
17601 wine_fn_config_test dlls/jscript/tests jscript_test
17602 wine_fn_config_dll jsproxy enable_jsproxy implib
17603 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17604 wine_fn_config_test dlls/kernel32/tests kernel32_test
17605 wine_fn_config_dll keyboard.drv16 enable_win16
17606 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17607 wine_fn_config_dll ksuser enable_ksuser
17608 wine_fn_config_dll ktmw32 enable_ktmw32
17609 wine_fn_config_dll loadperf enable_loadperf implib
17610 wine_fn_config_dll localspl enable_localspl po
17611 wine_fn_config_test dlls/localspl/tests localspl_test
17612 wine_fn_config_dll localui enable_localui po
17613 wine_fn_config_test dlls/localui/tests localui_test
17614 wine_fn_config_dll lz32 enable_lz32 implib
17615 wine_fn_config_test dlls/lz32/tests lz32_test
17616 wine_fn_config_dll lzexpand.dll16 enable_win16
17617 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17618 wine_fn_config_test dlls/mapi32/tests mapi32_test
17619 wine_fn_config_dll mapistub enable_mapistub
17620 wine_fn_config_dll mciavi32 enable_mciavi32
17621 wine_fn_config_dll mcicda enable_mcicda
17622 wine_fn_config_dll mciqtz32 enable_mciqtz32
17623 wine_fn_config_dll mciseq enable_mciseq
17624 wine_fn_config_dll mciwave enable_mciwave
17625 wine_fn_config_dll mf enable_mf
17626 wine_fn_config_dll mfplat enable_mfplat
17627 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17628 wine_fn_config_dll mgmtapi enable_mgmtapi
17629 wine_fn_config_dll midimap enable_midimap
17630 wine_fn_config_dll mlang enable_mlang clean,implib
17631 wine_fn_config_test dlls/mlang/tests mlang_test
17632 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17633 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17634 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17635 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17636 wine_fn_config_dll mmdevldr.vxd enable_win16
17637 wine_fn_config_dll mmsystem.dll16 enable_win16
17638 wine_fn_config_dll monodebg.vxd enable_win16
17639 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17640 wine_fn_config_dll mouse.drv16 enable_win16
17641 wine_fn_config_dll mpr enable_mpr implib,po
17642 wine_fn_config_test dlls/mpr/tests mpr_test
17643 wine_fn_config_dll mprapi enable_mprapi implib
17644 wine_fn_config_dll msacm.dll16 enable_win16
17645 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17646 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17647 wine_fn_config_test dlls/msacm32/tests msacm32_test
17648 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17649 wine_fn_config_dll msasn1 enable_msasn1 implib
17650 wine_fn_config_dll mscat32 enable_mscat32
17651 wine_fn_config_dll mscms enable_mscms implib
17652 wine_fn_config_test dlls/mscms/tests mscms_test
17653 wine_fn_config_dll mscoree enable_mscoree clean
17654 wine_fn_config_test dlls/mscoree/tests mscoree_test
17655 wine_fn_config_dll msctf enable_msctf clean
17656 wine_fn_config_test dlls/msctf/tests msctf_test
17657 wine_fn_config_dll msctfp enable_msctfp clean
17658 wine_fn_config_dll msdaps enable_msdaps clean
17659 wine_fn_config_dll msdelta enable_msdelta
17660 wine_fn_config_dll msdmo enable_msdmo implib
17661 wine_fn_config_test dlls/msdmo/tests msdmo_test
17662 wine_fn_config_dll msftedit enable_msftedit
17663 wine_fn_config_dll msg711.acm enable_msg711_acm
17664 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17665 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17666 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17667 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17668 wine_fn_config_dll msi enable_msi clean,implib,po
17669 wine_fn_config_test dlls/msi/tests msi_test
17670 wine_fn_config_dll msident enable_msident clean
17671 wine_fn_config_dll msimg32 enable_msimg32 implib
17672 wine_fn_config_dll msimsg enable_msimsg
17673 wine_fn_config_dll msimtf enable_msimtf clean
17674 wine_fn_config_dll msisip enable_msisip
17675 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17676 wine_fn_config_dll msls31 enable_msls31
17677 wine_fn_config_dll msnet32 enable_msnet32
17678 wine_fn_config_dll mspatcha enable_mspatcha implib
17679 wine_fn_config_dll msrle32 enable_msrle32 po
17680 wine_fn_config_test dlls/msrle32/tests msrle32_test
17681 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17682 wine_fn_config_dll mssign32 enable_mssign32
17683 wine_fn_config_dll mssip32 enable_mssip32
17684 wine_fn_config_dll mstask enable_mstask clean
17685 wine_fn_config_test dlls/mstask/tests mstask_test
17686 wine_fn_config_dll msvcirt enable_msvcirt
17687 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17688 wine_fn_config_dll msvcm80 enable_msvcm80
17689 wine_fn_config_dll msvcm90 enable_msvcm90
17690 wine_fn_config_dll msvcp100 enable_msvcp100
17691 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17692 wine_fn_config_dll msvcp110 enable_msvcp110
17693 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17694 wine_fn_config_dll msvcp120 enable_msvcp120
17695 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17696 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17697 wine_fn_config_dll msvcp60 enable_msvcp60
17698 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17699 wine_fn_config_dll msvcp70 enable_msvcp70
17700 wine_fn_config_dll msvcp71 enable_msvcp71
17701 wine_fn_config_dll msvcp80 enable_msvcp80
17702 wine_fn_config_dll msvcp90 enable_msvcp90
17703 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17704 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17705 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17706 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17707 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17708 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17709 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17710 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17711 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17712 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17713 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17714 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17715 wine_fn_config_dll msvcrt enable_msvcrt implib
17716 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17717 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17718 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17719 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17720 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17721 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17722 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17723 wine_fn_config_dll msvidc32 enable_msvidc32 po
17724 wine_fn_config_dll msvideo.dll16 enable_win16
17725 wine_fn_config_dll mswsock enable_mswsock implib
17726 wine_fn_config_dll msxml enable_msxml clean
17727 wine_fn_config_dll msxml2 enable_msxml2 clean
17728 wine_fn_config_dll msxml3 enable_msxml3 clean
17729 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17730 wine_fn_config_dll msxml4 enable_msxml4 clean
17731 wine_fn_config_dll msxml6 enable_msxml6 clean
17732 wine_fn_config_dll nddeapi enable_nddeapi implib
17733 wine_fn_config_dll ndis.sys enable_ndis_sys
17734 wine_fn_config_dll netapi32 enable_netapi32 implib
17735 wine_fn_config_test dlls/netapi32/tests netapi32_test
17736 wine_fn_config_dll netcfgx enable_netcfgx clean
17737 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17738 wine_fn_config_dll netprofm enable_netprofm clean
17739 wine_fn_config_test dlls/netprofm/tests netprofm_test
17740 wine_fn_config_dll newdev enable_newdev implib
17741 wine_fn_config_dll normaliz enable_normaliz implib
17742 wine_fn_config_dll npmshtml enable_npmshtml
17743 wine_fn_config_dll npptools enable_npptools
17744 wine_fn_config_dll ntdll enable_ntdll implib
17745 wine_fn_config_test dlls/ntdll/tests ntdll_test
17746 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17747 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17748 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17749 wine_fn_config_dll ntprint enable_ntprint
17750 wine_fn_config_test dlls/ntprint/tests ntprint_test
17751 wine_fn_config_dll objsel enable_objsel clean
17752 wine_fn_config_dll odbc32 enable_odbc32 implib
17753 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17754 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17755 wine_fn_config_dll odbccu32 enable_odbccu32
17756 wine_fn_config_dll ole2.dll16 enable_win16
17757 wine_fn_config_dll ole2conv.dll16 enable_win16
17758 wine_fn_config_dll ole2disp.dll16 enable_win16
17759 wine_fn_config_dll ole2nls.dll16 enable_win16
17760 wine_fn_config_dll ole2prox.dll16 enable_win16
17761 wine_fn_config_dll ole2thk.dll16 enable_win16
17762 wine_fn_config_dll ole32 enable_ole32 clean,implib
17763 wine_fn_config_test dlls/ole32/tests ole32_test
17764 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17765 wine_fn_config_test dlls/oleacc/tests oleacc_test
17766 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17767 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17768 wine_fn_config_dll olecli.dll16 enable_win16
17769 wine_fn_config_dll olecli32 enable_olecli32 implib
17770 wine_fn_config_dll oledb32 enable_oledb32 clean
17771 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17772 wine_fn_config_dll oledlg enable_oledlg implib,po
17773 wine_fn_config_test dlls/oledlg/tests oledlg_test
17774 wine_fn_config_dll olepro32 enable_olepro32 implib
17775 wine_fn_config_dll olesvr.dll16 enable_win16
17776 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17777 wine_fn_config_dll olethk32 enable_olethk32
17778 wine_fn_config_dll openal32 enable_openal32
17779 wine_fn_config_dll opencl enable_opencl
17780 wine_fn_config_dll opengl32 enable_opengl32 implib
17781 wine_fn_config_test dlls/opengl32/tests opengl32_test
17782 wine_fn_config_dll packager enable_packager clean
17783 wine_fn_config_test dlls/packager/tests packager_test
17784 wine_fn_config_dll pdh enable_pdh implib
17785 wine_fn_config_test dlls/pdh/tests pdh_test
17786 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17787 wine_fn_config_dll pidgen enable_pidgen
17788 wine_fn_config_dll powrprof enable_powrprof implib
17789 wine_fn_config_dll printui enable_printui
17790 wine_fn_config_dll prntvpt enable_prntvpt
17791 wine_fn_config_dll propsys enable_propsys clean,implib
17792 wine_fn_config_test dlls/propsys/tests propsys_test
17793 wine_fn_config_dll psapi enable_psapi implib
17794 wine_fn_config_test dlls/psapi/tests psapi_test
17795 wine_fn_config_dll pstorec enable_pstorec clean
17796 wine_fn_config_dll qcap enable_qcap
17797 wine_fn_config_test dlls/qcap/tests qcap_test
17798 wine_fn_config_dll qedit enable_qedit clean
17799 wine_fn_config_test dlls/qedit/tests qedit_test
17800 wine_fn_config_dll qmgr enable_qmgr clean
17801 wine_fn_config_test dlls/qmgr/tests qmgr_test
17802 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17803 wine_fn_config_dll quartz enable_quartz clean,implib
17804 wine_fn_config_test dlls/quartz/tests quartz_test clean
17805 wine_fn_config_dll query enable_query
17806 wine_fn_config_dll rasapi16.dll16 enable_win16
17807 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17808 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17809 wine_fn_config_dll rasdlg enable_rasdlg implib
17810 wine_fn_config_dll regapi enable_regapi
17811 wine_fn_config_dll resutils enable_resutils implib
17812 wine_fn_config_dll riched20 enable_riched20 clean,implib
17813 wine_fn_config_test dlls/riched20/tests riched20_test
17814 wine_fn_config_dll riched32 enable_riched32
17815 wine_fn_config_test dlls/riched32/tests riched32_test
17816 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17817 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17818 wine_fn_config_dll rsabase enable_rsabase
17819 wine_fn_config_dll rsaenh enable_rsaenh implib
17820 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17821 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17822 wine_fn_config_dll rtutils enable_rtutils implib
17823 wine_fn_config_dll samlib enable_samlib
17824 wine_fn_config_dll sane.ds enable_sane_ds po
17825 wine_fn_config_dll scarddlg enable_scarddlg
17826 wine_fn_config_dll sccbase enable_sccbase
17827 wine_fn_config_dll schannel enable_schannel
17828 wine_fn_config_test dlls/schannel/tests schannel_test
17829 wine_fn_config_dll schedsvc enable_schedsvc clean
17830 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17831 wine_fn_config_dll scrrun enable_scrrun clean
17832 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17833 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17834 wine_fn_config_dll secur32 enable_secur32 implib
17835 wine_fn_config_test dlls/secur32/tests secur32_test
17836 wine_fn_config_dll security enable_security
17837 wine_fn_config_dll sensapi enable_sensapi implib
17838 wine_fn_config_dll serialui enable_serialui implib,po
17839 wine_fn_config_test dlls/serialui/tests serialui_test
17840 wine_fn_config_dll setupapi enable_setupapi implib,po
17841 wine_fn_config_test dlls/setupapi/tests setupapi_test
17842 wine_fn_config_dll setupx.dll16 enable_win16
17843 wine_fn_config_dll sfc enable_sfc implib
17844 wine_fn_config_dll sfc_os enable_sfc_os implib
17845 wine_fn_config_dll shdoclc enable_shdoclc po
17846 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17847 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17848 wine_fn_config_dll shell.dll16 enable_win16
17849 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17850 wine_fn_config_test dlls/shell32/tests shell32_test
17851 wine_fn_config_dll shfolder enable_shfolder implib
17852 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17853 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17854 wine_fn_config_dll slbcsp enable_slbcsp
17855 wine_fn_config_dll slc enable_slc implib
17856 wine_fn_config_test dlls/slc/tests slc_test
17857 wine_fn_config_dll snmpapi enable_snmpapi implib
17858 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17859 wine_fn_config_dll softpub enable_softpub
17860 wine_fn_config_dll sound.drv16 enable_win16
17861 wine_fn_config_dll spoolss enable_spoolss implib
17862 wine_fn_config_test dlls/spoolss/tests spoolss_test
17863 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17864 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17865 wine_fn_config_dll sti enable_sti clean,implib
17866 wine_fn_config_test dlls/sti/tests sti_test
17867 wine_fn_config_dll storage.dll16 enable_win16
17868 wine_fn_config_dll stress.dll16 enable_win16
17869 wine_fn_config_lib strmbase
17870 wine_fn_config_lib strmiids
17871 wine_fn_config_dll svrapi enable_svrapi
17872 wine_fn_config_dll sxs enable_sxs implib
17873 wine_fn_config_test dlls/sxs/tests sxs_test
17874 wine_fn_config_dll system.drv16 enable_win16
17875 wine_fn_config_dll t2embed enable_t2embed
17876 wine_fn_config_dll tapi32 enable_tapi32 implib
17877 wine_fn_config_dll taskschd enable_taskschd clean
17878 wine_fn_config_test dlls/taskschd/tests taskschd_test
17879 wine_fn_config_dll toolhelp.dll16 enable_win16
17880 wine_fn_config_dll traffic enable_traffic
17881 wine_fn_config_dll twain.dll16 enable_win16
17882 wine_fn_config_dll twain_32 enable_twain_32
17883 wine_fn_config_test dlls/twain_32/tests twain_32_test
17884 wine_fn_config_dll typelib.dll16 enable_win16
17885 wine_fn_config_dll ucrtbase enable_ucrtbase
17886 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17887 wine_fn_config_dll unicows enable_unicows implib
17888 wine_fn_config_dll updspapi enable_updspapi
17889 wine_fn_config_dll url enable_url implib
17890 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17891 wine_fn_config_test dlls/urlmon/tests urlmon_test
17892 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17893 wine_fn_config_dll user.exe16 enable_win16
17894 wine_fn_config_dll user32 enable_user32 clean,implib,po
17895 wine_fn_config_test dlls/user32/tests user32_test
17896 wine_fn_config_dll userenv enable_userenv implib
17897 wine_fn_config_test dlls/userenv/tests userenv_test
17898 wine_fn_config_dll usp10 enable_usp10 implib
17899 wine_fn_config_test dlls/usp10/tests usp10_test
17900 wine_fn_config_lib uuid
17901 wine_fn_config_dll uxtheme enable_uxtheme implib
17902 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17903 wine_fn_config_dll vbscript enable_vbscript clean
17904 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17905 wine_fn_config_dll vcomp enable_vcomp
17906 wine_fn_config_test dlls/vcomp/tests vcomp_test
17907 wine_fn_config_dll vcomp100 enable_vcomp100
17908 wine_fn_config_dll vcomp110 enable_vcomp110
17909 wine_fn_config_dll vcomp120 enable_vcomp120
17910 wine_fn_config_dll vcomp90 enable_vcomp90
17911 wine_fn_config_dll vcruntime140 enable_vcruntime140
17912 wine_fn_config_dll vdhcp.vxd enable_win16
17913 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17914 wine_fn_config_dll ver.dll16 enable_win16
17915 wine_fn_config_dll version enable_version implib
17916 wine_fn_config_test dlls/version/tests version_test
17917 wine_fn_config_dll vmm.vxd enable_win16
17918 wine_fn_config_dll vnbt.vxd enable_win16
17919 wine_fn_config_dll vnetbios.vxd enable_win16
17920 wine_fn_config_dll vssapi enable_vssapi
17921 wine_fn_config_dll vtdapi.vxd enable_win16
17922 wine_fn_config_dll vwin32.vxd enable_win16
17923 wine_fn_config_dll w32skrnl enable_win16
17924 wine_fn_config_dll w32sys.dll16 enable_win16
17925 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17926 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17927 wine_fn_config_dll wbemprox enable_wbemprox clean
17928 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17929 wine_fn_config_dll webservices enable_webservices implib
17930 wine_fn_config_test dlls/webservices/tests webservices_test
17931 wine_fn_config_dll wer enable_wer implib
17932 wine_fn_config_test dlls/wer/tests wer_test
17933 wine_fn_config_dll wevtapi enable_wevtapi
17934 wine_fn_config_dll wiaservc enable_wiaservc clean
17935 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17936 wine_fn_config_dll wimgapi enable_wimgapi
17937 wine_fn_config_dll win32s16.dll16 enable_win16
17938 wine_fn_config_dll win87em.dll16 enable_win16
17939 wine_fn_config_dll winaspi.dll16 enable_win16
17940 wine_fn_config_dll windebug.dll16 enable_win16
17941 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17942 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17943 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17944 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17945 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17946 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17947 wine_fn_config_lib winecrt0
17948 wine_fn_config_dll wined3d enable_wined3d implib
17949 wine_fn_config_dll winegstreamer enable_winegstreamer
17950 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17951 wine_fn_config_dll winemac.drv enable_winemac_drv
17952 wine_fn_config_dll winemapi enable_winemapi
17953 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17954 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17955 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17956 wine_fn_config_dll wineps16.drv16 enable_win16
17957 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17958 wine_fn_config_dll winex11.drv enable_winex11_drv
17959 wine_fn_config_dll wing.dll16 enable_win16
17960 wine_fn_config_dll wing32 enable_wing32
17961 wine_fn_config_dll winhttp enable_winhttp clean,implib
17962 wine_fn_config_test dlls/winhttp/tests winhttp_test
17963 wine_fn_config_dll wininet enable_wininet implib,po
17964 wine_fn_config_test dlls/wininet/tests wininet_test
17965 wine_fn_config_dll winmm enable_winmm implib,po
17966 wine_fn_config_test dlls/winmm/tests winmm_test
17967 wine_fn_config_dll winnls.dll16 enable_win16
17968 wine_fn_config_dll winnls32 enable_winnls32 implib
17969 wine_fn_config_dll winscard enable_winscard implib
17970 wine_fn_config_dll winsock.dll16 enable_win16
17971 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17972 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17973 wine_fn_config_dll winsta enable_winsta
17974 wine_fn_config_dll wintab.dll16 enable_win16
17975 wine_fn_config_dll wintab32 enable_wintab32 implib
17976 wine_fn_config_test dlls/wintab32/tests wintab32_test
17977 wine_fn_config_dll wintrust enable_wintrust implib
17978 wine_fn_config_test dlls/wintrust/tests wintrust_test
17979 wine_fn_config_dll wlanapi enable_wlanapi
17980 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17981 wine_fn_config_test dlls/wldap32/tests wldap32_test
17982 wine_fn_config_dll wmi enable_wmi
17983 wine_fn_config_dll wmiutils enable_wmiutils clean
17984 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17985 wine_fn_config_dll wmp enable_wmp clean
17986 wine_fn_config_test dlls/wmp/tests wmp_test
17987 wine_fn_config_dll wmvcore enable_wmvcore
17988 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17989 wine_fn_config_dll wow32 enable_win16 implib
17990 wine_fn_config_dll wpcap enable_wpcap
17991 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17992 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17993 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17994 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17995 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17996 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17997 wine_fn_config_dll wsock32 enable_wsock32 implib
17998 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17999 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18000 wine_fn_config_dll wuapi enable_wuapi clean
18001 wine_fn_config_dll wuaueng enable_wuaueng
18002 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18003 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18004 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18005 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18006 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18007 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18008 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18009 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18010 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18011 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18012 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18013 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18014 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18015 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18016 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18017 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18018 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18019 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18020 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18021 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18022 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18023 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18024 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18025 wine_fn_config_dll xinput1_1 enable_xinput1_1
18026 wine_fn_config_dll xinput1_2 enable_xinput1_2
18027 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18028 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18029 wine_fn_config_dll xinput1_4 enable_xinput1_4
18030 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18031 wine_fn_config_dll xmllite enable_xmllite implib
18032 wine_fn_config_test dlls/xmllite/tests xmllite_test
18033 wine_fn_config_dll xolehlp enable_xolehlp
18034 wine_fn_config_dll xpsprint enable_xpsprint
18035 wine_fn_config_dll xpssvcs enable_xpssvcs
18036 wine_fn_config_makefile documentation enable_documentation clean
18037 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18038 wine_fn_config_makefile include enable_include clean,install-dev
18039 wine_fn_config_makefile libs/port enable_libs_port
18040 wine_fn_config_makefile libs/wine enable_libs_wine clean,config,install-dev,install-lib
18041 wine_fn_config_makefile libs/wpp enable_libs_wpp
18042 wine_fn_config_makefile loader enable_loader clean,config,install-lib,manpage
18043 wine_fn_config_program arp enable_arp install
18044 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18045 wine_fn_config_program attrib enable_attrib install,po
18046 wine_fn_config_program cabarc enable_cabarc install
18047 wine_fn_config_program cacls enable_cacls install
18048 wine_fn_config_program clock enable_clock install,po
18049 wine_fn_config_program cmd enable_cmd install,po
18050 wine_fn_config_test programs/cmd/tests cmd.exe_test
18051 wine_fn_config_program conhost enable_conhost install
18052 wine_fn_config_program control enable_control install
18053 wine_fn_config_program cscript enable_cscript clean,install
18054 wine_fn_config_program dpnsvr enable_dpnsvr install
18055 wine_fn_config_program dxdiag enable_dxdiag install,po
18056 wine_fn_config_program eject enable_eject install
18057 wine_fn_config_program expand enable_expand install
18058 wine_fn_config_program explorer enable_explorer install,po
18059 wine_fn_config_program extrac32 enable_extrac32 install
18060 wine_fn_config_program findstr enable_findstr install
18061 wine_fn_config_program hh enable_hh install
18062 wine_fn_config_program hostname enable_hostname install,po
18063 wine_fn_config_program icinfo enable_icinfo install
18064 wine_fn_config_program iexplore enable_iexplore install
18065 wine_fn_config_program ipconfig enable_ipconfig install,po
18066 wine_fn_config_program lodctr enable_lodctr install
18067 wine_fn_config_program mofcomp enable_mofcomp install
18068 wine_fn_config_program mshta enable_mshta install
18069 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18070 wine_fn_config_program net enable_net install,po
18071 wine_fn_config_program netsh enable_netsh install
18072 wine_fn_config_program netstat enable_netstat install,po
18073 wine_fn_config_program ngen enable_ngen install
18074 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18075 wine_fn_config_program oleview enable_oleview install,po
18076 wine_fn_config_program ping enable_ping install
18077 wine_fn_config_program plugplay enable_plugplay install
18078 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18079 wine_fn_config_program progman enable_progman install,po
18080 wine_fn_config_program reg enable_reg install,po
18081 wine_fn_config_test programs/reg/tests reg.exe_test
18082 wine_fn_config_program regasm enable_regasm install
18083 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18084 wine_fn_config_test programs/regedit/tests regedit.exe_test
18085 wine_fn_config_program regsvcs enable_regsvcs install
18086 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18087 wine_fn_config_program rpcss enable_rpcss clean,install
18088 wine_fn_config_program rundll.exe16 enable_win16 install
18089 wine_fn_config_program rundll32 enable_rundll32 install
18090 wine_fn_config_program sc enable_sc install
18091 wine_fn_config_program schtasks enable_schtasks install
18092 wine_fn_config_program sdbinst enable_sdbinst install
18093 wine_fn_config_program secedit enable_secedit install
18094 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18095 wine_fn_config_program services enable_services clean,install
18096 wine_fn_config_test programs/services/tests services.exe_test
18097 wine_fn_config_program spoolsv enable_spoolsv install
18098 wine_fn_config_program start enable_start install,po
18099 wine_fn_config_program svchost enable_svchost install
18100 wine_fn_config_program systeminfo enable_systeminfo install
18101 wine_fn_config_program taskkill enable_taskkill install,po
18102 wine_fn_config_program tasklist enable_tasklist install
18103 wine_fn_config_program taskmgr enable_taskmgr install,po
18104 wine_fn_config_program termsv enable_termsv install
18105 wine_fn_config_program uninstaller enable_uninstaller install,po
18106 wine_fn_config_program unlodctr enable_unlodctr install
18107 wine_fn_config_program view enable_view install,po
18108 wine_fn_config_program wevtutil enable_wevtutil install
18109 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18110 wine_fn_config_program winebrowser enable_winebrowser install
18111 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18112 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18113 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18114 wine_fn_config_program winedevice enable_winedevice install
18115 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18116 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18117 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18118 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18119 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18120 wine_fn_config_program winetest enable_winetest clean,config
18121 wine_fn_config_program winevdm enable_win16 install
18122 wine_fn_config_program winhelp.exe16 enable_win16 install
18123 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18124 wine_fn_config_program winoldap.mod16 enable_win16 install
18125 wine_fn_config_program winver enable_winver install
18126 wine_fn_config_program wmic enable_wmic install,po
18127 wine_fn_config_program wordpad enable_wordpad install,po
18128 wine_fn_config_program write enable_write install,po
18129 wine_fn_config_program wscript enable_wscript clean,install
18130 wine_fn_config_test programs/wscript/tests wscript.exe_test
18131 wine_fn_config_program wusa enable_wusa install
18132 wine_fn_config_program xcopy enable_xcopy install,po
18133 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18134 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18135 wine_fn_config_tool tools clean
18136 wine_fn_config_tool tools/sfnt2fon clean
18137 wine_fn_config_tool tools/widl clean,install-dev,manpage
18138 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18139 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18140 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18141 wine_fn_config_tool tools/winemaker install-dev,manpage
18142 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18143 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18145 LINGUAS="\
18146 ar \
18147 bg \
18148 ca \
18149 cs \
18150 da \
18151 de \
18152 el \
18153 en \
18154 en_US \
18155 eo \
18156 es \
18157 fa \
18158 fi \
18159 fr \
18160 he \
18161 hi \
18162 hr \
18163 hu \
18164 it \
18165 ja \
18166 ko \
18167 lt \
18168 ml \
18169 nb_NO \
18170 nl \
18171 or \
18172 pa \
18173 pl \
18174 pt_BR \
18175 pt_PT \
18176 rm \
18177 ro \
18178 ru \
18179 sk \
18180 sl \
18181 sr_RS@cyrillic \
18182 sr_RS@latin \
18183 sv \
18184 te \
18185 th \
18186 tr \
18187 uk \
18188 wa \
18189 zh_CN \
18190 zh_TW"
18195 wine_fn_ignore_file ".gitignore"
18196 wine_fn_ignore_file "Makefile"
18197 wine_fn_ignore_file "TAGS"
18198 wine_fn_ignore_file "tags"
18199 wine_fn_ignore_file "autom4te.cache"
18200 wine_fn_ignore_file "config.cache"
18201 wine_fn_ignore_file "config.log"
18202 wine_fn_ignore_file "config.status"
18203 wine_fn_ignore_file "configure.lineno"
18204 wine_fn_ignore_file "include/config.h"
18205 wine_fn_ignore_file "include/stamp-h"
18206 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18208 if test "x$enable_tools" != xno
18209 then
18210 wine_fn_ignore_file "tools/makedep$ac_exeext"
18211 ac_config_commands="$ac_config_commands tools/makedep"
18215 ac_config_commands="$ac_config_commands Makefile"
18218 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18222 if test "x$enable_maintainer_mode" = xyes
18223 then
18224 wine_fn_append_rule "configure: configure.ac aclocal.m4
18225 autoconf --warnings=all
18226 include/config.h.in: include/stamp-h.in
18227 include/stamp-h.in: configure.ac aclocal.m4
18228 autoheader --warnings=all
18229 @echo timestamp > \$@"
18232 if test "x$with_gettextpo" = xyes
18233 then
18234 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18235 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18236 \$(LINGUAS:%=po/%.po): po/wine.pot
18237 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18238 po/wine.pot: \$(ALL_POT_FILES)
18239 msgcat -o \$@ \$(ALL_POT_FILES)"
18242 if test "$MSGFMT" != false
18243 then
18244 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18245 clean::
18246 \$(RM) \$(LINGUAS:%=po/%.mo)"
18248 posrc="po"
18249 test "$srcdir" = . || posrc="$srcdir/po"
18250 for i in $LINGUAS
18252 wine_fn_ignore_file "po/$i.mo"
18253 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18254 \$(MSGFMT) -o \$@ $posrc/$i.po"
18255 done
18256 else
18257 LINGUAS=
18260 if test "x$enable_tools" != xno
18261 then
18262 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18263 @./config.status tools/makedep
18264 Makefile: tools/makedep$ac_exeext
18265 distclean:: clean
18266 \$(RM) tools/makedep$ac_exeext"
18267 else
18268 wine_fn_append_rule "\$(MAKEDEP):
18269 @echo \"You need to run make in $TOOLSDIR first\" && false"
18272 if test -n "$with_wine64"
18273 then
18274 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18275 fonts server tools:
18276 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18277 $with_wine64/loader/wine:
18278 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18279 $with_wine64/loader/wine-preloader:
18280 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18281 clean::
18282 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18283 else
18284 as_fn_append LOADER_RULES "
18285 install install-lib:: wine.inf
18286 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18287 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18289 uninstall::
18290 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18294 if test "$srcdir" = .
18295 then
18296 ac_config_commands="$ac_config_commands .gitignore"
18300 $as_echo " done" >&6
18301 cat >confcache <<\_ACEOF
18302 # This file is a shell script that caches the results of configure
18303 # tests run on this system so they can be shared between configure
18304 # scripts and configure runs, see configure's option --config-cache.
18305 # It is not useful on other systems. If it contains results you don't
18306 # want to keep, you may remove or edit it.
18308 # config.status only pays attention to the cache file if you give it
18309 # the --recheck option to rerun configure.
18311 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18312 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18313 # following values.
18315 _ACEOF
18317 # The following way of writing the cache mishandles newlines in values,
18318 # but we know of no workaround that is simple, portable, and efficient.
18319 # So, we kill variables containing newlines.
18320 # Ultrix sh set writes to stderr and can't be redirected directly,
18321 # and sets the high bit in the cache file unless we assign to the vars.
18323 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18324 eval ac_val=\$$ac_var
18325 case $ac_val in #(
18326 *${as_nl}*)
18327 case $ac_var in #(
18328 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18330 esac
18331 case $ac_var in #(
18332 _ | IFS | as_nl) ;; #(
18333 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18334 *) { eval $ac_var=; unset $ac_var;} ;;
18335 esac ;;
18336 esac
18337 done
18339 (set) 2>&1 |
18340 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18341 *${as_nl}ac_space=\ *)
18342 # `set' does not quote correctly, so add quotes: double-quote
18343 # substitution turns \\\\ into \\, and sed turns \\ into \.
18344 sed -n \
18345 "s/'/'\\\\''/g;
18346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18347 ;; #(
18349 # `set' quotes correctly as required by POSIX, so do not add quotes.
18350 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18352 esac |
18353 sort
18355 sed '
18356 /^ac_cv_env_/b end
18357 t clear
18358 :clear
18359 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18360 t end
18361 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18362 :end' >>confcache
18363 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18364 if test -w "$cache_file"; then
18365 if test "x$cache_file" != "x/dev/null"; then
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18367 $as_echo "$as_me: updating cache $cache_file" >&6;}
18368 if test ! -f "$cache_file" || test -h "$cache_file"; then
18369 cat confcache >"$cache_file"
18370 else
18371 case $cache_file in #(
18372 */* | ?:*)
18373 mv -f confcache "$cache_file"$$ &&
18374 mv -f "$cache_file"$$ "$cache_file" ;; #(
18376 mv -f confcache "$cache_file" ;;
18377 esac
18380 else
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18382 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18385 rm -f confcache
18387 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18388 # Let make expand exec_prefix.
18389 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18391 DEFS=-DHAVE_CONFIG_H
18393 ac_libobjs=
18394 ac_ltlibobjs=
18396 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18397 # 1. Remove the extension, and $U if already installed.
18398 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18399 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18400 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18401 # will be set to the directory where LIBOBJS objects are built.
18402 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18403 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18404 done
18405 LIBOBJS=$ac_libobjs
18407 LTLIBOBJS=$ac_ltlibobjs
18411 : "${CONFIG_STATUS=./config.status}"
18412 ac_write_fail=0
18413 ac_clean_files_save=$ac_clean_files
18414 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18416 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18417 as_write_fail=0
18418 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18419 #! $SHELL
18420 # Generated by $as_me.
18421 # Run this file to recreate the current configuration.
18422 # Compiler output produced by configure, useful for debugging
18423 # configure, is in config.log if it exists.
18425 debug=false
18426 ac_cs_recheck=false
18427 ac_cs_silent=false
18429 SHELL=\${CONFIG_SHELL-$SHELL}
18430 export SHELL
18431 _ASEOF
18432 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18433 ## -------------------- ##
18434 ## M4sh Initialization. ##
18435 ## -------------------- ##
18437 # Be more Bourne compatible
18438 DUALCASE=1; export DUALCASE # for MKS sh
18439 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18440 emulate sh
18441 NULLCMD=:
18442 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18443 # is contrary to our usage. Disable this feature.
18444 alias -g '${1+"$@"}'='"$@"'
18445 setopt NO_GLOB_SUBST
18446 else
18447 case `(set -o) 2>/dev/null` in #(
18448 *posix*) :
18449 set -o posix ;; #(
18450 *) :
18452 esac
18456 as_nl='
18458 export as_nl
18459 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18460 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18463 # Prefer a ksh shell builtin over an external printf program on Solaris,
18464 # but without wasting forks for bash or zsh.
18465 if test -z "$BASH_VERSION$ZSH_VERSION" \
18466 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18467 as_echo='print -r --'
18468 as_echo_n='print -rn --'
18469 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18470 as_echo='printf %s\n'
18471 as_echo_n='printf %s'
18472 else
18473 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18474 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18475 as_echo_n='/usr/ucb/echo -n'
18476 else
18477 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18478 as_echo_n_body='eval
18479 arg=$1;
18480 case $arg in #(
18481 *"$as_nl"*)
18482 expr "X$arg" : "X\\(.*\\)$as_nl";
18483 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18484 esac;
18485 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18487 export as_echo_n_body
18488 as_echo_n='sh -c $as_echo_n_body as_echo'
18490 export as_echo_body
18491 as_echo='sh -c $as_echo_body as_echo'
18494 # The user is always right.
18495 if test "${PATH_SEPARATOR+set}" != set; then
18496 PATH_SEPARATOR=:
18497 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18498 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18499 PATH_SEPARATOR=';'
18504 # IFS
18505 # We need space, tab and new line, in precisely that order. Quoting is
18506 # there to prevent editors from complaining about space-tab.
18507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18508 # splitting by setting IFS to empty value.)
18509 IFS=" "" $as_nl"
18511 # Find who we are. Look in the path if we contain no directory separator.
18512 as_myself=
18513 case $0 in #((
18514 *[\\/]* ) as_myself=$0 ;;
18515 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18516 for as_dir in $PATH
18518 IFS=$as_save_IFS
18519 test -z "$as_dir" && as_dir=.
18520 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18521 done
18522 IFS=$as_save_IFS
18525 esac
18526 # We did not find ourselves, most probably we were run as `sh COMMAND'
18527 # in which case we are not to be found in the path.
18528 if test "x$as_myself" = x; then
18529 as_myself=$0
18531 if test ! -f "$as_myself"; then
18532 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18533 exit 1
18536 # Unset variables that we do not need and which cause bugs (e.g. in
18537 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18538 # suppresses any "Segmentation fault" message there. '((' could
18539 # trigger a bug in pdksh 5.2.14.
18540 for as_var in BASH_ENV ENV MAIL MAILPATH
18541 do eval test x\${$as_var+set} = xset \
18542 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18543 done
18544 PS1='$ '
18545 PS2='> '
18546 PS4='+ '
18548 # NLS nuisances.
18549 LC_ALL=C
18550 export LC_ALL
18551 LANGUAGE=C
18552 export LANGUAGE
18554 # CDPATH.
18555 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18558 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18559 # ----------------------------------------
18560 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18561 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18562 # script with STATUS, using 1 if that was 0.
18563 as_fn_error ()
18565 as_status=$1; test $as_status -eq 0 && as_status=1
18566 if test "$4"; then
18567 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18568 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18570 $as_echo "$as_me: error: $2" >&2
18571 as_fn_exit $as_status
18572 } # as_fn_error
18575 # as_fn_set_status STATUS
18576 # -----------------------
18577 # Set $? to STATUS, without forking.
18578 as_fn_set_status ()
18580 return $1
18581 } # as_fn_set_status
18583 # as_fn_exit STATUS
18584 # -----------------
18585 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18586 as_fn_exit ()
18588 set +e
18589 as_fn_set_status $1
18590 exit $1
18591 } # as_fn_exit
18593 # as_fn_unset VAR
18594 # ---------------
18595 # Portably unset VAR.
18596 as_fn_unset ()
18598 { eval $1=; unset $1;}
18600 as_unset=as_fn_unset
18601 # as_fn_append VAR VALUE
18602 # ----------------------
18603 # Append the text in VALUE to the end of the definition contained in VAR. Take
18604 # advantage of any shell optimizations that allow amortized linear growth over
18605 # repeated appends, instead of the typical quadratic growth present in naive
18606 # implementations.
18607 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18608 eval 'as_fn_append ()
18610 eval $1+=\$2
18612 else
18613 as_fn_append ()
18615 eval $1=\$$1\$2
18617 fi # as_fn_append
18619 # as_fn_arith ARG...
18620 # ------------------
18621 # Perform arithmetic evaluation on the ARGs, and store the result in the
18622 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18623 # must be portable across $(()) and expr.
18624 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18625 eval 'as_fn_arith ()
18627 as_val=$(( $* ))
18629 else
18630 as_fn_arith ()
18632 as_val=`expr "$@" || test $? -eq 1`
18634 fi # as_fn_arith
18637 if expr a : '\(a\)' >/dev/null 2>&1 &&
18638 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18639 as_expr=expr
18640 else
18641 as_expr=false
18644 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18645 as_basename=basename
18646 else
18647 as_basename=false
18650 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18651 as_dirname=dirname
18652 else
18653 as_dirname=false
18656 as_me=`$as_basename -- "$0" ||
18657 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18658 X"$0" : 'X\(//\)$' \| \
18659 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18660 $as_echo X/"$0" |
18661 sed '/^.*\/\([^/][^/]*\)\/*$/{
18662 s//\1/
18665 /^X\/\(\/\/\)$/{
18666 s//\1/
18669 /^X\/\(\/\).*/{
18670 s//\1/
18673 s/.*/./; q'`
18675 # Avoid depending upon Character Ranges.
18676 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18677 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18678 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18679 as_cr_digits='0123456789'
18680 as_cr_alnum=$as_cr_Letters$as_cr_digits
18682 ECHO_C= ECHO_N= ECHO_T=
18683 case `echo -n x` in #(((((
18684 -n*)
18685 case `echo 'xy\c'` in
18686 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18687 xy) ECHO_C='\c';;
18688 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18689 ECHO_T=' ';;
18690 esac;;
18692 ECHO_N='-n';;
18693 esac
18695 rm -f conf$$ conf$$.exe conf$$.file
18696 if test -d conf$$.dir; then
18697 rm -f conf$$.dir/conf$$.file
18698 else
18699 rm -f conf$$.dir
18700 mkdir conf$$.dir 2>/dev/null
18702 if (echo >conf$$.file) 2>/dev/null; then
18703 if ln -s conf$$.file conf$$ 2>/dev/null; then
18704 as_ln_s='ln -s'
18705 # ... but there are two gotchas:
18706 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18707 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18708 # In both cases, we have to default to `cp -pR'.
18709 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18710 as_ln_s='cp -pR'
18711 elif ln conf$$.file conf$$ 2>/dev/null; then
18712 as_ln_s=ln
18713 else
18714 as_ln_s='cp -pR'
18716 else
18717 as_ln_s='cp -pR'
18719 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18720 rmdir conf$$.dir 2>/dev/null
18723 # as_fn_mkdir_p
18724 # -------------
18725 # Create "$as_dir" as a directory, including parents if necessary.
18726 as_fn_mkdir_p ()
18729 case $as_dir in #(
18730 -*) as_dir=./$as_dir;;
18731 esac
18732 test -d "$as_dir" || eval $as_mkdir_p || {
18733 as_dirs=
18734 while :; do
18735 case $as_dir in #(
18736 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18737 *) as_qdir=$as_dir;;
18738 esac
18739 as_dirs="'$as_qdir' $as_dirs"
18740 as_dir=`$as_dirname -- "$as_dir" ||
18741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18742 X"$as_dir" : 'X\(//\)[^/]' \| \
18743 X"$as_dir" : 'X\(//\)$' \| \
18744 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18745 $as_echo X"$as_dir" |
18746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18747 s//\1/
18750 /^X\(\/\/\)[^/].*/{
18751 s//\1/
18754 /^X\(\/\/\)$/{
18755 s//\1/
18758 /^X\(\/\).*/{
18759 s//\1/
18762 s/.*/./; q'`
18763 test -d "$as_dir" && break
18764 done
18765 test -z "$as_dirs" || eval "mkdir $as_dirs"
18766 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18769 } # as_fn_mkdir_p
18770 if mkdir -p . 2>/dev/null; then
18771 as_mkdir_p='mkdir -p "$as_dir"'
18772 else
18773 test -d ./-p && rmdir ./-p
18774 as_mkdir_p=false
18778 # as_fn_executable_p FILE
18779 # -----------------------
18780 # Test if FILE is an executable regular file.
18781 as_fn_executable_p ()
18783 test -f "$1" && test -x "$1"
18784 } # as_fn_executable_p
18785 as_test_x='test -x'
18786 as_executable_p=as_fn_executable_p
18788 # Sed expression to map a string onto a valid CPP name.
18789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18791 # Sed expression to map a string onto a valid variable name.
18792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18795 exec 6>&1
18796 ## ----------------------------------- ##
18797 ## Main body of $CONFIG_STATUS script. ##
18798 ## ----------------------------------- ##
18799 _ASEOF
18800 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18803 # Save the log message, to keep $0 and so on meaningful, and to
18804 # report actual input values of CONFIG_FILES etc. instead of their
18805 # values after options handling.
18806 ac_log="
18807 This file was extended by Wine $as_me 1.7.54, which was
18808 generated by GNU Autoconf 2.69. Invocation command line was
18810 CONFIG_FILES = $CONFIG_FILES
18811 CONFIG_HEADERS = $CONFIG_HEADERS
18812 CONFIG_LINKS = $CONFIG_LINKS
18813 CONFIG_COMMANDS = $CONFIG_COMMANDS
18814 $ $0 $@
18816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18819 _ACEOF
18821 case $ac_config_files in *"
18822 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18823 esac
18825 case $ac_config_headers in *"
18826 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18827 esac
18830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18831 # Files that config.status was made for.
18832 config_files="$ac_config_files"
18833 config_headers="$ac_config_headers"
18834 config_links="$ac_config_links"
18835 config_commands="$ac_config_commands"
18837 _ACEOF
18839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18840 ac_cs_usage="\
18841 \`$as_me' instantiates files and other configuration actions
18842 from templates according to the current configuration. Unless the files
18843 and actions are specified as TAGs, all are instantiated by default.
18845 Usage: $0 [OPTION]... [TAG]...
18847 -h, --help print this help, then exit
18848 -V, --version print version number and configuration settings, then exit
18849 --config print configuration, then exit
18850 -q, --quiet, --silent
18851 do not print progress messages
18852 -d, --debug don't remove temporary files
18853 --recheck update $as_me by reconfiguring in the same conditions
18854 --file=FILE[:TEMPLATE]
18855 instantiate the configuration file FILE
18856 --header=FILE[:TEMPLATE]
18857 instantiate the configuration header FILE
18859 Configuration files:
18860 $config_files
18862 Configuration headers:
18863 $config_headers
18865 Configuration links:
18866 $config_links
18868 Configuration commands:
18869 $config_commands
18871 Report bugs to <wine-devel@winehq.org>.
18872 Wine home page: <http://www.winehq.org>."
18874 _ACEOF
18875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18876 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18877 ac_cs_version="\\
18878 Wine config.status 1.7.54
18879 configured by $0, generated by GNU Autoconf 2.69,
18880 with options \\"\$ac_cs_config\\"
18882 Copyright (C) 2012 Free Software Foundation, Inc.
18883 This config.status script is free software; the Free Software Foundation
18884 gives unlimited permission to copy, distribute and modify it."
18886 ac_pwd='$ac_pwd'
18887 srcdir='$srcdir'
18888 test -n "\$AWK" || AWK=awk
18889 _ACEOF
18891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18892 # The default lists apply if the user does not specify any file.
18893 ac_need_defaults=:
18894 while test $# != 0
18896 case $1 in
18897 --*=?*)
18898 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18899 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18900 ac_shift=:
18902 --*=)
18903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18904 ac_optarg=
18905 ac_shift=:
18908 ac_option=$1
18909 ac_optarg=$2
18910 ac_shift=shift
18912 esac
18914 case $ac_option in
18915 # Handling of the options.
18916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18917 ac_cs_recheck=: ;;
18918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18919 $as_echo "$ac_cs_version"; exit ;;
18920 --config | --confi | --conf | --con | --co | --c )
18921 $as_echo "$ac_cs_config"; exit ;;
18922 --debug | --debu | --deb | --de | --d | -d )
18923 debug=: ;;
18924 --file | --fil | --fi | --f )
18925 $ac_shift
18926 case $ac_optarg in
18927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18928 '') as_fn_error $? "missing file argument" ;;
18929 esac
18930 as_fn_append CONFIG_FILES " '$ac_optarg'"
18931 ac_need_defaults=false;;
18932 --header | --heade | --head | --hea )
18933 $ac_shift
18934 case $ac_optarg in
18935 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18936 esac
18937 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18938 ac_need_defaults=false;;
18939 --he | --h)
18940 # Conflict between --help and --header
18941 as_fn_error $? "ambiguous option: \`$1'
18942 Try \`$0 --help' for more information.";;
18943 --help | --hel | -h )
18944 $as_echo "$ac_cs_usage"; exit ;;
18945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18946 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18947 ac_cs_silent=: ;;
18949 # This is an error.
18950 -*) as_fn_error $? "unrecognized option: \`$1'
18951 Try \`$0 --help' for more information." ;;
18953 *) as_fn_append ac_config_targets " $1"
18954 ac_need_defaults=false ;;
18956 esac
18957 shift
18958 done
18960 ac_configure_extra_args=
18962 if $ac_cs_silent; then
18963 exec 6>/dev/null
18964 ac_configure_extra_args="$ac_configure_extra_args --silent"
18967 _ACEOF
18968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18969 if \$ac_cs_recheck; then
18970 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18971 shift
18972 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18973 CONFIG_SHELL='$SHELL'
18974 export CONFIG_SHELL
18975 exec "\$@"
18978 _ACEOF
18979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18980 exec 5>>config.log
18982 echo
18983 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18984 ## Running $as_me. ##
18985 _ASBOX
18986 $as_echo "$ac_log"
18987 } >&5
18989 _ACEOF
18990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18992 # INIT-COMMANDS
18994 wine_fn_output_makedep ()
18996 as_dir=tools; as_fn_mkdir_p
18997 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18999 wine_fn_output_makefile ()
19001 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19002 `cat $wine_rules_file`
19003 _WINE_EOF
19004 as_fn_error $? "could not create Makefile" "$LINENO" 5
19006 wine_fn_output_gitignore ()
19008 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19009 $GITIGNORE
19010 _WINE_EOF
19011 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19014 _ACEOF
19016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19018 # Handling of arguments.
19019 for ac_config_target in $ac_config_targets
19021 case $ac_config_target in
19022 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19023 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19024 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19025 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19026 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19027 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19028 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19029 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19030 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19031 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19032 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19033 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19034 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19035 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19036 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19038 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19039 esac
19040 done
19043 # If the user did not use the arguments to specify the items to instantiate,
19044 # then the envvar interface is used. Set only those that are not.
19045 # We use the long form for the default assignment because of an extremely
19046 # bizarre bug on SunOS 4.1.3.
19047 if $ac_need_defaults; then
19048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19050 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19051 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19054 # Have a temporary directory for convenience. Make it in the build tree
19055 # simply because there is no reason against having it here, and in addition,
19056 # creating and moving files from /tmp can sometimes cause problems.
19057 # Hook for its removal unless debugging.
19058 # Note that there is a small window in which the directory will not be cleaned:
19059 # after its creation but before its name has been assigned to `$tmp'.
19060 $debug ||
19062 tmp= ac_tmp=
19063 trap 'exit_status=$?
19064 : "${ac_tmp:=$tmp}"
19065 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19067 trap 'as_fn_exit 1' 1 2 13 15
19069 # Create a (secure) tmp directory for tmp files.
19072 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19073 test -d "$tmp"
19074 } ||
19076 tmp=./conf$$-$RANDOM
19077 (umask 077 && mkdir "$tmp")
19078 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19079 ac_tmp=$tmp
19081 # Set up the scripts for CONFIG_FILES section.
19082 # No need to generate them if there are no CONFIG_FILES.
19083 # This happens for instance with `./config.status config.h'.
19084 if test -n "$CONFIG_FILES"; then
19087 ac_cr=`echo X | tr X '\015'`
19088 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19089 # But we know of no other shell where ac_cr would be empty at this
19090 # point, so we can use a bashism as a fallback.
19091 if test "x$ac_cr" = x; then
19092 eval ac_cr=\$\'\\r\'
19094 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19095 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19096 ac_cs_awk_cr='\\r'
19097 else
19098 ac_cs_awk_cr=$ac_cr
19101 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19102 _ACEOF
19106 echo "cat >conf$$subs.awk <<_ACEOF" &&
19107 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19108 echo "_ACEOF"
19109 } >conf$$subs.sh ||
19110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19111 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19112 ac_delim='%!_!# '
19113 for ac_last_try in false false false false false :; do
19114 . ./conf$$subs.sh ||
19115 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19117 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19118 if test $ac_delim_n = $ac_delim_num; then
19119 break
19120 elif $ac_last_try; then
19121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19122 else
19123 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19125 done
19126 rm -f conf$$subs.sh
19128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19129 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19130 _ACEOF
19131 sed -n '
19133 s/^/S["/; s/!.*/"]=/
19136 s/^[^!]*!//
19137 :repl
19138 t repl
19139 s/'"$ac_delim"'$//
19140 t delim
19143 s/\(.\{148\}\)..*/\1/
19144 t more1
19145 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19148 b repl
19149 :more1
19150 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19153 s/.\{148\}//
19154 t nl
19155 :delim
19157 s/\(.\{148\}\)..*/\1/
19158 t more2
19159 s/["\\]/\\&/g; s/^/"/; s/$/"/
19162 :more2
19163 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19166 s/.\{148\}//
19167 t delim
19168 ' <conf$$subs.awk | sed '
19169 /^[^""]/{
19171 s/\n//
19173 ' >>$CONFIG_STATUS || ac_write_fail=1
19174 rm -f conf$$subs.awk
19175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19176 _ACAWK
19177 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19178 for (key in S) S_is_set[key] = 1
19179 FS = "\a"
19183 line = $ 0
19184 nfields = split(line, field, "@")
19185 substed = 0
19186 len = length(field[1])
19187 for (i = 2; i < nfields; i++) {
19188 key = field[i]
19189 keylen = length(key)
19190 if (S_is_set[key]) {
19191 value = S[key]
19192 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19193 len += length(value) + length(field[++i])
19194 substed = 1
19195 } else
19196 len += 1 + keylen
19199 print line
19202 _ACAWK
19203 _ACEOF
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19205 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19206 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19207 else
19209 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19210 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19211 _ACEOF
19213 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19214 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19215 # trailing colons and then remove the whole line if VPATH becomes empty
19216 # (actually we leave an empty line to preserve line numbers).
19217 if test "x$srcdir" = x.; then
19218 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19220 s///
19221 s/^/:/
19222 s/[ ]*$/:/
19223 s/:\$(srcdir):/:/g
19224 s/:\${srcdir}:/:/g
19225 s/:@srcdir@:/:/g
19226 s/^:*//
19227 s/:*$//
19229 s/\(=[ ]*\).*/\1/
19231 s/\n//
19232 s/^[^=]*=[ ]*$//
19236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19237 fi # test -n "$CONFIG_FILES"
19239 # Set up the scripts for CONFIG_HEADERS section.
19240 # No need to generate them if there are no CONFIG_HEADERS.
19241 # This happens for instance with `./config.status Makefile'.
19242 if test -n "$CONFIG_HEADERS"; then
19243 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19244 BEGIN {
19245 _ACEOF
19247 # Transform confdefs.h into an awk script `defines.awk', embedded as
19248 # here-document in config.status, that substitutes the proper values into
19249 # config.h.in to produce config.h.
19251 # Create a delimiter string that does not exist in confdefs.h, to ease
19252 # handling of long lines.
19253 ac_delim='%!_!# '
19254 for ac_last_try in false false :; do
19255 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19256 if test -z "$ac_tt"; then
19257 break
19258 elif $ac_last_try; then
19259 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19260 else
19261 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19263 done
19265 # For the awk script, D is an array of macro values keyed by name,
19266 # likewise P contains macro parameters if any. Preserve backslash
19267 # newline sequences.
19269 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19270 sed -n '
19271 s/.\{148\}/&'"$ac_delim"'/g
19272 t rset
19273 :rset
19274 s/^[ ]*#[ ]*define[ ][ ]*/ /
19275 t def
19277 :def
19278 s/\\$//
19279 t bsnl
19280 s/["\\]/\\&/g
19281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19282 D["\1"]=" \3"/p
19283 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19285 :bsnl
19286 s/["\\]/\\&/g
19287 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19288 D["\1"]=" \3\\\\\\n"\\/p
19289 t cont
19290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19291 t cont
19293 :cont
19295 s/.\{148\}/&'"$ac_delim"'/g
19296 t clear
19297 :clear
19298 s/\\$//
19299 t bsnlc
19300 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19302 :bsnlc
19303 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19304 b cont
19305 ' <confdefs.h | sed '
19306 s/'"$ac_delim"'/"\\\
19307 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19310 for (key in D) D_is_set[key] = 1
19311 FS = "\a"
19313 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19314 line = \$ 0
19315 split(line, arg, " ")
19316 if (arg[1] == "#") {
19317 defundef = arg[2]
19318 mac1 = arg[3]
19319 } else {
19320 defundef = substr(arg[1], 2)
19321 mac1 = arg[2]
19323 split(mac1, mac2, "(") #)
19324 macro = mac2[1]
19325 prefix = substr(line, 1, index(line, defundef) - 1)
19326 if (D_is_set[macro]) {
19327 # Preserve the white space surrounding the "#".
19328 print prefix "define", macro P[macro] D[macro]
19329 next
19330 } else {
19331 # Replace #undef with comments. This is necessary, for example,
19332 # in the case of _POSIX_SOURCE, which is predefined and required
19333 # on some systems where configure will not decide to define it.
19334 if (defundef == "undef") {
19335 print "/*", prefix defundef, macro, "*/"
19336 next
19340 { print }
19341 _ACAWK
19342 _ACEOF
19343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19344 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19345 fi # test -n "$CONFIG_HEADERS"
19348 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19349 shift
19350 for ac_tag
19352 case $ac_tag in
19353 :[FHLC]) ac_mode=$ac_tag; continue;;
19354 esac
19355 case $ac_mode$ac_tag in
19356 :[FHL]*:*);;
19357 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19358 :[FH]-) ac_tag=-:-;;
19359 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19360 esac
19361 ac_save_IFS=$IFS
19362 IFS=:
19363 set x $ac_tag
19364 IFS=$ac_save_IFS
19365 shift
19366 ac_file=$1
19367 shift
19369 case $ac_mode in
19370 :L) ac_source=$1;;
19371 :[FH])
19372 ac_file_inputs=
19373 for ac_f
19375 case $ac_f in
19376 -) ac_f="$ac_tmp/stdin";;
19377 *) # Look for the file first in the build tree, then in the source tree
19378 # (if the path is not absolute). The absolute path cannot be DOS-style,
19379 # because $ac_f cannot contain `:'.
19380 test -f "$ac_f" ||
19381 case $ac_f in
19382 [\\/$]*) false;;
19383 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19384 esac ||
19385 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19386 esac
19387 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19388 as_fn_append ac_file_inputs " '$ac_f'"
19389 done
19391 # Let's still pretend it is `configure' which instantiates (i.e., don't
19392 # use $as_me), people would be surprised to read:
19393 # /* config.h. Generated by config.status. */
19394 configure_input='Generated from '`
19395 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19396 `' by configure.'
19397 if test x"$ac_file" != x-; then
19398 configure_input="$ac_file. $configure_input"
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19400 $as_echo "$as_me: creating $ac_file" >&6;}
19402 # Neutralize special characters interpreted by sed in replacement strings.
19403 case $configure_input in #(
19404 *\&* | *\|* | *\\* )
19405 ac_sed_conf_input=`$as_echo "$configure_input" |
19406 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19407 *) ac_sed_conf_input=$configure_input;;
19408 esac
19410 case $ac_tag in
19411 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19413 esac
19415 esac
19417 ac_dir=`$as_dirname -- "$ac_file" ||
19418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19419 X"$ac_file" : 'X\(//\)[^/]' \| \
19420 X"$ac_file" : 'X\(//\)$' \| \
19421 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19422 $as_echo X"$ac_file" |
19423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19424 s//\1/
19427 /^X\(\/\/\)[^/].*/{
19428 s//\1/
19431 /^X\(\/\/\)$/{
19432 s//\1/
19435 /^X\(\/\).*/{
19436 s//\1/
19439 s/.*/./; q'`
19440 as_dir="$ac_dir"; as_fn_mkdir_p
19441 ac_builddir=.
19443 case "$ac_dir" in
19444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19447 # A ".." for each directory in $ac_dir_suffix.
19448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19449 case $ac_top_builddir_sub in
19450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19452 esac ;;
19453 esac
19454 ac_abs_top_builddir=$ac_pwd
19455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19456 # for backward compatibility:
19457 ac_top_builddir=$ac_top_build_prefix
19459 case $srcdir in
19460 .) # We are building in place.
19461 ac_srcdir=.
19462 ac_top_srcdir=$ac_top_builddir_sub
19463 ac_abs_top_srcdir=$ac_pwd ;;
19464 [\\/]* | ?:[\\/]* ) # Absolute name.
19465 ac_srcdir=$srcdir$ac_dir_suffix;
19466 ac_top_srcdir=$srcdir
19467 ac_abs_top_srcdir=$srcdir ;;
19468 *) # Relative name.
19469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19470 ac_top_srcdir=$ac_top_build_prefix$srcdir
19471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19472 esac
19473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19476 case $ac_mode in
19479 # CONFIG_FILE
19482 _ACEOF
19484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19485 # If the template does not know about datarootdir, expand it.
19486 # FIXME: This hack should be removed a few years after 2.60.
19487 ac_datarootdir_hack=; ac_datarootdir_seen=
19488 ac_sed_dataroot='
19489 /datarootdir/ {
19493 /@datadir@/p
19494 /@docdir@/p
19495 /@infodir@/p
19496 /@localedir@/p
19497 /@mandir@/p'
19498 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19499 *datarootdir*) ac_datarootdir_seen=yes;;
19500 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19502 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19503 _ACEOF
19504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19505 ac_datarootdir_hack='
19506 s&@datadir@&$datadir&g
19507 s&@docdir@&$docdir&g
19508 s&@infodir@&$infodir&g
19509 s&@localedir@&$localedir&g
19510 s&@mandir@&$mandir&g
19511 s&\\\${datarootdir}&$datarootdir&g' ;;
19512 esac
19513 _ACEOF
19515 # Neutralize VPATH when `$srcdir' = `.'.
19516 # Shell code in configure.ac might set extrasub.
19517 # FIXME: do we really want to maintain this feature?
19518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19519 ac_sed_extra="$ac_vpsub
19520 $extrasub
19521 _ACEOF
19522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19525 s|@configure_input@|$ac_sed_conf_input|;t t
19526 s&@top_builddir@&$ac_top_builddir_sub&;t t
19527 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19528 s&@srcdir@&$ac_srcdir&;t t
19529 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19530 s&@top_srcdir@&$ac_top_srcdir&;t t
19531 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19532 s&@builddir@&$ac_builddir&;t t
19533 s&@abs_builddir@&$ac_abs_builddir&;t t
19534 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19535 $ac_datarootdir_hack
19537 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19538 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19540 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19541 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19542 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19543 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19545 which seems to be undefined. Please make sure it is defined" >&5
19546 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19547 which seems to be undefined. Please make sure it is defined" >&2;}
19549 rm -f "$ac_tmp/stdin"
19550 case $ac_file in
19551 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19552 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19553 esac \
19554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19558 # CONFIG_HEADER
19560 if test x"$ac_file" != x-; then
19562 $as_echo "/* $configure_input */" \
19563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19564 } >"$ac_tmp/config.h" \
19565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19566 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19568 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19569 else
19570 rm -f "$ac_file"
19571 mv "$ac_tmp/config.h" "$ac_file" \
19572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19574 else
19575 $as_echo "/* $configure_input */" \
19576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19577 || as_fn_error $? "could not create -" "$LINENO" 5
19582 # CONFIG_LINK
19585 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19587 else
19588 # Prefer the file from the source tree if names are identical.
19589 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19590 ac_source=$srcdir/$ac_source
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19594 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19596 if test ! -r "$ac_source"; then
19597 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19599 rm -f "$ac_file"
19601 # Try a relative symlink, then a hard link, then a copy.
19602 case $ac_source in
19603 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19604 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19605 esac
19606 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19607 ln "$ac_source" "$ac_file" 2>/dev/null ||
19608 cp -p "$ac_source" "$ac_file" ||
19609 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19612 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19613 $as_echo "$as_me: executing $ac_file commands" >&6;}
19615 esac
19618 case $ac_file$ac_mode in
19619 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19620 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19621 "Makefile":C) wine_fn_output_makefile Makefile ;;
19622 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19624 esac
19625 done # for ac_tag
19628 as_fn_exit 0
19629 _ACEOF
19630 ac_clean_files=$ac_clean_files_save
19632 test $ac_write_fail = 0 ||
19633 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19636 # configure is writing to config.log, and then calls config.status.
19637 # config.status does its own redirection, appending to config.log.
19638 # Unfortunately, on DOS this fails, as config.log is still kept open
19639 # by configure, so config.status won't be able to write to it; its
19640 # output is simply discarded. So we exec the FD to /dev/null,
19641 # effectively closing config.log, so it can be properly (re)opened and
19642 # appended to by config.status. When coming back to configure, we
19643 # need to make the FD available again.
19644 if test "$no_create" != yes; then
19645 ac_cs_success=:
19646 ac_config_status_args=
19647 test "$silent" = yes &&
19648 ac_config_status_args="$ac_config_status_args --quiet"
19649 exec 5>/dev/null
19650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19651 exec 5>>config.log
19652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19653 # would make configure fail if this is the last instruction.
19654 $ac_cs_success || as_fn_exit 1
19656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19662 if test "$no_create" = "yes"
19663 then
19664 exit 0
19667 ac_save_IFS="$IFS"
19668 if test "x$wine_notices" != x; then
19669 echo >&6
19670 IFS="|"
19671 for msg in $wine_notices; do
19672 IFS="$ac_save_IFS"
19673 if ${msg:+false} :; then :
19675 else
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19677 $as_echo "$as_me: $msg" >&6;}
19679 done
19681 IFS="|"
19682 for msg in $wine_warnings; do
19683 IFS="$ac_save_IFS"
19684 if ${msg:+false} :; then :
19686 else
19687 echo >&2
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19689 $as_echo "$as_me: WARNING: $msg" >&2;}
19691 done
19692 IFS="$ac_save_IFS"
19694 $as_echo "
19695 $as_me: Finished. Do '${ac_make}' to compile Wine.
19696 " >&6